./prepare can't detect sqlite (also: trouble with cmake)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Listaller |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm trying to build Listaller on (K)ubuntu 12.04
(mainly I'd like to try the lig++ wrapper, which misses the buildlist binary if I apply the patch-fix and try to just use it)
On first run, the prepare script died without echoing a line!
I finally found that this happens here:
CMAKE=$(which cmake)
if cmake is not installed. (I inserted echos before and after this line, not sure why it fails)
Now I'm stuck at the following problem:
which sqlite
/usr/bin/sqlite
sqlite -version
2.8.17
./prepare --enable-libuild
-- Compiling Listaller version 0.5.5
-- checking for a minimum Vala version of 0.14
-- Could NOT find Sqlite (missing: SQLITE_INCLUDE_DIR SQLITE_LIBRARIES)
CMake Error at /usr/share/
Could NOT find LibArchive (missing: LibArchive_LIBRARY
LibArchive_
Call Stack (most recent call first):
/usr/
/usr/
src/CMakeList
-- Configuring incomplete, errors occurred!
Hmm, the prepare-script seems to confuse many people who don't read the README file... I think I'll remove it with the next release in release tarballs.
The logs tell me that you need sqlite and libarchive:
sudo apt-get install libsqlite3-dev libarchive-dev
You logs look like you have only installed the binaries and not the development packages.
If you want, you can try to compile the current Git snapshot, but it will need a newer PackageKit (PK >= 0.8.4).
lig++ is a pretty powerful tool, but you shouldn't need it (although it is sometimes needed to make a binary compatible with more distributions)
Cheers,
Matthias