yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #01232
Re: How to override new boost version with old one?
Hi, Vaclav:
Sorry it seems I didn't describe the problem precisely, the situation is, the cluster has its own version of boost 1.32 (Redhat 4.6), when I execute scons, I think scons will look for a boost in the default /usr/include/boost, I think I need to let scons know it should not use the old version 1.32 in /usr/include/boost, but in my new compiled directory (which I have access to): /data/DEM-CFD/boost136, and I tried add the CPPPATH=/data/DEM-CFD/boost136/include and LIBPATH=/data/DEM-CFD/boost136/lib
but when executing the scons, it is not finding the boost 1.36 in that directory but still using the default /usr/include/boost
attached is the config.log, hope it would be useful, thanks!
//===========================================================================================================
[fchen3@newton build-0.12.0]$ nano config.log
GNU nano 1.2.4 File: config.log
|
|
g++ -o /data/DEM-CFD/build-0.12.0/.sconf_temp/conftest_13.o -c -I/data/DEM-CFD/sqlite/include -I/data/DEM-CFD/build-0.12.0/include/yade-0.12.0 -I/data/DEM-CF$
/data/DEM-CFD/build-0.12.0/.sconf_temp/conftest_13.cpp:2:29: boost/foreach.hpp: No such file or directory
scons: Configure: no
scons: Configure: Checking for sqlite3_close(0L) in C++ library sqlite3...
/data/DEM-CFD/build-0.12.0/.sconf_temp/conftest_14.cpp <-
|
|
|#include "sqlite3.h"
|
|int
|main() {
| sqlite3_close(0L);
|return 0;
|}
|
g++ -o /data/DEM-CFD/build-0.12.0/.sconf_temp/conftest_14.o -c -I/data/DEM-CFD/sqlite/include -I/data/DEM-CFD/build-0.12.0/include/yade-0.12.0 -I/data/DEM-CF$
g++ -o /data/DEM-CFD/build-0.12.0/.sconf_temp/conftest_14 /data/DEM-CFD/build-0.12.0/.sconf_temp/conftest_14.o -L/data/DEM-CFD/sqlite/lib -lpthread -lglut -l$
scons: Configure: yes
scons: Configure: Checking for qt-mt in /usr/lib64/qt-3.3...
/data/DEM-CFD/build-0.12.0/.sconf_temp/conftest_15.cpp <-
|#include<qapplication.h>
|int main(int argc, char **argv){QApplication qapp(argc, argv);return 0;}
|
g++ -o /data/DEM-CFD/build-0.12.0/.sconf_temp/conftest_15.o -c -I/data/DEM-CFD/sqlite/include -I/data/DEM-CFD/build-0.12.0/include/yade-0.12.0 -I/data/DEM-CF$
g++ -o /data/DEM-CFD/build-0.12.0/.sconf_temp/conftest_15 /data/DEM-CFD/build-0.12.0/.sconf_temp/conftest_15.o -L/data/DEM-CFD/sqlite/lib -L/usr/lib64/qt-3.3$
scons: Configure: yes
-----Original Message-----
From: yade-users-bounces@xxxxxxxxxxxxxxxx on behalf of Václav S(milauer
Sent: Thu 9/11/2008 4:19 PM
To: yade-users@xxxxxxxxxxxxxxxx
Subject: Re: [Yade-users] How to override new boost version with old one?
>
> scons PREFIX=/data/DEM-CFD/YADE CPPPATH=/myfolder/boost136/include
> LIBPATH=/myfolder/boost136/lib
>
> It is still pointing to the default path, how to correct this? Thanks!
>
Hi, I am not sure what you mean by "still pointing etc", can you paste
the ../build-version/config.log? You could also try putting "print
env['CPPPATH'] somewhere after the line "opts.Update(env)" where options
from the profile are copied over to the build environment...
I will try that myself but not before the weekend, sorry :-(
Vaclav
_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-users
_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-users
References