On 6/18/07, Martin Costabel <[EMAIL PROTECTED]> wrote:
> Alexander Hansen wrote:
> >     * OS 10.4.9
> >     * G4
> >     * Xcode 2.4.1
> >     * xorg-6.8.2-1004
> >
> > The package fails as follows under a non-Apple X11:
> > ...
> > g++ -O3 -ffast-math -fPIC -fno-common -Wno-long-double -I/sw/include
> > -c /sw/src/fink.build/sparky-py25-3.112-1000/sparky/c++/winsystem-unix.cc
> > In file included from
> > /sw/src/fink.build/sparky-py25-3.112-1000/sparky/c++/winsystem-unix.cc:6:
> > /sw/include/tk.h:83:23: error: X11/Xlib.h: No such file or directory
>
> It is pretty clear that /sw/include/tk.h expects that under MacOSX there
> exists a file at /sw/include/X11/Xlib.h.
>
> --
> Martin
>

%p/include/tk.h has the following lines involving Xlib:

#ifndef _XLIB_H
#   if defined (MAC_TCL)
#       include <Xlib.h>
#       include <X.h>
#   elif defined(MAC_OSX_TK)
#       include <X11/Xlib.h>
#       include <X11/X.h>
#   else
#       include <X11/Xlib.h>
#   endif
#endif

I see why tweaking the *FLAGS to add -I/usr/X11R6/include does the
job--as long as the package actually honors them

-- 
Alexander K. Hansen
akh AT finkproject DOT org
Fink User Liaison and Documenter

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to