the jane install !

22 views
Skip to first unread message

xiaodong

unread,
Jun 4, 2011, 7:35:45 AM6/4/11
to jane Users, david...@dfki.de
hi ,

when I export the variables:
export CPPFLAGS=-I/media/sdb3/jane/
export LDFLAGS=-L/media/sdb3/jane/lib

it seems works, but other errors occur:

top@moses01:/media/sdb3/jane$ scons -j3
scons: Reading SConscript files ...
Checking whether the C++ compiler worksyes
error: no result
Checking whether the C++ compiler worksyes
error: no result
Checking for C++ library oolm_c... yes
Checking for C++ library NumericalRecipes... no
Checking for C++ library cppunit... yes
Not building #/bin/i686/optimizer.i686-standard because library
NumericalRecipes is missing.
scons: done reading SConscript files.
scons: Building targets ...
scons: `options.bash' is up to date.
scons: `options.zsh' is up to date.
scons: `queueSettings.bash' is up to date.
scons: `queueSettings.zsh' is up to date.
In file included from src/Optimization/OptimizeNBest.hh:9,
from src/Optimization/OptimizeNBest.cc:1:
src/Optimization/Mert.hh:9:18: error: term.h: no the file or directory
cc1plus: error: unrecognized command line option "-Wno-unused-result"
scons: *** [build/i686-standard/Optimization/OptimizeNBest.o] Error 1
scons: building terminated because of errors

Firstly , how to install NumericalRecipes C++ library under linux os
( ubuntu ).
Then, the g++ version may be wrong for compiling ,but I export the
variable CXX=g++-4.1

Thank you in advance


Reply all
Reply to author
Forward
0 new messages