← Back to team overview

yade-users team mailing list archive

回复: Re: Problem of installition on kubuntu8.04

 

I've installed libboost-date-time-dev and
libboost-date-time1.34.1 by "sudo apt-get install
libboost-date-time-dev libboost-date-time1.34.1" ,and
in the K menu->system->adept manager ,the status of
libboost-date-time-dev and libboost-date-time1.34.1
are installed.In fact all the packages in the result
list searched for libboost were all installed.
Below is the whole text of
/home/beautykiller/build-svn1387/config.log
----------------------------------------------
file /home/beautykiller/trunk/SConstruct,line 256:
	Configure(confdir =
/home/beautykiller/build-svn1387/.sconf_temp)
scons: Configure: Checking whether c++ compiler "g++"
works...
/home/beautykiller/build-svn1387/.sconf_temp/conftest_0.cpp
<-
  |#include<iostream>
  |int main(int argc,
char**argv){std::cerr<<std::endl;return 0;}
  |
g++ -o
/home/beautykiller/build-svn1387/.sconf_temp/conftest_0.o
-c
-I/home/beautykiller/build-svn1387/include/yade-svn1387
-I/home/beautykiller/build-svn1387/include/yade-svn1387/yade/lib-miniWm3
/home/beautykiller/build-svn1387/.sconf_temp/conftest_0.cpp
g++ -o
/home/beautykiller/build-svn1387/.sconf_temp/conftest_0
/home/beautykiller/build-svn1387/.sconf_temp/conftest_0.o
scons: Configure: yes

scons: Configure: Checking for pthread_exit(NULL) in C
library pthread... 
/home/beautykiller/build-svn1387/.sconf_temp/conftest_1.c
<-
  |
  |
  |#include "pthread.h"
  |
  |int
  |main() {
  |  pthread_exit(NULL);
  |return 0;
  |}
  |
gcc -o
/home/beautykiller/build-svn1387/.sconf_temp/conftest_1.o
-c
-I/home/beautykiller/build-svn1387/include/yade-svn1387
-I/home/beautykiller/build-svn1387/include/yade-svn1387/yade/lib-miniWm3
/home/beautykiller/build-svn1387/.sconf_temp/conftest_1.c
gcc -o
/home/beautykiller/build-svn1387/.sconf_temp/conftest_1
/home/beautykiller/build-svn1387/.sconf_temp/conftest_1.o
-lpthread
scons: Configure: yes

scons: Configure: Checking for glutGetModifiers() in C
library glut... 
/home/beautykiller/build-svn1387/.sconf_temp/conftest_2.c
<-
  |
  |
  |#include "GL/glut.h"
  |
  |int
  |main() {
  |  glutGetModifiers();
  |return 0;
  |}
  |
gcc -o
/home/beautykiller/build-svn1387/.sconf_temp/conftest_2.o
-c
-I/home/beautykiller/build-svn1387/include/yade-svn1387
-I/home/beautykiller/build-svn1387/include/yade-svn1387/yade/lib-miniWm3
/home/beautykiller/build-svn1387/.sconf_temp/conftest_2.c
gcc -o
/home/beautykiller/build-svn1387/.sconf_temp/conftest_2
/home/beautykiller/build-svn1387/.sconf_temp/conftest_2.o
-lpthread -lglut
scons: Configure: yes

scons: Configure: Checking for
boost::posix_time::time_duration::time_duration() in
C++ library boost_date_time-mt... 
/home/beautykiller/build-svn1387/.sconf_temp/conftest_3.cpp
<-
  |
  |
  |#include
"boost/date_time/posix_time/posix_time.hpp"
  |
  |int
  |main() {
  | 
boost::posix_time::time_duration::time_duration();
  |return 0;
  |}
  |
g++ -o
/home/beautykiller/build-svn1387/.sconf_temp/conftest_3.o
-c
-I/home/beautykiller/build-svn1387/include/yade-svn1387
-I/home/beautykiller/build-svn1387/include/yade-svn1387/yade/lib-miniWm3
/home/beautykiller/build-svn1387/.sconf_temp/conftest_3.cpp
In file included from
/usr/include/boost/date_time/gregorian/gregorian_io.hpp:12,
                 from
/usr/include/boost/date_time/gregorian/conversion.hpp:23,
                 from
/usr/include/boost/date_time/gregorian/gregorian.hpp:21,
                 from
/usr/include/boost/date_time/posix_time/time_formatters.hpp:12,
                 from
/usr/include/boost/date_time/posix_time/posix_time.hpp:24,
                 from
/home/beautykiller/build-svn1387/.sconf_temp/conftest_3.cpp:3:
/usr/include/boost/date_time/date_facet.hpp:560:
error: declaration of 'void
boost::date_time::date_input_facet<date_type, CharT,
InItrT>::special_values_parser(boost::date_time::special_values_parser<date_type,
charT>)'
/usr/include/boost/date_time/special_values_parser.hpp:34:
error: changes meaning of 'special_values_parser' from
'class
boost::date_time::special_values_parser<date_type,
charT>'
scons: Configure: no

scons: Configure: Checking for
boost::posix_time::time_duration::time_duration() in
C++ library boost_date_time... 
/home/beautykiller/build-svn1387/.sconf_temp/conftest_4.cpp
<-
  |
  |
  |#include
"boost/date_time/posix_time/posix_time.hpp"
  |
  |int
  |main() {
  | 
boost::posix_time::time_duration::time_duration();
  |return 0;
  |}
  |
g++ -o
/home/beautykiller/build-svn1387/.sconf_temp/conftest_4.o
-c
-I/home/beautykiller/build-svn1387/include/yade-svn1387
-I/home/beautykiller/build-svn1387/include/yade-svn1387/yade/lib-miniWm3
/home/beautykiller/build-svn1387/.sconf_temp/conftest_4.cpp
In file included from
/usr/include/boost/date_time/gregorian/gregorian_io.hpp:12,
                 from
/usr/include/boost/date_time/gregorian/conversion.hpp:23,
                 from
/usr/include/boost/date_time/gregorian/gregorian.hpp:21,
                 from
/usr/include/boost/date_time/posix_time/time_formatters.hpp:12,
                 from
/usr/include/boost/date_time/posix_time/posix_time.hpp:24,
                 from
/home/beautykiller/build-svn1387/.sconf_temp/conftest_4.cpp:3:
/usr/include/boost/date_time/date_facet.hpp:560:
error: declaration of 'void
boost::date_time::date_input_facet<date_type, CharT,
InItrT>::special_values_parser(boost::date_time::special_values_parser<date_type,
charT>)'
/usr/include/boost/date_time/special_values_parser.hpp:34:
error: changes meaning of 'special_values_parser' from
'class
boost::date_time::special_values_parser<date_type,
charT>'
scons: Configure: no

scons: Configure: Checking for boost::thread::thread()
in C++ library boost_thread-mt... 
/home/beautykiller/build-svn1387/.sconf_temp/conftest_5.cpp
<-
  |
  |
  |#include "boost/thread/thread.hpp"
  |
  |int
  |main() {
  |  boost::thread::thread();
  |return 0;
  |}
  |
g++ -o
/home/beautykiller/build-svn1387/.sconf_temp/conftest_5.o
-c
-I/home/beautykiller/build-svn1387/include/yade-svn1387
-I/home/beautykiller/build-svn1387/include/yade-svn1387/yade/lib-miniWm3
/home/beautykiller/build-svn1387/.sconf_temp/conftest_5.cpp
g++ -o
/home/beautykiller/build-svn1387/.sconf_temp/conftest_5
/home/beautykiller/build-svn1387/.sconf_temp/conftest_5.o
-lpthread -lglut -lboost_thread-mt
scons: Configure: yes

scons: Configure: Checking for
boost::filesystem::path() in C++ library
boost_filesystem-mt... 
/home/beautykiller/build-svn1387/.sconf_temp/conftest_6.cpp
<-
  |
  |
  |#include "boost/filesystem/path.hpp"
  |
  |int
  |main() {
  |  boost::filesystem::path();
  |return 0;
  |}
  |
g++ -o
/home/beautykiller/build-svn1387/.sconf_temp/conftest_6.o
-c
-I/home/beautykiller/build-svn1387/include/yade-svn1387
-I/home/beautykiller/build-svn1387/include/yade-svn1387/yade/lib-miniWm3
/home/beautykiller/build-svn1387/.sconf_temp/conftest_6.cpp
g++ -o
/home/beautykiller/build-svn1387/.sconf_temp/conftest_6
/home/beautykiller/build-svn1387/.sconf_temp/conftest_6.o
-lpthread -lglut -lboost_thread-mt
-lboost_filesystem-mt
scons: Configure: yes

scons: Configure: Checking for
boost::iostreams::file_sink("") in C++ library
boost_iostreams-mt... 
/home/beautykiller/build-svn1387/.sconf_temp/conftest_7.cpp
<-
  |
  |
  |#include "boost/iostreams/device/file.hpp"
  |
  |int
  |main() {
  |  boost::iostreams::file_sink("");
  |return 0;
  |}
  |
g++ -o
/home/beautykiller/build-svn1387/.sconf_temp/conftest_7.o
-c
-I/home/beautykiller/build-svn1387/include/yade-svn1387
-I/home/beautykiller/build-svn1387/include/yade-svn1387/yade/lib-miniWm3
/home/beautykiller/build-svn1387/.sconf_temp/conftest_7.cpp
g++ -o
/home/beautykiller/build-svn1387/.sconf_temp/conftest_7
/home/beautykiller/build-svn1387/.sconf_temp/conftest_7.o
-lpthread -lglut -lboost_thread-mt
-lboost_filesystem-mt -lboost_iostreams-mt
scons: Configure: yes

scons: Configure: Checking for C++ header file
boost/foreach.hpp... 
/home/beautykiller/build-svn1387/.sconf_temp/conftest_8.cpp
<-
  |
  |#include <boost/foreach.hpp>
  |
  |
g++ -o
/home/beautykiller/build-svn1387/.sconf_temp/conftest_8.o
-c
-I/home/beautykiller/build-svn1387/include/yade-svn1387
-I/home/beautykiller/build-svn1387/include/yade-svn1387/yade/lib-miniWm3
/home/beautykiller/build-svn1387/.sconf_temp/conftest_8.cpp
scons: Configure: yes

scons: Configure: Checking for qt-mt in
/usr/share/qt3... 
/home/beautykiller/build-svn1387/.sconf_temp/conftest_9.cpp
<-
  |#include<qapplication.h>
  |int main(int argc, char **argv){QApplication
qapp(argc, argv);return 0;}
  |
g++ -o
/home/beautykiller/build-svn1387/.sconf_temp/conftest_9.o
-c
-I/home/beautykiller/build-svn1387/include/yade-svn1387
-I/home/beautykiller/build-svn1387/include/yade-svn1387/yade/lib-miniWm3
-I/usr/share/qt3/include
/home/beautykiller/build-svn1387/.sconf_temp/conftest_9.cpp
g++ -o
/home/beautykiller/build-svn1387/.sconf_temp/conftest_9
/home/beautykiller/build-svn1387/.sconf_temp/conftest_9.o
-L/usr/share/qt3/lib -lpthread -lglut
-lboost_thread-mt -lboost_filesystem-mt
-lboost_iostreams-mt -lqt-mt
scons: Configure: yes
--------------------------------------------------------
Ps:
> NameError: name 'true' is not defined:
>   File "/home/beautykiller/trunk/SConstruct", line
> 287:
>     ok=true

The statement "ok=true" is added into sconstruct by
myself.I thought libboost were installed already so I
changed the flag "ok" to check whether scons can carry
on ignoring the errors on libboost-date-time.

Regards
Zhang Lin


      ___________________________________________________________ 
 雅虎邮箱,您的终生邮箱! 
http://cn.mail.yahoo.com/
_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-users

Follow ups

References