-------- Original Message --------
Subject: Re: the jane install
Date: Fri, 03 Jun 2011 10:55:37 +0200
From: David Vilar <david...@dfki.de>
To: xiaodong <xiaod...@gmail.com>
CC: jane Users <jane-...@googlegroups.com>
Hi!
On 06/03/2011 04:41 AM, xiaodong wrote:
> top@moses01:/media/sdb3/jane$ scons -j3 SRILIBV=standard COMPILE=debug
> VERBOSE=full
> 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... no
> Error: The SRI LM Toolkit must be installed (under a "SRI" include
> dir)
You probably are missing to set the CPPFLAGS and LDFLAGS variables. From
your directory structure it seems it should be
export CPPFLAGS=-I/media/sdb3/jane/
export LDFLAGS=-L/media/sdb3/jane/lib
and try to run scons again.
Regards,
David
--
David Vilar Torres
DFKI GmbH, Alt-Moabit 91c, 10559 Berlin
Tel. (+49) 30 238 95 1845
--------------- Legal Note ---------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Strasse 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender), Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
there are a couple of errors:
On 06/04/2011 01:49 PM, xiaodong wrote:
> src/Optimization/Mert.hh:9:18: error: term.h: no the file or
> directory
This is actually an include from an older version and is not needed any
more. You can either install libncurses (-dev if you are using some
ubuntu/debian based system) or remove the include line in
src/Optimization/Mert.hh. Upcoming versions will not have this line.
> cc1plus: error: unrecognized command line option "-Wno-unused-result"
This is a flag in newer versions of g++ (I don't know exactly which
version included it first). If you do not want to update your gcc, you
can just remove or comment line 139 in the SConstruct file. You may have
some compiler warnings, though, but nothing crititcal.
> Firstly , how to install NumericalRecipes C++ library under linux os
> ( ubuntu ) and which version ?
For installing NumericalRecipes, you have first to purchase the book,
they are not freely available. In the CD included you find the needed
files. Note however that you do not need this library for normal usage
of Jane.
Best regards,