[Asterisk-bsd] Cant install asterisk from ports.

Andrew A. Kochetkoff andrews at mtelecom.chita.ru
Fri May 20 01:17:16 CDT 2005


Kirk Davis wrote:
> Hi,
> 	There is still some problems with the latest openh323 ports that I
> did up and Asterisk.  I'm still working on the the problem (an it's
> bohica.net not bonika.net ;-)   The PWLib and OpenH323 ports that I did up
> where to get the latest version working with the latest GNU Gatekeeper.
> They seem to work with that but something in Asterisk doesn't like them.  
> 
> 	Don't use these ports for Asterisk right now until I get it all
> worked out.  Stick to the offical FreeBSD ports in the ports tree and you
> should be fine.  
> 
> 	If anyone wants to look at the problem and see what it will take to
> update the Asterisk port to work with then then the ports are located here
> (keep in mind they are not ready for prime time yet): 
> http://www.bohica.net/port-openh323.1.17.1.tgz
> http://www.bohica.net/port-pwlib_1.9.0.tgz
> http://www.bohica.net/p5-asterisk-agi.tgz
> http://www.bohica.net/p5-mime-contruct.tgz
> http://www.bohica.net/port-gnugk.2.2.1.tgz
> 
> ---- Kirk
> 
> -----Original Message-----
> From: asterisk-bsd-bounces at lists.digium.com
> [mailto:asterisk-bsd-bounces at lists.digium.com] On Behalf Of Andrew A.
> Kochetkoff
> Sent: May 19, 2005 12:28 AM
> To: asterisk-bsd at lists.digium.com
> Subject: [Asterisk-bsd] Cant install asterisk from ports.
> 
> Hi all!
> 
> Try to install asterisk-1.07 from ports.
> I have port-openh323.1.17.1.tgz and port-pwlib_1.9.0.tgz from bonika.net
> When i do make install i have:
> web [154] [15:02:15] [/usr/ports/net/asterisk]#make install
> ...........................................................
> ...........................................................
> gmake[1]: Entering directory
> `/usr/ports/net/asterisk/work/asterisk-1.0.7/channels'
> gmake -C h323 ast_h323.o
> gmake[2]: Entering directory
> `/usr/ports/net/asterisk/work/asterisk-1.0.7/channels/h323'
> c++ -O -pipe -funroll-loops -march=pentium3 -c -fno-rtti -o ast_h323.o -O
> -pipe -funroll-loops
> -march=pentium3 -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations  -Iinclude
> -I../include -D_REENTRANT -D_GNU_SOURCE   -march=i386
> -I/usr/local/include
> -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"1.0.6-BRIstuffed-0.2.0-RC7j\"
> -DINSTALL_PREFIX=\"/usr/local\" -DASTETCDIR=\"/usr/local/etc/asterisk\"
> -DASTLIBDIR=\"/usr/local/lib/asterisk\"
> -DASTVARLIBDIR=\"/usr/local/share/asterisk\"
> -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\"
> -DASTLOGDIR=\"/var/log/asterisk\"
> -DASTCONFPATH=\"/usr/local/etc/asterisk/asterisk.conf\"
> -DASTMODDIR=\"/usr/local/lib/asterisk/modules\"
> -DASTAGIDIR=\"/usr/local/share/asterisk/agi-bin\"
>     -DBUSYDETECT_MARTIN      -Wno-missing-prototypes
> -Wno-missing-declarations  -DOLD_SANGOMA_API
> -DZAPATA_PRI    -DIAX_TRUNKING -I/usr/local/include  -DCRYPTO -fPIC
> -DPBYTE_ORDER=PLITTLE_ENDIAN
> -DNDEBUG -DDO_CRASH -DDEBUG_THREADS -pipe -Wall -fPIC -pthread -D_REENTRANT
> -D_GNU_SOURCE
> -DP_HAS_SEMAPHORES -DP_SSL -DP_PTHREADS -DPHAS_TEMPLATES -DPTRACING
> -DP_USE_PRAGMA -I../../include
> -I/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/unix
> -I/usr/ports/devel/pwlib/work/pwlib_v1_9_0/include
> -I/usr/ports/net/openh323/work/openh323_v1_17_1/include
> -Wno-missing-prototypes
> -Wno-missing-declarations ast_h323.cpp
> cc1plus: warning: command line option "-Wstrict-prototypes" is valid for
> C/ObjC but not for C++
> cc1plus: warning: command line option "-Wmissing-prototypes" is valid for
> C/ObjC but not for C++
> cc1plus: warning: command line option "-Wmissing-declarations" is valid for
> C/ObjC but not for C++
> cc1plus: warning: command line option "-Wno-missing-prototypes" is valid for
> C/ObjC but not for C++
> cc1plus: warning: command line option "-Wno-missing-declarations" is valid
> for C/ObjC but not for C++
> cc1plus: warning: command line option "-Wno-missing-prototypes" is valid for
> C/ObjC but not for C++
> cc1plus: warning: command line option "-Wno-missing-declarations" is valid
> for C/ObjC but not for C++
> In file included from
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib.h:181,
>                    from ast_h323.cpp:34:
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/unix/ptlib/pdirect.h:
> 78: error: expected
> unqualified-id before "protected"
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/unix/ptlib/pdirect.h:
> 78: error: expected `,'
> or `;' before "protected"
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/unix/ptlib/pdirect.h:
> 80: error: expected
> constructor, destructor, or type conversion before '*' token
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/unix/ptlib/pdirect.h:
> 80: error: expected `,'
> or `;' before '*' token
> In file included from
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib.h:193,
>                    from ast_h323.cpp:34:
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/unix/ptlib/config.h:5
> 3: error: expected
> unqualified-id before "public"
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/unix/ptlib/config.h:5
> 3: error: expected `,'
> or `;' before "public"
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/unix/ptlib/config.h:5
> 5: error: expected
> class-name before '(' token
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/unix/ptlib/config.h:5
> 5: error: expected `,'
> or `;' before '(' token
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/unix/ptlib/config.h:5
> 7: error: expected
> unqualified-id before "protected"
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/unix/ptlib/config.h:5
> 7: error: expected `,'
> or `;' before "protected"
> In file included from
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib.h:199,
>                    from ast_h323.cpp:34:
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:124: error:
> expected class-name before
> '{' token
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:125: error:
> `PObject' has not been
> declared
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:125: error:
> ISO C++ forbids
> declaration of `PCLASSINFO' with no type
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:125: error:
> ISO C++ forbids
> declaration of `parameter' with no type
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:150: error:
> expected `,' or `...'
> before '&' token
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:156: error:
> ISO C++ forbids
> declaration of `PString' with no type
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:159: error:
> expected `,' or `...'
> before '&' token
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:165: error:
> ISO C++ forbids
> declaration of `PString' with no type
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:165: error:
> `PArgList::PArgList(int)'
> and `PArgList::PArgList(int)' cannot be overloaded
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:180: error:
> expected `,' or `...'
> before '&' token
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:185: error:
> ISO C++ forbids
> declaration of `PString' with no type
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:209: error:
> expected `,' or `...'
> before '&' token
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:210: error:
> ISO C++ forbids
> declaration of `PString' with no type
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:218: error:
> expected `,' or `...'
> before '&' token
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:219: error:
> ISO C++ forbids
> declaration of `PStringArray' with no type
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:219: error:
> `void
> PArgList::SetArgs(int)' and `void PArgList::SetArgs(int)' cannot be
> overloaded
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:252: error:
> expected `,' or `...'
> before '&' token
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:257: error:
> ISO C++ forbids
> declaration of `PString' with no type
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:276: error:
> expected `,' or `...'
> before '&' token
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:277: error:
> ISO C++ forbids
> declaration of `PString' with no type
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:293: error:
> expected `,' or `...'
> before '&' token
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:294: error:
> ISO C++ forbids
> declaration of `PString' with no type
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:304: error:
> `PString' does not name a type
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:309: error:
> `PString' does not name a type
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:314: error:
> `PString' does not name a type
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:332: error:
> `PStringArray' does not
> name a type
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:341: error:
> `PString' does not name a type
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:350: error:
> ISO C++ forbids
> declaration of `PString' with no type
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:350: error:
> expected `;' before "operator"
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:391: error:
> expected `,' or `...'
> before '&' token
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:392: error:
> ISO C++ forbids
> declaration of `PString' with no type
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:400: error:
> expected `,' or `...'
> before '&' token
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:401: error:
> ISO C++ forbids
> declaration of `PString' with no type
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:406: error:
> `PStringArray' does not
> name a type
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:408: error:
> `PString' does not name a type
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:410: error:
> `PStringArray' does not
> name a type
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/args.h:412: error:
> `PIntArray' does not name
> a type
> ........................................................
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/unix/ptlib/pprocess.h
> :150: warning: 'void
> PXShowSystemWarning(PINDEX)' declared `static' but never defined
> /usr/ports/devel/pwlib/work/pwlib_v1_9_0/include/ptlib/unix/ptlib/pprocess.h
> :151: warning: 'void
> PXShowSystemWarning(PINDEX, int)' declared `static' but never defined
> In file included from
> /usr/ports/net/openh323/work/openh323_v1_17_1/include/channels.h:173,
>                    from
> /usr/ports/net/openh323/work/openh323_v1_17_1/include/codecs.h:291,
>                    from
> /usr/ports/net/openh323/work/openh323_v1_17_1/include/h323caps.h:202,
>                    from
> /usr/ports/net/openh323/work/openh323_v1_17_1/include/h323con.h:316,
>                    from
> /usr/ports/net/openh323/work/openh323_v1_17_1/include/h323.h:483,
>                    from ast_h323.cpp:35:
> /usr/ports/net/openh323/work/openh323_v1_17_1/include/transports.h:187:1:
> unterminated #ifndef
> In file included from
> /usr/ports/net/openh323/work/openh323_v1_17_1/include/codecs.h:291,
>                    from
> /usr/ports/net/openh323/work/openh323_v1_17_1/include/h323caps.h:202,
>                    from
> /usr/ports/net/openh323/work/openh323_v1_17_1/include/h323con.h:316,
>                    from
> /usr/ports/net/openh323/work/openh323_v1_17_1/include/h323.h:483,
>                    from ast_h323.cpp:35:
> /usr/ports/net/openh323/work/openh323_v1_17_1/include/channels.h:164:1:
> unterminated #ifndef
> In file included from
> /usr/ports/net/openh323/work/openh323_v1_17_1/include/h323caps.h:202,
>                    from
> /usr/ports/net/openh323/work/openh323_v1_17_1/include/h323con.h:316,
>                    from
> /usr/ports/net/openh323/work/openh323_v1_17_1/include/h323.h:483,
>                    from ast_h323.cpp:35:
> /usr/ports/net/openh323/work/openh323_v1_17_1/include/codecs.h:281:1:
> unterminated #ifndef
> In file included from
> /usr/ports/net/openh323/work/openh323_v1_17_1/include/h323con.h:316,
>                    from
> /usr/ports/net/openh323/work/openh323_v1_17_1/include/h323.h:483,
>                    from ast_h323.cpp:35:
> /usr/ports/net/openh323/work/openh323_v1_17_1/include/h323caps.h:194:1:
> unterminated #ifndef
> In file included from
> /usr/ports/net/openh323/work/openh323_v1_17_1/include/h323.h:483,
>                    from ast_h323.cpp:35:
> /usr/ports/net/openh323/work/openh323_v1_17_1/include/h323con.h:305:1:
> unterminated #ifndef
> gmake[2]: *** [ast_h323.o] Error 1
> gmake[2]: Leaving directory
> `/usr/ports/net/asterisk/work/asterisk-1.0.7/channels/h323'
> gmake[1]: *** [h323/ast_h323.o] Error 2
> gmake[1]: Leaving directory
> `/usr/ports/net/asterisk/work/asterisk-1.0.7/channels'
> gmake: *** [subdirs] Error 1
> *** Error code 2
> 
> Stop in /usr/ports/net/asterisk.
> web [154] [15:02:39] [/usr/ports/net/asterisk]#
> 
> Help me please!
> ----------------------------------------------------------
> 
> 
> _______________________________________________
> Asterisk-BSD mailing list
> Asterisk-BSD at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-bsd
> _______________________________________________
> Asterisk-BSD mailing list
> Asterisk-BSD at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-bsd
> 
> 

Thanks, for all.

Kirk, I install your gnugk-port it worked fine. Thanks advance for you.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: andrews.vcf
Type: text/x-vcard
Size: 258 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-bsd/attachments/20050520/922cf9f3/andrews.vcf


More information about the Asterisk-BSD mailing list