chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] mingw_libdir bug


From: Brandon J. Van Every
Subject: [Chicken-users] mingw_libdir bug
Date: Sun, 25 Sep 2005 04:17:32 -0700
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

I'm trying to build Chicken 2.0 using MinGW 3.4.4 on Windows 2000. When running ./configure on clean sources, the following nonsensical line appears in the output:

checking for d:/lang/MinGW/bin/../lib/gcc/mingw32/3.4.4/../../../../mingw32/bin/ld.exe/libws2_32.a... no
unknown MinGW configuration

ld.exe is an executable, not a directory. It appears that the following lines are setting mingw_libdir to garbage:

if test -n "${mingw_system}"; then
mingw_libdir=`mingw32-gcc -print-prog-name=ld | sed 's%/lib/gcc-lib/.*%/lib%'`
 as_ac_File=`echo "ac_cv_file_${mingw_libdir}/libws2_32.a" | $as_tr_sh`

Ultimately this causes errors in posix.c because posixwin.scm is never used. A workaround is to set mingw_libdir explicitly at this point in the ./configure script. I"m not enough of an autoconf guru to know how to ultimately solve this problem.

Also, per the README, I:
     2) edited Makefile to set BOOTSTRAP_PATH = /d/devel/mingw/chicken-2.0
     3) edited libtool, change 'deplibs_check_method' value to "pass_all"
     4) mkdir $MINGWDIR/lib/.libs;
        cp $MINGWDIR/lib/libws2_32.a $MINGWDIR/lib/.libs
        where MINGWDIR is the where MinGW is installed

Now I get:

/d/devel/mingw/chicken-2.0/chicken posixwin.scm -quiet -debug-level 0 -optimize-level 2 -include-path . -output-file posix.c -explicit-use
/bin/sh: /d/devel/mingw/chicken-2.0/chicken: No such file or directory
make[1]: *** [posix.c] Error 127
make[1]: Leaving directory `/d/devel/mingw/chicken-2.0'
make: *** [all] Error 2

So, have the dependencies for the bootstrap become cyclic? It's 4:15 am, I'm too tired to figure this out anymore...


Cheers,
Brandon J. Van Every
   (cruise (director (of SeaFunc)
           '(Seattle Functional Programmers)))
http://groups.yahoo.com/group/SeaFunc





reply via email to

[Prev in Thread] Current Thread [Next in Thread]