Offline Software Installation on Ubuntu 8.04
Note: The following instructions are valid for NuWa releases before Upgrade that is before and including release 1.2.0. After the upgrade, there is no need for installing old g++-3.4 anymore. Other dependencies should remain as stated below.
The main issues experienced using Ubuntu have already been listed here.
Dependencies
Here you can find meta-package to resolve all known implicit dependencies for Ubuntu 8.04 Hardy. Simply download the .deb file and install it using gdebi:
sudo gdebi nuwaubuntudeps_0.2-0-ubuntu-8.04_all.deb
This installs the following packages (and their dependencies) if they were not installed yet:
g++-3.4, g++ (>= 4.1), libbz2-dev, libxp-dev, flex, uuid-dev, procmail, libxft-dev, libglu1-mesa-dev, libxi-dev, libxaw7-dev, libreadline5-dev
Back to Offline Software Installation, Offline Software Installation on Ubuntu.
Issues
gcc 3.4
gcc 3.4 is needed by gccxml since it had problems with 4.0 version. Antony reported successfull build of gccxml using gcc 4.1 on Ubuntu 7.10, but Taihsiang failed with 4.1 on Ubuntu 8.04(see below). On Ubuntu 8.04 native version of gcc is 4.2.
can not find some boost lib when compiling gaudi
Ubuntu 7.10 would not has this problem but 8.04 does. They are
/usr/bin/ld: cannot find -lboost_filesystem-gcc-mt /usr/bin/ld: cannot find -lboost_filesystem-gcc /usr/bin/ld: cannot find -lboost_program_options-gcc-mt /usr/bin/ld: cannot find -lboost_regex-gcc /usr/bin/ld: cannot find -lboost_thread-gcc-mt
manually solved by, if your compiler is gcc 4.1
ln -s libboost_filesystem-gcc41-mt.a libboost_filesystem-gcc-mt.a ln -s libboost_filesystem-gcc41.a libboost_filesystem-gcc.a ln -s libboost_program_options-gcc41-mt.a libboost_program_options-gcc-mt.a ln -s libboost_regex-gcc41.a libboost_regex-gcc.a ln -s libboost_thread-gcc41-mt.a libboost_thread-gcc-mt.a
The possible reason to cause this error might be dybinst read some gcc version info with some env variables which don't be defined or are defined in a different way from other OS. More detail, see
http://dayabay.phys.ntu.edu.tw/tracs/env/wiki/ThhoDybinst?version=13
mysql problem
OS | compiler | NuWa release |
---|---|---|
ubuntu 8.04 | gcc/g++-4.2 | 1.0.0 |
problem: lack of curses/termcap when building mysql
sudo apt-get install libncurses5-dev
Boost build problems
There was problem with building Boost on Ubuntu Hardy. It's got something to do with new version of compiler. However, workaround exists, and changes were commited to the svn trunk so as patch should be applyed on Boost bjam tool, and it's working now.
Root build problems
If the OS is Ubuntu 8.04 and the gcc/g++ is 4.1, root will failed when building because of the g77 problem. See
http://dayabay.phys.ntu.edu.tw/tracs/env/wiki/ThhoDybinst
http://dayabay.phys.ntu.edu.tw/tracs/env/ticket/118#comment:4
nosebit building error
OS | compiler | NuWa release |
---|---|---|
ubuntu 8.04 | gcc/g++-4.2 | 1.0.0 |
zipimport.ZipImportError: can't decompress data; zlib not available
For detail, see
http://dayabay.phys.ntu.edu.tw/tracs/env/wiki/ThhoDybinst
gaudi building failed
OS | compiler | NuWa release |
---|---|---|
ubuntu 8.04 | gcc/g++-4.2 | 1.0.0 |
gaudi building might fail because there is no Boost libs etc. But the Boost building pass the failing and show "done", even there is no Boost libs, headers...etc. has been installed.
This might be caused by the incorrect info of Ubuntu default gcc/g++-4.2 which the installation script got. This problem has been solved at trunk. Detail, please see
http://dayabay.phys.ntu.edu.tw/tracs/env/wiki/ThhoDybinst#NotallBoostlibrariesbuiltproperly.
Back to Offline Software Installation, Offline Software Installation on Ubuntu.