-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/16/2011 02:23 PM, Ludovic Courtès wrote: > Can you try with a stock 7.2?
I've tried with the latest 7.2 tarball I've found at http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/ , i.e. the alpha5 of 2011-02-01; to make it quick yes, the thing worked, so the problem probably depended on libgc. Sorry for the noise. Anyway, I've noticed another glitch, which again may or may not be my fault. Testing 2.0.0 instead of git mainline. Downloaded from ftp, configured, compiled, installed. The only parameter I gave configure was - --prefix=/home/luca/usr . I've been doing that for years: my PATH, LIBRARY_PATH, LD_LIBRARY_PATH, and friends should be ok: [luca@optimum ~/projects-by-others/guile-2.0.0/doc/example-smob]$ env | grep home\/luca\/usr CPLUS_INCLUDE_PATH=/home/luca/usr/include:/usr/local/include:/usr/include:/usr/X11R6/include:/usr/include/X11 MANPATH=/home/luca/usr/man:/home/luca/usr/share/man:/usr/local/man:/usr/local/share/man:/usr/man:/usr/share/man:/usr/X11R6/man:/usr/X11R6/share/man OBJC_INCLUDE_PATH=/home/luca/usr/include:/usr/local/include:/usr/include:/usr/X11R6/include:/usr/include/X11 LIBRARY_PATH=/home/luca/usr/lib:/home/luca/usr/lib64:/lib:/usr/local/lib:/usr/lib:/usr/X11R6/lib:/lib64:/usr/local/lib64:/usr/lib64:/usr/X11R6/lib64 LD_LIBRARY_PATH=/home/luca/usr/lib:/home/luca/usr/lib64:/lib:/usr/local/lib:/usr/lib:/usr/X11R6/lib:/lib64:/usr/local/lib64:/usr/lib64:/usr/X11R6/lib64 CPATH=/home/luca/usr/include:/usr/local/include:/usr/include:/usr/X11R6/include:/usr/include/X11 PATH=/home/luca/bin:/home/luca/usr/bin:/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin C_INCLUDE_PATH=/home/luca/usr/include:/usr/local/include:/usr/include:/usr/X11R6/include:/usr/include/X11 INFOPATH=/home/luca/usr/info:/home/luca/usr/share/info:/usr/local/info:/usr/local/share/info:/usr/info:/usr/share/info:/usr/X11R6/info:/usr/X11R6/share/info I've found a pkg-config problem (occurring when I try to compile the exemple-smob example with the provided Makefile) which I don't remember seeing with git snapshots: [luca@optimum ~/projects-by-others/guile-2.0.0/doc/example-smob]$ pkg-config guile-2.0 --cflags Package guile-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `guile-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'guile-2.0' found This might have something to do with my unusual multiple prefixes, but it didn't happen with snapshots! guile-config still works fine. Is this the problem? I have this file: /home/luca/usr/lib/pkgconfig/guile-2.0.pc But nothing related to guile-2.0 in /home/luca/usr/lib/pkgconfig/ Now I don't have any other version of guile installed. I've never taken the time to really understand pkg-config, and I have to admit I'm somewhat prejudiced against it. Anyway, now Guile should even support installing several different versions; isn't there a clean way of using different prefixes with pkg-config? I really like to do that, because this allows me to use different prefixes for differently dangerous tests, rather than trashing /usr/local or /usr with all my experiments. If I ignore pkg-config for the moment and compile the SMOB example the old way, everything works: [luca@optimum ~/projects-by-others/guile-2.0.0/doc]$ cd example-smob/ [luca@optimum ~/projects-by-others/guile-2.0.0/doc/example-smob]$ ls total 24 4 ChangeLog-2008 4 Makefile 4 README 4 image-type.c 4 myguile.c 4 image-type.h [luca@optimum ~/projects-by-others/guile-2.0.0/doc/example-smob]$ gcc -c `guile-config compile` myguile.c [luca@optimum ~/projects-by-others/guile-2.0.0/doc/example-smob]$ gcc -c `guile-config compile` image-type.c [luca@optimum ~/projects-by-others/guile-2.0.0/doc/example-smob]$ gcc `guile-config link` image-type.o myguile.o [luca@optimum ~/projects-by-others/guile-2.0.0/doc/example-smob]$ ls total 44 4 ChangeLog-2008 4 Makefile 4 README 4 image-type.c 4 myguile.c 4 image-type.h 4 image-type.o 4 myguile.o 12 a.out* [luca@optimum ~/projects-by-others/guile-2.0.0/doc/example-smob]$ ./a.out GNU Guile 2.0.0 Copyright (C) 1995-2011 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. And this I can't crash guile by calling gc. So what I was speaking about in the previous messages was indeed a false alarm. Sorry. Thanks for 2.0 :-) - -- Luca Saiu http://www-lipn.univ-paris13.fr/~saiu GNU epsilon: http://www.gnu.org/software/epsilon Marionnet: http://www.marionnet.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1c7S0ACgkQvzOavibF0oZGSgCghzID9oB+Zv8e1zycCEi2lED1 epQAn0uPbvMbImC7n/+NHSb9Og6cXYpT =c1tg -----END PGP SIGNATURE-----