#1 Le 22/07/2013, à 10:55
- hana_amiri
erreur de compilation Mbuni MMS gateway
i installed all mbuni requirements along with kannel but when compiling mbuni i get this message:
make all-recursive
make[1]: Entering directory `/home/hana/Desktop/stage/mbuni-1.5.0'
Making all in autotools
make[2]: Entering directory `/home/hana/Desktop/stage/mbuni-1.5.0/autotools'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/hana/Desktop/stage/mbuni-1.5.0/autotools'
Making all in doc
make[2]: Entering directory `/home/hana/Desktop/stage/mbuni-1.5.0/doc'
Making all in examples
make[3]: Entering directory `/home/hana/Desktop/stage/mbuni-1.5.0/doc/examples'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/hana/Desktop/stage/mbuni-1.5.0/doc/examples'
Making all in images
make[3]: Entering directory `/home/hana/Desktop/stage/mbuni-1.5.0/doc/images'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/hana/Desktop/stage/mbuni-1.5.0/doc/images'
make[3]: Entering directory `/home/hana/Desktop/stage/mbuni-1.5.0/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/hana/Desktop/stage/mbuni-1.5.0/doc'
make[2]: Leaving directory `/home/hana/Desktop/stage/mbuni-1.5.0/doc'
Making all in mmlib
make[2]: Entering directory `/home/hana/Desktop/stage/mbuni-1.5.0/mmlib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/hana/Desktop/stage/mbuni-1.5.0/mmlib'
Making all in mmsc
make[2]: Entering directory `/home/hana/Desktop/stage/mbuni-1.5.0/mmsc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/hana/Desktop/stage/mbuni-1.5.0/mmsc'
Making all in mmsbox
make[2]: Entering directory `/home/hana/Desktop/stage/mbuni-1.5.0/mmsbox'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/hana/Desktop/stage/mbuni-1.5.0/mmsbox'
Making all in extras
make[2]: Entering directory `/home/hana/Desktop/stage/mbuni-1.5.0/extras'
Making all in pgsql-queue
make[3]: Entering directory `/home/hana/Desktop/stage/mbuni-1.5.0/extras/pgsql-queue'
/bin/bash ../../libtool --tag=CC --mode=link gcc -I/usr/include/postgresql -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -O4 -Wall -D_REENTRANT=1 -D_LARGE_FILES= -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -fPIC -D_LARGE_FILES= -I/usr/include/libxml2 -module -rdynamic -L/usr/local/lib/kannel -lgw -lwap -lgwlib -lrt -lresolv -lnsl -lm -lpthread -lxml2 -o libmms_pgsql_queue.la -rpath /usr/local/lib mms_pgsql_queue.lo -L/usr/lib -lwap -lgwlib -lpthread -ldl -L/usr/local/lib/kannel -lgw -lwap -lgwlib -lrt -lresolv -lnsl -lm -lpthread -lxml2 -lpq
libtool: link: gcc -shared -fPIC -DPIC .libs/mms_pgsql_queue.o -L/usr/local/lib/kannel -L/usr/lib -ldl -lgw -lwap -lgwlib -lrt -lresolv -lnsl -lm -lpthread -lxml2 -lpq -O2 -O4 -O2 -Wl,-soname -Wl,libmms_pgsql_queue.so.0 -o .libs/libmms_pgsql_queue.so.0.0.0
/usr/bin/ld: cannot open output file .libs/libmms_pgsql_queue.so.0.0.0: Permission denied
collect2: error: ld returned 1 exit status
make[3]: *** [libmms_pgsql_queue.la] Error 1
make[3]: Leaving directory `/home/hana/Desktop/stage/mbuni-1.5.0/extras/pgsql-queue'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/hana/Desktop/stage/mbuni-1.5.0/extras'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hana/Desktop/stage/mbuni-1.5.0'
make: *** [all] Error 2
i tried to compile kannel with -fPIC option but that didnt change anything
PLZ help
Hors ligne