bug-lilypond
[Top][All Lists]
Advanced

[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 19:38:39 +0200
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-debian-linux-gnu)

Geoffrey Lassner <address@hidden> writes:

Hi Geoffrey,

>       I am not a compiling guru by any means but I do not believe
> that /usr/local is preferred:
>
> % cd /tmp
> % echo '#include <foo>' > foo.c
> % cc -v -c foo.c
> #include "..." search starts here:
> #include <...> search starts here:
>  /usr/include
>  /usr/include

Indeed, it isn't.  Probably, you should file a bug report to your gcc
package maintainer.  Here's what I get (Debian GNU/Linux unstable):

    GNU CPP version 2.95.4 20011002 (Debian prerelease) (i386 Linux/ELF)
    #include "..." search starts here:
    #include <...> search starts here:
     /usr/local/include
     /usr/lib/gcc-lib/i386-linux/2.95.4/include
     /usr/include
    End of search list.

> The solution below fixes everything except for python (although I do not
> remember having to fix that one before): 
>
> % sh
> $ CFLAGS='-I/usr/local/include' LDFLAGS='-L/usr/local/lib' ./configure

Good.

> checking for python2.2/Python.h... no
> checking for python2.1/Python.h... no
> checking for python2.0/Python.h... no
> checking for python2/Python.h... no
> checking for python/Python.h... no
> checking for python1.5/Python.h... no
> checking for Python.h... no

Ok, so where *is* your Python.h?  You should try to locate which
package it provides, and where it lives.

> If it makes any difference; I am using the version of python out 
> of the freebsd ports/packages collection:
>
> $ pkg_info | grep python 
> python-2.1.3        An interpreted object-oriented programming language

I don't have much if any experience with ports.  Is it possible to
install something like 'python-dev' or 'python-devel' separately?

> Also if it would help I could probably build a FreeBSD test machine 
> that you could try some builds on (if you want).

I don't think that would be necessary (yet); but if you want me to,
and get stuck, I would be glad to help out.  I assume that any fixes
you make for building LilyPond will be accepted by whomever maintains
the ports?

Jan.

-- 
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]