Hi All,


This is a follow-up on my post `7.14.6 install fails on Debian Lenny' to report 
the problem and how it was solved.



I downloaded the source files and tried to compile them, which failed. The 
config.log file reported some libraries and applications were missing. I then 
installed:

autoconf

bison

byacc

flex

fop

freeglut3-dev

itcl3-dev

jamvm

libgl1-mesa-dev

libglu1-mesa-dev

libncurses5-dev

libpng-12

libstdc++5

libtnt-dev

libtool

libx11-dev

libxi-dev

libxslt1-dev

libxt-dev

linux-headers-2.6.26-1-all-i386

tcl8.4-dev

tcl8.5 

tcl8.5-dev

tk8.4-dev

tk8.5 

tk8.5-dev

xorg-dev

xserver-xorg-core



Trying the build the source still failed but now make reported a link error:

make[2]: Entering directory `/home/mike/app/brl_cad/brlcad-7.14.6/src/bwish'

/bin/sh ../../libtool --silent --tag=CC  --silent --mode=link gcc
-I../../src/other/incrTcl/itcl/generic -I../../src/other/tcl/generic
-I../../src/other/tcl/unix -pipe -fno-strict-aliasing -fno-common
-fexceptions -g -O3  -L/usr/local/lib -pipe -fno-strict-aliasing
-fno-common -fexceptions -g -O3 -o btclsh btclsh-cmd.o btclsh-input.o
btclsh-main.o btclsh-tcl.o ../../src/libtclcad/libtclcad.la
.../../src/libdm/libdm.la ../../src/other/incrTcl/libitk.la
.../../src/other/incrTcl/libitcl.la -L../../src/other/tk/unix -ltk8.5
-L../../src/other/tcl/unix -ltcl8.5 -ldl -lm
.../../src/libtermio/libtermio.la 

.../../src/libtclcad/.libs/libtclcad.so: undefined reference to 
`X24_close_existing'

.../../src/libtclcad/.libs/libtclcad.so: undefined reference to 
`_X24_open_existing'

.../../src/libtclcad/.libs/libtclcad.so: undefined reference to `X24_interface'

collect2: ld returned 1 exit status

make[2]: *** [btclsh] Error 1

make[2]: Leaving directory `/home/mike/app/brl_cad/brlcad-7.14.6/src/bwish'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/mike/app/brl_cad/brlcad-7.14.6/src'

make: *** [all-recursive] Error 1



With the help of brlcad (and others) on the irc channel #brlcad, the problem 
was traced to an unclean build. 

This was solved by:

rm libfb_la-if_X24.lo && make && nm .libs/libfb_la-if_X24.o | grep open_existing

followed by:

cd ../bwish

make



which then showed no errors and allowed to proceed with the usual installation:

../configure

and

make



Another way is to remove the current unclean build and start from
scratch (after installating all the necessary libraries/applications
mentioned above).



Hope this helps,

Mike.




      
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
BRL-CAD Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-users

Reply via email to