[Top][All Lists]

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

Re: Problems building under Solaris 8

From: Pete Young
Subject: Re: Problems building under Solaris 8
Date: Tue, 28 Jan 2003 19:36:21 -0000

24/01/2003 22:21:03, Han-Wen Nienhuys <address@hidden> wrote:

Hi Han-Wen,

Thanks for the response and sorry for not replying sooner. We've had one or two 
problems, you might have noticed  ;-)

>can you try with the most recent 1.7 (1.7.12, iirc)?

OK, I've attempted to build both the most recent development verson , 1.7.12 and
also the last stable version, 1.6.7 .

In both cases I've had to make the following modifications to the code in order 
to get
the code to compile:


#include "libc-extension"

to lily/ , lily/, lily/ and 
lily/ .

Moved the macosx hack defininition of my_isinf below the existing include
statement in (I guess there is maybe some #ifdef MACOSX 
directive that should really go round this?)

>       import lilylib
>       ly = lilylib

This fixes the problem in 1.7.12. 1.6.7 is OK anyway.

I now find that with both the development verson and the stable version, 
compilation fails, for apparently different reasons!

Here's how 1.6.7 (stable) breaks:

make[1]: Entering directory `/home/pete/cartman/lilypond-1.6.7/lily'
cp -p /home/pete/cartman/lilypond-1.6.7/config.h out/config.h
rm -f ./out/; DEPENDENCIES_OUTPUT="./out/ 
./out/" c++ -c   -DHAVE_CONFIG_H  -
DSTRING_UTILS_INLINED -Iinclude -I./out -I../flower/include -I../flower/./out 
-I../flower/include -O2 -finline-functions -g   -I/usr/local/include     
-O2 -finline-functions -g   -I/usr/local/include -Wall  -W -Wmissing-prototypes 
-Wconversion  -o out/
parser.yy: In function `int yyparse(void *)':
parser.yy:1962: warning: unused variable `class Input i'
parser.yy:1999: warning: unused variable `class Input i' parse error before `goto' warning: label `yyerrlab1' defined but not used
make[1]: *** [out/] Error 1
make[1]: Leaving directory `/home/pete/cartman/lilypond-1.6.7/lily'
make: *** [all] Error 2

And here's what happens to 1.7.12

Entering directory `/home/pete/cartman/lilypond-1.7.12/lily'
bison -o out/ parser.yy
parser.yy: conflicts: 2 shift/reduce
mv -f out/ # bison < 1.30
mv: cannot access
make[1]: [out/] Error 2 (ignored)
rm -f ./out/parser.dep; DEPENDENCIES_OUTPUT="./out/parser.dep ./out/parser.o" 
g++ -c   -DHAVE_CONFIG_H  -
DSTRING_UTILS_INLINED -Iinclude -I./out -I../flower/include -I../flower/./out 
-I../flower/include -O2 -finline-functions -g   -I/usr/local/include     
-O2 -finline-functions -g   -I/usr/local/include -Wall  -W -Wmissing-prototypes 
-Wconversion  -o out/parser.o out/
out/ In function `int yyparse(void *)':
out/ parse error before `goto'
out/ warning: label `yyerrlab1' defined but not used
make[1]: *** [out/parser.o] Error 1
rm out/
make[1]: Leaving directory `/home/pete/cartman/lilypond-1.7.12/lily'
make: *** [all] Error 2

I have the most recent version of bison that I could find on SunFreeware, 
bison-1.875 .

I would be grateful for any more suggestions. Needless to say, I can supply 
patches of the
changes I've made if you wish, and I'm happy to continue to test stuff on 
Solaris 8 if
that would be useful to the project.

Kind regards,


reply via email to

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