Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I wanted to install perl_esl
- I went to
- colin@colin:/usr/src/freeswitch/libs/esl$
- then did
- In the freeswitch source directory change to libs/esl and run:
- make perlmod
- make perlmod-install
- here the link with that info
- http://wiki.freeswitch.org/wiki/Perl_esl
- but it an error goes and no installation at ALL.
- hope you can help me.
- thanks
- behind is the error
- colin@colin:/usr/src/freeswitch/libs/esl$ make perlmod
- make MYLIB="../libesl.a" SOLINK="-shared -Xlinker -x" CFLAGS="-I/usr/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2" CXXFLAGS="-I/usr/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC" CXX_CFLAGS="" -C perl
- make[1]: Entering directory `/usr/src/freeswitch/libs/esl/perl'
- g++ -I/usr/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -w -I/usr/lib/perl/5.10/CORE -c esl_wrap.cpp -o esl_wrap.o
- Assembler messages:
- Fatal error: can't create esl_wrap.o: Permission denied
- make[1]: *** [esl_wrap.o] Error 1
- make[1]: Leaving directory `/usr/src/freeswitch/libs/esl/perl'
- make: *** [perlmod] Error 2
- colin@colin:/usr/src/freeswitch/libs/esl$ sudo make perlmod
- [sudo] password for colin:
- make MYLIB="../libesl.a" SOLINK="-shared -Xlinker -x" CFLAGS="-I/usr/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2" CXXFLAGS="-I/usr/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC" CXX_CFLAGS="" -C perl
- make[1]: Entering directory `/usr/src/freeswitch/libs/esl/perl'
- g++ -I/usr/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -w -I/usr/lib/perl/5.10/CORE -c esl_wrap.cpp -o esl_wrap.o
- cc -I/usr/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2 -w -DMULTIPLICITY -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.10/CORE -DEMBED_PERL -c perlxsi.c -o perlxsi.o
- Note (probably harmless): No library found for -lperl
- g++ -shared -Xlinker -x esl_wrap.o perlxsi.o ../libesl.a -Wl,-E -fstack-protector -L/usr/local/lib -L/usr/lib/perl/5.10/CORE -ldl -lm -lpthread -lc -lcrypt -lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt -o ESL.so -L.
- /usr/bin/ld: cannot find -lgdbm
- collect2: ld returned 1 exit status
- make[1]: *** [ESL.so] Error 1
- make[1]: Leaving directory `/usr/src/freeswitch/libs/esl/perl'
- make: *** [perlmod] Error 2
- colin@colin:/usr/src/freeswitch/libs/esl$ make perlmod-install
- make MYLIB="../libesl.a" SOLINK="-shared -Xlinker -x" CFLAGS="-I/usr/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2" CXXFLAGS="-I/usr/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC" CXX_CFLAGS="" -C perl
- Note (probably harmless): No library found for -lperl
- make[1]: Entering directory `/usr/src/freeswitch/libs/esl/perl'
- g++ -shared -Xlinker -x esl_wrap.o perlxsi.o ../libesl.a -Wl,-E -fstack-protector -L/usr/local/lib -L/usr/lib/perl/5.10/CORE -ldl -lm -lpthread -lc -lcrypt -lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt -o ESL.so -L.
- /usr/bin/ld: cannot open output file ESL.so: Permission denied
- collect2: ld returned 1 exit status
- make[1]: *** [ESL.so] Error 1
- make[1]: Leaving directory `/usr/src/freeswitch/libs/esl/perl'
- make: *** [perlmod] Error 2
- colin@colin:/usr/src/freeswitch/libs/esl$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement