[Freeswitch-users] unable to compile mod_shout on latest git

curriegrad2004 curriegrad2004 at gmail.com
Sun Feb 12 04:18:58 MSK 2012


Libshout doesn't even support vorbis on windows, let alone ogg.
On 2012-02-11 3:03 PM, "Anthony Minessale" <anthony.minessale at gmail.com>
wrote:

> IIRC there is a patch in the makefile for mod shout to strip out the
> vorbis depend completely there is a build bug in the lib where they offer a
> flag to disable forbid but then depend on it explicitly even with the flag
> set.
> On Feb 11, 2012 12:56 PM, "Puskás Zsolt" <errotan at elder.hu> wrote:
>
>>
>> According to packages.ubuntu.com the libvorbis.la file is located at
>> /usr/lib/i386-linux-gnu/libvorbis.la or /usr/lib/x86_64-linux-gnu/
>> libvorbis.la .
>>
>> But the posted log shows:
>> /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib//libvorbis.la =>
>> /usr/lib/libvorbis.la so it's not the right path for the file.
>>
>> On debian 6 "squeeze" amd64 it compiles without problems if libvorbis-dev
>> is installed:
>>
>> root at home:/usr/src/freeswitch/src/mod/formats/mod_shout/.libs# ldd
>> mod_shout.so
>>     linux-vdso.so.1 =>  (0x00007fffd73ff000)
>>     libz.so.1 => /usr/lib/libz.so.1 (0x00007f38e34d3000)
>>     libfreeswitch.so.1 => /usr/src/freeswitch/.libs/libfreeswitch.so.1
>> (0x00007f38e309e000)
>>     libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x00007f38e2e71000)
>>     libm.so.6 => /lib/libm.so.6 (0x00007f38e2bef000)
>>     libogg.so.0 => /usr/lib/libogg.so.0 (0x00007f38e29e9000)
>>     libpthread.so.0 => /lib/libpthread.so.0 (0x00007f38e27cc000)
>>     libc.so.6 => /lib/libc.so.6 (0x00007f38e246a000)
>>     libdl.so.2 => /lib/libdl.so.2 (0x00007f38e2266000)
>>     libcrypt.so.1 => /lib/libcrypt.so.1 (0x00007f38e202e000)
>>     librt.so.1 => /lib/librt.so.1 (0x00007f38e1e26000)
>>     libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x00007f38e1bd1000)
>>     libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x00007f38e182f000)
>>     libncurses.so.5 => /lib/libncurses.so.5 (0x00007f38e15e9000)
>>     libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f38e12d5000)
>>     libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f38e10be000)
>>     /lib64/ld-linux-x86-64.so.2 (0x00007f38e39c2000)
>>
>>
>> 2012-02-09 20:21 keltezéssel, Michael Collins írta:
>>
>> Doh! I didn't see your other email. Evidently it's not finding your
>> libvorbis for some reason. Can someone who is familiar with these kinds of
>> issues on Debian-based systems chime in?
>>
>> -MC
>>
>>  On Thu, Feb 9, 2012 at 4:22 AM, Neil Patel <neilp at cs.stanford.edu>wrote:
>>
>>> I'm on Ubuntu LTS and just did a pull from git. I've installed all the
>>> dependencies<http://wiki.freeswitch.org/wiki/Mod_shout#Install_Dependencieshttp://wiki.freeswitch.org/wiki/Mod_shout%23Install_Dependencies>,
>>> and am getting this error:
>>>
>>>  making all mod_shout
>>> Compiling /usr/src/freeswitch/src/mod/formats/mod_shout/mod_shout.c...
>>> quiet_libtool: compile:  gcc
>>> -I/usr/src/freeswitch/libs/libshout-2.2.2/include
>>> -I/usr/src/freeswitch/libs/lame-3.98.4/include
>>> -I/usr/src/freeswitch/libs/mpg123-1.13.2/src
>>> -I/usr/src/freeswitch/libs/mpg123-1.13.2/src
>>> -I/usr/src/freeswitch/libs/libshout-2.2.2/include
>>> -I/usr/src/freeswitch/libs/curl/include -I/usr/src/freeswitch/src/include
>>> -I/usr/src/freeswitch/src/include
>>> -I/usr/src/freeswitch/libs/libteletone/src -fPIC -Werror
>>> -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb
>>> -g -O2 -Wall -std=c99 -pedantic -Wdeclaration-after-statement -D_GNU_SOURCE
>>> -DHAVE_CONFIG_H -c
>>> /usr/src/freeswitch/src/mod/formats/mod_shout/mod_shout.c  -fPIC -DPIC -o
>>> .libs/mod_shout.o
>>> quiet_libtool: compile:  gcc
>>> -I/usr/src/freeswitch/libs/libshout-2.2.2/include
>>> -I/usr/src/freeswitch/libs/lame-3.98.4/include
>>> -I/usr/src/freeswitch/libs/mpg123-1.13.2/src
>>> -I/usr/src/freeswitch/libs/mpg123-1.13.2/src
>>> -I/usr/src/freeswitch/libs/libshout-2.2.2/include
>>> -I/usr/src/freeswitch/libs/curl/include -I/usr/src/freeswitch/src/include
>>> -I/usr/src/freeswitch/src/include
>>> -I/usr/src/freeswitch/libs/libteletone/src -fPIC -Werror
>>> -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb
>>> -g -O2 -Wall -std=c99 -pedantic -Wdeclaration-after-statement -D_GNU_SOURCE
>>> -DHAVE_CONFIG_H -c
>>> /usr/src/freeswitch/src/mod/formats/mod_shout/mod_shout.c -o mod_shout.o
>>> >/dev/null 2>&1
>>> Creating mod_shout.la...
>>> quiet_libtool: link: cannot find the library
>>> `/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib//libvorbis.la' or
>>> unhandled argument `/usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib//
>>> libvorbis.la'
>>> make[5]: *** [mod_shout.la] Error 1
>>> 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
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> 
>>> 
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>>
>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>>
>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
>>
>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120211/a4454f6e/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list