lilypond-devel
[Top][All Lists]
Advanced

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

Re: lilypond build on cygwin stucks


From: Jan Nieuwenhuizen
Subject: Re: lilypond build on cygwin stucks
Date: 17 Sep 2001 14:08:04 +0200

"Gerrit P. Haase" <address@hidden> writes:

> I got compiletime errors:
> In file included from /usr/include/kpathsea/kpathsea.h:27,
>                  from kpath.cc:19:
> /usr/include/kpathsea/getopt.h:99: redefinition of `struct option'
> /usr/include/getopt.h:46: previous definition here
> /usr/include/kpathsea/getopt.h:128: declaration of C function `int 
> getopt_long(int, char *
> const *, const char *, const option *, int *)' conflicts with
> /usr/include/getopt.h:56: previous declaration `int getopt_long(int, char **, 
> char *, opti
> on *, int *)' here
> make[1]: *** [out/kpath.o] Error 1
> make[1]: Leaving directory `/perl/stuff/sound/lilybuild/lilypond-1.4.7/lily'
> make: *** [all] Error 2

Ah' you're using cygwin > 1.3.2, there's a bug in the unistd.h/getopt
headers.  Try

CPPFLAGS="-I$PREFIX/include -I$PREFIX/include/w32api -D__GETOPT_H__" \
        ./configure --prefix=$PREFIX

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]