[Asterisk-Users] Libpri and asterisk fail to install
Martin Pycko
martinp at digium.com
Wed Aug 6 08:12:40 MST 2003
It's easier to check that up ...
On Wed, 6 Aug 2003, Jim Mercer wrote:
> On Wed, Aug 06, 2003 at 09:59:18AM -0500, Martin Pycko wrote:
> > You're looking for libncurses-dev and in libpri you can remove -Werror
> > from libpri/Makefile or cvs update libpri (it should be fixed)
>
> fixed, in that they removed -Werror, or fixed in that they updated the code
> to eliminate the warnings?
>
> >
> > regards
> > Martin
> >
> > On Wed, 6 Aug 2003, Rhys Hopkins wrote:
> >
> > > Hi,
> > >
> > > I am having trouble building and installing libpri and asterisk on my
> > > system. Zaptel seemed to install OK.
> > >
> > > I am running SuSE 8.2 ( Linux 2.4.20-4GB )
> > > I have made sure I have the prerequisites ( rpm versions shown below )
> > >
> > > rhys2:/usr/src/libpri # uname -a
> > > Linux rhys2 2.4.20-4GB #1 Fri Jul 11 07:33:18 UTC 2003 i686 unknown
> > > unknown GNU/Linux
> > >
> > > rhys2:/opt/libpri-0.3.2 # rpm -q openssl-devel
> > > openssl-devel-0.9.6i-12
> > > rhys2:/opt/libpri-0.3.2 # rpm -q readline-devel
> > > readline-devel-4.3-105
> > > rhys2:/opt/libpri-0.3.2 # rpm -q readline
> > > readline-4.3-105
> > > rhys2:/opt/libpri-0.3.2 # rpm -q openssl
> > > openssl-0.9.6i-12
> > > rhys2:/opt/libpri-0.3.2 # rpm -q kernel-source
> > > kernel-source-2.4.20.SuSE-62
> > > rhys2:/opt/libpri-0.3.2 # rpm -q termcap
> > > termcap-2.0.8-674
> > >
> > >
> > > This is the output from make clean ; make install for libpri:
> > >
> > > rhys2:/usr/src/libpri # make clean
> > > rm -f *.o *.so *.lo
> > > rm -f testpri libpri.a libpri.so.1.0
> > > rm -f pritest pridump
> > > rhys2:/usr/src/libpri # make install
> > > cc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -c -o
> > > pri.o pri.c
> > > cc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -c -o
> > > q921.o q921.c
> > > cc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -c -o
> > > prisched.o prisched.c
> > > cc -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -c -o
> > > q931.o q931.c
> > > q931.c: In function `ie2str':
> > > q931.c:1210: warning: comparison between signed and unsigned
> > > q931.c: In function `msg2str':
> > > q931.c:1227: warning: comparison between signed and unsigned
> > > q931.c: In function `q931_dumpie':
> > > q931.c:1251: warning: comparison between signed and unsigned
> > > q931.c: In function `add_ie':
> > > q931.c:1334: warning: comparison between signed and unsigned
> > > q931.c: In function `q931_handle_ie':
> > > q931.c:1394: warning: comparison between signed and unsigned
> > > make: *** [q931.o] Error 1
> > >
> > >
> > >
> > >
> > >
> > > This is the end of the output from make install for asterisk ( full
> > > output attached as "asterisk_errors" )
> > >
> > > loading cache ./config.cache
> > > checking for gcc... gcc
> > > checking whether the C compiler (gcc ) works... yes
> > > checking whether the C compiler (gcc ) is a cross-compiler... no
> > > checking whether we are using GNU C... yes
> > > checking whether gcc accepts -g... yes
> > > checking how to run the C preprocessor... gcc -E
> > > checking host system type... i686-pc-linux-gnu
> > > checking for a BSD compatible install... install
> > > checking for ranlib... ranlib
> > > checking for ar... /usr/bin/ar
> > > checking for tgetent in -ltermcap... no
> > > checking for tgetent in -ltinfo... no
> > > checking for tgetent in -lcurses... no
> > > checking for tgetent in -lncurses... no
> > > configure: error: termcap support not found
> > > make: *** [editline/config.h] Error 1
> > >
> > > As can be seen from the rpm queries above, I have termcap installed.
> > >
> > >
> > >
> > >
> > > Any help would be much appreciated.
> > >
> > > Regards,
> > >
> > > Rhys Hopkins
> > >
> > > Systems Administrator
> > > Culver Technologies Limited.
> > >
> > >
> > >
> >
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
>
> --
> [ Jim Mercer jim at reptiles.org +1 416 410-5633 ]
> [ I want to live forever, or die trying. ]
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list