Hi, I just found one inaccuracy in tntdb build. It sets CXXFLAGS instead of CPPFLAGS in configure. I have fixed that some time ago in cxxtools and tntnet but not in tntdb. I don't really know, why it should matter but it is cleaner to use CPPFLAGS to set includes.
I pushed the change into git. Tommi Am 07.06.2013 22:19, schrieb Tommi Mäkitalo: > Hello Olaf, > > normally libpq-fe.h is checked at configure time and the compile flags > are set accordingly. I have no idea, why it did not work. Can you please > send me the config.log from the tntdb directory so that I can check, > what was wrong there. > > Tommi > > > Am 07.06.2013 20:40, schrieb Olaf Radicke: >> Hello! >> >> I try to compile Tntdb from the GitHub-Sources and get this error: >> >> make[1]: Leaving directory `/home/or/A-Z/g/git-repos/tntdb/src/mysql' >> Making all in src/postgresql >> make[1]: Entering directory `/home/or/A-Z/g/git-repos/tntdb/src/postgresql' >> /bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. >> -I../../src -I../../include -I../../include -I -Wno-long-long -Wall -pedantic >> -g -O2 -MT connection.lo -MD -MP -MF .deps/connection.Tpo -c -o >> connection.lo >> connection.cpp >> libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../src -I../../include >> -I../../include -I -Wno-long-long -Wall -pedantic -g -O2 -MT connection.lo >> -MD >> -MP -MF .deps/connection.Tpo -c connection.cpp -fPIC -DPIC -o >> .libs/connection.o >> In file included from connection.cpp:29:0: >> ../../include/tntdb/postgresql/impl/connection.h:34:22: fatal error: >> libpq-fe.h: >> No such file or directory >> compilation terminated. >> make[1]: *** [connection.lo] Fehler 1 >> make[1]: Leaving directory `/home/or/A-Z/g/git-repos/tntdb/src/postgresql' >> make: *** [all-recursive] Fehler 1 >> >> >> I us Linuxmint (Debian). The file is exist: >> >> freiburg ~ # find /usr -name '*libpq-fe*' >> /usr/include/postgresql/libpq-fe.h >> >> Any ideas? >> >> Best regards >> >> Olaf > ------------------------------------------------------------------------------ > How ServiceNow helps IT people transform IT departments: > 1. A cloud service to automate IT design, transition and operations > 2. Dashboards that offer high-level views of enterprise services > 3. A single system of record for all IT processes > http://p.sf.net/sfu/servicenow-d2d-j > _______________________________________________ > Tntnet-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tntnet-general ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j _______________________________________________ Tntnet-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tntnet-general
