Am Montag, 6. Januar 2014 um 12:13:25, schrieb Kornel Benko <[email protected]> > Am Montag, 6. Januar 2014 um 23:43:27, schrieb Wirz <[email protected]> > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Hi Kornel, > > > > I ran into the same problem (Debian 7.3). > > > > > 2.) I could not find appropriate debian package to replace it. > > > > That's what surprised me most: stable, unstable and testing have the > > same version that is behind the lcms-git by more than a year. I sent an > > email to the maintainer of the Debian liblcms a week ago -- no reply yet > > (it's a likely time to be on holiday, I know). I can't be sure of > > course but I have the suspicion that the position of the > > Debian-lcms-maintainer is vacant. > > > > > 3.) the try to compile from https://github.com leads to > > > make[1]: Entering directory `/usr2/src/lmcs/build/src' > > > /bin/bash ../libtool --tag=CC --mode=compile gcc -std=gnu99 > > > -DPACKAGE_NAME=\"lcms2\" -DPACKAGE_TARNAME=\"lcms2\" > > > -DPACKAGE_VERSION=\"2.5\" -DPACKAGE_STRING=\"lcms2\ 2.5\" > > > -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 > > > -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 > > > -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 > > > -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 > > > -DLT_OBJDIR=\".libs/\" -DHasJPEG=1 -DHasZLIB=1 -DHasTIFF=1 > > > -DHAVE_TIFFCONF_H=1 -I. -I../../Little-CMS/src -I../include > > > -I../../Little-CMS/include -g -O2 -MT cmscnvrt.lo -MD -MP -MF > > > .deps/cmscnvrt.Tpo -c -o cmscnvrt.lo ../../Little-CMS/src/cmscnvrt.c > > > libtool: Version mismatch error. This is libtool 2.4, but the > > > libtool: definition of this LT_INIT comes from libtool 2.4.2. > > > libtool: You should recreate aclocal.m4 with macros from libtool 2.4 > > > > Fortunately in my case cloning the repo, 'configure; make; sudo make > > install' do the trick. > > I did effectively the same. > 1.) cloning the repo into dir Little-CMS > 2.) mkdir build # I prefer builds outside the source > 3.) cd build > 4.) ../Little-CMS/autogen.sh # This does aclocal/automake/configure > steps > > Trying now directly _only_ configure in the source dir ... > > This ends with the same error.
It turns out, that the file ../libtool (created while configuring lcms) was not
OK here.
I copied the 'official' over it
# cp /usr/bin/libtool ../libtool
Now the compilation was OK.
The default installation is into /usr/local/lib, therefore I had to add
this directory to CMakeModules/FindLCMS2.cmake too.
Kornel
signature.asc
Description: This is a digitally signed message part.
