[Freeswitch-users] New install 1.2.Stable blows up compiling mod_perl.so
JRichey
jrichey at itltd.net
Wed Dec 19 04:22:56 MSK 2012
"yum remove zlib" will do a pretty good job of wiping out your system due to
dependencies.
-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org]On Behalf Of Sean
Devoy
Sent: Tuesday, December 18, 2012 4:33 PM
To: 'FreeSWITCH Users Help'
Subject: Re: [Freeswitch-users] New install 1.2.Stable blows up compiling
mod_perl.so
What a total disaster!
I added the EPEL per JRichie - thank you.
rpm -Uvh
http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
<http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm>
Then I decided to remove all the pre-reqs and reinstall.
I ran:
yum remove autoconf automake gcc-c++ git-core libjpeg-devel libtool make
ncurses-devel pkgconfig unixODBC-devel openssl-devel libogg-devel
libvorbis-devel curl-devel libtiff-devel libjpeg-devel python-devel
expat-devel zlib zlib-devel bzip2 which
The results are of course totally disastrous. I now have no yum or rpm. I
looked up how to install them. Yum says use rpm and rpm says use yum!
I can't even do a "cat /etc/redhat-release" or "ls" => /bin/ls command not
found.
Short of waiting for the ISP to get up tomorrow and completely
reprovisioning my Centos5, does anyone have any suggestions.
Is there a command to reinstall centos 5 w/o yum or rpm?
From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Mario G
Sent: Tuesday, December 18, 2012 6:52 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] New install 1.2.Stable blows up compiling
mod_perl.so
FYI, I was the one that tested FS on CentOS (among about 5 other distros)
since I was redoing the install wiki, and I remember EPEL was required on
CentOS 5.5 at the time.
Mario G
On Dec 18, 2012, at 3:41 PM, Ken Rice wrote:
You probably don't need epel unless you are installing on centos5... EPEL
just adds another yum REPO for getting more upto date packages...
If you look at the EPEL site, it tells you how to install it... Its usually
just add this RPM via yum install http://some.website/some/path/some.rpm
<http://some.website/some/path/some.rpm>
On 12/18/12 4:57 PM, "Sean Devoy" < sdevoy at bizfocused.com
<x-msg://19/sdevoy@bizfocused.com> > wrote:
Thanks. That is EXACTLY what I am trying to follow. I am thrown by "There
were no issues during installation and testing other than EPEL
requirements."
And "Installation of Git required adding the EPEL repository to obtain Git.
For EPEL information visit the EPEL < http://fedoraproject.org/wiki/EPEL
<http://fedoraproject.org/wiki/EPEL> > site, The EPEL repository is added
with 1 click."
I cannot understand how to install EPEL or how to click with my SSH window.
Anyone that can help me with that?
I did not install the "optional packages" so I will now. And try again.
From: freeswitch-users-bounces at lists.freeswitch.org
<x-msg://19/freeswitch-users-bounces@lists.freeswitch.org> [
mailto:freeswitch-users-bounces at lists.freeswitch.org
<mailto:freeswitch-users-bounces at lists.freeswitch.org> ] On Behalf Of Ken
Rice
Sent: Tuesday, December 18, 2012 5:37 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] New install 1.2.Stable blows up compiling
mod_perl.so
If you installed on a centos base install then follow the directions on the
wiki at
http://wiki.freeswitch.org/wiki/Installation_Guide#CentOS
<http://wiki.freeswitch.org/wiki/Installation_Guide#CentOS>
That usually avoids all these errors... I usually do something like
yum install autoconf automake gcc-c++ git-core libjpeg-devel libtool make
ncurses-devel pkgconfig unixODBC-devel openssl-devel libogg-devel
libvorbis-devel curl-devel libtiff-devel libjpeg-devel python-devel
expat-devel zlib zlib-devel bzip2 which
You may of course need to add a few extra RPMs if you are compiling things
that you have to uncomment in modules.conf
On 12/18/12 4:23 PM, "Sean Devoy" < sdevoy at bizfocused.com
<x-msg://19/sdevoy@bizfocused.com> > wrote:
Thank you!
That resulted in a message saying I needed to install bison, so I ran yum
install bison.
That resulted in shit though:
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -Wall -pipe
-g -O2 -MT mpglib_interface.lo -MD -MP -MF .deps/mpglib_interface.Tpo -c
mpglib_interface.c -fPIC -DPIC -o mpglib_interface.o
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -Wall -pipe
-g -O2 -MT mpglib_interface.lo -MD -MP -MF .deps/mpglib_interface.Tpo -c
mpglib_interface.c -fPIC -DPIC -o mpglib_interface.o
libtool: link: `VbrTag.lo' is not a valid libtool object
make[9]: *** [libmp3lame.la] Error 1
make[8]: *** [all-recursive] Error 1
Making all in frontend
libtool: link: `VbrTag.lo' is not a valid libtool object
make[9]: *** [libmp3lame.la] Error 1
make[8]: *** [all-recursive] Error 1
Making all in frontend
make[8]: *** No rule to make target `../libmp3lame/libmp3lame.la', needed by
`lame'. Stop.
Making all in Dll
Making all in debian
Making all in doc
Making all in html
Making all in man
Making all in include
Making all in misc
Making all in dshow
Making all in ACM
Making all in ADbg
Making all in ddk
make[8]: *** No rule to make target `../libmp3lame/libmp3lame.la', needed by
`lame'. Stop.
Making all in Dll
Making all in tinyxml
Making all in debian
Making all in doc
Making all in mac
Making all in macosx
Making all in html
Making all in man
Making all in English.lproj
Making all in include
Making all in LAME.xcodeproj
Making all in misc
Making all in dshow
Making all in vc_solution
Making all in ACM
make[7]: *** [all-recursive] Error 1
make[6]: *** [all] Error 2
make[5]: ***
[/usr/local/src/freeswitch/libs/lame-3.98.4/libmp3lame/libmp3lame.la] Error
2
make[4]: *** [install] Error 1
make[3]: *** [mod_shout-install] Error 1
Making all in ADbg
Making all in ddk
Making all in tinyxml
Making all in mac
Making all in macosx
Making all in English.lproj
Making all in LAME.xcodeproj
Making all in vc_solution
make[7]: *** [all-recursive] Error 1
make[6]: *** [all] Error 2
make[5]: ***
[/usr/local/src/freeswitch/libs/lame-3.98.4/libmp3lame/libmp3lame.la] Error
2
make[4]: *** [all] Error 1
make[3]: *** [mod_shout-all] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install] Error 2
[1]+ Exit 2 make
Can't we get the INSTALL page of the wiki right?
From: freeswitch-users-bounces at lists.freeswitch.org
<x-msg://19/freeswitch-users-bounces@lists.freeswitch.org> [
mailto:freeswitch-users-bounces at lists.freeswitch.org
<mailto:freeswitch-users-bounces at lists.freeswitch.org> ] On Behalf Of Abaci
Sent: Tuesday, December 18, 2012 5:01 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] New install 1.2.Stable blows up compiling
mod_perl.so
yum install gdbm-devel db4-devel
On 12/18/2012 4:52 PM, Sean Devoy wrote:
I just started a clean install of the stable tree on a brand new install of
Centos 5.3.
Here is EXACTLY what I have done so far:
Logged in to root
Cd /usr/local/src
yum install gcc
yum -y install zlib-devel openssl-devel cpio expat-devel gettext-devel
cd /usr/local/src
wget http://git-core.googlecode.com/files/git-1.7.9.tar.gz
<http://git-core.googlecode.com/files/git-1.7.9.tar.gz>
tar xvzf git-1.7.9.tar.gz
cd git-1.7.9
./configure
make
make install
yum install autoconf automake gcc-c++ git-core libjpeg-devel libtool make
ncurses-devel pkgconfig
cd /usr/local/src
git clone -b v1.2.stable git://git.freeswitch.org/freeswitch.git
<git://git.freeswitch.org/freeswitch.git>
./bootstrap.sh
./configure
tftp modules.conf from existing centos/fs server (did this kill it)? If
so how can I get it back?
make & make install
after about 20 minutes the output is:
gcc -w -DMULTIPLICITY -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -DEMBED_PERL
-I/usr/local/src/freeswitch/libs/curl/include
-I/usr/local/src/freeswitch/src/include
-I/usr/local/src/freeswitch/src/include
-I/usr/local/src/freeswitch/libs/libteletone/src
-I/usr/local/src/freeswitch/libs/stfu -fPIC -Werror -fvisibility=hidden
-DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -DHAVE_OPENSSL -g -O2
-Wall -std=c99 -pedantic -Wdeclaration-after-statement -D_GNU_SOURCE
-DHAVE_CONFIG_H -c
/usr/local/src/freeswitch/src/mod/languages/mod_perl/mod_perl.c -fPIC -DPIC
-o .libs/mod_perl.o
gcc -w -DMULTIPLICITY -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -DEMBED_PERL
-I/usr/local/src/freeswitch/libs/curl/include
-I/usr/local/src/freeswitch/src/include
-I/usr/local/src/freeswitch/src/include
-I/usr/local/src/freeswitch/libs/libteletone/src
-I/usr/local/src/freeswitch/libs/stfu -fPIC -Werror -fvisibility=hidden
-DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -DHAVE_OPENSSL -g -O2
-Wall -std=c99 -pedantic -Wdeclaration-after-statement -D_GNU_SOURCE
-DHAVE_CONFIG_H -c
/usr/local/src/freeswitch/src/mod/languages/mod_perl/mod_perl.c -o
mod_perl.o >/dev/null 2>&1
Creating mod_perl.so...
/usr/bin/ld: cannot find -lgdbm
collect2: ld returned 1 exit status
gcc -w -DMULTIPLICITY -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm
-I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -DEMBED_PERL
-I/usr/local/src/freeswitch/libs/curl/include
-I/usr/local/src/freeswitch/src/include
-I/usr/local/src/freeswitch/src/include
-I/usr/local/src/freeswitch/libs/libteletone/src
-I/usr/local/src/freeswitch/libs/stfu -fPIC -Werror -fvisibility=hidden
-DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -DHAVE_OPENSSL -g -O2
-Wall -std=c99 -pedantic -Wdeclaration-after-statement -D_GNU_SOURCE -shared
-o .libs/mod_perl.so -shared -Wl,-x .libs/mod_perl.o -Wl,-E -Wl,-rpath
-Wl,/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE freeswitch_perl.o
mod_perl_wrap.o perlxsi.o /usr/local/src/freeswitch/.libs/libfreeswitch.so
-L/usr/local/src/freeswitch/libs/apr-util/xml/expat/lib
/usr/local/src/freeswitch/libs/apr-util/xml/expat/lib/.libs/libexpat.a
/usr/local/src/freeswitch/libs/apr/.libs/libapr-1.a -luuid
-L/usr/local/src/freeswitch/libs/srtp -L/usr/kerberos/lib -lrt -lssl
-lcrypto -lz -lncurses -ljpeg -lodbc -L/usr/local/lib
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -lperl -lresolv -lnsl
-lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc -Wl,--rpath
-Wl,/usr/local/freeswitch/lib -Wl,--rpath -Wl,/usr/local/freeswitch/mod
make[5]: *** [mod_perl.so] Error 1
make[4]: *** [all] Error 1
make[3]: *** [mod_perl-all] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
The modules.conf I upload is:
#applications/mod_abstraction
#applications/mod_avmd
applications/mod_blacklist
applications/mod_callcenter
applications/mod_cidlookup
applications/mod_cluechoo
applications/mod_commands
applications/mod_conference
applications/mod_curl
applications/mod_db
applications/mod_directory
#applications/mod_distributor
applications/mod_dptools
#applications/mod_easyroute
applications/mod_enum
applications/mod_esf
#applications/mod_esl
applications/mod_expr
applications/mod_fifo
#applications/mod_fsk
applications/mod_fsv
applications/mod_hash
applications/mod_httapi
#applications/mod_http_cache
#applications/mod_ladspa
applications/mod_lcr
#applications/mod_memcache
#applications/mod_mongo
#applications/mod_nibblebill
#applications/mod_osp
#applications/mod_redis
#applications/mod_rss
applications/mod_sms
#applications/mod_snapshot
#applications/mod_snipe_hunt
#applications/mod_snom
#applications/mod_soundtouch
applications/mod_spandsp
#applications/mod_spy
#applications/mod_stress
applications/mod_valet_parking
#applications/mod_vmd
applications/mod_voicemail
applications/mod_voicemail_ivr
#applications/mod_random
#asr_tts/mod_cepstral
asr_tts/mod_flite
asr_tts/mod_pocketsphinx
asr_tts/mod_tts_commandline
#asr_tts/mod_unimrcp
codecs/mod_amr
#codecs/mod_amrwb
codecs/mod_bv
#codecs/mod_celt
#codecs/mod_codec2
#codecs/mod_com_g729
#codecs/mod_dahdi_codec
codecs/mod_g723_1
codecs/mod_g729
codecs/mod_h26x
#codecs/mod_ilbc
#codecs/mod_isac
#codecs/mod_opus
#codecs/mod_sangoma_codec
#codecs/mod_silk
#codecs/mod_siren
codecs/mod_speex
dialplans/mod_dialplan_asterisk
#dialplans/mod_dialplan_directory
dialplans/mod_dialplan_xml
#directories/mod_ldap
#endpoints/mod_alsa
endpoints/mod_dingaling
#endpoints/mod_h323
#endpoints/mod_khomp
endpoints/mod_loopback
#endpoints/mod_opal
#endpoints/mod_portaudio
endpoints/mod_rtmp
#endpoints/mod_skinny
#endpoints/mod_skypopen
endpoints/mod_sofia
event_handlers/mod_cdr_csv
#event_handlers/mod_cdr_mongodb
#event_handlers/mod_cdr_pg_csv
event_handlers/mod_cdr_sqlite
#event_handlers/mod_erlang_event
#event_handlers/mod_event_multicast
event_handlers/mod_event_socket
#event_handlers/mod_event_zmq
#event_handlers/mod_radius_cdr
event_handlers/mod_snmp
formats/mod_local_stream
formats/mod_native_file
#formats/mod_portaudio_stream
#formats/mod_shell_stream
formats/mod_shout
formats/mod_sndfile
formats/mod_tone_stream
#formats/mod_vlc
#languages/mod_java
languages/mod_lua
#languages/mod_managed
languages/mod_perl
languages/mod_python
languages/mod_spidermonkey
#languages/mod_yaml
loggers/mod_console
loggers/mod_logfile
loggers/mod_syslog
#say/mod_say_de
say/mod_say_en
#say/mod_say_es
#say/mod_say_fr
#say/mod_say_he
#say/mod_say_hu
#say/mod_say_it
#say/mod_say_nl
#say/mod_say_pt
#say/mod_say_ru
#say/mod_say_th
#say/mod_say_zh
#timers/mod_posix_timer
#timers/mod_timerfd
xml_int/mod_xml_cdr
xml_int/mod_xml_curl
#xml_int/mod_xml_ldap
xml_int/mod_xml_rpc
xml_int/mod_xml_scgi
#../../libs/freetdm/mod_freetdm
#../../libs/openzap/mod_openzap
## Experimental Modules (don't cry if they're broken)
#../../contrib/mod/xml_int/mod_xml_odbc
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <x-msg://19/consulting@freeswitch.org>
http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
</>
Official FreeSWITCH Sites
http://www.freeswitch.org <http://www.freeswitch.org/>
http://wiki.freeswitch.org <http://wiki.freeswitch.org/>
http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
<x-msg://19/FreeSWITCH-users@lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
<http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users
<http://lists.freeswitch.org/mailman/options/freeswitch-users>
http://www.freeswitch.org <http://www.freeswitch.org/>
_____
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <x-msg://19/consulting@freeswitch.org>
http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
</>
Official FreeSWITCH Sites
http://www.freeswitch.org <http://www.freeswitch.org/>
http://wiki.freeswitch.org <http://wiki.freeswitch.org/>
http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
<x-msg://19/FreeSWITCH-users@lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
<http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users
<http://lists.freeswitch.org/mailman/options/freeswitch-users>
http://www.freeswitch.org <http://www.freeswitch.org/>
--
Ken
http://www.FreeSWITCH.org <http://www.FreeSWITCH.org/>
http://www.ClueCon.com <http://www.ClueCon.com/>
http://www.OSTAG.org <http://www.OSTAG.org/>
irc.freenode.net <http://irc.freenode.net> #freeswitch
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com>
<>
Official FreeSWITCH Sites
http://www.freeswitch.org <http://www.freeswitch.org>
http://wiki.freeswitch.org <http://wiki.freeswitch.org>
http://www.cluecon.com <http://www.cluecon.com>
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
<http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org <http://www.freeswitch.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121218/f3f806fb/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list