ArtX
02-11-2007, 21:26
sto provando a compilarmi brlcad-7.10.4 con le seguenti opzioni:
./configure --prefix=/usr/local/brlcad/ --enable-optimized --enable-dependency-tracking --enable-debug --enable-adrt-build --with-x11 --with-opengl --with-python
con il relativo report
BRL-CAD Release 7.10.4, Build 20071102
Prefix: /usr/local/brlcad/
Binaries: /usr/local/brlcad//bin
Manual pages: /usr/local/brlcad//share/man
Configuration files: /usr/local/brlcad//etc
Data resource files: /usr/local/brlcad//share
Options & variables: /usr/local/brlcad//share/config.site /usr/local/brlcad//etc/config.site
CC = gcc
CXX = g++
CFLAGS = -pipe -fno-strict-aliasing -fno-common -g -O3
CXXFLAGS = -pipe -fno-strict-aliasing -fno-common -g -O3
CPPFLAGS = -I/usr/local/include -DBRLCADBUILD=1 -I${top_srcdir}/include
LDFLAGS = -L/usr/local/lib -pipe -fno-strict-aliasing -fno-common -g -O3
Build Tcl ............................: yes
Build Tk .............................: yes
Build Itcl/Itk .......................: yes
Build IWidgets .......................: yes
Build BLT ............................: yes
Build tkImg ..........................: yes
Build libpng .........................: yes
Build libregex .......................: no (using system)
Build zlib ...........................: no (using system)
Build termlib ........................: no (using system)
Build Utah Raster Toolkit........BRL-CAD Release 7.10.4, Build 20071102
Prefix: /usr/local/brlcad/
Binaries: /usr/local/brlcad//bin
Manual pages: /usr/local/brlcad//share/man
Configuration files: /usr/local/brlcad//etc
Data resource files: /usr/local/brlcad//share
Options & variables: /usr/local/brlcad//share/config.site /usr/local/brlcad//etc/config.site
CC = gcc
CXX = g++
CFLAGS = -pipe -fno-strict-aliasing -fno-common -g -O3
CXXFLAGS = -pipe -fno-strict-aliasing -fno-common -g -O3
CPPFLAGS = -I/usr/local/include -DBRLCADBUILD=1 -I${top_srcdir}/include
LDFLAGS = -L/usr/local/lib -pipe -fno-strict-aliasing -fno-common -g -O3
Build Tcl ............................: yes
Build Tk .............................: yes
Build Itcl/Itk .......................: yes
Build IWidgets .......................: yes
Build BLT ............................: yes
Build tkImg ..........................: yes
Build libpng .........................: yes
Build libregex .......................: no (using system)
Build zlib ...........................: no (using system)
Build termlib ........................: no (using system)
Build Utah Raster Toolkit.............: yes
Build Template Numerical Toolkit......: yes
Build openNURBS.......................: no (doing without, BREP unsupported)
Build jove ...........................: yes
ADRT support .........................: yes
X11 support ..........................: yes
OpenGL support .......................: yes
Java Developer Kit support ...........: no
Enable run-time debugging ............: yes
Build 64-bit release .................: no (32-bit)
Build optimized release ..............: yes
Build debug release ..................: yes
Build profile release ................: no
Build static libraries ...............: yes
Build shared/dynamic libraries .......: yes
Print verbose compilation warnings ...: no
Print verbose compilation progress ...: no
Only build benchmark suite ...........: no
Only build librtserver ...............: no
Install example geometry models ......: yes
Elapsed configuration time ...........: 41 seconds
---
./configure complete, type 'make' to begin building
.....: yes
Build Template Numerical Toolkit......: yes
Build openNURBS.......................: no (doing without, BREP unsupported)
Build jove ...........................: yes
ADRT support .........................: yes
X11 support ..........................: yes
OpenGL support .......................: yes
Java Developer Kit support ...........: no
Enable run-time debugging ............: yes
Build 64-bit release .................: no (32-bit)
Build optimized release ..............: yes
Build debug release ..................: yes
Build profile release ................: no
Build static libraries ...............: yes
Build shared/dynamic libraries .......: yes
Print verbose compilation warnings ...: no
Print verbose compilation progress ...: no
Only build benchmark suite ...........: no
Only build librtserver ...............: no
Install example geometry models ......: yes
Elapsed configuration time ...........: 41 seconds
---
./configure complete, type 'make' to begin building
e questo è l'errore, quello su jove lo già risolto.
mv -f .deps/htester.Tpo .deps/htester.Po
mv -f .deps/xdr.Tpo .deps/xdr.Plo
mv -f .deps/which.Tpo .deps/which.Plo
/bin/bash ../../libtool --silent --tag=CC --silent --mode=link gcc -pipe -fno-strict-aliasing -fno-common -g -O3 -L/usr/local/lib -pipe -fno-strict-aliasing -fno-common -g -O3 -o libbu_nil.la association.lo avs.lo backtrace.lo badmagic.lo basename.lo bitv.lo bomb.lo brlcad_path.lo bu_tcl.lo cmd.lo cmdhist.lo cmdhist_obj.lo color.lo convert.lo crashreport.lo dirname.lo fgets.lo fopen_uniq.lo getopt.lo hash.lo hist.lo hook.lo htond.lo htonf.lo image.lo ispar.lo kill.lo lex.lo linebuf.lo list.lo log.lo magic.lo malloc.lo mappedfile.lo mread.lo mro.lo observer.lo parallel.lo parse.lo printb.lo process.lo ptbl.lo rb_create.lo rb_delete.lo rb_diag.lo rb_extreme.lo rb_free.lo rb_insert.lo rb_order_stats.lo rb_rotate.lo rb_search.lo rb_walk.lo semaphore.lo stat.lo units.lo vers.lo vfont.lo vls.lo whereis.lo which.lo xdr.lo
/bin/bash ../../libtool --silent --tag=CC --silent --mode=link gcc -pipe -fno-strict-aliasing -fno-common -g -O3 -version-info 19:1 -L/usr/local/lib -pipe -fno-strict-aliasing -fno-common -g -O3 -o libbu.la -rpath /usr/local/brlcad//lib libbu_nil.la -L../../src/other/tcl/unix -ltcl8.5 -ldl -lm ../../src/other/libpng/libpng.la -lm -lc -lpthread
/bin/bash ../../libtool --silent --tag=CC --silent --mode=link gcc -pipe -fno-strict-aliasing -fno-common -g -O3 -L/usr/local/lib -pipe -fno-strict-aliasing -fno-common -g -O3 -o htester htester.o libbu.la
/usr/bin/ld: warning: libtcl8.5.so, needed by ./.libs/libbu.so, not found (try using -rpath or -rpath-link)
./.libs/libbu.so: undefined reference to `Tcl_ResetResult'
./.libs/libbu.so: undefined reference to `Tcl_SetObjResult'
./.libs/libbu.so: undefined reference to `Tcl_AppendElement'
./.libs/libbu.so: undefined reference to `Tcl_AppendResult'
./.libs/libbu.so: undefined reference to `Tcl_Eval'
./.libs/libbu.so: undefined reference to `Tcl_SplitList'
./.libs/libbu.so: undefined reference to `Tcl_LinkVar'
./.libs/libbu.so: undefined reference to `Tcl_NewIntObj'
./.libs/libbu.so: undefined reference to `Tcl_SetVar'
./.libs/libbu.so: undefined reference to `Tcl_SetResult'
./.libs/libbu.so: undefined reference to `Tcl_CreateCommand'
./.libs/libbu.so: undefined reference to `Tcl_GetDouble'
./.libs/libbu.so: undefined reference to `Tcl_GetInt'
collect2: ld returned 1 exit status
make[2]: *** [htester] Error 1
make[2]: Leaving directory `/home/artx/Documenti/Programmi/brlcad/brlcad-7.10.4/src/libbu'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/artx/Documenti/Programmi/brlcad/brlcad-7.10.4/src'
make: *** [all-recursive] Error 1
Nessuno sa come risolvere? sembra un problema delle librerie TCL, ora ho installto le 8.4 con il relativo dev, che libreria è libbu.so (sinceramente non lo mai sentita :D.
Io ci terrei tanto a riuscire a compilarmelo da me :D
grazie
./configure --prefix=/usr/local/brlcad/ --enable-optimized --enable-dependency-tracking --enable-debug --enable-adrt-build --with-x11 --with-opengl --with-python
con il relativo report
BRL-CAD Release 7.10.4, Build 20071102
Prefix: /usr/local/brlcad/
Binaries: /usr/local/brlcad//bin
Manual pages: /usr/local/brlcad//share/man
Configuration files: /usr/local/brlcad//etc
Data resource files: /usr/local/brlcad//share
Options & variables: /usr/local/brlcad//share/config.site /usr/local/brlcad//etc/config.site
CC = gcc
CXX = g++
CFLAGS = -pipe -fno-strict-aliasing -fno-common -g -O3
CXXFLAGS = -pipe -fno-strict-aliasing -fno-common -g -O3
CPPFLAGS = -I/usr/local/include -DBRLCADBUILD=1 -I${top_srcdir}/include
LDFLAGS = -L/usr/local/lib -pipe -fno-strict-aliasing -fno-common -g -O3
Build Tcl ............................: yes
Build Tk .............................: yes
Build Itcl/Itk .......................: yes
Build IWidgets .......................: yes
Build BLT ............................: yes
Build tkImg ..........................: yes
Build libpng .........................: yes
Build libregex .......................: no (using system)
Build zlib ...........................: no (using system)
Build termlib ........................: no (using system)
Build Utah Raster Toolkit........BRL-CAD Release 7.10.4, Build 20071102
Prefix: /usr/local/brlcad/
Binaries: /usr/local/brlcad//bin
Manual pages: /usr/local/brlcad//share/man
Configuration files: /usr/local/brlcad//etc
Data resource files: /usr/local/brlcad//share
Options & variables: /usr/local/brlcad//share/config.site /usr/local/brlcad//etc/config.site
CC = gcc
CXX = g++
CFLAGS = -pipe -fno-strict-aliasing -fno-common -g -O3
CXXFLAGS = -pipe -fno-strict-aliasing -fno-common -g -O3
CPPFLAGS = -I/usr/local/include -DBRLCADBUILD=1 -I${top_srcdir}/include
LDFLAGS = -L/usr/local/lib -pipe -fno-strict-aliasing -fno-common -g -O3
Build Tcl ............................: yes
Build Tk .............................: yes
Build Itcl/Itk .......................: yes
Build IWidgets .......................: yes
Build BLT ............................: yes
Build tkImg ..........................: yes
Build libpng .........................: yes
Build libregex .......................: no (using system)
Build zlib ...........................: no (using system)
Build termlib ........................: no (using system)
Build Utah Raster Toolkit.............: yes
Build Template Numerical Toolkit......: yes
Build openNURBS.......................: no (doing without, BREP unsupported)
Build jove ...........................: yes
ADRT support .........................: yes
X11 support ..........................: yes
OpenGL support .......................: yes
Java Developer Kit support ...........: no
Enable run-time debugging ............: yes
Build 64-bit release .................: no (32-bit)
Build optimized release ..............: yes
Build debug release ..................: yes
Build profile release ................: no
Build static libraries ...............: yes
Build shared/dynamic libraries .......: yes
Print verbose compilation warnings ...: no
Print verbose compilation progress ...: no
Only build benchmark suite ...........: no
Only build librtserver ...............: no
Install example geometry models ......: yes
Elapsed configuration time ...........: 41 seconds
---
./configure complete, type 'make' to begin building
.....: yes
Build Template Numerical Toolkit......: yes
Build openNURBS.......................: no (doing without, BREP unsupported)
Build jove ...........................: yes
ADRT support .........................: yes
X11 support ..........................: yes
OpenGL support .......................: yes
Java Developer Kit support ...........: no
Enable run-time debugging ............: yes
Build 64-bit release .................: no (32-bit)
Build optimized release ..............: yes
Build debug release ..................: yes
Build profile release ................: no
Build static libraries ...............: yes
Build shared/dynamic libraries .......: yes
Print verbose compilation warnings ...: no
Print verbose compilation progress ...: no
Only build benchmark suite ...........: no
Only build librtserver ...............: no
Install example geometry models ......: yes
Elapsed configuration time ...........: 41 seconds
---
./configure complete, type 'make' to begin building
e questo è l'errore, quello su jove lo già risolto.
mv -f .deps/htester.Tpo .deps/htester.Po
mv -f .deps/xdr.Tpo .deps/xdr.Plo
mv -f .deps/which.Tpo .deps/which.Plo
/bin/bash ../../libtool --silent --tag=CC --silent --mode=link gcc -pipe -fno-strict-aliasing -fno-common -g -O3 -L/usr/local/lib -pipe -fno-strict-aliasing -fno-common -g -O3 -o libbu_nil.la association.lo avs.lo backtrace.lo badmagic.lo basename.lo bitv.lo bomb.lo brlcad_path.lo bu_tcl.lo cmd.lo cmdhist.lo cmdhist_obj.lo color.lo convert.lo crashreport.lo dirname.lo fgets.lo fopen_uniq.lo getopt.lo hash.lo hist.lo hook.lo htond.lo htonf.lo image.lo ispar.lo kill.lo lex.lo linebuf.lo list.lo log.lo magic.lo malloc.lo mappedfile.lo mread.lo mro.lo observer.lo parallel.lo parse.lo printb.lo process.lo ptbl.lo rb_create.lo rb_delete.lo rb_diag.lo rb_extreme.lo rb_free.lo rb_insert.lo rb_order_stats.lo rb_rotate.lo rb_search.lo rb_walk.lo semaphore.lo stat.lo units.lo vers.lo vfont.lo vls.lo whereis.lo which.lo xdr.lo
/bin/bash ../../libtool --silent --tag=CC --silent --mode=link gcc -pipe -fno-strict-aliasing -fno-common -g -O3 -version-info 19:1 -L/usr/local/lib -pipe -fno-strict-aliasing -fno-common -g -O3 -o libbu.la -rpath /usr/local/brlcad//lib libbu_nil.la -L../../src/other/tcl/unix -ltcl8.5 -ldl -lm ../../src/other/libpng/libpng.la -lm -lc -lpthread
/bin/bash ../../libtool --silent --tag=CC --silent --mode=link gcc -pipe -fno-strict-aliasing -fno-common -g -O3 -L/usr/local/lib -pipe -fno-strict-aliasing -fno-common -g -O3 -o htester htester.o libbu.la
/usr/bin/ld: warning: libtcl8.5.so, needed by ./.libs/libbu.so, not found (try using -rpath or -rpath-link)
./.libs/libbu.so: undefined reference to `Tcl_ResetResult'
./.libs/libbu.so: undefined reference to `Tcl_SetObjResult'
./.libs/libbu.so: undefined reference to `Tcl_AppendElement'
./.libs/libbu.so: undefined reference to `Tcl_AppendResult'
./.libs/libbu.so: undefined reference to `Tcl_Eval'
./.libs/libbu.so: undefined reference to `Tcl_SplitList'
./.libs/libbu.so: undefined reference to `Tcl_LinkVar'
./.libs/libbu.so: undefined reference to `Tcl_NewIntObj'
./.libs/libbu.so: undefined reference to `Tcl_SetVar'
./.libs/libbu.so: undefined reference to `Tcl_SetResult'
./.libs/libbu.so: undefined reference to `Tcl_CreateCommand'
./.libs/libbu.so: undefined reference to `Tcl_GetDouble'
./.libs/libbu.so: undefined reference to `Tcl_GetInt'
collect2: ld returned 1 exit status
make[2]: *** [htester] Error 1
make[2]: Leaving directory `/home/artx/Documenti/Programmi/brlcad/brlcad-7.10.4/src/libbu'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/artx/Documenti/Programmi/brlcad/brlcad-7.10.4/src'
make: *** [all-recursive] Error 1
Nessuno sa come risolvere? sembra un problema delle librerie TCL, ora ho installto le 8.4 con il relativo dev, che libreria è libbu.so (sinceramente non lo mai sentita :D.
Io ci terrei tanto a riuscire a compilarmelo da me :D
grazie