[SciPy-dev] build_ext scipy.xplt.gistC misses X11 include dir

Derek Homeier derek at physast.uga.edu
Fri Mar 21 21:48:52 EST 2003


Hi,

building scipy from cvs 03/21/2003 under MacOS X 10.2.4 fails in xplt 
because
/usr/X11R6/include is lost from the include path:

***********************************************
/Volumes/scratch/derek/BUILD/scipy/Lib/xplt scipy
***********************************************
x11_info:
   FOUND:
     libraries = ['X11']
     library_dirs = ['/usr/X11R6/lib']
     include_dirs = ['/usr/X11R6/include']

SciPy Version 0.2.0_alpha_183.4048
running build
running build_py
...
running build_ext
building 'scipy.xplt.gistC' extension
gcc -Wno-long-double -no-cpp-precomp -DNDEBUG -g -O3 -Wall 
-Wstrict-prototypes 
-I/Volumes/scratch/derek/BUILD/scipy/Lib/xplt/src/gist 
-I/Volumes/scratch/derek/BUILD/scipy/Lib/xplt/src/play 
-I/Volumes/scratch/derek/BUILD/scipy/Lib/xplt/src/play/unix 
-I/sw/include/python2.3 -c 
/Volumes/scratch/derek/BUILD/scipy/Lib/xplt/src/play/x11/images.c -o 
/Volumes/scratch/derek/BUILD/scipy/Lib/xplt/src/play/x11/images.o 
-DGISTPATH="/sw/lib/python2.3/site-packages/scipy/xplt/gistdata"
In file included from 
/Volumes/scratch/derek/BUILD/scipy/Lib/xplt/src/play/x11/images.c:9:
/Volumes/scratch/derek/BUILD/scipy/Lib/xplt/src/play/x11/playx.h:11:22: 
X11/Xlib.h: No such file or directory
In file included from 
/Volumes/scratch/derek/BUILD/scipy/Lib/xplt/src/play/x11/images.c:9:
/Volumes/scratch/derek/BUILD/scipy/Lib/xplt/src/play/x11/playx.h:29: 
parse error before "Display"
[...horrible death]

 > cat Lib/xplt/pygist/Make.cfg
# Make.cfg from setup.py script Fri Mar 21 21:26:21 2003
# Darwin bart.physast.uga.edu 6.4 Darwin Kernel Version 6.4: Wed Jan 29 
18:50:42 PST 2003; root:xnu/xnu-344.26.obj~1/RELEASE_PPC  Power 
Macintosh
MATHLIB=-lm
NO_EXP10=-DNO_EXP10
FPELIB=
FPELIBM=
XINC=-I/usr/X11R6/include
XLIB=-L/usr/X11R6/lib

 > ls -l /usr/X11R6/include/X11/Xlib.h
-r--r--r--    1 root     wheel      112790 Dec 10 23:30 
/usr/X11R6/include/X11/Xlib.h

Any ideas?
										Derek





More information about the SciPy-Dev mailing list