Hi list
Has anyone managed to successfully compile Kannel 1.4.0 and MBuni
from/into non standard installation directories?
Configuring Kannel seems fine
"sh configure --prefix=/the_name_of_the_kannel_installation_directory
--disable-ssl"
However configuring MBuni to do similar causes a large amount of library
linking errors
"sh configure
--with-kannel-dir=/the_name_of_the_kannel_installation_direcory
--with-prefix=/where_i_want_to_install_mbuni_into -verbose"
gives when running the libtool part of the build
Making all in mmlib
make[2]: Entering directory `/mbuni_source_directory/mmlib'
/bin/sh ../libtool --tag=CC --mode=link gcc -I./../mmlib -g -O2
-D_XOPEN_SOURCE=600 -D_BSD_SOURCE
-I/the_name_of_the_kannel_installation_directory/include/kannel
-D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/libxml2 -rdynamic -o
libmms_billing_shell.la -rpath /usr/local/lib/mbuni
mms_billing_shell.lo -L./../mmlib -lmms -lwap -lgwlib -lpthread -ldl
-L/the_name_of_the_kannel_installation_directory/lib/kannel -lgwlib -lrt
-lbind -lresolv -lnsl -lm -lpthread -lxml2 -lz -lpthread -lm
*** Warning: linker path does not have real file for library -lmms.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libmms and none of the candidates passed a file format test
*** using a file magic. Last file checked:
/mbuni_source_directory/mmlib/libmms.a
*** Warning: linker path does not have real file for library -lwap.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libwap and none of the candidates passed a file format test
*** using a file magic. Last file checked:
/the_name_of_the_kannel_installation_directory/lib/kannel/libwap.a
*** Warning: linker path does not have real file for library -lgwlib.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libgwlib and none of the candidates passed a file format test
*** using a file magic. Last file checked:
/the_name_of_the_kannel_installation_directory/lib/kannel/libgwlib.a
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
../libtool: line 4023: test: : integer expression expected
../libtool: line 4023: test: : integer expression expected
creating reloadable object files...
creating a temporary reloadable object file:
.libs/libmms_billing_shell.la-1.o
/usr/bin/ld -m elf_x86_64 -r -o .libs/libmms_billing_shell.la-1.o
.libs/mms_billing_shell.o
gcc -shared .libs/libmms_billing_shell.la-1.o -L/usr/kerberos/lib
-L/mbuni_source_directory/mmlib -ldl
-L/the_name_of_the_kannel_installation_directory/lib/kannel -lrt
/usr/lib/libbind.so -lresolv -lnsl -lxml2 -lz -lpthread -lm -Wl,-soname
-Wl,libmms_billing_shell.so.0 -o .libs/libmms_billing_shell.so.0.0.0
/usr/lib/libbind.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: *** [libmms_billing_shell.la] Error 1
Can't see anything obviously wrong with the Makefile produced by
configure except that it is trying to use "-rpath /usr/local/lib/mbuni"
which shouldn't be correct as we've asked it to compile itself into a
different directory?
Any thoughts much appreciated
Regards
Alex
_______________________________________________
Users mailing list
[email protected]
http://mbuni.org/mailman/listinfo/users_mbuni.org