On Mon, Oct 29, 2001 at 08:50:16PM +0000, Michael Carmack wrote: Hello bug-guile.
The problem below still seems to be present in a recent CVS checkout. It seems that the environment variables that I have set are causing 'configure' to fail once it enters libltdl. Apparently the manner in which they're being passed causes configure to interpret them as a host specification. I don't think you need to explicitly pass the variables at all. Simply exporting the variables should be sufficient in making them available to the sub-configure scripts. (FWIW, this is the standard way that I build autoconf-based packages, and this is the only time ever seen this error.) ------------------------------------------------------------------ > > This affects 1.5.4, but not 1.4 or 1.3.2a. Apparently in some sort of > recursive configure, the original configure attempts to pass environment > variables, but during 'libltdl' this seems to cause a problem. Here is > the output: > > > configure: configuring in libltdl > configure: running /bin/sh './configure' >--prefix=/pkg/gnu/guile/1.5.4-build-default.1 >--bindir=/pkg/gnu/guile/1.5.4-build-default.1/bin >--sbindir=/pkg/gnu/guile/1.5.4-build-default.1/bin >--mandir=/pkg/gnu/guile/1.5.4-build-default.1/doc/man >--infodir=/pkg/gnu/guile/1.5.4-build-default.1/doc/info >--sysconfdir=/pkg/gnu/guile/1.5.4-build-default.1/etc >--libdir=/pkg/gnu/guile/1.5.4-build-default.1/lib >--includedir=/pkg/gnu/guile/1.5.4-build-default.1/include >--datadir=/pkg/gnu/guile/1.5.4-build-default.1/share 'CC=gcc >-L/pkg/gnu/glibc/2.1.3/lib -L/pkg/gnu/gcc/2.95.3/lib -L/pkg/kernel/linux/2.4.10/lib >-L/pkg/gnu/ncurses/5.2/lib -L/pkg/gnu/readline/4.1/lib' > configure: warning: CC=gcc -L/pkg/gnu/glibc/2.1.3/lib -L/pkg/gnu/gcc/2.95.3/lib >-L/pkg/kernel/linux/2.4.10/lib -L/pkg/gnu/ncurses/5.2/lib >-L/pkg/gnu/readline/4.1/lib: invalid host type > configure: error: can only configure for one host and one target at a time > configure: error: /bin/sh './configure' failed for libltdl > sed: can't read confdefs.h: No such file or directory > > > > Note that it looks like the same thing is done earlier during the configure > of 'guile-readline', and it doesn't cause any problems there. > > I wonder if this is even necessary though. If the variables need to be > available to the subshells invoked by 'configure', couldn't they simply > be exported? > > m. > > > > _______________________________________________ Bug-guile mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-guile
