Le 27 oct. 2012 à 18:29, Alexander Hansen <alexanderk.han...@gmail.com> a écrit 
:

> On 10/26/12 7:53 PM, Sean Lake wrote:
>> Hello all,
>> 
>> The info follows. It's complaining about X11/Xlib.h. I have X11 installed 
>> (xterm runs fine, and gnome-terminal installed fine), so I'm guessing it's 
>> missing an important -I. I'm also finding the number of -I/sw/include that 
>> are included in the command.
>> 
>> Thanks,
>> Sean
>> 
>> System info:
>> Package manager version: 0.34.4
>> Distribution version: selfupdate-rsync Fri Oct 26 19:41:59 2012, 10.8, x86_64
>> Trees: local/main stable/main
>> Xcode.app: 4.5.1
>> Xcode command-line tools: 4.5.0.0.1.1249367152
>> Max. Fink build jobs:  2
>> 
>> The error:
>> g++ -DHAVE_CONFIG_H -I. -I.. -I/sw/include -I/sw/include -I/sw -I/sw/include 
>> -I/sw/include -I/sw/include -I/sw/include -I/sw/include/hdf 
>> -I/sw/include/hdf5 -I/sw/include -I/sw/include   -I/sw/include  -g -O2 -c -o 
>> gdl-gdleventhandler.o `test -f 'gdleventhandler.cpp' || echo 
>> './'`gdleventhandler.cpp
>> In file included from gdleventhandler.cpp:28:
>> In file included from ./graphics.hpp:50:
>> In file included from ./gdlgstream.hpp:25:
>> /sw/include/plplot/plxwd.h:22:10: fatal error: 'X11/Xlib.h' file not found
>> #include <X11/Xlib.h>
>>         ^
>> 1 error generated.
>> make[3]: *** [gdl-gdleventhandler.o] Error 1
>> make[3]: *** Waiting for unfinished jobs....
>> 16 warnings generated.
>> make[3]: Leaving directory `/sw/src/fink.build/gdl-0.9.2-3/gdl-0.9.2/src'
>> make[2]: *** [all-recursive] Error 1
>> make[2]: Leaving directory `/sw/src/fink.build/gdl-0.9.2-3/gdl-0.9.2/src'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/sw/src/fink.build/gdl-0.9.2-3/gdl-0.9.2'
>> make: *** [all] Error 2
>> ### execution of make failed, exit code 2
>> ### execution of /tmp/fink.9hIVY failed, exit code 2
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /sw/bin/dpkg-lockwait -r fink-buildlock-gdl-0.9.2-3
>> (Reading database ... 205426 files and directories currently installed.)
>> Removing fink-buildlock-gdl-0.9.2-3 ...
>> Failed: phase compiling: gdl-0.9.2-3 failed
> 
> (maintainer cc'ed).
> 
> I see the same thing in spite of the fact that during the configure
> phase the following output showed up:
> 
> checking for X... libraries /usr/X11/lib, headers /usr/X11/include
> 
> We've had a number of packages do something similar on 10.8, though:
> somehow, in spite of the compatibility symlinks, the builds don't find
> X11/Xlib.h .  My guess they have been relying on the /usr/include/X11 ->
> /usr/X11/include/X11 symlink which is no longer present for 10.8, i.e.
> an implicit "-I/usr/include" in the build tools automatically picks up
> <X11/Xlib.h> .
> 
> Unfortunately, even adding --x-includes=/usr/X11/include
> --x-libraries=/usr/X11/lib to the ConfigureParams line didn't solve the
> build problem, probably since the upstream build setup appears to be
> sloppy and doesn't necessarily bother looking at the results of the
> configure tests.  For example, I noted the presence of
> "-I/sw/include/hdf -I/sw/include/hdf5", when (1) our build doesn't even
> use hdf, and (2) hdf5.7 puts its includes directly in /sw/include.
> 
> Adding SetCPPFLAGS: -I/usr/X11/include to gdl.info allowed the build to
> finish.
> 
> 
> (by the way, the package could probably use some library updates:
>       netcdf -> netcdf-c7 and netcdf-cxx4
>       libjpeg -> libjpeg8
>       libpng3 -> libpng15 (or 14)
>       readline5 -> readline6
>       lcms -> lcms2
> 
> And it might also be nice not to use --disable-dependency-tracking and
> run fink-package-precedence on the dependency files (if applicable).

Thanks for reporting this. It should be fixed in gdl-0.9.2-4. I've also updated 
the various libraries, except for netcdf because gdl does not seems to like 
newer versions.

Sébastien


------------------------------------------------------------------------------
The Windows 8 Center - In partnership with Sourceforge
Your idea - your app - 30 days.
Get started!
http://windows8center.sourceforge.net/
what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to