Thanks for the follow-up, Mike! That's quite an interesting and
useful list of Debian package dependencies that will hopefully make
things easier for others reading the archives.
It's worth noting that several of those dependencies are entirely
optional and will provide no significant benefit for most users. In
particular, jamvm, libxslt, and fop are not required dependencies.
Without those, you just won't get documentation in pdf format
generated (but will still get html format and manual pages). Also,
you don't need both 8.4 and 8.5 tcl/tk -- you just need one or the
other (so you could take tcl8.4-dev and tk8.4-dev off that list). If
you really want to get pedantic, even having an X11 server and OpenGL
is optional, but just not very fun. Finally, you shouldn't have
needed freeglut3-dev at all.
Glad we were able to sort the build out on IRC! When in doubt, start
from a fresh checkout. ;-)
Cheers!
Sean
On May 12, 2009, at 4:42 AM, Mike B. wrote:
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
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
BRL-CAD Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-users