I am building with ROOTSYS set to the directory I wish to install in.
However, half way through the build, it starts to look to link against libraries, but looks in the install directory. (see attached file) I can hack this by soflinking the $ROOTSYS/lib to build_dir/lib but thats nasty and I assume its part of a bigger problem.
make: g77: Command not found
g++ -O2 -dynamiclib -single_module -undefined dynamic_lookup install_name /lib/libGpad.dylib -o lib/libGpad.dylib gpad/src/TAttCanvas.o gpad/src/TButton.o gpad/src/TCanvas.o gpad/src/TClassTree.o gpad/src/TColorWheel.o gpad/src/TControlBar.o gpad/src/TControlBarButton.o gpad/src/TCreatePrimitives.o gpad/src/TDialogCanvas.o gpad/src/TGroupButton.o gpad/src/TInspectCanvas.o gpad/src/TPad.o gpad/src/TPaveClass.o gpad/src/TSlider.o gpad/src/TSliderBox.o gpad/src/TView.o gpad/src/TViewer3DPad.o gpad/src/G__GPad.o -ldl -Llib -lGraf -lHist -Llib -lCore -lCint
ld: warning can't open dynamic library: /Users/caius/root/lib/libMatrix.dylib referenced from: lib/libGraf.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
ld: warning can't open dynamic library: /Users/caius/root/lib/libRIO.dylib referenced from: lib/libGraf.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
ld: Undefined symbols:__ZN11TBufferFileC1EN7TBuffer5EModeE referenced from libGraf expected to be defined in /Users/caius/root/lib/libRIO.dylib
...
g++ -g -dynamiclib -single_module -undefined dynamic_lookup -install_name /Library/STAR/ROOT/trunk-build/lib/libGpad.dylib -o lib/libGpad.dylib gpad/src/TAttCanvas.o gpad/src/TButton.o gpad/src/TCanvas.o gpad/src/TClassTree.o gpad/src/TColorWheel.o gpad/src/TControlBar.o gpad/src/TControlBarButton.o gpad/src/TCreatePrimitives.o gpad/src/TDialogCanvas.o gpad/src/TGroupButton.o gpad/src/TInspectCanvas.o gpad/src/TPad.o gpad/src/TPaveClass.o gpad/src/TSlider.o gpad/src/TSliderBox.o gpad/src/TView.o gpad/src/TViewer3DPad.o gpad/src/G__GPad.o -ldl -Llib -lGraf -lHist -Llib -lCore -lCint
ld: warning can't open dynamic library: /Library/STAR/ROOT/trunk-build/lib/libMatrix.dylib referenced from: lib/libGraf.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
ld: warning can't open dynamic library: /Library/STAR/ROOT/trunk-build/lib/libRIO.dylib referenced from: lib/libGraf.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
ld: Undefined symbols:
__ZN11TBufferFileC1EN7TBuffer5EModeE referenced from libGraf expected to be defined in /Library/STAR/ROOT/trunk-build/lib/libRIO.dylib
...
Same issue as reported below: ld is looking in the install directory for libMatrix, but it doesn’t exist there yet. I didn’t have any trouble on an Intel Mac running 10.5 with r20717. Regards, Adam