← Back to team overview

yade-dev team mailing list archive

[Bug 418107] Re: bzr1727 fails to compile on ubuntu 9.04

 

sorry for the false alarm. Indeed my bzr tree wasn't clean. And that's
because I just copied bzr dir from another computer, because in ubuntu
9.04 we don't have bzr 1.16 so I couldn't download trunk.

So I backported bzr 1.17 to 9.04 and then it worked, but only if I used
features=python,opengl otherwise, for "plain" compile (no options at
all) I get this error:

janek@janek-desktop:~/Y/trunk$ scons PREFIX=/home/janek/Z/BIN
scons: Reading SConscript files ...
@@@ Using profile default (scons.profile-default) @@@
Yade version is `bzr1726', installed files will be suffixed with `-bzr1726'.
All intermediary files will be in `/home/janek/Y/build-bzr1726'.
Mkdir("/home/janek/Y/build-bzr1726")
Checking whether c++ compiler "g++" works...yes
Checking for pthread_exit(NULL) in C library pthread... yes
Checking for boost::system::error_code(); /* non-essential */ in C++ library boost_system-mt... no
Checking for boost::system::error_code(); /* non-essential */ in C++ library boost_system... no
Checking for boost::thread::thread() in C++ library boost_thread-mt... yes
Checking for boost::posix_time::time_duration::time_duration() in C++ library boost_date_time-mt... yes
Checking for boost::filesystem::path() in C++ library boost_filesystem-mt... yes
Checking for boost::iostreams::file_sink("") in C++ library boost_iostreams-mt... yes
Checking for boost::regex("") in C++ library boost_regex-mt... yes
Checking for try{} catch (const boost::archive::archive_exception& e) {} in C++ library boost_serialization-mt... yes
Checking for boost::program_options::options_description o in C++ library boost_program_options-mt... yes
Checking for C++ header file boost/foreach.hpp... yes
Checking for sqlite3_close(0L) in C++ library sqlite3... yes
Checking for glutGetModifiers() in C library glut... yes
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found
OSError: 'pkg-config glib-2.0 --cflags --libs' exited 1:
  File "/home/janek/Y/trunk/SConstruct", line 333:
    env.ParseConfig('pkg-config glib-2.0 --cflags --libs');
  File "/usr/lib/scons/SCons/Environment.py", line 1447:
    return function(self, self.backtick(command))
  File "/usr/lib/scons/SCons/Environment.py", line 585:
    raise OSError("'%s' exited %d" % (command, status))

so something is missing, but only if I use all the features.
I installed all stuff from http://yade.wikia.com/wiki/Installation_of_yade_on_debian_or_kubuntu for 9.04 so apparently some package isn't listed there :) Remind you - I'm testing this on clean 9.04 install in vmware.

-- 
bzr1727 fails to compile on ubuntu 9.04
https://bugs.launchpad.net/bugs/418107
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.

Status in Yet Another Dynamic Engine: New

Bug description:
I even made a clean ubuntu 9.04 install under vmware to be sure that it's not some broken python configuration. When you type scons to compile you only get this error:

scons: Reading SCconscript files...
@@@ Using profile default (scons.profile default) @@@
TypeError: cannot concatenate 'str' and 'NoneType' objects:
  File "/home/janek/trunk/SConstruct", line 194:
    env['SUFFIX']='-'+env['version']+env['variant']


It doesn't even start checking what libraries are available.



References