Advertisement
inquba

error installing perl mod

May 3rd, 2012
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.52 KB | None | 0 0
  1. I wanted to install perl_esl
  2. I went to
  3. colin@colin:/usr/src/freeswitch/libs/esl$
  4.  
  5. then did
  6. In the freeswitch source directory change to libs/esl and run:
  7.  
  8. make perlmod
  9. make perlmod-install
  10.  
  11.  
  12.  
  13. here the link with that info
  14.  
  15. http://wiki.freeswitch.org/wiki/Perl_esl
  16.  
  17. but it an error goes and no installation at ALL.
  18. hope you can help me.
  19. thanks
  20. behind is the error
  21.  
  22.  
  23. colin@colin:/usr/src/freeswitch/libs/esl$ make perlmod
  24. 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
  25. make[1]: Entering directory `/usr/src/freeswitch/libs/esl/perl'
  26. 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
  27. Assembler messages:
  28. Fatal error: can't create esl_wrap.o: Permission denied
  29. make[1]: *** [esl_wrap.o] Error 1
  30. make[1]: Leaving directory `/usr/src/freeswitch/libs/esl/perl'
  31. make: *** [perlmod] Error 2
  32. colin@colin:/usr/src/freeswitch/libs/esl$ sudo make perlmod
  33. [sudo] password for colin:
  34. 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
  35. make[1]: Entering directory `/usr/src/freeswitch/libs/esl/perl'
  36. 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
  37. 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
  38. Note (probably harmless): No library found for -lperl
  39. 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.
  40. /usr/bin/ld: cannot find -lgdbm
  41. collect2: ld returned 1 exit status
  42. make[1]: *** [ESL.so] Error 1
  43. make[1]: Leaving directory `/usr/src/freeswitch/libs/esl/perl'
  44. make: *** [perlmod] Error 2
  45. colin@colin:/usr/src/freeswitch/libs/esl$ make perlmod-install
  46. 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
  47. Note (probably harmless): No library found for -lperl
  48. make[1]: Entering directory `/usr/src/freeswitch/libs/esl/perl'
  49. 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.
  50. /usr/bin/ld: cannot open output file ESL.so: Permission denied
  51. collect2: ld returned 1 exit status
  52. make[1]: *** [ESL.so] Error 1
  53. make[1]: Leaving directory `/usr/src/freeswitch/libs/esl/perl'
  54. make: *** [perlmod] Error 2
  55. colin@colin:/usr/src/freeswitch/libs/esl$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement