logo       

make install fails on msys: msg#00031

lang.lua.luacheia

Subject: make install fails on msys

After slogging though a build of the sources with
./configure
make
the subsequent
make install
fails on liblualib with... (see below).

The files
liblualib-5.dll
liblualib.dll.a
are in
lua-5.0-proxy\.libs\

although while lua-5.0-proxy\liblua.la contains

# The name that we can dlopen(3).
dlname='liblua-5.dll'

# Names of this library.
library_names='liblua.dll.a'

lua-5.0-proxy\liblualib.la contains

# The name that we can dlopen(3).
dlname=''

# Names of this library.
library_names=''

so there is some inconsistency in how libtool is building the shared
libraries on msys.

Build details, FYI:

Windows XP
msys 1.0.10rc5
MinGW-3.1.0-1.exe plus
mingw gcc-core-3.3.3-20040217-1.tar.gz
mingw gcc-g++-3.3.3-20040217-1.tar.gz
mingw binutils-2.15.90-20040222-1.tar.gz

Thanks.

e

-=-

/bin/sh ../libtool --mode=install /bin/install -c liblualib.la
/usr/local/lib/liblualib.la
libtool: install: warning: relinking `liblualib.la'
(cd /home/e/luacheia5-5.0.1a5/lua-5.0-proxy; /bin/sh ../libtool --mode=relink
gcc "-DLUA_API=__declspec(dllexport)" -DUSE_DLL=1 -g -O2 -o liblualib.la -rpath
/usr/local/lib -version-info 5:0:0 -no-undefined lauxlib.lo lbaselib.lo
ldblib.lo liolib.lo lmathlib.lo lstrlib.lo ltablib.lo loadlib.lo -L. -llua )

*** Warning: linker path does not have real file for library -llua.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with liblua and none of the candidates passed a file format test
*** using a file magic. Last file checked: /usr/local/bin/liblua-5.dll
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.

*** Since this library must not contain undefined symbols,
*** because either the platform does not support them or
*** it was explicitly requested with -no-undefined,
*** libtool will only create a static version of it.
ar cru .libs/liblualib.a lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o
lstrlib.o ltablib.o loadlib.o
ranlib .libs/liblualib.a
creating liblualib.la
(cd .libs && rm -f liblualib.la && ln -s ../liblualib.la liblualib.la)
/bin/install -c .libs/liblualib.dll.aT /usr/local/lib/liblualib.dll.a
/bin/install: cannot stat `.libs/liblualib.dll.aT': No such file or directory
make[2]: *** [install-libLTLIBRARIES] Error 1



-------------------------------------------------------
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