From: Carsten H. (T. R. <ra...@ra...> - 2002-04-12 07:30:13
|
On 12 Apr 2002 02:40:57 -0400 Greyson Fischer <gr...@ca...> babbled: and what would this configure script that you modified be fore? as the ones i'm looking at explicitly add -lX11 to the link line to detect xext. > Not a question: > > Okay, so I got fed up with trying to get more than one autoconf to live > happily on my system -- they decided to make one big lemming mosh pit > and fell off the face of my hardrive -- when the dust cleared I was left > with 1.4/2.13 which worked -- mostly. > > I was running the new, shiney ./configure and it couldn't find > XShmAttach -- I searched all the past records I could find, and found > only debian related things... eventually I fond myself staring at a > config.log file for a while and saw a line which bothered me, but I > couldn't put my finger on why -- it was the compile line -- something > like. > gcc -o conftest -g -02 -Wall conftest.c -lXext -L/usr/X11R6/lib > > There was a whole set of errors afterwards preceded by "warning: > libX11.so.6, needed by /usr/X11R6/lib/libXExt.so, not found (try using > -rptah of -rpath-link) > > Suddenly, after a few sips alternating my double-fisted coffee and beer, > it struck me... where's the -lX11? So I found the correct place in > ./configure and just threw in an -lX11... worked like a charm -- had to > do it for a few more afterwards -- including one optional library > Xrender -- which struck me as being useful, so I tried it just to see > what would happen, and lo an' behold... it worked. > > Anyway, so as not to waste anymore time, I just thought I'd bring this > up as a possible solution for others running into the same problem, and > since there seems to be a concerted effort to make autoconf/automake > work nicely with x/y version, it might be helpful to know about this > tidbit. > > Cheers! > Greyson > > _______________________________________________ > enlightenment-devel mailing list > enl...@li... > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- --------------- Codito, ergo sum - "I code, therefore I am" -------------------- The Rasterman (Carsten Haitzler) ra...@ra... ra...@de... Mobile Phone: +61 (0)413 451 899 Home Phone: 02 9386 9439 |