Hi, all there!
I'm trying to compile lily on an i686-linux-glibc-system, and 
meanwhile I have put some effort in setting up all the necessary
tools (since I started from a SUSE-5.2-libc5 distribution running
gcc-2.7.2.1).
The first thing that puzzled me was that configure seemingly didn't
find libguile although I definitely installed guile-1.3 (like glibc
in /usr/local). Well, actually this shouldn't really be a problem,
since by explicitely linking against libguile and libqthreads I
could easily remedy this.
(By the way, I did this by adding libguile.so and libqthreads.so to
libc.so and it worked, but I had better not do it this way, right?
May I use linker or libs flags instead or edit some makefile? - You
feel I'm not very experienced in these things, but I'd REALLY like
to use lily, so I beg your pardon for annoying you and continue.)
So far everything seemed to work, but when I did make check, I got 
an error message that lilypond failed. Then I straced lilypond and
found that it received SIGSEGV at once after printing the version
info. I will attach some output of make check and strace to this
mail, which will hopefully provide the necessary information about
what's wrong.
You could now argue there's an rpm which I could install instead of
trying to compile lily myself. I tried, but rpm complains about my
system not having all those tools I recently installed (glibc, libguile,
libreadline, ...). I linked them to /usr/lib and ran rpm --rebuilddb,
but that didn't help either.
So I'd be very glad if there was somebody, who could give me any hints
how to proceed further.
Thanks, David

[EMAIL PROTECTED]

************************************************************************
some configure output:

loading cache ./config.cache
Package: LILYPOND
Using local stepmake: ${prefix}/share/stepmake not found
checking host system type... i686-pc-linux-gnu
checking for make... (cached) make
checking for find... (cached) find
checking for tar... (cached) tar
checking for bash... (cached) /bin/sh
checking for python... (cached) /usr/bin/python
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C++ preprocessor... (cached) g++ -E
checking for c++... (cached) c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking for FlexLexer.h... (cached) yes
checking whether explicit instantiation is needed... (cached) no
checking for bison... (cached) bison -y
checking for bison... (cached) bison
checking for flex... (cached) flex
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking language... English
checking for gettext in -lintl... (cached) yes
checking for gettext... (cached) yes
checking for msgfmt... (cached) msgfmt
checking whether msgfmt accepts -o... yes
checking for mf... (cached) mf
checking for mp... (cached) mp
checking for striproff... no
checking for yodl... no
checking for yodl2html... no
checking for yodl2latex... no
checking for yodl2man... no
checking for yodl2msless... no
checking for yodl2texinfo... no
checking for yodl2txt... no
checking for gh_scm2doubles in -lguile... (cached) no
checking for readline in -lreadline... (cached) yes
checking for dlopen in -ldl... (cached) yes
checking for socket in -lsocket... (cached) no
checking for tgetent in -ltermcap... (cached) yes
checking for fabs in -lm... (cached) yes
checking for gh_doubles2scm in -lguile... (cached) no
configure: warning: You should install guile 1.3 or newer
checking for 8-bit clean memcmp... (cached) yes
checking for vprintf... (cached) yes
checking for memmem... (cached) yes
checking for snprintf... (cached) yes
checking for vsnprintf... (cached) yes
checking for gettext... (cached) yes
checking for makeinfo... (cached) makeinfo
configure: warning: can\'t find yodl. You should install Yodl 1.30.2 or newer
creating ./config.status
creating config.make
creating config.h
config.h is unchanged
configuring in stepmake
running /bin/sh ./configure  --prefix=/home/daffie/usr --enable-debugging 
--enable-checking --enable-guile --enable-printing --enable-optimise 
--enable-profiling --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
Stepmake package!
checking host system type... i686-pc-linux-gnu
checking for make... (cached) make
checking for find... (cached) find
checking for tar... (cached) tar
checking for bash... (cached) /bin/sh
checking for python... (cached) /usr/bin/python
checking language... English
checking for striproff... no
checking for yodl... no
checking for yodl2html... no
checking for yodl2latex... no
checking for yodl2man... no
checking for yodl2msless... no
checking for yodl2texinfo... no
checking for yodl2txt... no
checking for makeinfo... (cached) makeinfo
creating ./config.status
creating config.make
creating config.hh
config.hh is unchanged

***********************************************************************
some make check output:

make[1]: Entering directory `/home/daffie/lilypond/lilypond-1.1.21/input'
/usr/bin/python ../scripts/ly2dvi.py -o out  praeludium-fuga-E.ly 
ly2dvi 0.0.9
executing: lilypond -I "/home/daffie/lilypond/lilypond-1.1.21/scm" -I 
"/home/daffie/lilypond/lilypond-1.1.21/init" -I 
"/home/daffie/lilypond/lilypond-1.1.21/mf/out" -I "" praeludium-fuga-E.ly 2>&1
GNU LilyPond 1.1.21.
ly2dvi: Lilypond failed: lilypond -I "/home/daffie/lilypond/lilypond-1.1.21/scm" -I 
"/home/daffie/lilypond/lilypond-1.1.21/init" -I 
"/home/daffie/lilypond/lilypond-1.1.21/mf/out" -I "" praeludium-fuga-E.ly 2>&1
make[1]: *** [out/praeludium-fuga-E.dvi] Error 10
make[1]: Leaving directory `/home/daffie/lilypond/lilypond-1.1.21/input'
make: *** [check] Error 2

***********************************************************************
some strace output:

execve("./lily/out/lilypond", ["./lily/out/lilypond", "-v"], [/* 57 vars */]) = 0
brk(0)                                  = 0x82d351c
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=8231, ...}) = 0
mmap(0, 8231, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4000c000
close(3)                                = 0
open("/usr/local/lib/libncurses.so.4", O_RDONLY) = 3
mmap(0, 4096, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4000f000
munmap(0x4000f000, 4096)                = 0
mmap(0, 255852, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4000f000
mprotect(0x40042000, 46956, PROT_NONE)  = 0
mmap(0x40042000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x32000) = 
0x40042000
mmap(0x4004a000, 14188, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 
0) = 0x4004a000
close(3)                                = 0
open("/usr/local/lib/libdl.so.2", O_RDONLY) = 3
mmap(0, 4096, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4004e000
munmap(0x4004e000, 4096)                = 0
mmap(0, 13952, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4004e000
mprotect(0x40051000, 1664, PROT_NONE)   = 0
mmap(0x40051000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 
0x40051000
close(3)                                = 0
open("/usr/local/lib/libreadline.so", O_RDONLY) = 3
mmap(0, 4096, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40052000
munmap(0x40052000, 4096)                = 0
mmap(0, 130804, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40052000
mprotect(0x4006d000, 20212, PROT_NONE)  = 0
mmap(0x4006d000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1a000) = 
0x4006d000
close(3)                                = 0
open("/usr/local/lib/libstdc++.so.2.8", O_RDONLY) = 3
mmap(0, 4096, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40072000
munmap(0x40072000, 4096)                = 0
mmap(0, 300132, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40072000
mprotect(0x400a4000, 95332, PROT_NONE)  = 0
mmap(0x400a4000, 90112, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x31000) = 
0x400a4000
mmap(0x400ba000, 5220, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 
0) = 0x400ba000
close(3)                                = 0
open("/usr/local/lib/libm.so.6", O_RDONLY) = 3
mmap(0, 4096, PROT_READ, MAP_PRIVATE, 3, 0) = 0x400bc000
munmap(0x400bc000, 4096)                = 0
mmap(0, 99152, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x400bc000
mprotect(0x400d3000, 4944, PROT_NONE)   = 0
mmap(0x400d3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x16000) = 
0x400d3000
close(3)                                = 0
open("/usr/local/lib/libc.so.6", O_RDONLY) = 3
mmap(0, 4096, PROT_READ, MAP_PRIVATE, 3, 0) = 0x400d5000
munmap(0x400d5000, 4096)                = 0
mmap(0, 660344, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x400d5000
mprotect(0x40163000, 78712, PROT_NONE)  = 0
mmap(0x40164000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x8e000) = 
0x40164000
mmap(0x4016b000, 45944, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 
0) = 0x4016b000
close(3)                                = 0
open("/usr/local/lib/libguile.so.4", O_RDONLY) = 3
mmap(0, 4096, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40177000
munmap(0x40177000, 4096)                = 0
mmap(0, 432776, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40177000
mprotect(0x401da000, 27272, PROT_NONE)  = 0
mmap(0x401da000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x62000) = 
0x401da000
mmap(0x401df000, 6792, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 
0) = 0x401df000
close(3)                                = 0
open("/usr/local/lib/libqthreads.so.0", O_RDONLY) = 3
mmap(0, 4096, PROT_READ, MAP_PRIVATE, 3, 0) = 0x401e1000
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401e2000
munmap(0x401e1000, 4096)                = 0
mmap(0, 10660, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x401e3000
mprotect(0x401e5000, 2468, PROT_NONE)   = 0
mmap(0x401e5000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 
0x401e5000
close(3)                                = 0
open("/usr/local/lib/libcrypt.so.1", O_RDONLY) = 3
mmap(0, 4096, PROT_READ, MAP_PRIVATE, 3, 0) = 0x401e1000
munmap(0x401e1000, 4096)                = 0
mmap(0, 186296, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x401e6000
mprotect(0x401ec000, 161720, PROT_NONE) = 0
mmap(0x401ec000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x5000) = 
0x401ec000
mmap(0x401ed000, 157624, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, 
-1, 0) = 0x401ed000
close(3)                                = 0
mprotect(0x401e6000, 24576, PROT_READ|PROT_WRITE) = 0
mprotect(0x401e6000, 24576, PROT_READ|PROT_EXEC) = 0
mprotect(0x401e3000, 8192, PROT_READ|PROT_WRITE) = 0
mprotect(0x401e3000, 8192, PROT_READ|PROT_EXEC) = 0
mprotect(0x40177000, 405504, PROT_READ|PROT_WRITE) = 0
mprotect(0x40177000, 405504, PROT_READ|PROT_EXEC) = 0
mprotect(0x400d5000, 581632, PROT_READ|PROT_WRITE) = 0
mprotect(0x400d5000, 581632, PROT_READ|PROT_EXEC) = 0
mprotect(0x400bc000, 94208, PROT_READ|PROT_WRITE) = 0
mprotect(0x400bc000, 94208, PROT_READ|PROT_EXEC) = 0
mprotect(0x40072000, 204800, PROT_READ|PROT_WRITE) = 0
mprotect(0x40072000, 204800, PROT_READ|PROT_EXEC) = 0
mprotect(0x40052000, 110592, PROT_READ|PROT_WRITE) = 0
mprotect(0x40052000, 110592, PROT_READ|PROT_EXEC) = 0
mprotect(0x4004e000, 12288, PROT_READ|PROT_WRITE) = 0
mprotect(0x4004e000, 12288, PROT_READ|PROT_EXEC) = 0
mprotect(0x4000f000, 208896, PROT_READ|PROT_WRITE) = 0
mprotect(0x4000f000, 208896, PROT_READ|PROT_EXEC) = 0
mmap(0, 1691648, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40214000
sigaction(SIGPROF, {0x40147410, ~[], SA_RESTART}, {SIG_DFL}) = 0
setitimer(ITIMER_PROF, {it_interval={0, 1}, it_value={0, 1}}, {it_interval={0, 0}, 
it_value={0, 0}}) = 0
personality(PER_LINUX)                  = 0
getpid()                                = 10448
brk(0)                                  = 0x82d351c
brk(0x82d354c)                          = 0x82d354c
brk(0x82d4000)                          = 0x82d4000
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0664) = 3
open("/dev/null", O_RDONLY)             = 4
close(4)                                = 0
brk(0x82d5000)                          = 0x82d5000
open("/dev/null", O_RDONLY)             = 4
fstat(4, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3), ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401e1000
ioctl(4, TCGETS, 0xbffff3ac)            = -1 ENOTTY (Not a typewriter)
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x401e1000, 4096)                = 0
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC, 0664) = 4
brk(0x82d6000)                          = 0x82d6000
open(".dstreamrc", O_RDONLY)            = -1 ENOENT (No such file or directory)
write(2, "GNU LilyPond 1.1.21.", 20GNU LilyPond 1.1.21.)    = 20
write(2, "\n", 1
)                       = 1
brk(0x82d7000)                          = 0x82d7000
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++


Reply via email to