[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: configure bug?

From: Jan Nieuwenhuizen
Subject: Re: configure bug?
Date: Thu, 18 Jul 2002 22:10:59 +0200
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-debian-linux-gnu)

Geoffrey Lassner <address@hidden> writes:

>> > $ CFLAGS='-I/usr/local/include' LDFLAGS='-L/usr/local/lib' ./configure
>> > checking for python2.1/Python.h... no
>> Ok, so where *is* your Python.h?  You should try to locate which
>> package it provides, and where it lives.
> Here it is:
> % ls -l /usr/local/include/python2.1/Python.h 
> -r--r--r--  1 root  wheel  2747 Jul  1 13:59 
> /usr/local/include/python2.1/Python.h
> I am not sure why it is not picking it up now that the CFLAGS is set.

No, me neither.  What does your config.log have to say about this?  It
simply tries to compile a file that includes <python2.1/Python.h>.

Ah, I think that I know.  Try setting CPPFLAGS, like so:

    CPPFLAGS='-I/usr/local/include' LDFLAGS='-L/usr/local/lib' ./configure

(or else even 'CC=cc -I/usr/local/include').  Does that work?

Jan Nieuwenhuizen <address@hidden> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]