[Freeswitch-users] building on Fedora 12

shouldbe q931 shouldbeq931 at googlemail.com
Mon Nov 9 03:23:43 PST 2009


Hi,

While I appreciate that Fedora 12 is still only in beta. Because I
want to try FusionPBX and I've had no success getting pfSense to work
in a single NIC environment, and FusionPBX needs PHP 5.3, and Fedora
12 appears to be the first distro with PHP5.3...

Anyway, these are the steps that I've done

yum install autoconf automake binutils bison curl-devel db4 db4-devel
expat-devel flex gcc-c++ gettext gdb gdbm gdbm-devel gnutls-devel
httpd kernel-devel libogg-devel libtiff libtiff-devel libtool
libvorbis-devel make mkxauth mysql-server mysql mysql-devel ncurses
ncurses-devel ncurses-libs openssl-devel perl-Apache2-SOAP perl-devel
php php-common php-mysql php-pdo php-soap php-xmlrpc postfix python
python-devel screen sqlite sqlite-devel sqlite2 sqlite2-devel
subversion unixODBC-devel wget wireshark wireshark-gnome zlib
zlib-devel

mkdir /usr/src/freeswitch
mkdir /usr/src/freeswitch/svn
svn checkout http://svn.freeswitch.org/svn/freeswitch/trunk
/usr/src/freeswitch/svn
cd /usr/src/freeswitch/svn
./bootstrap.sh
./configure
make

SVN reports

Checked out external at revision 849.

Checked out revision 15396.

I then get the following error at the end

--------------------------------------------------------------
Making all in soa
Making all in tport
         LTCOMPILE tport_tls.lo
cc1: warnings being treated as errors
tport_tls.c: In function âtls_init_contextâ:
tport_tls.c:280: error: assignment discards qualifiers from pointer target type
tport_tls.c:282: error: assignment discards qualifiers from pointer target type
tport_tls.c: In function âtls_post_connection_checkâ:
tport_tls.c:527: error: assignment discards qualifiers from pointer target type
make[9]: *** [tport_tls.lo] Error 1
make[8]: *** [all] Error 2
Making all in nta
Making all in nth
Making all in nea
Making all in iptsec
Making all in nua
make[8]: *** No rule to make target `tport/libtport.la', needed by
`libsofia-sip-ua.la'.  Stop.
make[7]: *** [all-recursive] Error 1
Making all in packages
make[6]: *** [all-recursive] Error 1
make[5]: *** [all] Error 2
make[4]: *** [//usr/src/freeswitch/svn/libs/sofia-sip/libsofia-sip-ua/libsofia-sip-ua.la]
Error 2
make[3]: *** [mod_sofia-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
[root at conf-2 svn]#
--------------------------------------------------------------

I then tried using the "quick and dirty" method from
http://wiki.freeswitch.org/wiki/Quick_and_Dirty_Install, but get a
similar failure

--------------------------------------------------------------
Making all in nua
make[9]: Entering directory
`/usr/src/freeswitch.trunk/libs/sofia-sip/libsofia-sip-ua/nua'
make[10]: Entering directory
`/usr/src/freeswitch.trunk/libs/sofia-sip/libsofia-sip-ua/nua'
         LTCOMPILE nua.lo
         LTCOMPILE nua_common.lo
         LTCOMPILE nua_stack.lo
         LTCOMPILE nua_server.lo
         LTCOMPILE nua_client.lo
         LTCOMPILE nua_extension.lo
         LTCOMPILE nua_dialog.lo
         LTCOMPILE outbound.lo
         LTCOMPILE nua_params.lo
         LTCOMPILE nua_register.lo
         LTCOMPILE nua_registrar.lo
         LTCOMPILE nua_session.lo
         LTCOMPILE nua_options.lo
         LTCOMPILE nua_message.lo
         LTCOMPILE nua_publish.lo
         LTCOMPILE nua_subnotref.lo
         LTCOMPILE nua_notifier.lo
         LTCOMPILE nua_event_server.lo
         LTCOMPILE nua_tag.lo
         LTCOMPILE nua_tag_ref.lo
         LINK libnua.la
make[10]: Leaving directory
`/usr/src/freeswitch.trunk/libs/sofia-sip/libsofia-sip-ua/nua'
make[9]: Leaving directory
`/usr/src/freeswitch.trunk/libs/sofia-sip/libsofia-sip-ua/nua'
make[9]: Entering directory
`/usr/src/freeswitch.trunk/libs/sofia-sip/libsofia-sip-ua'
make[9]: *** No rule to make target `tport/libtport.la', needed by
`libsofia-sip-ua.la'.  Stop.
make[9]: Leaving directory
`/usr/src/freeswitch.trunk/libs/sofia-sip/libsofia-sip-ua'
make[8]: *** [all-recursive] Error 1
make[8]: Leaving directory
`/usr/src/freeswitch.trunk/libs/sofia-sip/libsofia-sip-ua'
Making all in packages
make[8]: Entering directory `/usr/src/freeswitch.trunk/libs/sofia-sip'
make[8]: Leaving directory `/usr/src/freeswitch.trunk/libs/sofia-sip'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory `/usr/src/freeswitch.trunk/libs/sofia-sip'
make[6]: *** [all] Error 2
make[6]: Leaving directory `/usr/src/freeswitch.trunk/libs/sofia-sip'
make[5]: *** [/usr/src/freeswitch.trunk/libs/sofia-sip/libsofia-sip-ua/libsofia-sip-ua.la]
Error 2
make[5]: Leaving directory
`/usr/src/freeswitch.trunk/src/mod/endpoints/mod_sofia'
make[4]: *** [mod_sofia-all] Error 1
make[4]: Leaving directory `/usr/src/freeswitch.trunk/src/mod'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/freeswitch.trunk/src'
Making all in build
make[3]: Entering directory `/usr/src/freeswitch.trunk/build'
 +-------- FreeSWITCH Build Complete -----------+
 + FreeSWITCH has been successfully built.      +
 + Install by running:                          +
 +                                              +
 +               make install                   +
 +----------------------------------------------+
make[3]: Leaving directory `/usr/src/freeswitch.trunk/build'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/freeswitch.trunk'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/freeswitch.trunk'
make: *** [freeswitch] Error 2
[root at conf-2 src]#
--------------------------------------------------------------

I'm still very much a noob when it comes to building, but I'd welcome
any constructive suggestions on how to resolve this.

Cheers

Arne




More information about the FreeSWITCH-users mailing list