logo       

Re: Problems compiling luacheia with Mingw: msg#00046

lang.lua.luacheia

Subject: Re: Problems compiling luacheia with Mingw

Just to clarify a bit... my build problems are with starting from the
unpacked distribution archive and doing a
./configure
make

as far as I can see, this doesn't involve automake (directly) at all
since the archive has pre-built configure and Makefile.in files. It
looks like automake 1.7.9 was used to build these files.

I don't even have autotools installed!

Perhaps we should be discarding the configure and Makefile.in files
(and what else?) from the distribution, and rebuilding them with
autotools locally?

e

Wednesday, March 24, 2004, 10:50:24 AM, you wrote:

> There*s some info in the file HACKING about this, but it sadly lacks any
> note about version numbers (MinGW, autotools etc.)...

> My recent problem with OSX was due to the same problem (Panther only has
> automake 1.8, after installing 1.7.9 I'm perfectly happy now).

> So here maybe a short summary of my setup:

> MinGW 3.2
> MSYS 1.0
> msysDTK (1.0x), which gives me autotools (automake 1.7.2) and ssh, cvs etc.

> That's what I use on win32 and it works ok

> -Martin




> Doug Currie wrote:

>>>I have some problems when compiling luacheia (CVS version) with
>>>MinGW-3.1.0-1 and MSYS-1.0.10
>>>
>>>
>>
>>
>>
>>># ./configure
>>># make
>>>...
>>> gcc -DHAVE_CONFIG_H -I. -I. -I../../..
>>>-I/home/serge/luacheia/lua-5.0.1/include -g -O2 -MT gusu.lo -MD -MP -MF
>>>.deps/gusu.Tpo -c gusu.c -DDLL_EXPORT -DPIC -o .libs/gusu.o
>>>gusu.c: In function `gusu_opendir':
>>>gusu.c:81: parse error before '-' token
>>>
>>>
>>
>>This is an error in the header file winnt.h line 209
>>
>>winnt.h:209:
>>
>>#define INVALID_FILE_ATTRIBUTES (DWORD (-1))
>>
>>should be
>>
>>#define INVALID_FILE_ATTRIBUTES ((DWORD)(-1))
>>
>>and has been reported to the mingw team and fixed in their cvs.
>>
>>
>>
>>>[...]
>>>
>>>
>>
>>
>>
>>>Can anybody help me? What compiler configuration is used to build
>>>official luacheia win32 binaries by developers?
>>>
>>>
>>
>>Good question. I have been unable to build all of LuaCheia with
>>mingw/msys also. The problems seem libtool related since I can build
>>the individual projects, e.g., for luasockets. using the original (or
>>slightly hacked) makefiles, whereas the LuaCheia build for libsockets
>>doesn't work for me.
>>
>>e



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise