cppcms-users Mailing List for CppCMS C++ Web Framework (Page 142)
Brought to you by:
artyom-beilis
You can subscribe to this list here.
2009 |
Jan
|
Feb
(22) |
Mar
|
Apr
(3) |
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
(15) |
Nov
(16) |
Dec
(13) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2010 |
Jan
(4) |
Feb
|
Mar
(8) |
Apr
(8) |
May
(8) |
Jun
(36) |
Jul
(63) |
Aug
(126) |
Sep
(47) |
Oct
(66) |
Nov
(46) |
Dec
(42) |
2011 |
Jan
(87) |
Feb
(24) |
Mar
(54) |
Apr
(21) |
May
(22) |
Jun
(18) |
Jul
(22) |
Aug
(101) |
Sep
(57) |
Oct
(33) |
Nov
(34) |
Dec
(66) |
2012 |
Jan
(64) |
Feb
(76) |
Mar
(73) |
Apr
(105) |
May
(93) |
Jun
(83) |
Jul
(84) |
Aug
(88) |
Sep
(57) |
Oct
(59) |
Nov
(35) |
Dec
(49) |
2013 |
Jan
(67) |
Feb
(17) |
Mar
(49) |
Apr
(64) |
May
(87) |
Jun
(64) |
Jul
(93) |
Aug
(23) |
Sep
(15) |
Oct
(16) |
Nov
(62) |
Dec
(73) |
2014 |
Jan
(5) |
Feb
(23) |
Mar
(21) |
Apr
(11) |
May
(1) |
Jun
(19) |
Jul
(27) |
Aug
(16) |
Sep
(5) |
Oct
(37) |
Nov
(12) |
Dec
(9) |
2015 |
Jan
(7) |
Feb
(7) |
Mar
(44) |
Apr
(28) |
May
(5) |
Jun
(12) |
Jul
(8) |
Aug
|
Sep
(39) |
Oct
(34) |
Nov
(30) |
Dec
(34) |
2016 |
Jan
(66) |
Feb
(23) |
Mar
(33) |
Apr
(15) |
May
(11) |
Jun
(15) |
Jul
(26) |
Aug
(4) |
Sep
(1) |
Oct
(30) |
Nov
(10) |
Dec
|
2017 |
Jan
(52) |
Feb
(9) |
Mar
(24) |
Apr
(16) |
May
(9) |
Jun
(12) |
Jul
(33) |
Aug
(8) |
Sep
|
Oct
(1) |
Nov
(2) |
Dec
(6) |
2018 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
(14) |
Jun
(1) |
Jul
(9) |
Aug
(1) |
Sep
(13) |
Oct
(8) |
Nov
(2) |
Dec
(2) |
2019 |
Jan
(1) |
Feb
(1) |
Mar
(3) |
Apr
(3) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
2020 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(9) |
Jul
(6) |
Aug
(25) |
Sep
(10) |
Oct
(10) |
Nov
(6) |
Dec
|
2021 |
Jan
|
Feb
|
Mar
(7) |
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(9) |
Oct
(1) |
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Artyom <art...@ya...> - 2009-02-07 12:34:23
|
Ok... Solution: Install missing dependecies: libboost-date-time1.35-dev Compilation of 0.0.2: Fix an issue with headers. run ./configure LIBS=-lrt --prefix=/usr Than compilation would work with no problems Compilation of trunk Install additional missing dependecy libtool Run svn update Then ./autogen.sh ./autogen.sh ./configure --prefix=/usr Then build with make. This should work now. Next time, please tell me that all sqlite3_* symbols are missing. Best, Artyom |
From: Stanimir M. <sta...@zo...> - 2009-02-06 18:18:09
|
On Fri, Feb 6, 2009 at 7:23 PM, Artyom <art...@ya...> wrote: > > Meanwhile, this should solve problem > > ./configure --disable-tcpcache --disable-sqlite --prefix=/usr > > Thank you very much! That helped this time and only one error left. 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 `clock_gettime' collect2: ld returned 1 exit status make[2]: *** [hello_world.fcgi] Error 1 make[2]: Leaving directory `/work/cppcms' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/work/cppcms' make: *** [all] Error 2 You should know that the documentation, the Rationale and everything behind cppcms is very well done. This is not my newbie Linux opinion but a more than intermediate programmer opinion :) By the way, in the Rationale - your last paragraph contains a question : "It would not run as native Win32API application or can be build and debugged using Microsoft tools. But, who cares?" My answer is that I care, because I have used to work with visual studio and very Micro$oft tools. But cppcms is one of the reasons to make me cross the line and give a try to Linux. I find it really good until now. Nothing worse then Windows and much better at many places. The problem will rise when i have to convince my colleagues to switch too. If i fail doing that then I better start searching for Visual Studio replacement, which will match for cppcms development well under Cygwin. Regards, Stanimir > > > > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |
From: Artyom <art...@ya...> - 2009-02-06 17:23:32
|
Meanwhile, this should solve problem ./configure --disable-tcpcache --disable-sqlite --prefix=/usr |
From: Artyom <art...@ya...> - 2009-02-06 17:18:27
|
Ok I'm downloading livecd and I'll test what happends ASAP. Artyom --- On Fri, 2/6/09, Stanimir Mladenov <sta...@zo...> wrote: > From: Stanimir Mladenov <sta...@zo...> > Subject: Re: [Cppcms-users] Some build questions > To: cpp...@li... > Date: Friday, February 6, 2009, 7:05 PM > On Fri, Feb 6, 2009 at 6:49 PM, Artyom > <art...@ya...> wrote: > > > > Ok Lets try this: > > > > ./configure LIBS="-lrt -lboost_system" > --disable-sqlite --prefix=/usr > > > > Id suggest to add --prefix=/usr for future when you > would install > > these libraries (because /usr/local/lib ususally not > default) > > > > Is it still gives you same error? > > > > Yes, the same error. I checked where is libboost and it is > really into > /usr/lib/ and not inside /usr/local/lib. However into > /usr/local/lib i > have only python2.5. > > I will paste the error again in case i miss something. > > 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 > `boost::system::get_posix_category()' > ./.libs/libcppcms.so: undefined reference to > `clock_gettime' > ./.libs/libcppcms.so: undefined reference to > `boost::system::get_system_category()' > collect2: ld returned 1 exit status > > > > > >> Actually me and you are doing these tests right > now :). It > >> is probably > >> the slowest test but i hope that this will help > cppcms to > >> become more > >> newbie friendly. > > > > Actually I'm working on Debian and try to figure > out what is > > broken under Ubuntu. I had managed to build and test > cleanly this project > > under Solaris, FreeBSD, Debian and Cygwin. I'm > quite > > surprised that this does not works for Ubuntu. > > > >> 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 > >> `boost::system::get_posix_category()' > >> ./.libs/libcppcms.so: undefined reference to > >> `clock_gettime' > >> ./.libs/libcppcms.so: undefined reference to > >> `boost::system::get_system_category()' > >> collect2: ld returned 1 exit status > >> make[2]: *** [hello_world.fcgi] Error 1 > >> make[2]: Leaving directory `/work/cppcms' > >> make[1]: *** [all-recursive] Error 1 > >> make[1]: Leaving directory `/work/cppcms' > >> make: *** [all] Error 2 > >> > > > > For what I can see there is no -lrt and -lboost_cppcms > > > > > > Artyom > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > Create and Deploy Rich Internet Apps outside the > browser with Adobe(R)AIR(TM) > > software. With Adobe AIR, Ajax developers can use > existing skills and code to > > build responsive, highly engaging applications that > combine the power of local > > resources and data with the reach of the web. Download > the Adobe AIR SDK and > > Ajax docs to start building applications > today-http://p.sf.net/sfu/adobe-com > > _______________________________________________ > > Cppcms-users mailing list > > Cpp...@li... > > > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser > with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing > skills and code to > build responsive, highly engaging applications that combine > the power of local > resources and data with the reach of the web. Download the > Adobe AIR SDK and > Ajax docs to start building applications > today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users |
From: Stanimir M. <sta...@zo...> - 2009-02-06 17:05:54
|
On Fri, Feb 6, 2009 at 6:49 PM, Artyom <art...@ya...> wrote: > > Ok Lets try this: > > ./configure LIBS="-lrt -lboost_system" --disable-sqlite --prefix=/usr > > Id suggest to add --prefix=/usr for future when you would install > these libraries (because /usr/local/lib ususally not default) > > Is it still gives you same error? > Yes, the same error. I checked where is libboost and it is really into /usr/lib/ and not inside /usr/local/lib. However into /usr/local/lib i have only python2.5. I will paste the error again in case i miss something. 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 `boost::system::get_posix_category()' ./.libs/libcppcms.so: undefined reference to `clock_gettime' ./.libs/libcppcms.so: undefined reference to `boost::system::get_system_category()' collect2: ld returned 1 exit status > >> Actually me and you are doing these tests right now :). It >> is probably >> the slowest test but i hope that this will help cppcms to >> become more >> newbie friendly. > > Actually I'm working on Debian and try to figure out what is > broken under Ubuntu. I had managed to build and test cleanly this project > under Solaris, FreeBSD, Debian and Cygwin. I'm quite > surprised that this does not works for Ubuntu. > >> 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 >> `boost::system::get_posix_category()' >> ./.libs/libcppcms.so: undefined reference to >> `clock_gettime' >> ./.libs/libcppcms.so: undefined reference to >> `boost::system::get_system_category()' >> collect2: ld returned 1 exit status >> make[2]: *** [hello_world.fcgi] Error 1 >> make[2]: Leaving directory `/work/cppcms' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/work/cppcms' >> make: *** [all] Error 2 >> > > For what I can see there is no -lrt and -lboost_cppcms > > > Artyom > > > > > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |
From: Artyom <art...@ya...> - 2009-02-06 16:49:51
|
Ok Lets try this: ./configure LIBS="-lrt -lboost_system" --disable-sqlite --prefix=/usr Id suggest to add --prefix=/usr for future when you would install these libraries (because /usr/local/lib ususally not default) Is it still gives you same error? > Actually me and you are doing these tests right now :). It > is probably > the slowest test but i hope that this will help cppcms to > become more > newbie friendly. Actually I'm working on Debian and try to figure out what is broken under Ubuntu. I had managed to build and test cleanly this project under Solaris, FreeBSD, Debian and Cygwin. I'm quite surprised that this does not works for Ubuntu. > 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 > `boost::system::get_posix_category()' > ./.libs/libcppcms.so: undefined reference to > `clock_gettime' > ./.libs/libcppcms.so: undefined reference to > `boost::system::get_system_category()' > collect2: ld returned 1 exit status > make[2]: *** [hello_world.fcgi] Error 1 > make[2]: Leaving directory `/work/cppcms' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/work/cppcms' > make: *** [all] Error 2 > For what I can see there is no -lrt and -lboost_cppcms Artyom |
From: Stanimir M. <sta...@zo...> - 2009-02-06 16:37:43
|
On Fri, Feb 6, 2009 at 6:07 PM, Artyom <art...@ya...> wrote: > > Ok, > > At this point I think this should fix the issue: > > ./configure LIBS="-lrt -lboost_system" --disable-sqlite > > > It seems to me that I should do some tests with livecd of ubunutu > as well ;). > Actually me and you are doing these tests right now :). It is probably the slowest test but i hope that this will help cppcms to become more newbie friendly. >> I am using svn trunk. When it failed i tried in another > > Try using trunk. When you using trunk > > Try to run svn update, maybe you just get some broken version > for short time. > > Go to directory and run > > svn update > I did a clean svn checkout and configured as you suggested. The same undefined reference popped as the last time. Here it is: 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 `boost::system::get_posix_category()' ./.libs/libcppcms.so: undefined reference to `clock_gettime' ./.libs/libcppcms.so: undefined reference to `boost::system::get_system_category()' collect2: ld returned 1 exit status make[2]: *** [hello_world.fcgi] Error 1 make[2]: Leaving directory `/work/cppcms' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/work/cppcms' make: *** [all] Error 2 > It looks like something is broken with configure and I don't know > what exactly. > > I already fixed headers issues you had told me about. > > BTW: it is not too much about Linux knowledge, it is about > compiling everithing with right tools and options. > > Artyom > > Thanks for your help, i enjoy it and learn more as we go! Stanimir |
From: Artyom <art...@ya...> - 2009-02-06 16:07:48
|
Ok, At this point I think this should fix the issue: ./configure LIBS="-lrt -lboost_system" --disable-sqlite It seems to me that I should do some tests with livecd of ubunutu as well ;). > I am using svn trunk. When it failed i tried in another Try using trunk. When you using trunk Try to run svn update, maybe you just get some broken version for short time. Go to directory and run svn update It looks like something is broken with configure and I don't know what exactly. I already fixed headers issues you had told me about. BTW: it is not too much about Linux knowledge, it is about compiling everithing with right tools and options. Artyom |
From: Stanimir M. <sta...@zo...> - 2009-02-06 15:47:50
|
On Fri, Feb 6, 2009 at 5:29 PM, Artyom <art...@ya...> wrote: > > Hi, > > Did configuration without sqlite helped? > Yes, it helped but not all is good. Here is the next error after running sudo ./configure --disable-sqlite 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 `boost::system::get_posix_category()' ./.libs/libcppcms.so: undefined reference to `clock_gettime' ./.libs/libcppcms.so: undefined reference to `boost::system::get_system_category()' collect2: ld returned 1 exit status make[2]: *** [hello_world.fcgi] Error 1 make[2]: Leaving directory `/work/cppcms' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/work/cppcms' make: *** [all] Error 2 > >> user@ubuntu:/work/cppcms$ sudo ./configure >> [sudo] password for user: > > > First, why do you run this as sudo? You should run only > the last step (make install) as root/sudoer. > > Do you run make as normal user and configure as root? > No, i did everything as root (with sudo) because it says permission denied. Like so: user@ubuntu:/work/cppcms$ ./configure --disable-sqlite ./configure: 53: cannot create conf5021.sh: Permission denied ./configure: 53: cannot create conf5021.sh: Permission denied chmod: cannot access `conf5021.sh': No such file or directory ./configure: line 44: conf5021.sh: Permission denied ./configure: line 45: conf5021.sh: Permission denied chmod: cannot access `conf5021.sh': No such file or directory mkdir: cannot create directory `conf5021.dir': Permission denied ./configure: line 499: conf5021.file: Permission denied ./configure: line 1591: config.log: Permission denied ./configure: line 1601: config.log: Permission denied I read some useful tutorials and info to get started with Linux but i am still a big newbie. If I make more trouble then help, then i will sit and learn more before asking again. > (Actually this is not connected to the problem I think). > >> > >> > Can you provide output of >> > >> > ldd .libs/libcppcms.so >> > >> > > Is this before configure --disable-sqlite or after? > This is before --disable-sqlite because i wanted to send you the output before trying it. > >> user@ubuntu:/work/cppcms$ ldd .libs/libcppcms.so >> linux-gate.so.1 => (0xb7f87000) >> libboost_signals.so.1.35.0 => >> /usr/lib/libboost_signals.so.1.35.0 (0xb7e9f000) >> libboost_iostreams.so.1.35.0 => >> /usr/lib/libboost_iostreams.so.1.35.0 >> (0xb7e93000) >> libboost_regex.so.1.35.0 => >> /usr/lib/libboost_regex.so.1.35.0 (0xb7df2000) >> libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 >> (0xb7dee000) >> libcgicc.so.5 => /usr/lib/libcgicc.so.5 (0xb7dc8000) >> libgcrypt.so.11 => /lib/libgcrypt.so.11 (0xb7d5f000) >> libfcgi++.so.0 => /usr/lib/libfcgi++.so.0 (0xb7d5a000) >> libfcgi.so.0 => /usr/lib/libfcgi.so.0 (0xb7d51000) >> libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 >> (0xb7d37000) >> libmm.so.14 => /usr/lib/libmm.so.14 (0xb7d32000) >> libcppcmstranstext.so.0 => >> /work/cppcms/transtext/.libs/libcppcmstranstext.so.0 >> (0xb7d1d000) >> libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7c2f000) >> libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7c09000) >> libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7aab000) >> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7a9b000) >> libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb7a8a000) >> libz.so.1 => /usr/lib/libz.so.1 (0xb7a74000) >> libicudata.so.38 => /usr/lib/libicudata.so.38 >> (0xb6f9d000) >> libicui18n.so.38 => /usr/lib/libicui18n.so.38 >> (0xb6e46000) >> libicuuc.so.38 => /usr/lib/libicuuc.so.38 (0xb6d1d000) >> /lib/ld-linux.so.2 (0xb7f88000) >> libgpg-error.so.0 => /lib/libgpg-error.so.0 >> (0xb6d19000) >> libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 >> (0xb6d00000) >> user@ubuntu:/work/cppcms$ >> > > Because I can't see sqlite in dependencies. > I will definitely read more for Linux. > > And the last, what is the version you are compiling 0.0.2 > or you are using svn trunk? I am using svn trunk. When it failed i tried in another directory with the tar.gz download. It was the same. > > Thanks, > Artyom > > > > > > > > ------------------------------------------------------------------------------ > Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) > software. With Adobe AIR, Ajax developers can use existing skills and code to > build responsive, highly engaging applications that combine the power of local > resources and data with the reach of the web. Download the Adobe AIR SDK and > Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |
From: Artyom <art...@ya...> - 2009-02-06 15:29:58
|
Hi, Did configuration without sqlite helped? > user@ubuntu:/work/cppcms$ sudo ./configure > [sudo] password for user: First, why do you run this as sudo? You should run only the last step (make install) as root/sudoer. Do you run make as normal user and configure as root? (Actually this is not connected to the problem I think). > > > > Can you provide output of > > > > ldd .libs/libcppcms.so > > > Is this before configure --disable-sqlite or after? > user@ubuntu:/work/cppcms$ ldd .libs/libcppcms.so > linux-gate.so.1 => (0xb7f87000) > libboost_signals.so.1.35.0 => > /usr/lib/libboost_signals.so.1.35.0 (0xb7e9f000) > libboost_iostreams.so.1.35.0 => > /usr/lib/libboost_iostreams.so.1.35.0 > (0xb7e93000) > libboost_regex.so.1.35.0 => > /usr/lib/libboost_regex.so.1.35.0 (0xb7df2000) > libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 > (0xb7dee000) > libcgicc.so.5 => /usr/lib/libcgicc.so.5 (0xb7dc8000) > libgcrypt.so.11 => /lib/libgcrypt.so.11 (0xb7d5f000) > libfcgi++.so.0 => /usr/lib/libfcgi++.so.0 (0xb7d5a000) > libfcgi.so.0 => /usr/lib/libfcgi.so.0 (0xb7d51000) > libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 > (0xb7d37000) > libmm.so.14 => /usr/lib/libmm.so.14 (0xb7d32000) > libcppcmstranstext.so.0 => > /work/cppcms/transtext/.libs/libcppcmstranstext.so.0 > (0xb7d1d000) > libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7c2f000) > libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7c09000) > libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7aab000) > libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7a9b000) > libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb7a8a000) > libz.so.1 => /usr/lib/libz.so.1 (0xb7a74000) > libicudata.so.38 => /usr/lib/libicudata.so.38 > (0xb6f9d000) > libicui18n.so.38 => /usr/lib/libicui18n.so.38 > (0xb6e46000) > libicuuc.so.38 => /usr/lib/libicuuc.so.38 (0xb6d1d000) > /lib/ld-linux.so.2 (0xb7f88000) > libgpg-error.so.0 => /lib/libgpg-error.so.0 > (0xb6d19000) > libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 > (0xb6d00000) > user@ubuntu:/work/cppcms$ > Because I can't see sqlite in dependencies. And the last, what is the version you are compiling 0.0.2 or you are using svn trunk? Thanks, Artyom |
From: Stanimir M. <sta...@zo...> - 2009-02-06 15:20:29
|
Note that it is a clean Ubuntu 8.10 with all last automatic updates. Then followed all your instructions to install the dependencies and build steps. The requested outputs are included bellow. On Fri, Feb 6, 2009 at 4:54 PM, Artyom <art...@ya...> wrote: > > 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. > user@ubuntu:/work/cppcms$ sudo ./configure [sudo] password for user: checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... g++ -E checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for library containing pthread_sigmask... -lpthread Check: process shared mutex... ok checking for main in -lmm... yes checking for main in -lfcgi++... yes checking for main in -lgcrypt... yes checking for sqlite3_open in -lsqlite3... yes C++0x auto... not supported C++0x decltype... not supported g++ typeof... ok Useful BOOST_TYPEOF... ok checking fastcgi/fcgiapp.h usability... no checking fastcgi/fcgiapp.h presence... no checking for fastcgi/fcgiapp.h ... no checking asio.hpp usability... no checking asio.hpp presence... no checking for asio.hpp... no checking boost/asio.hpp usability... yes checking boost/asio.hpp presence... yes checking for boost/asio.hpp... yes checking for main in -lboost_system... yes checking for main in -lcgicc... yes checking for dlopen in -ldl... yes checking for library containing socket... none required checking for library containing gethostbyname... none required checking for main in -lboost_regex... yes checking for main in -lboost_iostreams... yes checking for main in -lboost_signals... yes configure: creating ./config.status config.status: creating Makefile config.status: creating transtext/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands > 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*' > user@ubuntu:/work/cppcms$ dpkg -l '*sqlite*' Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-============================================ un libdbd-sqlite <none> (no description available) ii libmono-sqlite 1.9.1+dfsg-4ub Mono Sqlite library ii libsqlite0 2.8.17-4build1 SQLite shared library ii libsqlite3-0 3.5.9-3 SQLite 3 shared library ii libsqlite3-dev 3.5.9-3 SQLite 3 development files un python-pysqlit <none> (no description available) ii sqlite 2.8.17-4build1 command line interface for SQLite un sqlite-doc <none> (no description available) ii sqlite3 3.5.9-3 A command line interface for SQLite 3 un sqlite3-doc <none> (no description available) > Including versions. > > Can you provide output of > > ldd .libs/libcppcms.so > user@ubuntu:/work/cppcms$ ldd .libs/libcppcms.so linux-gate.so.1 => (0xb7f87000) libboost_signals.so.1.35.0 => /usr/lib/libboost_signals.so.1.35.0 (0xb7e9f000) libboost_iostreams.so.1.35.0 => /usr/lib/libboost_iostreams.so.1.35.0 (0xb7e93000) libboost_regex.so.1.35.0 => /usr/lib/libboost_regex.so.1.35.0 (0xb7df2000) libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7dee000) libcgicc.so.5 => /usr/lib/libcgicc.so.5 (0xb7dc8000) libgcrypt.so.11 => /lib/libgcrypt.so.11 (0xb7d5f000) libfcgi++.so.0 => /usr/lib/libfcgi++.so.0 (0xb7d5a000) libfcgi.so.0 => /usr/lib/libfcgi.so.0 (0xb7d51000) libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb7d37000) libmm.so.14 => /usr/lib/libmm.so.14 (0xb7d32000) libcppcmstranstext.so.0 => /work/cppcms/transtext/.libs/libcppcmstranstext.so.0 (0xb7d1d000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7c2f000) libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7c09000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7aab000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7a9b000) libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb7a8a000) libz.so.1 => /usr/lib/libz.so.1 (0xb7a74000) libicudata.so.38 => /usr/lib/libicudata.so.38 (0xb6f9d000) libicui18n.so.38 => /usr/lib/libicui18n.so.38 (0xb6e46000) libicuuc.so.38 => /usr/lib/libicuuc.so.38 (0xb6d1d000) /lib/ld-linux.so.2 (0xb7f88000) libgpg-error.so.0 => /lib/libgpg-error.so.0 (0xb6d19000) libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb6d00000) user@ubuntu:/work/cppcms$ > Thanks, > Artyom > > > > > > Greetings, Stanimir |
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 |
From: Stanimir M. <sta...@zo...> - 2009-02-06 14:35:15
|
First of all, congratulation Artyom about keeping the good work on cppcms and not giving up! I am considering to give a try to cppcms for a new project which is going to fit well for our needs. After reading your blog and documentation regularly with a big interest, I configured one machine with Ubuntu and tried to build cppcms. 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. It is sure that it will be much easier for you to have more advance users than me, at least with the linux enviroment, but I would be a good test for your framework with all the problems faced to me. 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' Of course i could think more and fix all these errors one by one but it seems to me that it should not be this way. What do you think? Stanimir |
From: Artyom <art...@ya...> - 2009-02-05 20:19:34
|
Test3 |
From: Artyom <art...@ya...> - 2009-02-05 19:28:44
|
test2 |
From: Artyom <art...@ya...> - 2009-02-05 19:20:13
|
Wellcome to CppCMS users list Artyom |