[brlcad-tracker] [ brlcad-Support Requests-2952356 ] Can't intsll BRL-CAD in Ubuntu
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: SourceForge.net <no...@so...> - 2010-03-05 19:10:43
|
Support Requests item #2952356, was opened at 2010-02-15 21:44 Message generated for change (Comment added) made by bobharesceugh You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=640803&aid=2952356&group_id=105292 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Compilation & Installation Group: None Status: Pending Resolution: Works For Me Priority: 5 Private: No Submitted By: bharesc (bobharesceugh) Assigned to: Sean Morrison (brlcad) Summary: Can't intsll BRL-CAD in Ubuntu Initial Comment: I downloaded bricad_7.10.4_ia32.tar.bz2 and extracted it into "Documents" I have read "The Installation Guide to BRL-CAD" but can't make much sense of it as I'm new to Ubuntu. Tried various inputs to terminal but without success. Any idiot guide help would be appreciated. ---------------------------------------------------------------------- Comment By: bharesc (bobharesceugh) Date: 2010-03-05 19:10 Message: Benchmark doesn't seem to run. Here's the output. bob@ubuntu:/usr/brlcad/bin$ /usr/brlcad/bin/benchmark run touch: cannot touch `run-3881-benchmark.log': Permission denied ERROR: Unable to log to run-3881-benchmark.log B R L - C A D B E N C H M A R K ================================= Running /usr/brlcad/bin/benchmark on Fri Mar 5 19:07:45 GMT 2010 Logging output to /dev/null Linux ubuntu 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 01:26:53 UTC 2010 i686 GNU/Linux Using [/usr/brlcad/bin/rt] for RT Using [/usr/brlcad/bin/../share/brlcad/7.16.6/db] for DB Using [/usr/brlcad/bin/../share/brlcad/7.16.6/pix] for PIX Using [/usr/brlcad/bin/../share/brlcad/7.16.6/pix] for LOG Using [/usr/brlcad/bin/pixcmp] for CMP Using [/usr/brlcad/bin/elapsed.sh] for ELP Using [32] for TIMEFRAME Using [300] for MAXTIME Using [3] for DEVIATION Using [3] for AVERAGE RT reports the following version information: BRL-CAD Release 7.16.6 The BRL-CAD Raytracer RT BRL-CAD Release 7.16.6 The BRL-CAD Ray-Tracing Library BRL-CAD Release 7.16.6 The BRL-CAD Numerical Computation Library BRL-CAD Release 7.16.6 The BRL-CAD Utility Library Minimum run time is 3 minutes, 12 seconds Maximum run time is 30 minutes Estimated time is 9 minutes, 36 seconds Running the BRL-CAD Benchmark tests... please wait ... +++++ moss /usr/brlcad/bin/benchmark: 1201: cannot create moss.log: Permission denied grep: moss.log: No such file or directory RAYTRACE ERROR moss.pix: No such file or directory moss.pix: BENCHMARK COMPARISON FAILURE +++++ world /usr/brlcad/bin/benchmark: 1211: cannot create world.log: Permission denied grep: world.log: No such file or directory RAYTRACE ERROR world.pix: No such file or directory world.pix: BENCHMARK COMPARISON FAILURE +++++ star /usr/brlcad/bin/benchmark: 1221: cannot create star.log: Permission denied grep: star.log: No such file or directory RAYTRACE ERROR star.pix: No such file or directory star.pix: BENCHMARK COMPARISON FAILURE +++++ bldg391 /usr/brlcad/bin/benchmark: 1231: cannot create bldg391.log: Permission denied grep: bldg391.log: No such file or directory RAYTRACE ERROR bldg391.pix: No such file or directory bldg391.pix: BENCHMARK COMPARISON FAILURE +++++ m35 /usr/brlcad/bin/benchmark: 1241: cannot create m35.log: Permission denied grep: m35.log: No such file or directory RAYTRACE ERROR m35.pix: No such file or directory m35.pix: BENCHMARK COMPARISON FAILURE +++++ sphflake /usr/brlcad/bin/benchmark: 1251: cannot create sphflake.log: Permission denied grep: sphflake.log: No such file or directory RAYTRACE ERROR sphflake.pix: No such file or directory sphflake.pix: BENCHMARK COMPARISON FAILURE ... Done. Total testing time elapsed: 1 second THE BENCHARK ANALYSIS DID NOT COMPLETE SUCCESSFULLY. A benchmark failure means this is not a viable install of BRL-CAD. This may be a new bug or (more likely) is a compilation configuration error. Ensure your compiler has strict aliasing disabled, compilation is unoptimized, and you have installed BRL-CAD (some platforms require this). If you still get a failure, please report your configuration information to ben...@br... Output was saved to /dev/null from /usr/brlcad/bin Run '/usr/brlcad/bin/benchmark clean' to remove generated pix files. Benchmark testing failed. bob@ubuntu:/usr/brlcad/bin$ ---------------------------------------------------------------------- Comment By: Sean Morrison (brlcad) Date: 2010-02-25 22:49 Message: Maybe! You're definitely farther along. Running /usr/brlcad/bin/benchmark is a good test to verify that computations are being calculated correctly. If that succeeds, then you can run /usr/brlcad/bin/mged and see if the graphical editor starts up. Interestingly, there's no difference between .4 and .6 that affects the issues you were running into other than "starting fresh". If you downloaded .4 again, it likely would succeed similarly too. Getting X11 components installed was the critical piece. ---------------------------------------------------------------------- Comment By: bharesc (bobharesceugh) Date: 2010-02-25 21:22 Message: Think I'm there!! Downloaded 7.16.6 and completed "Make Install" with following output: - Done. BRL-CAD Release 7.16.6, Build 20100225 Elapsed installation time: 2 minutes, 17 seconds Elapsed time since configuration: 10 minutes, 36 seconds --- Run 'make test' to run the BRL-CAD Test Suite Run 'make benchmark' to run the BRL-CAD Benchmark Suite **************************************************** BRL-CAD 7.16.6 is now installed into /usr/brlcad Be sure to add /usr/brlcad/bin to your PATH **************************************************** make[2]: Entering directory `/home/bob/Documents/brlcad-7.16.6' make[2]: Nothing to be done for `install-exec-am'. test -z "/usr/brlcad/share/brlcad/7.16.6" || mkdir -p -- "/usr/brlcad/share/brlcad/7.16.6" /usr/bin/install -c -m 644 AUTHORS COPYING HACKING INSTALL NEWS README '/usr/brlcad/share/brlcad/7.16.6' make[2]: Leaving directory `/home/bob/Documents/brlcad-7.16.6' make[1]: Leaving directory `/home/bob/Documents/brlcad-7.16.6' bob@ubuntu:~/Documents/brlcad-7.16.6$ Am i home and dry? ---------------------------------------------------------------------- Comment By: bharesc (bobharesceugh) Date: 2010-02-24 21:00 Message: Read the tutorial)s) and hope it translates correctly. Here is the output: - bob@ubuntu:~/Documents/brlcad-7.16.4/src/libtclcad$ make clean test -z "libtclcad.la" || rm -f libtclcad.la rm -f "./so_locations" rm -rf .libs _libs rm -f *.o rm -f *.lo bob@ubuntu:~/Documents/brlcad-7.16.4/src/libtclcad$ make /bin/bash ../../libtool --silent --tag=CC --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I/usr/local/include -DBRLCADBUILD=1 -I../../include -I../../src/other/openNURBS -I../../src/other/libz -DDM_X -DIF_X -DDM_TK -DIF_TK -I../../src/other/libpng -I../../src/other/incrTcl/itk/generic -I../../src/other/incrTcl/itcl/generic -I../../src/other/tk/generic -I../../src/other/tk/unix -I../../src/other/tk/win -I../../src/other/tcl/generic -I../../src/other/tcl/unix -I../../src/other/tcl/generic -I../../src/other/tcl/unix -I../../src/other/tk/generic -I../../src/other/tk/unix -pipe -fno-strict-aliasing -fno-common -fexceptions -g -c -o libtclcad_la-tclcad.lo `test -f 'tclcad.c' || echo './'`tclcad.c /bin/bash ../../libtool --silent --tag=CC --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I/usr/local/include -DBRLCADBUILD=1 -I../../include -I../../src/other/openNURBS -I../../src/other/libz -DDM_X -DIF_X -DDM_TK -DIF_TK -I../../src/other/libpng -I../../src/other/incrTcl/itk/generic -I../../src/other/incrTcl/itcl/generic -I../../src/other/tk/generic -I../../src/other/tk/unix -I../../src/other/tk/win -I../../src/other/tcl/generic -I../../src/other/tcl/unix -I../../src/other/tcl/generic -I../../src/other/tcl/unix -I../../src/other/tk/generic -I../../src/other/tk/unix -pipe -fno-strict-aliasing -fno-common -fexceptions -g -c -o libtclcad_la-tclcadAutoPath.lo `test -f 'tclcadAutoPath.c' || echo './'`tclcadAutoPath.c /bin/bash ../../libtool --silent --tag=CC --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I/usr/local/include -DBRLCADBUILD=1 -I../../include -I../../src/other/openNURBS -I../../src/other/libz -DDM_X -DIF_X -DDM_TK -DIF_TK -I../../src/other/libpng -I../../src/other/incrTcl/itk/generic -I../../src/other/incrTcl/itcl/generic -I../../src/other/tk/generic -I../../src/other/tk/unix -I../../src/other/tk/win -I../../src/other/tcl/generic -I../../src/other/tcl/unix -I../../src/other/tcl/generic -I../../src/other/tcl/unix -I../../src/other/tk/generic -I../../src/other/tk/unix -pipe -fno-strict-aliasing -fno-common -fexceptions -g -c -o libtclcad_la-tkImgFmtPIX.lo `test -f 'tkImgFmtPIX.c' || echo './'`tkImgFmtPIX.c /bin/bash ../../libtool --silent --tag=CC --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I/usr/local/include -DBRLCADBUILD=1 -I../../include -I../../src/other/openNURBS -I../../src/other/libz -DDM_X -DIF_X -DDM_TK -DIF_TK -I../../src/other/libpng -I../../src/other/incrTcl/itk/generic -I../../src/other/incrTcl/itcl/generic -I../../src/other/tk/generic -I../../src/other/tk/unix -I../../src/other/tk/win -I../../src/other/tcl/generic -I../../src/other/tcl/unix -I../../src/other/tcl/generic -I../../src/other/tcl/unix -I../../src/other/tk/generic -I../../src/other/tk/unix -pipe -fno-strict-aliasing -fno-common -fexceptions -g -c -o libtclcad_la-ged_obj.lo `test -f 'ged_obj.c' || echo './'`ged_obj.c /bin/bash ../../libtool --silent --tag=CC --silent --mode=link gcc -DDM_X -DIF_X -DDM_TK -DIF_TK -I../../src/other/libpng -I../../src/other/incrTcl/itk/generic -I../../src/other/incrTcl/itcl/generic -I../../src/other/tk/generic -I../../src/other/tk/unix -I../../src/other/tk/win -I../../src/other/tcl/generic -I../../src/other/tcl/unix -I../../src/other/tcl/generic -I../../src/other/tcl/unix -I../../src/other/tk/generic -I../../src/other/tk/unix -pipe -fno-strict-aliasing -fno-common -fexceptions -g -version-info 19:1 -no-undefined -Wc,-fexceptions -L/usr/local/lib -pipe -fno-strict-aliasing -fno-common -fexceptions -g -o libtclcad.la -rpath /usr/brlcad/lib libtclcad_la-tclcad.lo libtclcad_la-tclcadAutoPath.lo libtclcad_la-tkImgFmtPIX.lo libtclcad_la-ged_obj.lo ../../src/libged/libged.la ../../src/libwdb/libwdb.la ../../src/librt/librt.la ../../src/libbn/libbn.la ../../src/libbu/libbu.la -L../../src/other/tcl/unix -ltcl8.5 -ldl -lm ../../src/other/libpng/libpng.la -lm -lc -lpthread -L../../src/other/tcl/unix -ltcl8.5 -ldl -lm -lm ../../src/libbu/libbu.la -L../../src/other/tcl/unix -ltcl8.5 -ldl -lm ../../src/other/libpng/libpng.la -lm -lc -lpthread ../../src/other/libregex/libregex.la -lm ../../src/libsysv/libsysv.la ../../src/other/openNURBS/libopenNURBS.la -lstdc++ ../../src/libbn/libbn.la ../../src/libbu/libbu.la -L../../src/other/tcl/unix -ltcl8.5 -ldl -lm ../../src/other/libpng/libpng.la -lm -lc -lpthread -L../../src/other/tcl/unix -ltcl8.5 -ldl -lm -lm ../../src/libbu/libbu.la -L../../src/other/tcl/unix -ltcl8.5 -ldl -lm ../../src/other/libpng/libpng.la -lm -lc -lpthread ../../src/other/libpng/libpng.la -L../../src/other/tcl/unix -ltcl8.5 -ldl -lm ../../src/other/libregex/libregex.la ../../src/libdm/libdm.la ../../src/libged/libged.la ../../src/libwdb/libwdb.la ../../src/librt/librt.la ../../src/libbn/libbn.la ../../src/libbu/libbu.la -L../../src/other/tcl/unix -ltcl8.5 -ldl -lm ../../src/other/libpng/libpng.la -lm -lc -lpthread -L../../src/other/tcl/unix -ltcl8.5 -ldl -lm -lm ../../src/libbu/libbu.la -L../../src/other/tcl/unix -ltcl8.5 -ldl -lm ../../src/other/libpng/libpng.la -lm -lc -lpthread ../../src/other/libregex/libregex.la -lm ../../src/libsysv/libsysv.la ../../src/other/openNURBS/libopenNURBS.la -lstdc++ ../../src/libbn/libbn.la ../../src/libbu/libbu.la -L../../src/other/tcl/unix -ltcl8.5 -ldl -lm ../../src/other/libpng/libpng.la -lm -lc -lpthread -L../../src/other/tcl/unix -ltcl8.5 -ldl -lm -lm ../../src/libbu/libbu.la -L../../src/other/tcl/unix -ltcl8.5 -ldl -lm ../../src/other/libpng/libpng.la -lm -lc -lpthread ../../src/other/libpng/libpng.la -L../../src/other/tcl/unix -ltcl8.5 -ldl -lm ../../src/other/libregex/libregex.la ../../src/librt/librt.la ../../src/libbn/libbn.la ../../src/libbu/libbu.la -L../../src/other/tcl/unix -ltcl8.5 -ldl -lm ../../src/other/libpng/libpng.la -lm -lc -lpthread -L../../src/other/tcl/unix -ltcl8.5 -ldl -lm -lm ../../src/libbu/libbu.la -L../../src/other/tcl/unix -ltcl8.5 -ldl -lm ../../src/other/libpng/libpng.la -lm -lc -lpthread ../../src/other/libregex/libregex.la -lm ../../src/libsysv/libsysv.la ../../src/other/openNURBS/libopenNURBS.la -lstdc++ ../../src/libfb/libfb.la ../../src/libbu/libbu.la -L../../src/other/tcl/unix -ltcl8.5 -ldl -lm ../../src/other/libpng/libpng.la -lm -lc -lpthread ../../src/libpkg/libpkg.la -lnsl -L../../src/other/tcl/unix -ltcl8.5 -ldl -lm ../../src/other/libpng/libpng.la -L../../src/other/tk/unix -ltk8.5 -lX11 -lXext -lXi ../../src/libfb/libfb.la ../../src/libbu/libbu.la -L../../src/other/tcl/unix -ltcl8.5 -ldl -lm ../../src/other/libpng/libpng.la -lm -lc -lpthread ../../src/libpkg/libpkg.la -lnsl -L../../src/other/tcl/unix -ltcl8.5 -ldl -lm ../../src/other/incrTcl/libitk.la ../../src/other/incrTcl/libitcl.la -L../../src/other/tk/unix -ltk8.5 -L../../src/other/tcl/unix -ltclstub8.5 -L../../src/other/tcl/unix -ltcl8.5 -ldl -lm libtool: link: cannot find the library `../../src/libged/libged.la' or unhandled argument `../../src/libged/libged.la' make: *** [libtclcad.la] Error 1 bob@ubuntu:~/Documents/brlcad-7.16.4/src/libtclcad$ nm .libs/libtclcad.a | grep tkImgFmtPIX nm: '.libs/libtclcad.a': No such file bob@ubuntu:~/Documents/brlcad-7.16.4/src/libtclcad$ ---------------------------------------------------------------------- Comment By: Sean Morrison (brlcad) Date: 2010-02-23 07:01 Message: Explaining how to navigate on a command line is beyond the scope of support I'm willing to provide. I strongly suggest going through some basic tutorials (which can be found all over the web with simple searches) to learn some fundamentals about the command line. That said, run the command I mentioned: pwd. That will tell you where you are at. The cd command will change your directory to somewhere else. You need to change into the libtclcad directory. The instruction I initially gave you was a directory relative to your previous location indicated in that post. The libtclcad directory is inside a src directory which is at the root of a BRL-CAD source hierarchy. If you still don't understand, then again I suggest going over some basic tutorials then re-reading what I've written. ---------------------------------------------------------------------- Comment By: bharesc (bobharesceugh) Date: 2010-02-22 12:45 Message: gnore previous update, finger trouble. This is what i get if i just run "cd ../../src/libtclcad". Doesn't change directory. bob@ubuntu:~/Documents/brlcad-7.16.4$ cd ../../src/libtclcad bash: cd: ../../src/libtclcad: No such file or directory bob@ubuntu:~/Documents/brlcad-7.16.4$ ---------------------------------------------------------------------- Comment By: bharesc (bobharesceugh) Date: 2010-02-22 12:42 Message: This is what i get if i just run "cd ../../src/libtclcad". Doesn't change directory. cdbob@ubuntu:~/Documents/brlcad-7.16.4$ cd ../../src/libtclcad bash: cd: ../../src/libtclcad: No such file or directory bob@ubuntu:~/Documents/brlcad-7.16.4$ ---------------------------------------------------------------------- Comment By: Sean Morrison (brlcad) Date: 2010-02-22 06:30 Message: The steps I gave you should not have resulted in several minutes of compilation or even have been in the directory you reference. Did you leave out the "cd ../../src/libtclcad" ? I was mostly interested in the output from the nm command to see if there was any insight on the previous tkImgFmtPIX error. Given you still ran nm after that error in fbserv, I'm going to guess you didn't change directories into src/libtclcad before running make clean and make.. Try what I mentioned again -- but ONLY from the libtclcad directory. It shouldn't take more than a few seconds. The "pwd" command will tell you where you are at. ---------------------------------------------------------------------- Comment By: bharesc (bobharesceugh) Date: 2010-02-21 22:15 Message: Ran for a number of minutes before: - /bin/bash ../../libtool --silent --tag=CC --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 fbserv fbserv.o server.o ../../src/libfb/libfb.la /usr/bin/ld: warning: libtk8.5.so, needed by ../../src/libfb/.libs/libfb.so, not found (try using -rpath or -rpath-link) ../../src/libfb/.libs/libfb.so: undefined reference to `Tk_FindPhoto' ../../src/libfb/.libs/libfb.so: undefined reference to `Tk_GeometryRequest' ../../src/libfb/.libs/libfb.so: undefined reference to `Tk_MakeWindowExist' ../../src/libfb/.libs/libfb.so: undefined reference to `Tk_PhotoPutBlock' ../../src/libfb/.libs/libfb.so: undefined reference to `Tk_MainWindow' collect2: ld returned 1 exit status make[2]: *** [fbserv] Error 1 make[2]: Leaving directory `/home/bob/Documents/brlcad-7.16.4/src/fbserv' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/bob/Documents/brlcad-7.16.4/src' make: *** [all-recursive] Error 1 bob@ubuntu:~/Documents/brlcad-7.16.4$ nm .libs/libtclcad.a | grep tkImgFmtPIX nm: '.libs/libtclcad.a': No such file bob@ubuntu:~/Documents/brlcad-7.16.4$ ---------------------------------------------------------------------- Comment By: Sean Morrison (brlcad) Date: 2010-02-21 21:49 Message: Fantastic, that's progress. Now try this: cd ../../src/libtclcad make clean make nm .libs/libtclcad.a | grep tkImgFmtPIX That should rebuild the library that is causing problems. Still don't know the cause, but this should help narrow things a little. ---------------------------------------------------------------------- Comment By: bharesc (bobharesceugh) Date: 2010-02-21 19:39 Message: Thanks for your patience bob@ubuntu:~/Documents/brlcad-7.16.4$ cd src/bwish bob@ubuntu:~/Documents/brlcad-7.16.4/src/bwish$ bob@ubuntu:~/Documents/brlcad-7.16.4/src/bwish$ /bin/sh ../../libtool \ > --tag=CC \ > --mode=link gcc \ > -DBWISH=1 \ > -I../../src/other/incrTcl/itcl/generic \ > -I../../src/other/incrTcl/itk/generic \ > -I../../src/other/tcl/generic \ > -I../../src/other/tcl/unix \ > -I../../src/other/tk/generic \ > -I../../src/other/tk/unix \ > -I../../src/other/tk/win \ > -I../../src/other/tcl/generic \ > -I../../src/other/tcl/unix \ > -I../../src/other/tk/generic \ > -I../../src/other/tk/unix -pipe \ > -fno-strict-aliasing \ > -fno-common \ > -fexceptions \ > -g \ > -L/usr/local/lib \ > -pipe \ > -fno-strict-aliasing \ > -fno-common \ > -fexceptions \ > -g \ > -o bwish \ > bwish-cmd.o \ > bwish-input.o \ > bwish-main.o \ > bwish-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 libtool: link: gcc -DBWISH=1 -I../../src/other/incrTcl/itcl/generic -I../../src/other/incrTcl/itk/generic -I../../src/other/tcl/generic -I../../src/other/tcl/unix -I../../src/other/tk/generic -I../../src/other/tk/unix -I../../src/other/tk/win -I../../src/other/tcl/generic -I../../src/other/tcl/unix -I../../src/other/tk/generic -I../../src/other/tk/unix -pipe -fno-strict-aliasing -fno-common -fexceptions -g -pipe -fno-strict-aliasing -fno-common -fexceptions -g -o .libs/bwish bwish-cmd.o bwish-input.o bwish-main.o bwish-tcl.o -L/usr/local/lib ../../src/libtclcad/.libs/libtclcad.so -L/home/bob/Documents/brlcad-7.16.4/src/other/tcl/unix /home/bob/Documents/brlcad-7.16.4/src/libdm/.libs/libdm.so /home/bob/Documents/brlcad-7.16.4/src/other/incrTcl/.libs/libitcl.so -ltclstub8.5 ../../src/libdm/.libs/libdm.so /home/bob/Documents/brlcad-7.16.4/src/libged/.libs/libged.so /home/bob/Documents/brlcad-7.16.4/src/libwdb/.libs/libwdb.so /home/bob/Documents/brlcad-7.16.4/src/librt/.libs/librt.so /home/bob/Documents/brlcad-7.16.4/src/libbn/.libs/libbn.so /home/bob/Documents/brlcad-7.16.4/src/libsysv/.libs/libsysv.so /home/bob/Documents/brlcad-7.16.4/src/other/openNURBS/.libs/libopenNURBS.so -lstdc++ /home/bob/Documents/brlcad-7.16.4/src/libfb/.libs/libfb.so /home/bob/Documents/brlcad-7.16.4/src/libbu/.libs/libbu.so -lc -lpthread /home/bob/Documents/brlcad-7.16.4/src/libpkg/.libs/libpkg.so -lnsl /home/bob/Documents/brlcad-7.16.4/src/other/libpng/.libs/libpng.so /home/bob/Documents/brlcad-7.16.4/src/other/libz/.libs/libz.so ../../src/other/incrTcl/.libs/libitk.so ../../src/other/incrTcl/.libs/libitcl.so -L/home/bob/Documents/brlcad-7.16.4/src/other/tk/unix -ltk8.5 -ltcl8.5 -ldl -lm ../../src/libtermio/.libs/libtermio.so /home/bob/Documents/brlcad-7.16.4/src/other/libtermlib/.libs/libtermlib.so -Wl,-rpath -Wl,/usr/brlcad/lib bwish-cmd.o: In function `cmdInit': /home/bob/Documents/brlcad-7.16.4/src/bwish/cmd.c:371: undefined reference to `tkImgFmtPIX' collect2: ld returned 1 exit status bob@ubuntu:~/Documents/brlcad-7.16.4/src/bwish$ ---------------------------------------------------------------------- Comment By: Sean Morrison (brlcad) Date: 2010-02-21 18:19 Message: >From the look of that paste, you're missing spaces in at least a dozen other places. Lets try a different approach. Try copy-pasting from this instead. You should be able to copy-paste directly from the browser. The slashes should be at the end of each line except the last line. /bin/sh ../../libtool \ --tag=CC \ --mode=link gcc \ -DBWISH=1 \ -I../../src/other/incrTcl/itcl/generic \ -I../../src/other/incrTcl/itk/generic \ -I../../src/other/tcl/generic \ -I../../src/other/tcl/unix \ -I../../src/other/tk/generic \ -I../../src/other/tk/unix \ -I../../src/other/tk/win \ -I../../src/other/tcl/generic \ -I../../src/other/tcl/unix \ -I../../src/other/tk/generic \ -I../../src/other/tk/unix -pipe \ -fno-strict-aliasing \ -fno-common \ -fexceptions \ -g \ -L/usr/local/lib \ -pipe \ -fno-strict-aliasing \ -fno-common \ -fexceptions \ -g \ -o bwish \ bwish-cmd.o \ bwish-input.o \ bwish-main.o \ bwish-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 ---------------------------------------------------------------------- Comment By: bharesc (bobharesceugh) Date: 2010-02-21 17:56 Message: Remedied space error and result below: - bob@ubuntu:~/Documents/brlcad-7.16.4/src/bwish$ /bin/sh ../../libtool --tag=CC --mode=link gcc -DBWISH=1-I../../src/other/incrTcl/itcl/generic-I../../src/other/incrTcl/itk/generic -I../../src/other/tcl/generic-I../../src/other/tcl/unix -I../../src/other/tk/generic-I../../src/other/tk/unix -I../../src/other/tk/win-I../../src/other/tcl/generic -I../../src/other/tcl/unix-I../../src/other/tk/generic -I../../src/other/tk/unix -pipe-fno-strict-aliasing -fno-common -fexceptions -g -L/usr/local/lib -pipe-fno-strict-aliasing -fno-common -fexceptions -g -o bwish bwish-cmd.obwish-input.o bwish-main.o bwish-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 libtool: link: cannot find the library `../../src/other/incrTcl/libitk.la../../src/other/incrTcl/libitcl.la' or unhandled argument `../../src/other/incrTcl/libitk.la../../src/other/incrTcl/libitcl.la' However, seemed like space missing between "../../src/other/incrTcl/libitk.la" & "../../src/other/incrTcl/libitcl.la". Adding one gives:- bob@ubuntu:~/Documents/brlcad-7.16.4/src/bwish$ /bin/sh ../../libtool --tag=CC --mode=link gcc -DBWISH=1-I../../src/other/incrTcl/itcl/generic-I../../src/other/incrTcl/itk/generic -I../../src/other/tcl/generic-I../../src/other/tcl/unix -I../../src/other/tk/generic-I../../src/other/tk/unix -I../../src/other/tk/win-I../../src/other/tcl/generic -I../../src/other/tcl/unix-I../../src/other/tk/generic -I../../src/other/tk/unix -pipe-fno-strict-aliasing -fno-common -fexceptions -g -L/usr/local/lib -pipe-fno-strict-aliasing -fno-common -fexceptions -g -o bwish bwish-cmd.obwish-input.o bwish-main.o bwish-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 libtool: link: gcc -DBWISH=1-I../../src/other/incrTcl/itcl/generic-I../../src/other/incrTcl/itk/generic -I../../src/other/tcl/generic-I../../src/other/tcl/unix -I../../src/other/tk/generic-I../../src/other/tk/unix -I../../src/other/tk/win-I../../src/other/tcl/generic -I../../src/other/tcl/unix-I../../src/other/tk/generic -I../../src/other/tk/unix -pipe-fno-strict-aliasing -fno-common -fexceptions -g -pipe-fno-strict-aliasing -fno-common -fexceptions -g -o .libs/bwish bwish-cmd.obwish-input.o bwish-main.o bwish-tcl.o -L/usr/local/lib ../../src/libtclcad/.libs/libtclcad.so -L/home/bob/Documents/brlcad-7.16.4/src/other/tcl/unix /home/bob/Documents/brlcad-7.16.4/src/libdm/.libs/libdm.so /home/bob/Documents/brlcad-7.16.4/src/other/incrTcl/.libs/libitcl.so -ltclstub8.5 ../../src/libdm/.libs/libdm.so /home/bob/Documents/brlcad-7.16.4/src/libged/.libs/libged.so /home/bob/Documents/brlcad-7.16.4/src/libwdb/.libs/libwdb.so /home/bob/Documents/brlcad-7.16.4/src/librt/.libs/librt.so /home/bob/Documents/brlcad-7.16.4/src/libbn/.libs/libbn.so /home/bob/Documents/brlcad-7.16.4/src/libsysv/.libs/libsysv.so /home/bob/Documents/brlcad-7.16.4/src/other/openNURBS/.libs/libopenNURBS.so -lstdc++ /home/bob/Documents/brlcad-7.16.4/src/libfb/.libs/libfb.so /home/bob/Documents/brlcad-7.16.4/src/libbu/.libs/libbu.so -lc -lpthread /home/bob/Documents/brlcad-7.16.4/src/libpkg/.libs/libpkg.so -lnsl -lm /home/bob/Documents/brlcad-7.16.4/src/other/libpng/.libs/libpng.so /home/bob/Documents/brlcad-7.16.4/src/other/libz/.libs/libz.so ../../src/other/incrTcl/.libs/libitk.so ../../src/other/incrTcl/.libs/libitcl.so -L/home/bob/Documents/brlcad-7.16.4/src/other/tk/unix -ltk8.5-L../../src/other/tcl/unix -ltcl8.5 -ldl -lm../../src/libtermio/libtermio.la -Wl,-rpath -Wl,/usr/brlcad/lib gcc: bwish-cmd.obwish-input.o: No such file or directory gcc: unrecognized option '-pipe-fno-strict-aliasing' gcc: unrecognized option '-pipe-fno-strict-aliasing' Results of "sh autogen.sh -v" :- bob@ubuntu:~/Documents/brlcad-7.16.4$ sh autogen.sh -v Verbose output enabled Found a configure template: ./configure.ac Preparing the BRL-CAD build system...please wait Checking autoreconf version: autoreconf --version Checking autoconf version: autoconf --version Found GNU Autoconf version 2.64 Checking if 2.64.0 is greater than 2.52.0 Checking automake version: automake --version Found GNU Automake version 1.11 Checking if 1.11.0 is greater than 1.6.0 Checking libtoolize version: libtoolize --version Found GNU Libtool version 2.2.6 Checking if 2.2.6 is greater than 1.4.2 Checking aclocal version: aclocal --version Checking autoheader version: autoheader --version Checking whether to only output version information Backing up COPYING in /home/bob/Documents/brlcad-7.16.4 cp -p COPYING COPYING.8683.protect_from_automake.backup Backing up INSTALL in /home/bob/Documents/brlcad-7.16.4 cp -p INSTALL INSTALL.8683.protect_from_automake.backup Found an autom4te.cache directory, deleting it rm -rf autom4te.cache Recursively scanning the following directories: "/home/bob/Documents/brlcad-7.16.4/src/other/tcl/unix" "/home/bob/Documents/brlcad-7.16.4/src/other/tk/unix" "/home/bob/Documents/brlcad-7.16.4/misc/enigma" "/home/bob/Documents/brlcad-7.16.4/src/other/step" "/home/bob/Documents/brlcad-7.16.4/src/other/tkhtml3" Protecting files from automake in "/home/bob/Documents/brlcad-7.16.4/src/other/tcl/unix" Backing up COPYING in /home/bob/Documents/brlcad-7.16.4/src/other/tcl/unix cp -p COPYING COPYING.8683.protect_from_automake.backup Backing up INSTALL in /home/bob/Documents/brlcad-7.16.4/src/other/tcl/unix cp -p INSTALL INSTALL.8683.protect_from_automake.backup Found an autom4te.cache directory, deleting it rm -rf autom4te.cache Protecting files from automake in "/home/bob/Documents/brlcad-7.16.4/src/other/tk/unix" Backing up COPYING in /home/bob/Documents/brlcad-7.16.4/src/other/tk/unix cp -p COPYING COPYING.8683.protect_from_automake.backup Backing up INSTALL in /home/bob/Documents/brlcad-7.16.4/src/other/tk/unix cp -p INSTALL INSTALL.8683.protect_from_automake.backup Found an autom4te.cache directory, deleting it rm -rf autom4te.cache Protecting files from automake in "/home/bob/Documents/brlcad-7.16.4/misc/enigma" Backing up COPYING in /home/bob/Documents/brlcad-7.16.4/misc/enigma cp -p COPYING COPYING.8683.protect_from_automake.backup Backing up INSTALL in /home/bob/Documents/brlcad-7.16.4/misc/enigma cp -p INSTALL INSTALL.8683.protect_from_automake.backup Found an autom4te.cache directory, deleting it rm -rf autom4te.cache Protecting files from automake in "/home/bob/Documents/brlcad-7.16.4/src/other/step" Backing up COPYING in /home/bob/Documents/brlcad-7.16.4/src/other/step cp -p COPYING COPYING.8683.protect_from_automake.backup Backing up INSTALL in /home/bob/Documents/brlcad-7.16.4/src/other/step cp -p INSTALL INSTALL.8683.protect_from_automake.backup Found an autom4te.cache directory, deleting it rm -rf autom4te.cache Protecting files from automake in "/home/bob/Documents/brlcad-7.16.4/src/other/tkhtml3" Backing up COPYING in /home/bob/Documents/brlcad-7.16.4/src/other/tkhtml3 cp -p COPYING COPYING.8683.protect_from_automake.backup Backing up INSTALL in /home/bob/Documents/brlcad-7.16.4/src/other/tkhtml3 cp -p INSTALL INSTALL.8683.protect_from_automake.backup Found an autom4te.cache directory, deleting it rm -rf autom4te.cache Detected auxillary directory: misc Detected recursive configure directory: /home/bob/Documents/brlcad-7.16.4/src/other/tcl/unix Detected recursive configure directory: /home/bob/Documents/brlcad-7.16.4/src/other/tk/unix Detected recursive configure directory: /home/bob/Documents/brlcad-7.16.4/misc/enigma Detected recursive configure directory: /home/bob/Documents/brlcad-7.16.4/src/other/step Detected recursive configure directory: /home/bob/Documents/brlcad-7.16.4/src/other/tkhtml3 mv -f "misc/config.guess" "misc/config.guess.backup" mv -f "misc/config.sub" "misc/config.sub.backup" mv -f "misc/ltmain.sh" "misc/ltmain.sh.backup" Found extra aclocal search directory: m4 Automatically preparing build ... autoreconf -I m4 -i -f aclocal: couldn't open directory `m4': No such file or directory autoreconf: aclocal failed with exit status: 1 Warning: autoreconf failed Attempting to run the preparation steps individually Preparing build ... aclocal -I m4 Searching for AC_PROG_LIBTOOL in ./configure.ac libtoolize --automake -c -f aclocal -I m4 autoconf -f Searching for AM_CONFIG_HEADER in ./configure.ac autoheader Searching for AM_INIT_AUTOMAKE in ./configure.ac automake -a -c -f configure.ac:177: installing `misc/config.guess' configure.ac:177: installing `misc/config.sub' Recursively configuring the following directories: /home/bob/Documents/brlcad-7.16.4/src/other/tcl/unix /home/bob/Documents/brlcad-7.16.4/src/other/tk/unix /home/bob/Documents/brlcad-7.16.4/misc/enigma /home/bob/Documents/brlcad-7.16.4/src/other/step /home/bob/Documents/brlcad-7.16.4/src/other/tkhtml3 Processing recursive configure in /home/bob/Documents/brlcad-7.16.4/src/other/tcl/unix grep: Makefile.am: No such file or directory grep: Makefile.am: No such file or directory Found an autom4te.cache directory, deleting it rm -rf autom4te.cache aclocal Searching for AC_PROG_LIBTOOL in ./configure.in Searching for AM_PROG_LIBTOOL in ./configure.in Searching for LT_INIT in ./configure.in autoconf -f Searching for AM_CONFIG_HEADER in ./configure.in Searching for AC_CONFIG_HEADER in ./configure.in Searching for AM_INIT_AUTOMAKE in ./configure.in Processing recursive configure in /home/bob/Documents/brlcad-7.16.4/src/other/tk/unix grep: Makefile.am: No such file or directory grep: Makefile.am: No such file or directory Found an autom4te.cache directory, deleting it rm -rf autom4te.cache aclocal Searching for AC_PROG_LIBTOOL in ./configure.in Searching for AM_PROG_LIBTOOL in ./configure.in Searching for LT_INIT in ./configure.in autoconf -f Searching for AM_CONFIG_HEADER in ./configure.in Searching for AC_CONFIG_HEADER in ./configure.in Searching for AM_INIT_AUTOMAKE in ./configure.in Processing recursive configure in /home/bob/Documents/brlcad-7.16.4/misc/enigma mv -f "./config.guess" "./config.guess.backup" mv -f "./config.sub" "./config.sub.backup" aclocal Searching for AC_PROG_LIBTOOL in ./configure.ac Searching for AM_PROG_LIBTOOL in ./configure.ac Searching for LT_INIT in ./configure.ac autoconf -f Searching for AM_CONFIG_HEADER in ./configure.ac autoheader Searching for AM_INIT_AUTOMAKE in ./configure.ac automake -a -c -f configure.ac:13: installing `./config.guess' configure.ac:13: installing `./config.sub' Processing recursive configure in /home/bob/Documents/brlcad-7.16.4/src/other/step Detected auxillary directory: misc mv -f "misc/config.guess" "misc/config.guess.backup" mv -f "misc/config.sub" "misc/config.sub.backup" mv -f "misc/ltmain.sh" "misc/ltmain.sh.backup" Found extra aclocal search directory: m4 aclocal -I m4 Searching for AC_PROG_LIBTOOL in ./configure.ac libtoolize --automake -c -f aclocal -I m4 autoconf -f Searching for AM_CONFIG_HEADER in ./configure.ac autoheader Searching for AM_INIT_AUTOMAKE in ./configure.ac automake -a -c -f configure.ac:171: installing `misc/config.guess' configure.ac:171: installing `misc/config.sub' Processing recursive configure in /home/bob/Documents/brlcad-7.16.4/src/other/tkhtml3 Detected auxillary directory: tclconfig grep: Makefile.am: No such file or directory grep: Makefile.am: No such file or directory aclocal Searching for AC_PROG_LIBTOOL in ./configure.in Searching for AM_PROG_LIBTOOL in ./configure.in Searching for LT_INIT in ./configure.in autoconf -f Searching for AM_CONFIG_HEADER in ./configure.in Searching for AC_CONFIG_HEADER in ./configure.in Searching for AM_INIT_AUTOMAKE in ./configure.in rm -f COPYING.8683.protect_from_automake.backup Restoring INSTALL from backup (automake -f likely clobbered it) rm -f INSTALL mv INSTALL.8683.protect_from_automake.backup INSTALL rm -f INSTALL.8683.protect_from_automake.backup rm -f "misc/config.guess.backup" rm -f "misc/config.sub.backup" rm -f "misc/ltmain.sh.backup" Recursively scanning the following directories: "/home/bob/Documents/brlcad-7.16.4/src/other/tcl/unix" "/home/bob/Documents/brlcad-7.16.4/src/other/tk/unix" "/home/bob/Documents/brlcad-7.16.4/misc/enigma" "/home/bob/Documents/brlcad-7.16.4/src/other/step" "/home/bob/Documents/brlcad-7.16.4/src/other/tkhtml3" Checking files for automake damage in "/home/bob/Documents/brlcad-7.16.4/src/other/tcl/unix" rm -f COPYING.8683.protect_from_automake.backup rm -f INSTALL.8683.protect_from_automake.backup Checking files for automake damage in "/home/bob/Documents/brlcad-7.16.4/src/other/tk/unix" rm -f COPYING.8683.protect_from_automake.backup rm -f INSTALL.8683.protect_from_automake.backup Checking files for automake damage in "/home/bob/Documents/brlcad-7.16.4/misc/enigma" rm -f COPYING.8683.protect_from_automake.backup Restoring INSTALL from backup (automake -f likely clobbered it) rm -f INSTALL mv INSTALL.8683.protect_from_automake.backup INSTALL rm -f INSTALL.8683.protect_from_automake.backup rm -f "./config.guess.backup" rm -f "./config.sub.backup" Checking files for automake damage in "/home/bob/Documents/brlcad-7.16.4/src/other/step" rm -f COPYING.8683.protect_from_automake.backup Restoring INSTALL from backup (automake -f likely clobbered it) rm -f INSTALL mv INSTALL.8683.protect_from_automake.backup INSTALL rm -f INSTALL.8683.protect_from_automake.backup rm -f "misc/config.guess.backup" rm -f "misc/config.sub.backup" rm -f "misc/ltmain.sh.backup" Checking files for automake damage in "/home/bob/Documents/brlcad-7.16.4/src/other/tkhtml3" rm -f COPYING.8683.protect_from_automake.backup rm -f INSTALL.8683.protect_from_automake.backup done The BRL-CAD build system is now prepared. To build here, run: ./configure make rm -f "misc/config.guess.backup" rm -f "misc/config.sub.backup" rm -f "misc/ltmain.sh.backup" Recursively scanning the following directories: "/home/bob/Documents/brlcad-7.16.4/src/other/tcl/unix" "/home/bob/Documents/brlcad-7.16.4/src/other/tk/unix" "/home/bob/Documents/brlcad-7.16.4/misc/enigma" "/home/bob/Documents/brlcad-7.16.4/src/other/step" "/home/bob/Documents/brlcad-7.16.4/src/other/tkhtml3" Checking files for automake damage in "/home/bob/Documents/brlcad-7.16.4/src/other/tcl/unix" Checking files for automake damage in "/home/bob/Documents/brlcad-7.16.4/src/other/tk/unix" Checking files for automake damage in "/home/bob/Documents/brlcad-7.16.4/misc/enigma" rm -f "./config.guess.backup" rm -f "./config.sub.backup" Checking files for automake damage in "/home/bob/Documents/brlcad-7.16.4/src/other/step" rm -f "misc/config.guess.backup" rm -f "misc/config.sub.backup" rm -f "misc/ltmain.sh.backup" Checking files for automake damage in "/home/bob/Documents/brlcad-7.16.4/src/other/tkhtml3" bob@ubuntu:~/Documents/brlcad-7.16.4$ Thanks ---------------------------------------------------------------------- Comment By: Sean Morrison (brlcad) Date: 2010-02-21 15:00 Message: Thanks for the autoreconf -v output. There is nothing suspicious there, if you would, provide the output from "sh autogen.sh -v" As for issuing that long make command as one line .. you _almost_ got it right. :) You're missing a space between "../../src/libtclcad/libtclcad.la" and "../../src/libdm/libdm.la" .. so it reported an error about not being able to find "../../src/libtclcad/libtclcad.la../../src/libdm/libdm.la". ---------------------------------------------------------------------- Comment By: bharesc (bobharesceugh) Date: 2010-02-21 08:42 Message: Hopefully the report has followed your instructions this time. bob@ubuntu:~/Documents/brlcad-7.16.4$ bob@ubuntu:~/Documents/brlcad-7.16.4$ nm src/libtclcad/.libs/libtclcad.a | grep tkImgFmtPIX libtclcad_la-tkImgFmtPIX.o: bob@ubuntu:~/Documents/brlcad-7.16.4$ autoreconf -v autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I m4 autoreconf: configure.ac: tracing autoreconf: configure.ac: adding subdirectory src/other/tcl/unix to autoreconf autoreconf: Entering directory `src/other/tcl/unix' autoreconf: configure.in: not using Gettext autoreconf: configure.in: not using aclocal autoreconf: configure.in: tracing autoreconf: configure.in: not using Libtool autoreconf: running: /usr/bin/autoconf autoreconf: configure.in: not using Autoheader autoreconf: configure.in: not using Automake autoreconf: Leaving directory `src/other/tcl/unix' autoreconf: configure.ac: adding subdirectory src/other/tk/unix to autoreconf autoreconf: Entering directory `src/other/tk/unix' autoreconf: Leaving directory `src/other/tk/unix' autoreconf: configure.ac: adding subdirectory misc/enigma to autoreconf autoreconf: Entering directory `misc/enigma' autoreconf: running: aclocal autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoheader autoreconf: running: automake --no-force autoreconf: Leaving directory `misc/enigma' autoreconf: configure.ac: adding subdirectory src/other/step to autoreconf autoreconf: Entering directory `src/other/step' autoreconf: running: libtoolize --copy libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. autoreconf: Leaving directory `src/other/step' autoreconf: configure.ac: adding subdirectory src/other/tkhtml3 to autoreconf autoreconf: Entering directory `src/other/tkhtml3' autoreconf: Leaving directory `src/other/tkhtml3' autoreconf: Leaving directory `.' bob@ubuntu:~/Documents/brlcad-7.16.4$ cd src/bwish bob@ubuntu:~/Documents/brlcad-7.16.4/src/bwish$ /bin/sh ../../libtool --tag=CC --mode=link gcc -DBWISH=1-I../../src/other/incrTcl/itcl/generic-I../../src/other/incrTcl/itk/generic -I../../src/other/tcl/generic-I../../src/other/tcl/unix -I../../src/other/tk/generic-I../../src/other/tk/unix -I../../src/other/tk/win-I../../src/other/tcl/generic -I../../src/other/tcl/unix-I../../src/other/tk/generic -I../../src/other/tk/unix -pipe-fno-strict-aliasing -fno-common -fexceptions -g -L/usr/local/lib -pipe-fno-strict-aliasing -fno-common -fexceptions -g -o bwish bwish-cmd.obwish-input.o bwish-main.o bwish-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 libtool: link: cannot find the library `../../src/libtclcad/libtclcad.la../../src/libdm/libdm.la' or unhandled argument `../../src/libtclcad/libtclcad.la../../src/libdm/libdm.la' bob@ubuntu:~/Documents/brlcad-7.16.4/src/bwish$ ---------------------------------------------------------------------- Comment By: Sean Morrison (brlcad) Date: 2010-02-20 17:38 Message: You needed to issue that second command as all ONE LINE. That is why there are so many bizzare "command not found" responses interleaved with the input you pasted. It pasted as many lines as it was just copy-pasted from this web page. You'd have to paste them fragment at a time so that it's all one line. If you have to, type it all by hand on one line. ---------------------------------------------------------------------- Comment By: bharesc (bobharesceugh) Date: 2010-02-19 12:51 Message: Here are the responses: - bob@ubuntu:~/Documents/brlcad-7.16.4$ nm src/libtclcad/.libs/libtclcad.a | grep tkImgFmtPIX libtclcad_la-tkImgFmtPIX.o: bob@ubuntu:~/Documents/brlcad-7.16.4$ bob@ubuntu:~/Documents/brlcad-7.16.4$ nm src/libtclcad/.libs/libtclcad.a | grep tkImgFmtPIX bash: bob@ubuntu:~/Documents/brlcad-7.16.4$: No such file or directory bob@ubuntu:~/Documents/brlcad-7.16.4$ libtclcad_la-tkImgFmtPIX.o: libtclcad_la-tkImgFmtPIX.o:: command not found bob@ubuntu:~/Documents/brlcad-7.16.4$ bob@ubuntu:~/Documents/brlcad-7.16.4$ bash: bob@ubuntu:~/Documents/brlcad-7.16.4$: No such file or directory bob@ubuntu:~/Documents/brlcad-7.16.4$ cd src/bwish bob@ubuntu:~/Documents/brlcad-7.16.4/src/bwish$ /bin/sh ../../libtool --tag=CC --mode=link gcc -DBWISH=1 libtool: link: you must specify an output file libtool: link: Try `libtool --help --mode=link' for more information. bob@ubuntu:~/Documents/brlcad-7.16.4/src/bwish$ -I../../src/other/incrTcl/itcl/generic bash: -I../../src/other/incrTcl/itcl/generic: No such file or directory bob@ubuntu:~/Documents/brlcad-7.16.4/src/bwish$ -I../../src/other/incrTcl/itk/generic -I../../src/other/tcl/generic bash: -I../../src/other/incrTcl/itk/generic: No such file or directory bob@ubuntu:~/Documents/brlcad-7.16.4/src/bwish$ -I../../src/other/tcl/unix -I../../src/other/tk/generic bash: -I../../src/other/tcl/unix: No such file or directory bob@ubuntu:~/Documents/brlcad-7.16.4/src/bwish$ -I../../src/other/tk/unix -I../../src/other/tk/win bash: -I../../src/other/tk/unix: No such file or directory bob@ubuntu:~/Documents/brlcad-7.16.4/src/bwish$ -I../../src/other/tcl/generic -I../../src/other/tcl/unix bash: -I../../src/other/tcl/generic: No such file or directory bob@ubuntu:~/Documents/brlcad-7.16.4/src/bwish$ -I../../src/other/tk/generic -I../../src/other/tk/unix -pipe bash: -I../../src/other/tk/generic: No such file or directory bob@ubuntu:~/Documents/brlcad-7.16.4/src/bwish$ -fno-strict-aliasing -fno-common -fexceptions -g -L/usr/local/lib -pipe -fno-strict-aliasing: command not found bob@ubuntu:~/Documents/brlcad-7.16.4/src/bwish$ -fno-strict-aliasing -fno-common -fexceptions -g -o bwish bwish-cmd.o -fno-strict-aliasing: command not found bob@ubuntu:~/Documents/brlcad-7.16.4/src/bwish$ bwish-input.o bwish-main.o bwish-tcl.o ../../src/libtclcad/libtclcad.la bwish-input.o: command not found bob@ubuntu:~/Documents/brlcad-7.16.4/src/bwish$ ../../src/libdm/libdm.la ../../src/other/incrTcl/libitk.la bash: ../../src/libdm/libdm.la: Permission denied bob@ubuntu:~/Documents/brlcad-7.16.4/src/bwish$ ../../src/other/incrTcl/libitcl.la -L../../src/other/tk/unix -ltk8.5 bash: ../../src/other/incrTcl/libitcl.la: Permission denied bob@ubuntu:~/Documents/brlcad-7.16.4/src/bwish$ -L../../src/other/tcl/unix -ltcl8.5 -ldl -lm bash: -L../../src/other/tcl/unix: No such file or directory bob@ubuntu:~/Documents/brlcad-7.16.4/src/bwish$ ../../src/libtermio/libtermio.la ---------------------------------------------------------------------- Comment By: Sean Morrison (brlcad) Date: 2010-02-18 23:44 Message: That second command should all go on two lines: cd src/bwish AND then all of this on one line (copy-paste it all); /bin/sh ../../libtool --tag=CC --mode=link gcc -DBWISH=1 -I../../src/other/incrTcl/itcl/generic -I../../src/other/incrTcl/itk/generic -I../../src/other/tcl/generic -I../../src/other/tcl/unix -I../../src/other/tk/generic -I../../src/other/tk/unix -I../../src/other/tk/win -I../../src/other/tcl/generic -I../../src/other/tcl/unix -I../../src/other/tk/generic -I../../src/other/tk/unix -pipe -fno-strict-aliasing -fno-common -fexceptions -g -L/usr/local/lib -pipe -fno-strict-aliasing -fno-common -fexceptions -g -o bwish bwish-cmd.o bwish-input.o bwish-main.o bwish-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 ---------------------------------------------------------------------- Comment By: Sean Morrison (brlcad) Date: 2010-02-18 23:42 Message: Your latest error doesn't make a whole lot of sense and may simply indicate your compilation is in some peculiar state from rerunning make. It's complaining about a missing symbol that should be provided by a library that it's linking in. What does this output: nm src/libtclcad/.libs/libtclcad.a | grep tkImgFmtPIX It should report something like this: sushi:~/brlcad morrison$ nm src/libtclcad/.libs/libtclcad.a|grep tkImgFmtPIX ../libtclcad/.libs/libtclcad.a(libtclcad_la-tkImgFmtPIX.o): 00000720 D _tkImgFmtPIX Run this and report the entire output: autoreconf -v Afterwards, try running this and report the entire output: cd src/bwish /bin/sh ../../libtool --tag=CC --mode=link gcc -DBWISH=1 -I../../src/other/incrTcl/itcl/generic -I../../src/other/incrTcl/itk/generic -I../../src/other/tcl/generic -I../../src/other/tcl/unix -I../../src/other/tk/generic -I../../src/other/tk/unix -I../../src/other/tk/win -I../../src/other/tcl/generic -I../../src/other/tcl/unix -I../../src/other/tk/generic -I../../src/other/tk/unix -pipe -fno-strict-aliasing -fno-common -fexceptions -g -L/usr/local/lib -pipe -fno-strict-aliasing -fno-common -fexceptions -g -o bwish bwish-cmd.o bwish-input.o bwish-main.o bwish-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 ---------------------------------------------------------------------- Comment By: bharesc (bobharesceugh) Date: 2010-02-18 19:45 Message: Sean Thanks for your help. Ran the following in terminal with the results: - bob@ubuntu:~$ sudo apt-get install xserver-xorg-dev libx11-dev libxi-dev Reading package lists... Done Building dependency tree Reading state information... Done xserver-xorg-dev is already the newest version. libx11-dev is already the newest version. libxi-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded. bob@ubuntu:~$ Installed gcc, make, autoconf, automake and libtool as directed in the readme file for linux. Ran sh autogen.sh with following output bob@ubuntu:~/Documents/brlcad-7.16.4$ sh autogen.sh Preparing the BRL-CAD build system...please wait Found GNU Autoconf version 2.64 Found GNU Automake version 1.11 Found GNU Libtool version 2.2.6 Automatically preparing build ... Warning: autoreconf failed Attempting to run the preparation steps individually Preparing build ... grep: Makefile.am: No such file or directory grep: Makefile.am: No such file or directory grep: Makefile.am: No such file or directory grep: Makefile.am: No such file or directory grep: Makefile.am: No such file or directory grep: Makefile.am: No such file or directory done The BRL-CAD build system is now prepared. To build here, run: ./configure make Ran ./configure --enable-all Ran make with resulting error message:- /home/bob/Documents/brlcad-7.16.4/src/bwish/cmd.c:371: undefined reference to `tkImgFmtPIX' collect2: ld returned 1 exit status make[2]: *** [bwish] Error 1 make[2]: Leaving directory `/home/bob/Documents/brlcad-7.16.4/src/bwish' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/bob/Documents/brlcad-7.16.4/src' make: *** [all-recursive] Error 1 bob@ubuntu:~/Documents/brlcad-7.16.4$ ---------------------------------------------------------------------- Comment By: Sean Morrison (brlcad) Date: 2010-02-17 13:53 Message: You apparently don't have the X11 development headers installed. You'll need to install those in order to compile. The package is something like x11-dev or xorg-x11-dev or something similar. I can't tell you the exact name as I don't use that OS, so you'll have to figure it out on your own. If your operating system has separate packages for Xt and Xi, you'll need to install those too. Once you install them, run "sh autogen.sh" again along with "./configure --enable-all" so that it can detect the new X11 portions you installed. ---------------------------------------------------------------------- Comment By: bharesc (bobharesceugh) Date: 2010-02-16 23:27 Message: Downloaded 7.16.4 and extracted into documents. Opened terminal in file 7.16.4 and got as far as "sudo make install". After running for some while errors indicated as follows. In file included from ./mged.h:73, from adc.c:35: ././mged_dm.h:566: error: expected declaration specifiers or ‘...’ before ‘XEvent’ make[3]: *** [mged-adc.o] Error 1 make[3]: Leaving directory `/home/bob/Documents/brlcad-7.16.4/src/mged' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/home/bob/Documents/brlcad-7.16.4/src/mged' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/bob/Documents/brlcad-7.16.4/src' make: *** [install-recursive] Error 1 bob@ubuntu:~/Documents/brlcad-7.16.4$ ---------------------------------------------------------------------- Comment By: Sean Morrison (brlcad) Date: 2010-02-15 21:50 Message: I suggest downloading the latest source distribution, 7.16.4 or later, and following the instructions in the included INSTALL file for source distributions. You'll get a lot of enhancements and bug fixes as well as a simplified generic installation. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=640803&aid=2952356&group_id=105292 |