← Back to team overview

yade-users team mailing list archive

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

 

I add "deb http://ftp.de.debian.org/debian etch main" 
into sourcelist and apt-get update, then install
libboost-* 1.34.1-11 replaced the 1.34.1,now all the
"checking for..." are "yes".however I face another
problem.
Both 1387 and 1390 were downloaded through svn, and
neither can be compiled.
This is the output after "scons
PREFIX=/home/beautykiller/YADE optimize=1".
------------------------------------------------------
scons: Reading SConscript files ...
scons: Reading SConscript files ...
@@@ Using profile default (scons.profile-default) @@@
Yade version is `svn1390', installed files will be
suffixed with `-svn1390'.
All intermediary files will be in
`/home/beautykiller/build-svn1390'.
Checking whether c++ compiler "g++" works...(cached)
yes
Checking for pthread_exit(NULL) in C library
pthread... (cached) yes
Checking for glutGetModifiers() in C library glut...
(cached) yes
Checking for
boost::posix_time::time_duration::time_duration() in
C++ library boost_date_time-mt... (cached) yes
Checking for boost::thread::thread() in C++ library
boost_thread-mt... (cached) yes
Checking for boost::filesystem::path() in C++ library
boost_filesystem-mt... (cached) yes
Checking for boost::iostreams::file_sink("") in C++
library boost_iostreams-mt... (cached) yes
Checking for C++ header file boost/foreach.hpp...
(cached) yes
Checking for qt-mt in /usr/share/qt3... (cached) yes
Checking for log4cxx::Logger::getLogger("") in C++
library log4cxx... (cached) yes
Checking for Python development files... (cached) yes
Checking for boost::python::scope() in C++ library
boost_python-mt... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
C core/Body.cpp
C core/BodyContainer.cpp
C core/BoundingVolume.cpp
C core/DeusExMachina.cpp
In file included from
/home/beautykiller/build-svn1390/include/yade-svn1390/yade/lib-factory/ClassFactory.hpp:27,
                 from
/home/beautykiller/build-svn1390/include/yade-svn1390/yade/lib-factory/Factorable.hpp:14,
                 from
/home/beautykiller/build-svn1390/include/yade-svn1390/yade/lib-serialization/Serializable.hpp:24,
                 from core/BodyContainer.hpp:16,
                 from core/BodyContainer.cpp:11:
/home/beautykiller/build-svn1390/include/yade-svn1390/yade/lib-factory/DynLibManager.hpp:54:
error: multiple parameters named 'libName'
In file included from
/home/beautykiller/build-svn1390/include/yade-svn1390/yade/lib-serialization/Serializable.hpp:26,
                 from core/BodyContainer.hpp:16,
                 from core/BodyContainer.cpp:11:
/home/beautykiller/build-svn1390/include/yade-svn1390/yade/lib-serialization/Archive.hpp:275:
error: declaration of
'std::map<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
Archive::SerializableDescriptor,
std::less<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >>,
std::allocator<std::pair<const std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
Archive::SerializableDescriptor> > > Archive::map'
/usr/include/c++/4.3/bits/stl_map.h:92: error: changes
meaning of 'map' from 'class
std::map<SerializableTypes::Type, std::pair<void
(*)(std::ostream&, Archive&, int), void
(*)(std::istream&, Archive&, const std::string&)>,
std::less<SerializableTypes::Type>,
std::allocator<std::pair<const
SerializableTypes::Type, std::pair<void
(*)(std::ostream&, Archive&, int), void
(*)(std::istream&, Archive&, const std::string&)> > >
>'
In file included from
/home/beautykiller/build-svn1390/include/yade-svn1390/yade/lib-factory/ClassFactory.hpp:27,
                 from
/home/beautykiller/build-svn1390/include/yade-svn1390/yade/lib-factory/Factorable.hpp:14,
                 from
/home/beautykiller/build-svn1390/include/yade-svn1390/yade/lib-serialization/Serializable.hpp:24,
                 from core/GeometricalModel.hpp:15,
                 from core/Body.hpp:16,
                 from core/Body.cpp:11:
/home/beautykiller/build-svn1390/include/yade-svn1390/yade/lib-factory/DynLibManager.hpp:54:
error: multiple parameters named 'libName'
In file included from
/home/beautykiller/build-svn1390/include/yade-svn1390/yade/lib-serialization/Serializable.hpp:26,
                 from core/GeometricalModel.hpp:15,
                 from core/Body.hpp:16,
                 from core/Body.cpp:11:
/home/beautykiller/build-svn1390/include/yade-svn1390/yade/lib-serialization/Archive.hpp:275:
error: declaration of
'std::map<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
Archive::SerializableDescriptor,
std::less<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >>,
std::allocator<std::pair<const std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
Archive::SerializableDescriptor> > > Archive::map'
/usr/include/c++/4.3/bits/stl_map.h:92: error: changes
meaning of 'map' from 'class
std::map<SerializableTypes::Type, std::pair<void
(*)(std::ostream&, Archive&, int), void
(*)(std::istream&, Archive&, const std::string&)>,
std::less<SerializableTypes::Type>,
std::allocator<std::pair<const
SerializableTypes::Type, std::pair<void
(*)(std::ostream&, Archive&, int), void
(*)(std::istream&, Archive&, const std::string&)> > >
>'
In file included from
/home/beautykiller/build-svn1390/include/yade-svn1390/yade/lib-factory/ClassFactory.hpp:27,
                 from
/home/beautykiller/build-svn1390/include/yade-svn1390/yade/lib-factory/Factorable.hpp:14,
                 from
/home/beautykiller/build-svn1390/include/yade-svn1390/yade/lib-serialization/Serializable.hpp:24,
                 from
/home/beautykiller/build-svn1390/include/yade-svn1390/yade/core/Engine.hpp:14,
                 from core/DeusExMachina.hpp:14,
                 from core/DeusExMachina.cpp:9:
/home/beautykiller/build-svn1390/include/yade-svn1390/yade/lib-factory/DynLibManager.hpp:54:
error: multiple parameters named 'libName'
In file included from
/home/beautykiller/build-svn1390/include/yade-svn1390/yade/lib-factory/ClassFactory.hpp:27,
                 from
/home/beautykiller/build-svn1390/include/yade-svn1390/yade/lib-factory/Factorable.hpp:14,
                 from
/home/beautykiller/build-svn1390/include/yade-svn1390/yade/lib-serialization/Serializable.hpp:24,
                 from core/BoundingVolume.hpp:16,
                 from core/BoundingVolume.cpp:9:
/home/beautykiller/build-svn1390/include/yade-svn1390/yade/lib-factory/DynLibManager.hpp:54:
error: multiple parameters named 'libName'In file
included from
/home/beautykiller/build-svn1390/include/yade-svn1390/yade/lib-serialization/Serializable.hpp:26,
                 from
/home/beautykiller/build-svn1390/include/yade-svn1390/yade/core/Engine.hpp:14,
                 from core/DeusExMachina.hpp:14,
                 from core/DeusExMachina.cpp:9:
/home/beautykiller/build-svn1390/include/yade-svn1390/yade/lib-serialization/Archive.hpp:275:
error: declaration of
'std::map<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
Archive::SerializableDescriptor,
std::less<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >>,
std::allocator<std::pair<const std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
Archive::SerializableDescriptor> > > Archive::map'
/usr/include/c++/4.3/bits/stl_map.h:92: error: changes
meaning of 'map' from 'class
std::map<SerializableTypes::Type, std::pair<void
(*)(std::ostream&, Archive&, int), void
(*)(std::istream&, Archive&, const std::string&)>,
std::less<SerializableTypes::Type>,
std::allocator<std::pair<const
SerializableTypes::Type, std::pair<void
(*)(std::ostream&, Archive&, int), void
(*)(std::istream&, Archive&, const std::string&)> > >
>'

In file included from
/home/beautykiller/build-svn1390/include/yade-svn1390/yade/lib-serialization/Serializable.hpp:26,
                 from core/BoundingVolume.hpp:16,
                 from core/BoundingVolume.cpp:9:
/home/beautykiller/build-svn1390/include/yade-svn1390/yade/lib-serialization/Archive.hpp:275:
error: declaration of
'std::map<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
Archive::SerializableDescriptor,
std::less<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >>,
std::allocator<std::pair<const std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
Archive::SerializableDescriptor> > > Archive::map'
/usr/include/c++/4.3/bits/stl_map.h:92: error: changes
meaning of 'map' from 'class
std::map<SerializableTypes::Type, std::pair<void
(*)(std::ostream&, Archive&, int), void
(*)(std::istream&, Archive&, const std::string&)>,
std::less<SerializableTypes::Type>,
std::allocator<std::pair<const
SerializableTypes::Type, std::pair<void
(*)(std::ostream&, Archive&, int), void
(*)(std::istream&, Archive&, const std::string&)> > >
>'
scons: ***
[/home/beautykiller/build-svn1390/core/BodyContainer.o]
Error 1
scons: ***
[/home/beautykiller/build-svn1390/core/BoundingVolume.o]
Error 1
scons: ***
[/home/beautykiller/build-svn1390/core/Body.o] Error 1
scons: ***
[/home/beautykiller/build-svn1390/core/DeusExMachina.o]
Error 1
scons: building terminated because of errors.
--------------------------------------------------------------

Why it happen? Is it another bug or something
incompatible with my kubuntu? Mine is
kubuntu8.04kde4,which is said unstable.What can I do
now? Back to the stable kde3.5?will it better?
thanks!

 


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

Follow ups

References