[Freeswitch-users] make mod_h323 not working
Peter Steinbach
lists at telefaks.de
Thu Dec 12 02:10:46 MSK 2013
Hello Richard,
I had to do a
ln -s /usr/local/include/openh323 /usr/include/openh323
in order to overcome that error.
If the next error is missing ptlib.* or similar, then try to symlink or
copy them also from /usr/local/include/ to /usr/include/
And maybe you will have to run ldconfig also.
After that and having the right versions (H323Plus 1.22.0 and ptlib
v2_8_2) my mod_h323 finally compiled. So you seem to be close.
Best regards
Peter
On 12/11/13 10:19, Richard Mace wrote:
> Hi Peter/List,
> I am currently testing in Ubuntu 10.04 (not for any specific reason,
> and my preference would be either 12.04 or Debian 7).
> I have compiled ptlib 2.82 and h323 from trunk.
> I change to /usr/src/freeswitch/ and run make mod_h323-clean, which
> runs ok.
> Then I do make make mod_h323, and I get an output starting along the
> lines of:
>
> making all mod_h323
> Compiling /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp...
> quiet_libtool: compile: g++ -g -ITLIBDIR -I/usr/include/openh323 -I.
> -DPTRACING=1 -D_REENTRANT -fno-exceptions
> -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
> -I/usr/src/freeswitch/libs/stfu -fPIC -fvisibility=hidden
> -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -O2 -D_GNU_SOURCE
> -DHAVE_CONFIG_H -c
> /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp -fPIC
> -DPIC -o .libs/mod_h323.o
> In file included from
> /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.cpp:40:
> /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:43:18:
> error: h323.h: No such file or directory
> /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:44:21:
> error: h323neg.h: No such file or directory
> /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:45:21:
> error: h323pdu.h: No such file or directory
> /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:46:22:
> error: h323caps.h: No such file or directory
> /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:48:21:
> error: h323t38.h: No such file or directory
> /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:49:22:
> error: t38proto.h: No such file or directory
> /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:50:17:
> error: t38.h: No such file or directory
> /usr/src/freeswitch/src/mod/endpoints/mod_h323/mod_h323.h:51:22:
> error: mediafmt.h: No such file or directory
>
> Any ideas/hints would be more than welcome :)
>
> Richard
>
>
> On 10 December 2013 19:28, Peter Steinbach <lists at telefaks.de
> <mailto:lists at telefaks.de>> wrote:
>
> Hello Richard,
>
> I have not changed the distro in the meantime. Which distro are
> you using? What is the current problem you're stuck with?
>
> Best regards
> Peter
>
>
>
> On 12/10/13 09:53, Richard Mace wrote:
>>
>> Thanks Peter, I'm at a loss as to why it's not working then. What
>> distro do you use now?
>>
>> On 9 Dec 2013 21:54, "Peter Steinbach" <lists at telefaks.de
>> <mailto:lists at telefaks.de>> wrote:
>>
>> We used Ubuntu 10.04 at that time.
>>
>> On 12/09/13 15:10, Richard Mace wrote:
>>> Peter,
>>> What distro were you using when trying to do this?
>>>
>>> Richard
>>>
>>>
>>> On 6 December 2013 16:25, Richard Mace
>>> <richard.mace at gmail.com <mailto:richard.mace at gmail.com>> wrote:
>>>
>>> Thanks peter,
>>> I got passed that error and then hit the next one that
>>> you did when you were originally installing it.
>>> I hope the build script gets fixed soon
>>>
>>> On 6 Dec 2013 16:17, "Peter Steinbach"
>>> <lists at telefaks.de <mailto:lists at telefaks.de>> wrote:
>>>
>>> You may set an environment variable:
>>> export PTLIBDIR=~/h323/ptlib (or the directory
>>> where it's installed)
>>> before ./configure in h323
>>>
>>> Another problem is that sometimes the symlinks for
>>> ptlib-config are not set correctly. Setting the
>>> symlink in our case did not work. So then simply
>>> copy the file
>>> find / -name ptlib-config
>>> cp /found_dir/ptlib-config /usr/bin/ptlib-config
>>>
>>>
>>> Best regards
>>> Peter
>>>
>>> On 12/06/13 16:41, Richard Mace wrote:
>>>> Hi
>>>> I am currently trying to build H323 on Ubutu 10.04
>>>> and am getting:
>>>>
>>>> /bin/bash: /usr/bin/ptlib-config: no such file or
>>>> directory.
>>>>
>>>> Any ideas?
>>>>
>>>> PS I have build from source using the following page:
>>>>
>>>> http://wiki.freeswitch.org/wiki/Mod_h323
>>>>
>>>> Richard
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org <mailto: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 <mailto: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
>>>
>>>
>>> --
>>> With kind regards
>>> Peter Steinbach
>>>
>>> Telefaks Services GmbH
>>> mailto:lists (att) telefaks.de <http://telefaks.de>
>>> Internet: www.telefaks.de <http://www.telefaks.de>
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> <mailto:consulting at freeswitch.org>
>>> http://www.freeswitchsolutions.com
>>>
>>> FreeSWITCH-powered IP PBX: The CudaTel Communication
>>> Server
>>>
>>>
>>> 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
>>> <mailto: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 <mailto: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 <mailto: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
>>
>>
>> --
>> With kind regards
>> Peter Steinbach
>>
>> Telefaks Services GmbH
>> mailto:lists (att) telefaks.de <http://telefaks.de>
>> Internet: www.telefaks.de <http://www.telefaks.de>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org <mailto: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
>> <mailto: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 <mailto: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 <mailto: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
>
>
> --
> With kind regards
> Peter Steinbach
>
> Telefaks Services GmbH
> mailto:lists (att) telefaks.de <http://telefaks.de>
> Internet: www.telefaks.de <http://www.telefaks.de>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org <mailto: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
> <mailto: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
--
With kind regards
Peter Steinbach
Telefaks Services GmbH
mailto:lists (att) telefaks.de
Internet: www.telefaks.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131212/04088910/attachment-0001.html
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list