VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
technologyinspired at ... Guest
|
Posted: Wed Apr 22, 2009 11:47 pm Post subject: [Freeswitch-users] Installation Errors |
|
|
Hi, I am getting errors while installing FreeSwitch. I have enabled almost all the packages (except: mod_snom, mod_ldap, mod_zap and few others). Do I need to install dependencies or will FreeSwitch automatically find from the internet? I have done the basic dependencies installed like gcc, curses, unixODBC etc.
Here is the part of the "make" process which generated error:
...
...
making all mod_native_file
Compiling mod_native_file.c...
mkdir .libs
Compiling mod_native_file.c ...
Creating mod_native_file.so...
making all mod_opal
Compiling mod_opal.cpp...
mkdir .libs
Compiling mod_opal.cpp ...
In file included from mod_opal.cpp:26:
mod_opal.h:66: error: expected class-name before '{' token
mod_opal.h:67: error: 'Comparison' does not name a type
mod_opal.h: In member function 'virtual PBoolean FSProcess::InternalIsDescendant(const char*) const':
mod_opal.h:67: error: 'PLibraryProcess' has not been declared
mod_opal.h: In member function 'virtual const char* FSProcess::GetClass(unsigned int) const':
mod_opal.h:67: error: 'PLibraryProcess' has not been declared
mod_opal.cpp: In constructor 'FSProcess::FSProcess()':
mod_opal.cpp:289: error: class 'FSProcess' does not have any field named 'PLibraryProcess'
mod_opal.cpp:289: error: 'AlphaCode' was not declared in this scope
mod_opal.cpp: In member function 'virtual void FSConnection::OnReleased()':
mod_opal.cpp:667: error: invalid initialization of reference of type 'const H323Connection&' from expression of type 'OpalConnection::CallEndReason'
/usr/include/opal/h323/h323pdu.h:479: error: in passing argument 1 of 'Q931::CauseValues H323TranslateFromCallEndReason(const H323Connection&, H225_ReleaseCompleteReason&)'
mod_opal.cpp: In member function 'switch_status_t FSMediaStream::read_frame(switch_frame_t**, switch_io_flag_t)':
mod_opal.cpp:1265: error: 'class OpalMediaPatch' has no member named 'OnPatchStart'
mod_opal.cpp: In member function 'switch_status_t FSMediaStream::write_frame(const switch_frame_t*, switch_io_flag_t)':
mod_opal.cpp:1370: error: 'class OpalMediaPatch' has no member named 'OnPatchStart'
make[5]: *** [mod_opal.lo] Error 1
make[4]: *** [all] Error 1
make[3]: *** [mod_opal-all] Error 1
make[2]: *** [all-recursive] Error 1
Making all in build
+-------- FreeSWITCH Build Complete -----------+
+ FreeSWITCH has been successfully built. +
+ Install by running: +
+ +
+ make install +
+----------------------------------------------+
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Regards,
Vin |
|
Back to top |
|
|
raul at etellicom.com Guest
|
Posted: Thu Apr 23, 2009 2:17 am Post subject: [Freeswitch-users] Installation Errors |
|
|
Some modules require additional libraries to be present, such as
mod_opal in your case. You will need to install ptlib and opal first,
just follow the instructions in the wiki:
http://wiki.freeswitch.org/wiki/Mod_opal
If you don't require mod_opal, just disable it in modules.conf.
Regards,
Raul
On Thu, 2009-04-23 at 10:05 +0530, technologyinspired wrote:
Quote: | Hi, I am getting errors while installing FreeSwitch. I have enabled
almost all the packages (except: mod_snom, mod_ldap, mod_zap and few
others). Do I need to install dependencies or will FreeSwitch
automatically find from the internet? I have done the basic
dependencies installed like gcc, curses, unixODBC etc.
Here is the part of the "make" process which generated error:
...
...
making all mod_native_file
Compiling mod_native_file.c...
mkdir .libs
Compiling mod_native_file.c ...
Creating mod_native_file.so...
making all mod_opal
Compiling mod_opal.cpp...
mkdir .libs
Compiling mod_opal.cpp ...
In file included from mod_opal.cpp:26:
mod_opal.h:66: error: expected class-name before '{' token
mod_opal.h:67: error: 'Comparison' does not name a type
mod_opal.h: In member function 'virtual PBoolean FSProcess::
InternalIsDescendant(const char*) const':
mod_opal.h:67: error: 'PLibraryProcess' has not been declared
mod_opal.h: In member function 'virtual const char*
FSProcess::GetClass(unsigned int) const':
mod_opal.h:67: error: 'PLibraryProcess' has not been declared
mod_opal.cpp: In constructor 'FSProcess::FSProcess()':
mod_opal.cpp:289: error: class 'FSProcess' does not have any field
named 'PLibraryProcess'
mod_opal.cpp:289: error: 'AlphaCode' was not declared in this scope
mod_opal.cpp: In member function 'virtual void
FSConnection::OnReleased()':
mod_opal.cpp:667: error: invalid initialization of reference of type
'const H323Connection&' from expression of type
'OpalConnection::CallEndReason'
/usr/include/opal/h323/h323pdu.h:479: error: in passing argument 1 of
'Q931::CauseValues H323TranslateFromCallEndReason(const
H323Connection&, H225_ReleaseCompleteReason&)'
mod_opal.cpp: In member function 'switch_status_t
FSMediaStream::read_frame(switch_frame_t**, switch_io_flag_t)':
mod_opal.cpp:1265: error: 'class OpalMediaPatch' has no member named
'OnPatchStart'
mod_opal.cpp: In member function 'switch_status_t
FSMediaStream::write_frame(const switch_frame_t*, switch_io_flag_t)':
mod_opal.cpp:1370: error: 'class OpalMediaPatch' has no member named
'OnPatchStart'
make[5]: *** [mod_opal.lo] Error 1
make[4]: *** [all] Error 1
make[3]: *** [mod_opal-all] Error 1
make[2]: *** [all-recursive] Error 1
Making all in build
+-------- FreeSWITCH Build Complete -----------+
+ FreeSWITCH has been successfully built. +
+ Install by running: +
+ +
+ make install +
+----------------------------------------------+
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Regards,
Vin
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
technologyinspired at ... Guest
|
Posted: Thu Apr 23, 2009 5:06 am Post subject: [Freeswitch-users] Installation Errors |
|
|
Hi Raul,
Thanks for the reply. I have fixed that error but now have another error. I have installed perl-CPAN and its dependencies installed. I run this command:
perl -V | grep -oP "usemultiplicity=[a-z]+ and got the o/p as: usemultiplicity=define.
Could you tell me how to fix this error?
...
...
making all mod_perl
Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/local/lib/perl5/site_perl/5.10.0 /usr/local/lib/perl5/site_perl /usr/lib/perl5/site_perl .).
BEGIN failed--compilation aborted.
Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/local/lib/perl5/site_perl/5.10.0 /usr/local/lib/perl5/site_perl /usr/lib/perl5/site_perl .).
BEGIN failed--compilation aborted.
Compiling freeswitch_perl.cpp...
g++ -w -DMULTIPLICITY -DEMBED_PERL -I/usr/src/freeswitch-1.0.4pre4/src/include -I/usr/src/freeswitch-1.0.4pre4/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE -DHAVE_CONFIG_H -c -o freeswitch_perl.o freeswitch_perl.cpp
In file included from freeswitch_perl.cpp:2:
freeswitch_perl.h:13:20: error: EXTERN.h: No such file or directory
freeswitch_perl.h:14:18: error: perl.h: No such file or directory
In file included from freeswitch_perl.cpp:2:
freeswitch_perl.h:24: error: ISO C++ forbids declaration of ‘PerlInterpreter’ with no type
freeswitch_perl.h:24: error: expected ‘;’ before ‘*’ token
freeswitch_perl.h:25: error: ISO C++ forbids declaration of ‘PerlInterpreter’ with no type
freeswitch_perl.h:25: error: expected ‘;’ before ‘*’ token
freeswitch_perl.h:28: error: ISO C++ forbids declaration of ‘SV’ with no type
freeswitch_perl.h:28: error: expected ‘;’ before ‘*’ token
freeswitch_perl.h:41: error: ‘SV’ has not been declared
freeswitch_perl.h:51: error: ‘PerlInterpreter’ has not been declared
In file included from freeswitch_perl.cpp:3:
mod_perl_extra.h:5: error: variable or field ‘mod_perl_conjure_event’ declared void
mod_perl_extra.h:5: error: ‘PerlInterpreter’ was not declared in this scope
mod_perl_extra.h:5: error: ‘my_perl’ was not declared in this scope
mod_perl_extra.h:5: error: expected primary-expression before ‘*’ token
mod_perl_extra.h:5: error: ‘event’ was not declared in this scope
mod_perl_extra.h:5: error: expected primary-expression before ‘const’
mod_perl_extra.h:6: error: variable or field ‘mod_perl_conjure_stream’ declared void
mod_perl_extra.h:6: error: ‘PerlInterpreter’ was not declared in this scope
mod_perl_extra.h:6: error: ‘my_perl’ was not declared in this scope
mod_perl_extra.h:6: error: expected primary-expression before ‘*’ token
mod_perl_extra.h:6: error: ‘stream’ was not declared in this scope
mod_perl_extra.h:6: error: expected primary-expression before ‘const’
freeswitch_perl.cpp:5: error: ‘STRLEN’ does not name a type
freeswitch_perl.cpp: In constructor ‘PERL::Session::Session()’:
freeswitch_perl.cpp:13: error: ‘my_perl’ was not declared in this scope
freeswitch_perl.cpp: In constructor ‘PERL::Session::Session(char*, CoreSession*)’:
freeswitch_perl.cpp:18: error: ‘my_perl’ was not declared in this scope
freeswitch_perl.cpp: In constructor ‘PERL::Session::Session(switch_core_session_t*)’:
freeswitch_perl.cpp:34: error: ‘my_perl’ was not declared in this scope
freeswitch_perl.cpp: At global scope:
freeswitch_perl.cpp:88: error: variable or field ‘setPERL’ declared void
freeswitch_perl.cpp:88: error: ‘PerlInterpreter’ was not declared in this scope
freeswitch_perl.cpp:88: error: ‘pi’ was not declared in this scope
freeswitch_perl.cpp:94: error: variable or field ‘setME’ declared void
freeswitch_perl.cpp:94: error: ‘SV’ was not declared in this scope
freeswitch_perl.cpp:94: error: ‘p’ was not declared in this scope
make[5]: *** [freeswitch_perl.o] Error 1
make[4]: *** [all] Error 1
make[3]: *** [mod_perl-all] Error 1
make[2]: *** [all-recursive] Error 1
Making all in build
+-------- FreeSWITCH Build Complete -----------+
+ FreeSWITCH has been successfully built. +
+ Install by running: +
+ +
+ make install +
+----------------------------------------------+
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Regards,
Vin
Quote: |
Some modules require additional libraries to be present, such as
mod_opal in your case. You will need to install ptlib and opal first,
just follow the instructions in the wiki:
http://wiki.freeswitch.org/wiki/Mod_opal
If you don't require mod_opal, just disable it in modules.conf.
Regards,
Raul
|
Quote: |
On Thu, 2009-04-23 at 10:05 +0530, technologyinspired wrote:
Quote: | Hi, I am getting errors while installing FreeSwitch. I have enabled
almost all the packages (except: mod_snom, mod_ldap, mod_zap and few
others). Do I need to install dependencies or will FreeSwitch
automatically find from the internet? I have done the basic
dependencies installed like gcc, curses, unixODBC etc.
Here is the part of the "make" process which generated error:
...
...
making all mod_native_file
Compiling mod_native_file.c...
mkdir .libs
Compiling mod_native_file.c ...
Creating mod_native_file.so...
making all mod_opal
Compiling mod_opal.cpp...
mkdir .libs
Compiling mod_opal.cpp ...
In file included from mod_opal.cpp:26:
mod_opal.h:66: error: expected class-name before '{' token
mod_opal.h:67: error: 'Comparison' does not name a type
mod_opal.h: In member function 'virtual PBoolean FSProcess::
InternalIsDescendant(const char*) const':
mod_opal.h:67: error: 'PLibraryProcess' has not been declared
mod_opal.h: In member function 'virtual const char*
FSProcess::GetClass(unsigned int) const':
mod_opal.h:67: error: 'PLibraryProcess' has not been declared
mod_opal.cpp: In constructor 'FSProcess::FSProcess()':
mod_opal.cpp:289: error: class 'FSProcess' does not have any field
named 'PLibraryProcess'
mod_opal.cpp:289: error: 'AlphaCode' was not declared in this scope
mod_opal.cpp: In member function 'virtual void
FSConnection::OnReleased()':
mod_opal.cpp:667: error: invalid initialization of reference of type
'const H323Connection&' from expression of type
'OpalConnection::CallEndReason'
/usr/include/opal/h323/h323pdu.h:479: error: in passing argument 1 of
'Q931::CauseValues H323TranslateFromCallEndReason(const
H323Connection&, H225_ReleaseCompleteReason&)'
mod_opal.cpp: In member function 'switch_status_t
FSMediaStream::read_frame(switch_frame_t**, switch_io_flag_t)':
mod_opal.cpp:1265: error: 'class OpalMediaPatch' has no member named
'OnPatchStart'
mod_opal.cpp: In member function 'switch_status_t
FSMediaStream::write_frame(const switch_frame_t*, switch_io_flag_t)':
mod_opal.cpp:1370: error: 'class OpalMediaPatch' has no member named
'OnPatchStart'
make[5]: *** [mod_opal.lo] Error 1
make[4]: *** [all] Error 1
make[3]: *** [mod_opal-all] Error 1
make[2]: *** [all-recursive] Error 1
Making all in build
+-------- FreeSWITCH Build Complete -----------+
+ FreeSWITCH has been successfully built. +
+ Install by running: +
+ +
+ make install +
+----------------------------------------------+
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Regards,
Vin
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
|
Back to top |
|
|
mike at jerris.com Guest
|
Posted: Thu Apr 23, 2009 8:03 am Post subject: [Freeswitch-users] Installation Errors |
|
|
You are still missing some devel dependencies for embedding perl.
Unfortunately they are not listed on this page:
http://wiki.freeswitch.org/wiki/Mod_perl
If anyone knows them or you can find them, please add them. Search for the missing header files using your package system.
Mike
On Apr 23, 2009, at 5:56 AM, technologyinspired wrote:
Quote: | Hi Raul,
Thanks for the reply. I have fixed that error but now have another error. I have installed perl-CPAN and its dependencies installed. I run this command:
perl -V | grep -oP "usemultiplicity=[a-z]+ and got the o/p as: usemultiplicity=define.
Could you tell me how to fix this error?
...
...
making all mod_perl
Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/local/lib/perl5/site_perl/5.10.0 /usr/local/lib/perl5/site_perl /usr/lib/perl5/site_perl .).
BEGIN failed--compilation aborted.
Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/local/lib/perl5/site_perl/5.10.0 /usr/local/lib/perl5/site_perl /usr/lib/perl5/site_perl .).
BEGIN failed--compilation aborted.
Compiling freeswitch_perl.cpp...
g++ -w -DMULTIPLICITY -DEMBED_PERL -I/usr/src/freeswitch-1.0.4pre4/src/include -I/usr/src/freeswitch-1.0.4pre4/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE -DHAVE_CONFIG_H -c -o freeswitch_perl.o freeswitch_perl.cpp
In file included from freeswitch_perl.cpp:2:
freeswitch_perl.h:13:20: error: EXTERN.h: No such file or directory
freeswitch_perl.h:14:18: error: perl.h: No such file or directory
In file included from freeswitch_perl.cpp:2:
freeswitch_perl.h:24: error: ISO C++ forbids declaration of ‘PerlInterpreter’ with no type
freeswitch_perl.h:24: error: expected ‘;’ before ‘*’ token
freeswitch_perl.h:25: error: ISO C++ forbids declaration of ‘PerlInterpreter’ with no type
freeswitch_perl.h:25: error: expected ‘;’ before ‘*’ token
freeswitch_perl.h:28: error: ISO C++ forbids declaration of ‘SV’ with no type
freeswitch_perl.h:28: error: expected ‘;’ before ‘*’ token
freeswitch_perl.h:41: error: ‘SV’ has not been declared
freeswitch_perl.h:51: error: ‘PerlInterpreter’ has not been declared
In file included from freeswitch_perl.cpp:3:
mod_perl_extra.h:5: error: variable or field ‘mod_perl_conjure_event’ declared void
mod_perl_extra.h:5: error: ‘PerlInterpreter’ was not declared in this scope
mod_perl_extra.h:5: error: ‘my_perl’ was not declared in this scope
mod_perl_extra.h:5: error: expected primary-expression before ‘*’ token
mod_perl_extra.h:5: error: ‘event’ was not declared in this scope
mod_perl_extra.h:5: error: expected primary-expression before ‘const’
mod_perl_extra.h:6: error: variable or field ‘mod_perl_conjure_stream’ declared void
mod_perl_extra.h:6: error: ‘PerlInterpreter’ was not declared in this scope
mod_perl_extra.h:6: error: ‘my_perl’ was not declared in this scope
mod_perl_extra.h:6: error: expected primary-expression before ‘*’ token
mod_perl_extra.h:6: error: ‘stream’ was not declared in this scope
mod_perl_extra.h:6: error: expected primary-expression before ‘const’
freeswitch_perl.cpp:5: error: ‘STRLEN’ does not name a type
freeswitch_perl.cpp: In constructor ‘PERL::Session::Session()’:
freeswitch_perl.cpp:13: error: ‘my_perl’ was not declared in this scope
freeswitch_perl.cpp: In constructor ‘PERL::Session::Session(char*, CoreSession*)’:
freeswitch_perl.cpp:18: error: ‘my_perl’ was not declared in this scope
freeswitch_perl.cpp: In constructor ‘PERL::Session::Session(switch_core_session_t*)’:
freeswitch_perl.cpp:34: error: ‘my_perl’ was not declared in this scope
freeswitch_perl.cpp: At global scope:
freeswitch_perl.cpp:88: error: variable or field ‘setPERL’ declared void
freeswitch_perl.cpp:88: error: ‘PerlInterpreter’ was not declared in this scope
freeswitch_perl.cpp:88: error: ‘pi’ was not declared in this scope
freeswitch_perl.cpp:94: error: variable or field ‘setME’ declared void
freeswitch_perl.cpp:94: error: ‘SV’ was not declared in this scope
freeswitch_perl.cpp:94: error: ‘p’ was not declared in this scope
make[5]: *** [freeswitch_perl.o] Error 1
make[4]: *** [all] Error 1
make[3]: *** [mod_perl-all] Error 1
make[2]: *** [all-recursive] Error 1
Making all in build
+-------- FreeSWITCH Build Complete -----------+
+ FreeSWITCH has been successfully built. +
+ Install by running: +
+ +
+ make install +
+----------------------------------------------+
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Regards,
Vin
Quote: |
Some modules require additional libraries to be present, such as
mod_opal in your case. You will need to install ptlib and opal first,
just follow the instructions in the wiki:
http://wiki.freeswitch.org/wiki/Mod_opal
If you don't require mod_opal, just disable it in modules.conf.
Regards,
Raul
|
Quote: |
On Thu, 2009-04-23 at 10:05 +0530, technologyinspired wrote:
Quote: | Hi, I am getting errors while installing FreeSwitch. I have enabled
almost all the packages (except: mod_snom, mod_ldap, mod_zap and few
others). Do I need to install dependencies or will FreeSwitch
automatically find from the internet? I have done the basic
dependencies installed like gcc, curses, unixODBC etc.
Here is the part of the "make" process which generated error:
...
...
making all mod_native_file
Compiling mod_native_file.c...
mkdir .libs
Compiling mod_native_file.c ...
Creating mod_native_file.so...
making all mod_opal
Compiling mod_opal.cpp...
mkdir .libs
Compiling mod_opal.cpp ...
In file included from mod_opal.cpp:26:
mod_opal.h:66: error: expected class-name before '{' token
mod_opal.h:67: error: 'Comparison' does not name a type
mod_opal.h: In member function 'virtual PBoolean FSProcess::
InternalIsDescendant(const char*) const':
mod_opal.h:67: error: 'PLibraryProcess' has not been declared
mod_opal.h: In member function 'virtual const char*
FSProcess::GetClass(unsigned int) const':
mod_opal.h:67: error: 'PLibraryProcess' has not been declared
mod_opal.cpp: In constructor 'FSProcess::FSProcess()':
mod_opal.cpp:289: error: class 'FSProcess' does not have any field
named 'PLibraryProcess'
mod_opal.cpp:289: error: 'AlphaCode' was not declared in this scope
mod_opal.cpp: In member function 'virtual void
FSConnection::OnReleased()':
mod_opal.cpp:667: error: invalid initialization of reference of type
'const H323Connection&' from expression of type
'OpalConnection::CallEndReason'
/usr/include/opal/h323/h323pdu.h:479: error: in passing argument 1 of
'Q931::CauseValues H323TranslateFromCallEndReason(const
H323Connection&, H225_ReleaseCompleteReason&)'
mod_opal.cpp: In member function 'switch_status_t
FSMediaStream::read_frame(switch_frame_t**, switch_io_flag_t)':
mod_opal.cpp:1265: error: 'class OpalMediaPatch' has no member named
'OnPatchStart'
mod_opal.cpp: In member function 'switch_status_t
FSMediaStream::write_frame(const switch_frame_t*, switch_io_flag_t)':
mod_opal.cpp:1370: error: 'class OpalMediaPatch' has no member named
'OnPatchStart'
make[5]: *** [mod_opal.lo] Error 1
make[4]: *** [all] Error 1
make[3]: *** [mod_opal-all] Error 1
make[2]: *** [all-recursive] Error 1
Making all in build
+-------- FreeSWITCH Build Complete -----------+
+ FreeSWITCH has been successfully built. +
+ Install by running: +
+ +
+ make install +
+----------------------------------------------+
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Regards,
Vin
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Thu Apr 23, 2009 12:58 pm Post subject: [Freeswitch-users] Installation Errors |
|
|
Please try this and report back:
yum install mod_perl-devel
Let us know if it works and we'll add it to the wiki page.
-MC
On Thu, Apr 23, 2009 at 5:49 AM, Michael Jerris <mike@jerris.com (mike@jerris.com)> wrote:
Quote: | You are still missing some devel dependencies for embedding perl.
Unfortunately they are not listed on this page:
http://wiki.freeswitch.org/wiki/Mod_perl
If anyone knows them or you can find them, please add them. Search for the missing header files using your package system.
Mike
On Apr 23, 2009, at 5:56 AM, technologyinspired wrote:
Quote: | Hi Raul,
Thanks for the reply. I have fixed that error but now have another error. I have installed perl-CPAN and its dependencies installed. I run this command:
perl -V | grep -oP "usemultiplicity=[a-z]+ and got the o/p as: usemultiplicity=define.
Could you tell me how to fix this error?
...
...
making all mod_perl
Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/local/lib/perl5/site_perl/5.10.0 /usr/local/lib/perl5/site_perl /usr/lib/perl5/site_perl .).
BEGIN failed--compilation aborted.
Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/local/lib/perl5/site_perl/5.10.0 /usr/local/lib/perl5/site_perl /usr/lib/perl5/site_perl .).
BEGIN failed--compilation aborted.
Compiling freeswitch_perl.cpp...
g++ -w -DMULTIPLICITY -DEMBED_PERL -I/usr/src/freeswitch-1.0.4pre4/src/include -I/usr/src/freeswitch-1.0.4pre4/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE -DHAVE_CONFIG_H -c -o freeswitch_perl.o freeswitch_perl.cpp
In file included from freeswitch_perl.cpp:2:
freeswitch_perl.h:13:20: error: EXTERN.h: No such file or directory
freeswitch_perl.h:14:18: error: perl.h: No such file or directory
In file included from freeswitch_perl.cpp:2:
freeswitch_perl.h:24: error: ISO C++ forbids declaration of ‘PerlInterpreter’ with no type
freeswitch_perl.h:24: error: expected ‘;’ before ‘*’ token
freeswitch_perl.h:25: error: ISO C++ forbids declaration of ‘PerlInterpreter’ with no type
freeswitch_perl.h:25: error: expected ‘;’ before ‘*’ token
freeswitch_perl.h:28: error: ISO C++ forbids declaration of ‘SV’ with no type
freeswitch_perl.h:28: error: expected ‘;’ before ‘*’ token
freeswitch_perl.h:41: error: ‘SV’ has not been declared
freeswitch_perl.h:51: error: ‘PerlInterpreter’ has not been declared
In file included from freeswitch_perl.cpp:3:
mod_perl_extra.h:5: error: variable or field ‘mod_perl_conjure_event’ declared void
mod_perl_extra.h:5: error: ‘PerlInterpreter’ was not declared in this scope
mod_perl_extra.h:5: error: ‘my_perl’ was not declared in this scope
mod_perl_extra.h:5: error: expected primary-expression before ‘*’ token
mod_perl_extra.h:5: error: ‘event’ was not declared in this scope
mod_perl_extra.h:5: error: expected primary-expression before ‘const’
mod_perl_extra.h:6: error: variable or field ‘mod_perl_conjure_stream’ declared void
mod_perl_extra.h:6: error: ‘PerlInterpreter’ was not declared in this scope
mod_perl_extra.h:6: error: ‘my_perl’ was not declared in this scope
mod_perl_extra.h:6: error: expected primary-expression before ‘*’ token
mod_perl_extra.h:6: error: ‘stream’ was not declared in this scope
mod_perl_extra.h:6: error: expected primary-expression before ‘const’
freeswitch_perl.cpp:5: error: ‘STRLEN’ does not name a type
freeswitch_perl.cpp: In constructor ‘PERL::Session::Session()’:
freeswitch_perl.cpp:13: error: ‘my_perl’ was not declared in this scope
freeswitch_perl.cpp: In constructor ‘PERL::Session::Session(char*, CoreSession*)’:
freeswitch_perl.cpp:18: error: ‘my_perl’ was not declared in this scope
freeswitch_perl.cpp: In constructor ‘PERL::Session::Session(switch_core_session_t*)’:
freeswitch_perl.cpp:34: error: ‘my_perl’ was not declared in this scope
freeswitch_perl.cpp: At global scope:
freeswitch_perl.cpp:88: error: variable or field ‘setPERL’ declared void
freeswitch_perl.cpp:88: error: ‘PerlInterpreter’ was not declared in this scope
freeswitch_perl.cpp:88: error: ‘pi’ was not declared in this scope
freeswitch_perl.cpp:94: error: variable or field ‘setME’ declared void
freeswitch_perl.cpp:94: error: ‘SV’ was not declared in this scope
freeswitch_perl.cpp:94: error: ‘p’ was not declared in this scope
make[5]: *** [freeswitch_perl.o] Error 1
make[4]: *** [all] Error 1
make[3]: *** [mod_perl-all] Error 1
make[2]: *** [all-recursive] Error 1
Making all in build
+-------- FreeSWITCH Build Complete -----------+
+ FreeSWITCH has been successfully built. +
+ Install by running: +
+ +
+ make install +
+----------------------------------------------+
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Regards,
Vin
Quote: |
Some modules require additional libraries to be present, such as
mod_opal in your case. You will need to install ptlib and opal first,
just follow the instructions in the wiki:
http://wiki.freeswitch.org/wiki/Mod_opal
If you don't require mod_opal, just disable it in modules.conf.
Regards,
Raul
|
Quote: |
On Thu, 2009-04-23 at 10:05 +0530, technologyinspired wrote:
Quote: | Hi, I am getting errors while installing FreeSwitch. I have enabled
almost all the packages (except: mod_snom, mod_ldap, mod_zap and few
others). Do I need to install dependencies or will FreeSwitch
automatically find from the internet? I have done the basic
dependencies installed like gcc, curses, unixODBC etc.
Here is the part of the "make" process which generated error:
...
...
making all mod_native_file
Compiling mod_native_file.c...
mkdir .libs
Compiling mod_native_file.c ...
Creating mod_native_file.so...
making all mod_opal
Compiling mod_opal.cpp...
mkdir .libs
Compiling mod_opal.cpp ...
In file included from mod_opal.cpp:26:
mod_opal.h:66: error: expected class-name before '{' token
mod_opal.h:67: error: 'Comparison' does not name a type
mod_opal.h: In member function 'virtual PBoolean FSProcess::
InternalIsDescendant(const char*) const':
mod_opal.h:67: error: 'PLibraryProcess' has not been declared
mod_opal.h: In member function 'virtual const char*
FSProcess::GetClass(unsigned int) const':
mod_opal.h:67: error: 'PLibraryProcess' has not been declared
mod_opal.cpp: In constructor 'FSProcess::FSProcess()':
mod_opal.cpp:289: error: class 'FSProcess' does not have any field
named 'PLibraryProcess'
mod_opal.cpp:289: error: 'AlphaCode' was not declared in this scope
mod_opal.cpp: In member function 'virtual void
FSConnection::OnReleased()':
mod_opal.cpp:667: error: invalid initialization of reference of type
'const H323Connection&' from expression of type
'OpalConnection::CallEndReason'
/usr/include/opal/h323/h323pdu.h:479: error: in passing argument 1 of
'Q931::CauseValues H323TranslateFromCallEndReason(const
H323Connection&, H225_ReleaseCompleteReason&)'
mod_opal.cpp: In member function 'switch_status_t
FSMediaStream::read_frame(switch_frame_t**, switch_io_flag_t)':
mod_opal.cpp:1265: error: 'class OpalMediaPatch' has no member named
'OnPatchStart'
mod_opal.cpp: In member function 'switch_status_t
FSMediaStream::write_frame(const switch_frame_t*, switch_io_flag_t)':
mod_opal.cpp:1370: error: 'class OpalMediaPatch' has no member named
'OnPatchStart'
make[5]: *** [mod_opal.lo] Error 1
make[4]: *** [all] Error 1
make[3]: *** [mod_opal-all] Error 1
make[2]: *** [all-recursive] Error 1
Making all in build
+-------- FreeSWITCH Build Complete -----------+
+ FreeSWITCH has been successfully built. +
+ Install by running: +
+ +
+ make install +
+----------------------------------------------+
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Regards,
Vin
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
|
|
Back to top |
|
|
technologyinspired at ... Guest
|
Posted: Fri Apr 24, 2009 3:54 am Post subject: [Freeswitch-users] Installation Errors |
|
|
Hi Mike,
Installed mod_perl-devel and didn't find perl related problems but got into other problems. I guess you are right that mod_perl requires mod_perl-devel installed.
Btw, in the recent errors I have soundtouch installed.
-----------
-----------
****** Integer sample type enabled ******
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking return type of signal handlers... void
checking for sqrt in -lm... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating source/Makefile
config.status: creating source/SoundTouch/Makefile
config.status: creating source/example/Makefile
config.status: creating source/example/SoundStretch/Makefile
config.status: creating source/example/bpm/Makefile
config.status: creating include/Makefile
config.status: creating soundtouch-1.0.pc
config.status: creating include/soundtouch_config.h
config.status: executing depfiles commands
Making all in include
Making all in source
Making all in SoundTouch
g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O3 -msse -fcheck-new -I../../include -MT AAFilter.lo -MD -MP -MF .deps/AAFilter.Tpo -c AAFilter.cpp -fPIC -DPIC -o AAFilter.o
g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O3 -msse -fcheck-new -I../../include -MT FIRFilter.lo -MD -MP -MF .deps/FIRFilter.Tpo -c FIRFilter.cpp -fPIC -DPIC -o FIRFilter.o
g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O3 -msse -fcheck-new -I../../include -MT FIFOSampleBuffer.lo -MD -MP -MF .deps/FIFOSampleBuffer.Tpo -c FIFOSampleBuffer.cpp -fPIC -DPIC -o FIFOSampleBuffer.o
g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O3 -msse -fcheck-new -I../../include -MT mmx_optimized.lo -MD -MP -MF .deps/mmx_optimized.Tpo -c mmx_optimized.cpp -fPIC -DPIC -o mmx_optimized.o
g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O3 -msse -fcheck-new -I../../include -MT sse_optimized.lo -MD -MP -MF .deps/sse_optimized.Tpo -c sse_optimized.cpp -fPIC -DPIC -o sse_optimized.o
g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O3 -msse -fcheck-new -I../../include -MT RateTransposer.lo -MD -MP -MF .deps/RateTransposer.Tpo -c RateTransposer.cpp -fPIC -DPIC -o RateTransposer.o
g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O3 -msse -fcheck-new -I../../include -MT SoundTouch.lo -MD -MP -MF .deps/SoundTouch.Tpo -c SoundTouch.cpp -fPIC -DPIC -o SoundTouch.o
g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O3 -msse -fcheck-new -I../../include -MT TDStretch.lo -MD -MP -MF .deps/TDStretch.Tpo -c TDStretch.cpp -fPIC -DPIC -o TDStretch.o
g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O3 -msse -fcheck-new -I../../include -MT cpu_detect_x86_gcc.lo -MD -MP -MF .deps/cpu_detect_x86_gcc.Tpo -c cpu_detect_x86_gcc.cpp -fPIC -DPIC -o cpu_detect_x86_gcc.o
mkdir .libs
ar cru .libs/libSoundTouch.a AAFilter.o FIRFilter.o FIFOSampleBuffer.o mmx_optimized.o sse_optimized.o RateTransposer.o SoundTouch.o TDStretch.o cpu_detect_x86_gcc.o
ranlib .libs/libSoundTouch.a
creating libSoundTouch.la
(cd .libs && rm -f libSoundTouch.la && ln -s ../libSoundTouch.la libSoundTouch.la)
Making all in example
Making all in bpm
g++ -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -O3 -I../../../include -MT BPMDetect.lo -MD -MP -MF .deps/BPMDetect.Tpo -c BPMDetect.cpp -fPIC -DPIC -o BPMDetect.o
g++ -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -O3 -I../../../include -MT PeakFinder.lo -MD -MP -MF .deps/PeakFinder.Tpo -c PeakFinder.cpp -fPIC -DPIC -o PeakFinder.o
mkdir .libs
ar cru .libs/libBPM.a BPMDetect.o PeakFinder.o
ranlib .libs/libBPM.a
creating libBPM.la
(cd .libs && rm -f libBPM.la && ln -s ../libBPM.la libBPM.la)
Making all in SoundStretch
WavFile.cpp: In member function ‘int WavInFile::checkCharTags()’:
WavFile.cpp:200: error: ‘memcmp’ was not declared in this scope
WavFile.cpp:202: error: ‘memcmp’ was not declared in this scope
WavFile.cpp: In member function ‘int WavInFile::readRIFFBlock()’:
WavFile.cpp:353: error: ‘memcmp’ was not declared in this scope
WavFile.cpp:355: error: ‘memcmp’ was not declared in this scope
WavFile.cpp: In member function ‘int WavInFile::readHeaderBlock()’:
WavFile.cpp:375: error: ‘strcmp’ was not declared in this scope
WavFile.cpp:380: error: ‘memcpy’ was not declared in this scope
WavFile.cpp:419: error: ‘memcpy’ was not declared in this scope
WavFile.cpp: In member function ‘int WavInFile::readWavHeaders()’:
WavFile.cpp:450: error: ‘memset’ was not declared in this scope
WavFile.cpp: In member function ‘void WavOutFile::fillInHeader(uint, uint, uint)’:
WavFile.cpp:552: error: ‘memcpy’ was not declared in this scope
WavFile.cpp: In member function ‘void WavOutFile::write(const short int*, int)’:
WavFile.cpp:674: error: ‘memcpy’ was not declared in this scope
make[9]: *** [soundstretch-WavFile.o] Error 1
make[8]: *** [all-recursive] Error 1
make[7]: *** [all-recursive] Error 1
make[6]: *** [all-recursive] Error 1
make[5]: *** [/usr/src/freeswitch-1.0.4pre5/libs/soundtouch-1.3.1/source/SoundTouch/.libs/libSoundTouch.a] Error 2
make[4]: *** [all] Error 1
make[3]: *** [mod_soundtouch-all] Error 1
make[2]: *** [all-recursive] Error 1
Making all in build
+-------- FreeSWITCH Build Complete -----------+
+ FreeSWITCH has been successfully built. +
+ Install by running: +
+ +
+ make install +
+----------------------------------------------+
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Message-ID:
<87f2f3b90904231057m3ff0b5dydfdc546e600c4d96@mail.gmail.com (87f2f3b90904231057m3ff0b5dydfdc546e600c4d96@mail.gmail.com)>
Content-Type: text/plain; charset="windows-1252"
Please try this and report back:
yum install mod_perl-devel
Let us know if it works and we'll add it to the wiki page.
-MC |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Fri Apr 24, 2009 7:25 am Post subject: [Freeswitch-users] Installation Errors |
|
|
I wouldn't compile EVERY module just because you can. I would start with the default modules that are known working in all places. Then once you're more comfortable with that then you can go off road and compile EVERYTHING to you hearts content. As it stands you're hitting one compile after the other on external libs that might have problems on some platforms with newer GCC or other unforeseen issues. This is why we don't have all these modules enabled on the default build.
/b
On Apr 24, 2009, at 3:45 AM, technologyinspired wrote:
Quote: | Hi Mike,
Installed mod_perl-devel and didn't find perl related problems but got into other problems. I guess you are right that mod_perl requires mod_perl-devel installed.
Btw, in the recent errors I have soundtouch installed.
|
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|