[Asterisk-Users] Asterisk + RedHat9 - Libpri problem
Paulo - Ibest
phbraga at ibest.com.br
Fri Feb 18 06:29:09 MST 2005
I install the Asterisk into a RedHat9, exactly like manual says, and I'm
having the attached error message when try to install libpri.
Please, help on it.
-------------- next part --------------
[root at LinuxLab zaptel]# cd ..
[root at LinuxLab src]# cd libpri/
[root at LinuxLab libpri]# make clean; make install
Makefile:93: .depend: No such file or directory
./mkdep -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g `ls *.c`
rm -f *.o *.so *.lo *.so.1 *.so.1.0
rm -f testpri testprilib libpri.a libpri.so.1.0
rm -f pritest pridump
rm -f .depend
Makefile:93: .depend: No such file or directory
./mkdep -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g `ls *.c`
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
ar rcs libpri.a pri.o q921.o prisched.o q931.o
ranlib libpri.a
cc -fPIC -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -o pri.lo -c pri.c
cc -fPIC -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -o q921.lo -c q921.c
cc -fPIC -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -o prisched.lo -c prisched.c
cc -fPIC -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -o q931.lo -c q931.c
cc -shared -Wl,-soname,libpri.so.1 -o libpri.so.1.0 pri.lo q921.lo prisched.lo q931.lo
/sbin/ldconfig -n .
ln -sf libpri.so.1 libpri.so
mkdir -p /usr/lib
mkdir -p /usr/include
install -m 644 libpri.h /usr/include
install -m 755 libpri.so.1.0 /usr/lib
if [ -x /usr/sbin/sestatus ] && ( /usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled"); then restorecon -v //lib/libpri.so.1.0; fi
( cd /usr/lib ; ln -sf libpri.so.1 libpri.so )
install -m 644 libpri.a /usr/lib
/sbin/ldconfig
[root at LinuxLab libpri]#
More information about the asterisk-users
mailing list