no dlfcn.h on MSYS (MINGW32) building on Windows

Paul Dufresne dufresnep at fastmail.fm
Fri Aug 5 10:03:30 PDT 2005


On Thu, 04 Aug 2005 23:30:46 -0700, "Lee Salzman" <lsalzman1 at cox.net>
said:
> No, the code does not need to be changed. The problem is that you are 
> not supposed to be using the 'unix' platform for Slate on MSYS. If you 
> read the Makefile, you need to use the 'mingw' platform.

Hum, then there is two things I failed to understand.
1) in Makefile.inc:
OS = $(shell uname -s)
uname suppose to work on Windows? Log at end of message shows it does
not.

2) How are you suppose to run libtool without MSYS?
There is indeed
http://prdownloads.sourceforge.net/mingw/libtool-1.5.14-mingwPORT.tar.bz2?download
but inside it I can read in the readme:
  1)Every mingwPORT requires MSYS, see http://www.mingw.org for download 
   instructions.
This make sense for libtool to require MSYS since it require to run
./configure
before making libtool.

I did download the make port on MinGW web site, changed the Makefile to
be:
...
#PLATFORM=unix
PLATFORM=mingw
#PLATFORM=beos
...

and then issued the mingw32-make command with the following result:
C:\msys\1.0\home\paul\Slate\slate-current-1>mingw32-make
wget -N http://slate.tunes.org/repos/alpha/AutoLoad
process_begin: CreateProcess((null), wget -N
http://slate.tunes.org/repos/alpha/
AutoLoad, ...) failed.
make (e=2): The system cannot find the file specified.
mingw32-make: [AutoLoad] Error 2 (ignored)
mingw32-make -C src/mobius/vm/platform/windows/
process_begin: CreateProcess((null), uname -s, ...) failed.
process_begin: CreateProcess((null), uname -s, ...) failed.
process_begin: CreateProcess((null), uname -s, ...) failed.
process_begin: CreateProcess((null), uname -s, ...) failed.
process_begin: CreateProcess((null), uname -s, ...) failed.
process_begin: CreateProcess((null), uname -s, ...) failed.
mingw32-make[1]: Entering directory
`C:/msys/1.0/home/paul/Slate/slate-current-1
/src/mobius/vm/platform/windows'
libtool --mode=compile gcc -O2 -fomit-frame-pointer -DNDEBUG=1 -s
-I../../../../
../src/mobius/vm/platform/includes -I. -I../../../../..
-DSLATE_DATADIR=\"/usr/s
hare/slate\" -o directory.o -c directory.c
process_begin: CreateProcess((null), uname -s, ...) failed.
process_begin: CreateProcess((null), libtool --mode=compile gcc -O2
-fomit-frame
-pointer -DNDEBUG=1 -s -I../../../../../src/mobius/vm/platform/includes
-I. -I..
/../../../.. -DSLATE_DATADIR=\"/usr/share/slate\" -o directory.o -c
directory.c,
 ...) failed.
make (e=2): The system cannot find the file specified.
mingw32-make[1]: *** [directory.o] Error 2
mingw32-make[1]: Leaving directory
`C:/msys/1.0/home/paul/Slate/slate-current-1/
src/mobius/vm/platform/windows'
mingw32-make: *** [mingw-build] Error 2

C:\msys\1.0\home\paul\Slate\slate-current-1>libtool
'libtool' is not recognized as an internal or external command,
operable program or batch file.

C:\msys\1.0\home\paul\Slate\slate-current-1>uname -s
'uname' is not recognized as an internal or external command,
operable program or batch file.




-- 
http://www.fastmail.fm - Accessible with your email software
                          or over the web




More information about the Slate mailing list