réessayer avec version 7.14.8 du 11 mai 2009, noter la durée de compilation (essayer sur gdium ?)
lib64xi-devel lib64xt6-devel-1.0.5-4mdv2009.1 lib64ncursesw-devel-5.7-3.20090207.1mdv2009.1.x86_64 lib64xslt-devel-1.1.24-7mdv2009.1 lib64xmu6-1.0.4-4mdv2009.1 lib64xmu6-devel-1.0.4-4mdv2009.1.x86_64.rpm byacc-20090221-1mdv2009.1.x86_64.rpm flex-2.5.35-3.1mdv2009.1
lib64xau6-devel-1.0.4-1mdv2009.1 lib64tk8.5-8.5.4-1mdv2009.0 lib64tk8.6-8.6-0.b1.2mdv2009.1
utile ? lib64itclib0-1.1.2-9mdk.x86_64.rpm lib64itclib0-devel-1.1.2-9mdk.x86_64.rpm (ne sert pas pour éviter Build Itcl/Itk .......................: yes en tout cas)
lib64tcl-devel-8.6-0.b1.1mdv2009.1.x86_64 o_O non pris en compte ?
manque ? libtnt-dev tk8.5-dev
libxi-devel libxt6-devel libncursesw-devel lib64xslt-devel libxmu6 lib64xmu6-devel byacc flex libxau6-devel lib64tk8.5 libtk8.6
bon la recompil' de tk semble obligatoire (alors qu'il est installé...), pour ne compiler que le benchmark (ce qui dure moins longtemps) et s'exécute en ~10 mn sur mon centrino core 2 duo T5500 @ 1.66GHz
./configure --enable-only-benchmark make benchmark
Compiling brl-cad : status ok with 7.8.4
brl-cad is a GPL Constructive Solid Geometry (CSG) solid modeling system http://sourceforge.net/projects/brlcad/http://brlcad.org/ et plus précisément http://www.brlcad.org/build_SVN.html
- voir http://brlcad.org/wiki/Building_from_SVN
- et http://brlcad.org/wiki/Compiling qui identifie les paquets suivants (sur Debian/Ubuntu)
http://ovh.dl.sourceforge.net/sourceforge/brlcad/brlcad-7.8.4.tar.bz2
Des copies d'écrans du logiciel :http://brlcad.org/gallery/s/screenshots/
des rendus : http://brlcad.org/gallery/s/renderings/ et autres images http://brlcad.org/gallery/s/renderings/GSI_Images/
Compiling v7.14.8 : failed sur gdium pour le benchmark
sélectionner les lignes de l'erreur.../bin/sh ../../libtool --silent --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../src/other -I../../src/other/tcl/generic -I../../src/other/tcl/unix -I/usr/local/include -DBRLCADBUILD=1 -I../../include -I../../src/other/openNURBS -pipe -fno-strict-aliasing -fno-common -fexceptions -g -c -o pcVCSet.lo `test -f 'pcVCSet.cpp' || echo './'`pcVCSet.cpp /bin/sh ../../libtool --silent --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../src/other -I../../src/other/tcl/generic -I../../src/other/tcl/unix -I/usr/local/include -DBRLCADBUILD=1 -I../../include -I../../src/other/openNURBS -pipe -fno-strict-aliasing -fno-common -fexceptions -g -c -o pcNetwork.lo `test -f 'pcNetwork.cpp' || echo './'`pcNetwork.cpp /bin/sh ../../libtool --silent --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../src/other -I../../src/other/tcl/generic -I../../src/other/tcl/unix -I/usr/local/include -DBRLCADBUILD=1 -I../../include -I../../src/other/openNURBS -pipe -fno-strict-aliasing -fno-common -fexceptions -g -c -o pcGenerator.lo `test -f 'pcGenerator.cpp' || echo './'`pcGenerator.cpp /bin/sh ../../libtool --silent --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../src/other -I../../src/other/tcl/generic -I../../src/other/tcl/unix -I/usr/local/include -DBRLCADBUILD=1 -I../../include -I../../src/other/openNURBS -pipe -fno-strict-aliasing -fno-common -fexceptions -g -c -o pcParser.lo `test -f 'pcParser.cpp' || echo './'`pcParser.cpp Dans le fichier inclus à partir de pcParser.h:35, à partir de pcParser.cpp:29: ../../src/other/boost/spirit.hpp:18:4: attention : #warning "This header is deprecated. Please use: boost/spirit/include/classic.hpp" /bin/sh ../../libtool --silent --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../src/other -I../../src/other/tcl/generic -I../../src/other/tcl/unix -I/usr/local/include -DBRLCADBUILD=1 -I../../include -I../../src/other/openNURBS -pipe -fno-strict-aliasing -fno-common -fexceptions -g -c -o pcMathVM.lo `test -f 'pcMathVM.cpp' || echo './'`pcMathVM.cpp Dans le fichier inclus à partir de pcMathVM.h:37, à partir de pcMathVM.cpp:29: ../../src/other/boost/spirit/symbols/symbols.hpp:18:4: attention : #warning "This header is deprecated. Please use: boost/spirit/include/classic_symbols.hpp" g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../src/other -I../../src/other/tcl/generic -I../../src/other/tcl/unix -I/usr/local/include -DBRLCADBUILD=1 -I../../include -I../../src/other/openNURBS -pipe -fno-strict-aliasing -fno-common -fexceptions -g -c -o solver_test.o `test -f 'solver_test.cpp' || echo './'`solver_test.cpp g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I../../src/other -I../../src/other/tcl/generic -I../../src/other/tcl/unix -I/usr/local/include -DBRLCADBUILD=1 -I../../include -I../../src/other/openNURBS -pipe -fno-strict-aliasing -fno-common -fexceptions -g -c -o vm_test.o `test -f 'vm_test.cpp' || echo './'`vm_test.cpp Dans le fichier inclus à partir de pcMathVM.h:37, à partir de pcMathLF.h:31, à partir de pcMathGrammar.h:36, à partir de vm_test.cpp:30: ../../src/other/boost/spirit/symbols/symbols.hpp:18:4: attention : #warning "This header is deprecated. Please use: boost/spirit/include/classic_symbols.hpp" Dans le fichier inclus à partir de pcMathLF.h:35, à partir de pcMathGrammar.h:36, à partir de vm_test.cpp:30: ../../src/other/boost/spirit/phoenix/functions.hpp:18:4: attention : #warning "This header is deprecated. Please use: boost/spirit/include/phoenix1_functions.hpp" Dans le fichier inclus à partir de pcMathGrammar.h:39, à partir de vm_test.cpp:30: ../../src/other/boost/spirit.hpp:18:4: attention : #warning "This header is deprecated. Please use: boost/spirit/include/classic.hpp" Dans le fichier inclus à partir de pcParser.h:35, à partir de solver_test.cpp:38: ../../src/other/boost/spirit.hpp:18:4: attention : #warning "This header is deprecated. Please use: boost/spirit/include/classic.hpp" Dans le fichier inclus à partir de pcMathVM.h:37, à partir de solver_test.cpp:39: ../../src/other/boost/spirit/symbols/symbols.hpp:18:4: attention : #warning "This header is deprecated. Please use: boost/spirit/include/classic_symbols.hpp" Dans le fichier inclus à partir de pcMathGrammar.h:40, à partir de vm_test.cpp:30: ../../src/other/boost/spirit/phoenix.hpp:18:4: attention : #warning "This header is deprecated. Please use: boost/spirit/include/phoenix1.hpp" Dans le fichier inclus à partir de pcMathGrammar.h:41, à partir de vm_test.cpp:30: ../../src/other/boost/spirit/dynamic/if.hpp:18:4: attention : #warning "This header is deprecated. Please use: boost/spirit/include/classic_if.hpp" /bin/sh ../../libtool --silent --mode=link g++ -pipe -fno-strict-aliasing -fno-common -fexceptions -g -L/usr/local/lib -pipe -fno-strict-aliasing -fno-common -fexceptions -g -o libpc_nil.la pc_main.lo pc_constraints.lo pcVariable.lo pcParameter.lo pcConstraint.lo pcVCSet.lo pcNetwork.lo pcGenerator.lo pcParser.lo pcMathVM.lo /bin/sh ../../libtool --silent --mode=link gcc -pipe -fno-strict-aliasing -fno-common -fexceptions -g -L/usr/local/lib -pipe -fno-strict-aliasing -fno-common -fexceptions -g -o libpc.la -rpath /usr/brlcad/lib -version-info 19:1 -no-undefined -Wc,-fexceptions libpc_nil.la -lstdc++ ../../src/libbu/libbu.la -L../../src/other/tcl/unix -ltcl8.5 -ldl -lm -lpng -lz -lm -lc -lpthread /bin/sh ../../libtool --silent --mode=link g++ -pipe -fno-strict-aliasing -fno-common -fexceptions -g -L/usr/local/lib -pipe -fno-strict-aliasing -fno-common -fexceptions -g -o vm_test vm_test.o libpc.la -lstdc++ ../../src/libbu/libbu.la -L../../src/other/tcl/unix -ltcl8.5 -ldl -lm -lpng -lz -lm -lc -lpthread /bin/sh ../../libtool --silent --mode=link g++ -pipe -fno-strict-aliasing -fno-common -fexceptions -g -L/usr/local/lib -pipe -fno-strict-aliasing -fno-common -fexceptions -g -o solver_test solver_test.o libpc.la -lstdc++ ../../src/libbu/libbu.la -L../../src/other/tcl/unix -ltcl8.5 -ldl -lm -lpng -lz -lm -lc -lpthread vm_test.o:/home/baud123/rpm/SOURCES/brlcad-7.14.8/src/libpc/../../src/other/boost/smart_ptr/detail/sp_counted_base_sync.hpp:43: undefined reference to `__sync_fetch_and_add_4' vm_test.o:/home/baud123/rpm/SOURCES/brlcad-7.14.8/src/libpc/../../src/other/boost/smart_ptr/detail/sp_counted_base_sync.hpp:48: undefined reference to `__sync_fetch_and_add_4' collect2: ld a retourné 1 code d'état d'exécution make[2]: *** [vm_test] Erreur 1 make[2]: *** Attente des tâches non terminées.... ./.libs/libpc.a(pcParser.o):/home/baud123/rpm/SOURCES/brlcad-7.14.8/src/libpc/../../src/other/boost/smart_ptr/detail/sp_counted_base_sync.hpp:43: undefined reference to `__sync_fetch_and_add_4' ./.libs/libpc.a(pcParser.o):/home/baud123/rpm/SOURCES/brlcad-7.14.8/src/libpc/../../src/other/boost/smart_ptr/detail/sp_counted_base_sync.hpp:48: undefined reference to `__sync_fetch_and_add_4' ./.libs/libpc.a(pcParser.o):/home/baud123/rpm/SOURCES/brlcad-7.14.8/src/libpc/../../src/other/boost/smart_ptr/detail/sp_counted_base_sync.hpp:66: undefined reference to `__sync_val_compare_and_swap_4' collect2: ld a retourné 1 code d'état d'exécution make[2]: *** [solver_test] Erreur 1 make[2]: quittant le répertoire « /home/baud123/rpm/SOURCES/brlcad-7.14.8/src/libpc » make[1]: *** [all-recursive] Erreur 1 make[1]: quittant le répertoire « /home/baud123/rpm/SOURCES/brlcad-7.14.8/src » make: *** [all-recursive] Erreur 1
Compiling brl-cas : version 7.10.0
check http://sourceforge.net/project/showfiles.php?group_id=105292&package_id=113368Compilation : ko with CVS version
./autogen.sh./configure --enable-optimized # better use an optimized version than what I did for my first build
make -j 4 # to use my Core2 Duo
pre-requisites : urpmi lib64xi6-static-devel lib64xext6-static-devel lib64x11_6-static-devel lib64xau6-static-devel lib64xdmcp6-static-devel
/usr/local/bin/mged
Initializing and backgrounding, please wait...Tcl_Init error Can't find a usable init.tcl in the following directories:
/usr/local/lib/tcl8.5 ./lib/tcl8.5 ./lib/tcl8.5 ./library ./library ./tcl8.5a5/library ./tcl8.5a5/library
the CVS version when I tried it did not work with tcl8.4, in 7.10.0 version it seems tcl is included :/ (perhaps not the best option to manage dependencies IMHO if I'm right)
Testing / benchmark
make test # worked correctlymake benchmark # quite worked... apart some repetitive errors
awk: (FILENAME=- FNR=1) Fatal: tentative de division par zéro
./bench/run.sh: line 712: test: -le: unary operator expected
and the lack of bc (which should be listed as a pre-requisite :-) )
Abs benLapix.eagle-usb.org 872396.17 393849.28 416720.50 321106.31 418754.38 447691.91 ven mar 16 17:32:57 CET 2007
relaunch /usr/local/bin/benchmark
Abs benLapix.eagle-usb.org 865571.30 388190.71 408820.83 319859.12 422562.62 450011.42 475836.00 ven mar 16 17:45:38 CET 2007
*vgr benLapix.eagle-usb.org 6317.57 5788.70 7291.25 5994.36 5977.68 30.36 5233.32
#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#
Benchmark results indicate an approximate VGR performance metric of 5233
Logarithmic VGR metric is 3,72 (natural logarithm is 8,56)
#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#*#
These numbers seem to indicate that this machine is approximately 5233 times
faster than the reference machine being used for comparison, a VAX 11/780
running 4.3 BSD named VGR. These results are in fact approximately 3,72
orders of magnitude faster than the reference.
Linux benLapix.eagle-usb.org 2.6.17-11mdv #1 SMP Tue Feb 13 11:55:05 MST 2007 x86_64 Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz GNU/Linux
hum, tcl8.5 seems required
This probably means that Tcl wasn't installed properly. Itcl_Init error Can't find a usable itcl.tcl in the following directories: ./tcl8.5a5/itcl3.3 ./../lib/itcl3.3 ./../library ./../../library ./../../itcl/library ./../../../itcl/library ./../../../../itcl/library ./../../../../../itcl/library ./src/other/incrTcl/itcl/library ./../src/other/incrTcl/itcl/library ./../../src/other/incrTcl/itcl/library ./../../../src/other/incrTcl/itcl/library ./../../../../src/other/incrTcl/itcl/library ./../../../../../src/other/incrTcl/itcl/library This probably means that Itcl/Tcl weren't installed properly. If you know where the Itcl library directory was installed, you can set the environment variable ITCL_LIBRARY to point to the library directory. Done [baud@benLapix lib]$ invalid command name "tcl_findLibrary" MGED Aborted.