Hi, I'm trying to install Asterisk onto a fresh install of Slackware 9.1... I've installed all packages in A, AP, D, E, F, K, L, N... So basically what's needed for a text based system with development, networking, docs, libraries.. No X-Windows, no games, no TCL/TEX etc. Following the commands on the Asterisk website I checked out the CVS source and started compiling... Zaptel and libpri combiled no problems, but when I got to Asterisk it ended up with the error cut out below. I'm guessing I've missed a dependency somewhere? I checked that I have the readline, openssl and openssl-solibs, along with the full kernel source installed. Can someone please point me in the right direction on how to get around this and get Asterisk to compile? Thanks in advance, Chris Lee =====CUT====In file included from /usr/include/gtk-1.2/gtk/gtkarg.h:31, from /usr/include/gtk-1.2/gtk/gtkobject.h:31, from /usr/include/gtk-1.2/gtk/gtkaccelgroup.h:35, from /usr/include/gtk-1.2/gtk/gtk.h:32, from pbx_gtkconsole.c:38: /usr/include/gtk-1.2/gtk/gtktypeutils.h:163: warning: function declaration isn't a prototype In file included from /usr/include/gtk-1.2/gtk/gtk.h:80, from pbx_gtkconsole.c:38: /usr/include/gtk-1.2/gtk/gtkitemfactory.h:48: warning: function declaration isn' t a prototype pbx_gtkconsole.c: In function `__verboser': pbx_gtkconsole.c:101: warning: assignment discards qualifiers from pointer targe t type gcc -shared -Xlinker -x -o pbx_gtkconsole.so pbx_gtkconsole.o `gtk-config --libs gthread` /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../../i486-slackware-l inux/bin /ld: cannot find -lXext collect2: ld returned 1 exit status make[1]: *** [pbx_gtkconsole.so] Error 1 make[1]: Leaving directory `/usr/src/asterisk/pbx' make: *** [subdirs] Error 1 root@voipsrv1:/usr/src/asterisk# =====CUT=====
> =====CUT====> In file included from /usr/include/gtk-1.2/gtk/gtkarg.h:31, > from /usr/include/gtk-1.2/gtk/gtkobject.h:31, > from /usr/include/gtk-1.2/gtk/gtkaccelgroup.h:35, > from /usr/include/gtk-1.2/gtk/gtk.h:32, > from pbx_gtkconsole.c:38: > /usr/include/gtk-1.2/gtk/gtktypeutils.h:163: warning: function > declaration isn't > a prototype > In file included from /usr/include/gtk-1.2/gtk/gtk.h:80, > from pbx_gtkconsole.c:38: > /usr/include/gtk-1.2/gtk/gtkitemfactory.h:48: warning: function > declaration isn' > t a prototype > pbx_gtkconsole.c: In function `__verboser': > pbx_gtkconsole.c:101: warning: assignment discards qualifiers from > pointer targe > t type > gcc -shared -Xlinker -x -o pbx_gtkconsole.so pbx_gtkconsole.o > `gtk-config --libs > gthread` > /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../../i486-slackware-l > inux/bin > /ld: cannot find -lXext > collect2: ld returned 1 exit status > make[1]: *** [pbx_gtkconsole.so] Error 1 > make[1]: Leaving directory `/usr/src/asterisk/pbx' > make: *** [subdirs] Error 1 > root@voipsrv1:/usr/src/asterisk# > =====CUT====It wants GTK (and by extension, X), but I have * installed on a number of Slack91 boxes without X... This must be a recent thing... Try hacking the pbx/Makefile to eliminate pbx_gtkconsole or removing the GTK+ libraries from your system, as * must be autodetecting what it can build, and kdeconsole's not building. You've got a shitload of extra crap on your * system if you installed everything in those disksets... Regards, Andrew
/ld: cannot find -lXext is your actual error, Looks like something to do with X windows? Or go into the makefile and tell it not to make pbx_gtkconsole, i dont think its essential. Panny ----- Original Message ----- From: "Christopher Lee" <chris@datachaos.com.au> To: <asterisk-users@lists.digium.com> Sent: Wednesday, October 22, 2003 12:31 PM Subject: [Asterisk-Users] Slackware 9.1 Install Help> Hi, > > I'm trying to install Asterisk onto a fresh install of Slackware 9.1... > I've installed all packages in A, AP, D, E, F, K, L, N... So basically > what's needed for a text based system with development, networking, > docs, libraries.. No X-Windows, no games, no TCL/TEX etc. > > Following the commands on the Asterisk website I checked out the CVS > source and started compiling... Zaptel and libpri combiled no problems, > but when I got to Asterisk it ended up with the error cut out below. > > I'm guessing I've missed a dependency somewhere? I checked that I have > the readline, openssl and openssl-solibs, along with the full kernel > source installed. > > Can someone please point me in the right direction on how to get around > this and get Asterisk to compile? > > Thanks in advance, > Chris Lee > > =====CUT====> In file included from /usr/include/gtk-1.2/gtk/gtkarg.h:31, > from /usr/include/gtk-1.2/gtk/gtkobject.h:31, > from /usr/include/gtk-1.2/gtk/gtkaccelgroup.h:35, > from /usr/include/gtk-1.2/gtk/gtk.h:32, > from pbx_gtkconsole.c:38: > /usr/include/gtk-1.2/gtk/gtktypeutils.h:163: warning: function > declaration isn't > a prototype > In file included from /usr/include/gtk-1.2/gtk/gtk.h:80, > from pbx_gtkconsole.c:38: > /usr/include/gtk-1.2/gtk/gtkitemfactory.h:48: warning: function > declaration isn' > t a prototype > pbx_gtkconsole.c: In function `__verboser': > pbx_gtkconsole.c:101: warning: assignment discards qualifiers from > pointer targe > t type > gcc -shared -Xlinker -x -o pbx_gtkconsole.so pbx_gtkconsole.o > `gtk-config --libs > gthread` > /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/../../../../i486-slackware-l > inux/bin > /ld: cannot find -lXext > collect2: ld returned 1 exit status > make[1]: *** [pbx_gtkconsole.so] Error 1 > make[1]: Leaving directory `/usr/src/asterisk/pbx' > make: *** [subdirs] Error 1 > root@voipsrv1:/usr/src/asterisk# > =====CUT====> > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >