Re: [Cppcms-users] Some build questions
Brought to you by:
artyom-beilis
From: Artyom <art...@ya...> - 2009-02-06 14:55:42
|
Hello, > The good news is that the dependencies in the documentation > were very > helpful to me, because i am a new comer to the Linux world > (Ubuntu > 8.10). After running the specified commands up to the > "make" > everything was fine. During the "make" unresolved > reference for strcmp > error was fixed by adding #include <string.h> in the > global_config.h > and then the same error for rand_r with #include > <cstdlib> to the > encryptor.cpp. Hope this is the right way? It could be > wrong because i > am not aware of the details using autotools yet. Thanks, Yes you absolutly right, I hadn't tested CppCMS with gcc-4.3 recently and it is much more restrictive. I have just fixed this in SVN trunk. > The last error which bothered me is a link problem: > > libtool: link: g++ -Wall -I./transtext -g -O2 -o > .libs/hello_world.fcgi hello_world_fcgi-hello_world.o > hello_world_fcgi-hello_world_view1.o > hello_world_fcgi-hello_world_view2.o ./.libs/libcppcms.so > -lboost_signals -lboost_iostreams -lboost_regex -ldl > /usr/lib/libcgicc.so /lib/libgcrypt.so > /usr/lib/libfcgi++.so > /usr/lib/libfcgi.so -lnsl /usr/lib/libmm.so > /work/cppcms/transtext/.libs/libcppcmstranstext.so > transtext/.libs/libcppcmstranstext.so > ./.libs/libcppcms.so: undefined reference to > `sqlite3_column_blob' > That is strange. Can you give me the tail of configure test. What is recognized and what isn't. At first point, in order to continue you may just reconfigure it with --disable-sqlite ./configure --disable-sqlite In order to solve the problem: Can you tell what sqlite packages are installed (output of): dpkg -l '*sqlite*' Including versions. Can you provide output of ldd .libs/libcppcms.so Thanks, Artyom |