On Tue, 07 Oct 2008 20:19:42 +0100, Peter Clifton wrote:
>> > display.so:display.c.text+0xd65): undefined reference to `_tputs'
>> [snip]
>>
>> These are symbol from lib[n]curses, which I don't think will be of much
>> use on windows, so I'd just forget about readline.
>>
>> > Consequently, configure of guile warns about a missing libreadline.
>> > If I try to compile anyway, I get:
>> >
>> > /usr/local/src/guile/guile-1.6.8$ make
>>
>> Why this version of guile?
I tried guile 1.8 but got stuck during configure. It required GMP and
GMP did not compile out of the box either. The README of guile said, the
dependency on GMP entered between 1.6 and 1.8. So I decided to go for the
older version.
I decided to try 1.8 again and now got gmp compiled and installed
successfully. The recommended test "make check" failed at some point:
FAIL: t-printf.exe
t-scanf.c:1495: GNU MP assertion failed: ret == (-1)
FAIL: t-scanf.exe
PASS: t-locale.exe
This may be because I did a cross compile. I wonder, how the other tests
could be done successfully?
My next stab at compile of guile 1.8 failed with this complaint:
cc1: warnings being treated as errors
stime.c:85: warning: ‘tzname’ redeclared without dllimport attribute:
previous dllimport ignored
After I removed the compile flag "-Werror" from the configure file the
build fails during link with complaints about various missing gdb
components:
$ make
(...)
i586-mingw32msvc-gcc -mms-bitfields -O2 -march=i586 -mms-bitfields -Wall
-Wmissing-prototypes .libs/guile.exeS.o -o guile.exe guile-guile.o
-Wl,--export-dynamic -L/usr/i586-mingw32msvc/mingw32/lib ./.libs/libguile.a
-lgmp -lws2_32 -lltdl
guile-guile.o:guile.c:(.text+0x28): undefined reference to
`__imp__scm_boot_guile'
guile-guile.o:guile.c:(.text+0x5b): undefined reference to `__imp__gdb_options'
(...)
Luckily, someone else seemed have solved the same problem in may 08 and
archived the solution in guiles mailing list:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg04404.html
He recommands to not define SCM_IMPORT in guile.c and configure with
option --disable-shared. So I patched guile.c and configure accordingly.
Now, the guile builds goes a long way until it fails to install
the documentation:
$ make
(...)
make[3]: Entering directory `/usr/local/src/guile/guile-1.8.4/libguile'
cat alist.doc arbiters.doc async.doc backtrace.doc boolean.doc chars.doc (...)
/usr/local/src/guile/guile-1.8.4/pre-inst-guile: line 94:
/usr/local/src/guile/guile-1.8.4/libguile/guile: No such file or directory
/usr/local/src/guile/guile-1.8.4/pre-inst-guile: line 94: exec:
/usr/local/src/guile/guile-1.8.4/libguile/guile: cannot execute: No such file
or directory
make[3]: *** [guile-procedures.texi] Error 1
make[3]: Leaving directory `/usr/local/src/guile/guile-1.8.4/libguile'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/guile/guile-1.8.4/libguile'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/guile/guile-1.8.4'
make: *** [all] Error 2
How do I tell the Makefile not to build texi docs?
---<(kaimartin)>---
--
Kai-Martin Knaak
http://lilalaser.de/blog
_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev