On Saturday 21 March 2009 11:10:21 Thomas Mueller wrote:
hi
i've figured out why building failes on ubuntu:
freshly installed ubuntus link /bin/sh to /bin/dash. Seems that some
scripts use bashisms.
Ah, yes, I should have spotted that with the libtool_args+= type constructs
shown in the error messages.
Bashisms are a problem and often hard to avoid when your development platform
uses bash.
Hopefully all the bashisms you are referring to are in the Ubuntu packages and
not in the Bacula source code. If they are in Bacula please don't hesitate
to point them out to us -- we are determined to keep Bacula as portable as
possible.
Unfortunately the Ubuntu packaging of Bacula has been less reliable than the
Debian packing -- there have been a good number of bugs. For those who are
not familiar with Ubuntu, I am referring to packages that the Ubuntu project
creates, not packages that the Bacula project creates (we do not currently
create Debian/Ubuntu packages).
rm /bin/sh ln -s /bin/bash /bin/sh
did the trick.
:-)
seems also to be related to debian fakeroot bug #447022
Could you send me a link to that bug? It sounds interesting and worth knowing
about.
Regards,
Kern
- Thomas
make[1]: Leaving directory `/tmp/buildd/bacula-2.5.42~beta2mit1/debian/
tmp-build-sqlite3'
/usr/bin/make -C /tmp/buildd/bacula-2.5.42~beta2mit1/debian/tmp-build-
sqlite3/src/tools
make[1]: Entering directory `/tmp/buildd/bacula-2.5.42~beta2mit1/debian/
tmp-build-sqlite3/src/tools'
/tmp/buildd/bacula-2.5.42~beta2mit1/debian/tmp-build-sqlite3/libtool --
silent --tag=CXX --mode=link /usr/bin/x86_64-linux-gnu-g++ -Wl,-Bsymbolic-
functions -L../lib -o bsmtp bsmtp.o -lbac -lm -lpthread -ldl -lssl -
lcrypto
eval: 1: libtool_args+=: not found
eval: 1: compile_command+=: not found
eval: 1: finalize_command+=: not found
eval: 1: libtool_args+=: not found
eval: 1: libtool_args+=: not found
eval: 1: compile_command+=: not found
eval: 1: finalize_command+=: not found
eval: 1: libtool_args+=: not found
eval: 1: compile_command+=: not found
eval: 1: finalize_command+=: not found
eval: 1: libtool_args+=: not found
eval: 1: compile_command+=: not found
eval: 1: finalize_command+=: not found
eval: 1: libtool_args+=: not found
eval: 1: libtool_args+=: not found
eval: 1: libtool_args+=: not found
eval: 1: libtool_args+=: not found
eval: 1: libtool_args+=: not found
eval: 1: libtool_args+=: not found
/usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../../lib/crt1.o: In function
`_start':
(.text+0x20): undefined reference to `main'
collect2: ld returned 1 exit status
make[1]: *** [bsmtp] Error 1
make[1]: Leaving directory `/tmp/buildd/bacula-2.5.42~beta2mit1/debian/
tmp-build-sqlite3/src/tools'
make: *** [build-stamp-sqlite3] Error 2
rm configure-stamp-sqlite3
---
--- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel
--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel