Re: [gtk-list] [gtk-list redhat com]: Install problems



> Resent-Cc: 
> MBOX-Line: From gtk-list-request@redhat.com  Thu May  4 11:12:07 2000
> Sender: chris@mail.redhat.com
> Date: Thu, 04 May 2000 11:23:26 -0400
> From: Chris Seavey <chris@portalsmith.com>
> 
> Hey all,
> 
> Having a problem installing gtk+ 1.2.7
> Here is what the error log says:
> 
> > configure:5337: gcc -o conftest -g -O2 -Wall   -L/usr/X11R6/lib
> > conftest.c -lICE    1>&5
> > /usr/i386-linux/bin/ld: cannot open -lICE: No such file or directory
> > configure: failed program was:
> > #line 5326 "configure"
> > #include "confdefs.h"
> > /* Override any gcc2 internal prototype to avoid an error.  */
> > /* We use char because int might match the return type of a gcc2
> >     builtin and then its argument prototype would still apply.  */
> > char IceConnectionNumber();
> > 
> > int main() {
> > IceConnectionNumber()
> > ; return 0; }
> > configure:5381: checking for XOpenDisplay in -lX11
> > configure:5400: gcc -o conftest -g -O2 -Wall  -I/usr/X11R6/include
> > -L/usr/X11R6/lib conftest.c -lX11    1>&5
> > /usr/i386-linux/bin/ld: cannot open -lX11: No such file or directory
> > configure: failed program was:
> > #line 5389 "configure"
> > #include "confdefs.h"
> > /* Override any gcc2 internal prototype to avoid an error.  */
> > /* We use char because int might match the return type of a gcc2
> >     builtin and then its argument prototype would still apply.  */
> > char XOpenDisplay();
> > 
> > int main() {
> > XOpenDisplay()
> > ; return 0; }
> 
> Can anyone decipher this for me? Is -lX11 supposed to point to an
> actuall file?
> Any help would be great! (I've been wrestling with glib and gtk+ all
> morning)

-l means library so the file you're looking for is
-libX11.so

it should be in /usr/X11R6/lib

If the above is RedHat Linux?  If not, provide more info about your
system.  If so, did you install the XFree86-devel RPM?  If not,
install it.

HTH,
Dave



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]