On Oct 21, 2009, at 6:02 AM, Alexander Hansen wrote: > Max Horn wrote: >> >> Am 21.10.2009 um 04:06 schrieb Alexander Hansen: >> >>> JonAlf Dyrland-Weaver wrote: >>>> Hello, >>>> >>>> I am running Snow Leopard on a MacBook Air, and am having a nagging >>>> problem while installing certain packages. I am using a fresh >>>> install >>>> of fink and when I try to install ddd I get the following error: >>>> >>>> checking whether compiling X headers requires -fpermissive... no >>>> checking for XOpenDisplay in -lX11... no >>>> configure: error: The X11 library '-lX11' could not be found. >>>> Please use the configure options '--x- >>>> includes=DIR' >>>> and '--x-libraries=DIR' to specify the X location. >>>> See the files 'config.log' and 'ddd/config.log' >>>> for further diagnostics. >>>> ### execution of ./configure failed, exit code 1 >>>> >>>> >>>> I've tried to look up possible solutions, but I haven't found >>>> anything >>>> useful. Any help would be greatly appreciated. >>>> >>>> Thank you, >>>> -JonAlf >>>> >>>> >>> A number of packages have needed updates due to changes in Apple's >>> X11 >>> during the 10.5 era (the removal of xmkmf). These haven't all been >>> fixed yet. >>> >>> The maintainer should be able to fix this, especially since the >>> package >>> was kind enough to say how to do that. >>> >> >> The maintainer is willing to do that, but the package only says how >> to >> set the X11 paths, not were those can be found on 10.6 :). So if >> somebody provides this data to him, he will consider this. Maybe it >> is >> just the same as in 10.5 ? He wouldn't know, not having access to any >> 10.6 system. >> >> >> Cheers, >> The maintainer ;) >> > --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib > > This is the standard prescription that we've generally stuck in the > ConfigureParams for 10.5, and it should work for 10.6, and also > doesn't > require a separate package for 10.4. > > Although, that being said, after I sent my reply I found that I was > able > to build the package on 10.5 even with xmkmf out of the way. > > > JonAlf: for confirmation, could you check the config.log files in the > ddd build directory > (/sw/src/fink.build/ddd-3.3.12-1/ddd-3.3.12/config.log, and possibly > /sw/src/fink.build/ddd-3.3.12-1/ddd-3.3.12/ddd/config.log) to see > what's > actually getting run to detect libX11 and what the error message is.
I looked at my config.log and saw the following: configure:26130: g++ -o conftest.exe -g -O2 -fpermissive -I/sw/include -L/sw/lib conftest.cpp -lX11 >&5 ld: library not found for -lX11 I also noticed the same kind of error with different X libraries: configure:27314: g++ -o conftest.exe -g -O2 -fpermissive -I/sw/include -LNONE -L/sw/lib conftest.cpp -lXext -lX11 >&5 ld: library not found for -lXext i have similar error for -lXmu, -lXt Not the same problem, but had to do with X and I wasn't sure if it was related: ld: warning: in /opt/local/lib/libXaw.dylib, file is not of required architecture I hope this is helpful, I've been using macports for a while but until moving to 10.6 never had to dive into the config logs and poke around. If you need any other information I'd be happy to supply it. Thanks, -JonAlf ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
