[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
network
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:
Added
#include "libc-extension"
to lily/beam.cc , lily/grob.cc, lily/spaceable-grob.cc and
lily/spacing-spanner.cc .
Moved the macosx hack defininition of my_isinf below the existing include
statement in lily-guile.cc (I guess there is maybe some #ifdef MACOSX
directive that should really go round this?)
>try
>
> 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/parser.tab.dep; DEPENDENCIES_OUTPUT="./out/parser.tab.dep
./out/parser.tab.o" 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.tab.o parser.tab.cc
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'
parser.tab.cc:4795: parse error before `goto'
parser.tab.cc:4786: warning: label `yyerrlab1' defined but not used
make[1]: *** [out/parser.tab.o] 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.cc parser.yy
parser.yy: conflicts: 2 shift/reduce
mv -f parser.yy.tab.c out/parser.cc # bison < 1.30
mv: cannot access parser.yy.tab.c
make[1]: [out/parser.cc] 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/parser.cc
out/parser.cc: In function `int yyparse(void *)':
out/parser.cc:4935: parse error before `goto'
out/parser.cc:4926: warning: label `yyerrlab1' defined but not used
make[1]: *** [out/parser.o] Error 1
rm out/parser.cc
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,
Pete