> On Nov 3, 2015, at 06:02, David Dombrowsky <da...@6thstreetradio.org> wrote:
> 
> 
> When trying to install windowmaker, I can't get around the build error:
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I../src -I/sw/include -I/usr/X11R6/include
> -MD -I/sw/include -g -O2 -c LookupCmap.c  -fno-common -DPIC -o
> .libs/LookupCmap.o
> LookupCmap.c:36:10: fatal error: 'X11/Xlib.h' file not found
> #include <X11/Xlib.h>
>         ^
> 1 error generated.
> 
> 
> I have XQuartz installed, and darwin is marked as installed when I do
> `fink list`.  Looks like the configure command is using the wrong path
> for the x libs:
> 
> $ fink install windowmaker
> [...]
> ./configure --prefix=/sw   --enable-gnome --enable-xinerama
> --mandir=/sw/share/man --with-gnustepdir=/sw/lib/GNUstep
> --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
> ac_cv_c_inline_asm=no
> 
> 
> X is not installed at /usr/X11R6, it's in /usr/X11.  I've been trying to
> figure out how to change that build flag, but no luck so far.  Any
> hints?  Is this even supposed to build for fink with XQuartz installed?
> 
> -- 
> David Dombrowsky, Software Engineer
> da...@6thstreetradio.org
> http://6thstreetradio.org
> 

/usr/X11R6 used to be a convenience symlink pointing to the real X11 tree, but 
that behavior changed for 10.11 (assuming you’re on that—if you’re on an 
earlier OS X reinstalling Xquartz will recreate this for you).  Windowmaker 
hasn’t been updated to reflect this change.

Change the ConfigureParams block in 
/sw/fink/10.9-libcxx/stable/main/fink/info/x11/windowmaker.info 
<http://windowmaker.info/> (assuming you’re using a default Fink tree)  to:

ConfigureParams: <<
  --enable-gnome \
  --enable-xinerama \
  --mandir=%p/share/man \
  --with-gnustepdir=%p/lib/GNUstep \
  --x-includes=/usr/X11/include \
  --x-libraries=/usrX11/lib \
  ac_cv_c_inline_asm=no
<<


------------------------------------------------------------------------------
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to