There's a problem on the posted source tarball for Mac OS X. You'll need to regenerate the configure script by running ./autogen.sh first, then run ./configure again as proceed. A fixed tarball (probably 7.0.4) will be posted soon that fixes a few of the problems being experienced.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for your help. I deleted my directory, unpacked the fresh tarball, ran the ./autogen.sh script and then proceeded to configure and run make.
It compiles, but now make install won't work. I'm running it under sudo and my admin password. The error is pasted below. If you could help me out with this too, that would be appreciated.
Thanks,
Adam.
Elapsed compilation time: 32 minutes, 46 seconds
Elapsed time since configuration: 35 minutes, 13 seconds
---
Run 'make install' to begin installation into /usr/brlcad
Run 'make benchmark' to run the BRL-CAD Benchmark Suite
Adam-McLeods-Computer:~/brlcad-7.0 adam$ make install
Making install in include
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/brlcad/include/brlcad" || "/usr/brlcad/include/brlcad"
/bin/sh: line 1: /usr/brlcad/include/brlcad: No such file or directory
make[2]: *** [install-brlcadincludeHEADERS] Error 127
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1
Adam-McLeods-Computer:~/brlcad-7.0 adam$
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1. You man need to "rm -rf /usr/brlcad" first before you run following script.
2. sudo visudo to put your name in /etc/sudoer file.
3. here is my tiny script to do the compilating work.
modify the path to your own.
conchi:~/src/brlcad-7.0 tjyang$ cat build-brlcad702.sh
#make distclean
#./autogen.sh
./configure --prefix=/opt/brlcad70
make
#so benchmark will work.
rm db/*.g
make benchmark
sudo make install
conchi:~/src/brlcad-7.0 tjyang$
Hope this help.
tj
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm having some trouble with my compile failing on Mac OS X 10.3.7.
The last few lines from the complie is at the end of this email. The full output is available as well, but I didn't want to make my post too large.
Can anyone help me find the problem.
Thanks,
Adam.
make[3]: Nothing to be done for `all-am'.
Making all in rttherm
make all-am
/bin/sh ../../libtool --mode=link gcc -pipe -fno-strict-aliasing -fno-common -fPIC -g -pipe -fno-strict-aliasing -fno-common -fPIC -Wl,-search_paths_first -mdynamic-no-pic -g -o rttherm rttherm-spectrum.o rttherm-vers.o rttherm-viewtherm.o ../../src/rt/librttherm.a ../../src/libmultispectral/libmultispectral.la ../../src/librt/librt.la ../../src/libfb/libfb.la ../../src/liboptical/liboptical.la ../../src/other/libtcl/libtcl8.4.la
gcc -pipe -fno-strict-aliasing -fno-common -fPIC -g -pipe -fno-strict-aliasing -fno-common -fPIC -Wl,-search_paths_first -mdynamic-no-pic -g -o .libs/rttherm rttherm-spectrum.o rttherm-vers.o rttherm-viewtherm.o ../../src/rt/librttherm.a -L../../src/libmultispectral/.libs -lmultispectral -L../../src/librt/.libs -L../../src/libfb/.libs -lfb -L/Users/adam/brlcad-7.0/src/libpkg/.libs -lpkg -L/usr/X11R6/lib -lX11 -lXi -lGL -L../../src/liboptical/.libs -loptical -L/Users/adam/brlcad-7.0/src/librt/.libs -lrt -L/Users/adam/brlcad-7.0/src/libbn/.libs -lbn -L/Users/adam/brlcad-7.0/src/libbu/.libs -lbu -L/Users/adam/brlcad-7.0/src/other/libtcl/.libs -L../../src/other/libtcl/.libs -ltcl8.4 -lz -lm
<snip>
ld: multiple definitions of symbol _stk_render
../../src/libmultispectral/.libs/libmultispectral.dylib(libmultispectral.19.0.1.dylib-master.o) definition of _stk_render
../../src/liboptical/.libs/liboptical.dylib(liboptical.19.0.1.dylib-master.o) definition of _stk_render
ld: multiple definitions of symbol _stk_setup
../../src/libmultispectral/.libs/libmultispectral.dylib(libmultispectral.19.0.1.dylib-master.o) definition of _stk_setup
../../src/liboptical/.libs/liboptical.dylib(liboptical.19.0.1.dylib-master.o) definition of _stk_setup
ld: multiple definitions of symbol _AmbientIntensity
../../src/libmultispectral/.libs/libmultispectral.dylib(libmultispectral.19.0.1.dylib-master.o) definition of _AmbientIntensity
../../src/liboptical/.libs/liboptical.dylib(liboptical.19.0.1.dylib-master.o) definition of _AmbientIntensity
make[3]: *** [rttherm] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Adam-McLeods-Computer:~/brlcad-7.0 adam$
There's a problem on the posted source tarball for Mac OS X. You'll need to regenerate the configure script by running ./autogen.sh first, then run ./configure again as proceed. A fixed tarball (probably 7.0.4) will be posted soon that fixes a few of the problems being experienced.
Thank you for your help. I deleted my directory, unpacked the fresh tarball, ran the ./autogen.sh script and then proceeded to configure and run make.
It compiles, but now make install won't work. I'm running it under sudo and my admin password. The error is pasted below. If you could help me out with this too, that would be appreciated.
Thanks,
Adam.
Elapsed compilation time: 32 minutes, 46 seconds
Elapsed time since configuration: 35 minutes, 13 seconds
---
Run 'make install' to begin installation into /usr/brlcad
Run 'make benchmark' to run the BRL-CAD Benchmark Suite
Adam-McLeods-Computer:~/brlcad-7.0 adam$ make install
Making install in include
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/brlcad/include/brlcad" || "/usr/brlcad/include/brlcad"
/bin/sh: line 1: /usr/brlcad/include/brlcad: No such file or directory
make[2]: *** [install-brlcadincludeHEADERS] Error 127
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1
Adam-McLeods-Computer:~/brlcad-7.0 adam$
1. You man need to "rm -rf /usr/brlcad" first before you run following script.
2. sudo visudo to put your name in /etc/sudoer file.
3. here is my tiny script to do the compilating work.
modify the path to your own.
conchi:~/src/brlcad-7.0 tjyang$ cat build-brlcad702.sh
#make distclean
#./autogen.sh
./configure --prefix=/opt/brlcad70
make
#so benchmark will work.
rm db/*.g
make benchmark
sudo make install
conchi:~/src/brlcad-7.0 tjyang$
Hope this help.
tj