On 25/08/10 10:01, Nathan O wrote:
On Wed, Aug 25, 2010 at 3:00 AM, Nathan O<ndowens.aur@gmail.com> wrote:
On Tue, Aug 24, 2010 at 11:16 PM, Nathan O<ndowens.aur@gmail.com> wrote:
I have almost got BES packaged, the only problem is that namcap gives me:
bes W: Referenced library 'libbes_dispatch.so.8' is an uninstalled
dependency bes W: Referenced library 'libbes_ppt.so.4' is an uninstalled dependency bes W: Referenced library 'libbes_xml_command.so.1' is an uninstalled dependency bes E: Insecure RPATH '/build/pkg/usr/lib/bes' in file ('usr/lib/bes/libbes_xml_command.so.1.0.3') bes E: Insecure RPATH '/build/pkg/usr/lib/bes' in file ('usr/lib/bes/libbes_ppt.so') bes E: Insecure RPATH '/build/pkg/usr/lib/bes' in file ('usr/lib/bes/libbes_ppt.so.4.0.3') bes E: Insecure RPATH '/build/pkg/usr/lib/bes' in file ('usr/lib/bes/libbes_ppt.so.4') bes E: Insecure RPATH '/build/pkg/usr/lib/bes' in file ('usr/lib/bes/libbes_xml_command.so') bes E: Insecure RPATH '/build/pkg/usr/lib/bes' in file ('usr/lib/bes/libbes_xml_command.so.1') bes E: Insecure RPATH '/build/pkg/usr/lib/bes' in file ('usr/bin/besstandalone') bes E: Insecure RPATH '/build/pkg/usr/lib/bes' in file ('usr/bin/bescmdln') bes E: Insecure RPATH '/build/pkg/usr/lib/bes' in file ('usr/bin/besdaemon') bes E: Insecure RPATH '/build/pkg/usr/lib/bes' in file ('usr/bin/beslistener')
I figured out how to fix the rpath issue with cmake, but this one uses ./configure and make system.
Well I fixed the issues with namcap, though it doesn't run correctly :S I uploaded it to AUR if you want to check it out. When you try to do /etc/rc.d/bes start, it was to find the besctl in /aur/pkg/usr/bin/besctl
Is anybody interested in taking BES over? I fixed the compile issue, but not matter what I try to do to get it to run correctly, it doesn't work. Somebody else will probably have better luck then I am having :s
I only looked briefly at the pkgbuild but on the configure line *=${pkgdir}* really stand out as being incorrect in most(if not all) cases which would explain why /aur/pkg/usr/bin/besctl contains `/aur/pkg` i.e ${pkgdir} additionally on the sed line, ${exec_prefix} and ${prefix} are undefined as far as i can see so it's unlikely to work the way you intend it to.