I am leaving this to the libtool gurus. I tried off-list to find
differences between Pascal's configuration where this breaks and mine
where it works. Completely without success, there is no visible
difference. I am giving up.
Pascal Lamboley wrote:
Hi,
I'm trying to install libmng2 needed for gimp2,
and the compilation fails near the end.
[]
This package uses all the auto tools:
aclocal
[]
glibtoolize --automake
automake --foreign --add-missing
configure.in: installing `./install-sh'
configure.in: installing `./missing'
autoconf
The configure file that is generated here is the one that produces the
libtool script. This configure file is exactly the same in Pascal's case
and in my case. Nevertheless his libtool script forgets to add the dylib
suffix and it doesn't handle the "~" correctly.
[]
<compilation ok, until this >
/bin/sh ./libtool --mode=link gcc -g -O2 -L/sw/lib -o libmng.la -rpath
/sw/lib -version-info 1:0:0 libmng_callba
ck_xs.lo libmng_chunk_io.lo libmng_chunk_prc.lo libmng_chunk_xs.lo
libmng_cms.lo libmng_display.lo libmng_dither.l
o libmng_error.lo libmng_filter.lo libmng_hlapi.lo libmng_jpeg.lo
libmng_object_prc.lo libmng_pixels.lo libmng_pro
p_xs.lo libmng_read.lo libmng_trace.lo libmng_write.lo libmng_zlib.lo
-lz -ljpeg -llcms
gcc -dynamiclib ${wl}-undefined ${wl}dynamic_lookup -o
.libs/libmng.1.0.0 .libs/libmng_callback_xs.o .libs/libmng
_chunk_io.o .libs/libmng_chunk_prc.o .libs/libmng_chunk_xs.o
.libs/libmng_cms.o .libs/libmng_display.o .libs/libmn
g_dither.o .libs/libmng_error.o .libs/libmng_filter.o
.libs/libmng_hlapi.o .libs/libmng_jpeg.o .libs/libmng_object
_prc.o .libs/libmng_pixels.o .libs/libmng_prop_xs.o .libs/libmng_read.o
.libs/libmng_trace.o .libs/libmng_write.o
.libs/libmng_zlib.o -L/sw/lib -lz /sw/lib/libjpeg.dylib
/sw/lib/liblcms.dylib -install_name /sw/lib/libmng.1 -c
ompatibility_version 2 -current_version 2.0
ld: warning -dylib_install_name /sw/lib/libmng.1 not found in segment
address table LD_SEG_ADDR_TABLE /sw/var/lib/
fink/prebound/seg_addr_table
(cd .libs && rm -f libmng.1 && ln -s libmng.1.0.0 libmng.1)
(cd .libs && rm -f libmng && ln -s libmng.1.0.0 libmng)
ar cru .libs/libmng.a libmng_callback_xs.o libmng_chunk_io.o
libmng_chunk_prc.o libmng_chunk_xs.o libmng_cms.o li
bmng_display.o libmng_dither.o libmng_error.o libmng_filter.o
libmng_hlapi.o libmng_jpeg.o libmng_object_prc.o lib
mng_pixels.o libmng_prop_xs.o libmng_read.o libmng_trace.o
libmng_write.o libmng_zlib.o~ranlib .libs/libmng.a
ar: libmng_zlib.o~ranlib: No such file or directory
make: *** [libmng.la] Error 1
### execution of make failed, exit code 2
Removing build lock...
/sw/bin/dpkg-lockwait -r fink-buildlock-libmng2-1.0.9-10
(Reading database ... 73750 files and directories currently installed.)
Removing fink-buildlock-libmng2-1.0.9-10 ...
Failed: phase compiling: libmng2-1.0.9-10 failed
I cannot understand how this "~" got into the way.
Any idea ?
--
Martin
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users