Ultimaker / cura-build-environment

CMake project to build dependencies for Cura
GNU Affero General Public License v3.0
24 stars 55 forks source link

sqlite3 configure fails due to a wrong version of libtool #79

Open jellespijker opened 4 years ago

jellespijker commented 4 years ago

When building on a Arch based machine, where the libtool 2.4.6+gb88cebd5-10is installed (provided by the base-devel group) the configure command fails and complains about aclocal.m4 not generated with the correct version.

Running aclocal solves this problem.

Ghostkeeper commented 4 years ago

Not really sure about what we should do about this problem. Should we provide a patch to libtool? Or to sqlite?

Titome commented 4 years ago

Same problem here with Archlinux, my log :

[ 43%] Performing build step for 'sqlite3'
libtool: Version mismatch error.  This is libtool 2.4.6.42-b88ce-dirty, but the
libtool: definition of this LT_INIT comes from libtool 2.4.6.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.6.42-b88ce-dirty
libtool: and run autoconf again.
make[3]: *** [Makefile:536 : sqlite3.lo] Erreur 63
make[2]: *** [CMakeFiles/sqlite3.dir/build.make:135 : sqlite3-prefix/src/sqlite3-stamp/sqlite3-build] Erreur 2
make[1]: *** [CMakeFiles/Makefile2:455 : CMakeFiles/sqlite3.dir/all] Erreur 2
make: *** [Makefile:104 : all] Erreur 2

autoreconf -fvi command solve error, founded in StackOverFlow.