Fail pyton build. What to do
John Hunter
jdhunter at nitace.bsd.uchicago.edu
Thu Jul 18 11:35:40 EDT 2002
>>>>> "edadk" == edadk <e.d.andersen at mosek.com> writes:
edadk> Hi, I am build python 2.1.1 on Solaris/Intel 8 and get the
edadk> error meassage below. [I do not need the audio stuff at
edadk> all. Can I shut it off for instace.]
edadk> What can I do?
I haven't built python on that platform before, but my guess is that
just turning off one feature that you don't want won't work. If one
thing is broken, it's often the case that something else is as well.
In this case it may simply be that you need to find where
sun/audioio.h is on your system and explicitly set it in your include
path.
If you have the GNU findutils installed, you can do
locate audioio.h
If not, try searching for it with find
find /usr -name audioio.h
find /opt -name audioio.h
If you find it on your system, you can inform python of it's
whereabouts with
./configure --includedir=/the/path/to/dir/that/contains_sun
If the dir is, for example, /opt/include/sun/audioio.h, you would do:
./configure --includedir=/opt/include
Warning, I just tried this to test it and contrary to my expectations,
/opt/include was not included with a -I flag in my test make. I do
not know if this is a problem with the 2.1.3 configure script or my
misunderstanding of how the --includedir flag works. You can always
use the brute force, hand edit the Makefile approach after configure
to manually add the -I/opt/include flag to the CFLAGS line, if
necessary.
John Hunter
More information about the Python-list
mailing list