[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[HTCondor-users] Build problem - sqlite3


while trying to build htcondor I can't seem to get the configuration process to detect sqlite3 properly.

The build process complains that "gce_gahp requires sqlite3 header"

As an attempt to fix this I installed the sqlite3 and libsqlite3-dev packages (Linux Mint).

The header is in /usr/include but the build process still does not set HAVE_SQLITE3_H which causes the message above.

I actually looked into the CheckIncludeFiles macro which is used to detect the header.

It just compiles a minimal C file with include <sqlite3.h> but fails compilation.

Funnily enough, when I create such a file myself and run it through gcc, it compiles.

cmake probably sets its own system include path somewhere but even adding the /usr/include explicitly into the top-level CMakeLists.txt did not help.

Anyone have an idea? This feels like it should have an obvious solution which I just can't see...


Krunoslav Sever            Deutsches Elektronen-Synchrotron (IT-Systems)
                        Ein Forschungszentrum der Helmholtz-Gemeinschaft
                                                            Notkestr. 85
phone:  +49-40-8998-1648                                   22607 Hamburg
e-mail: krunoslav.sever@xxxxxxx                                  Germany