I have changed my Ada compiler. (As described in a previous note, the
one that I have been using successfully has a small bug which is fixed
in later versions.) For the record, the old compiler was obtained from
MacAda.org, is 32 bits, and runs on OS X 10.5 (Leopard). The new
compiler is from sourceforge, also 32 bits and also running on Leopard.
The PLplot build completes but testing of the Ada examples fails with
this:
Test project /usr/local/plplot_build_dir
Constructing a list of tests
Done constructing a list of tests
Changing directory into /usr/local/plplot_build_dir/plplot_test
2/ 15 Testing examples_ada
Test command: /bin/bash -c EXAMPLES_DIR=/usr/local/plplot_build_dir/
examples\ SRC_EXAMPLES_DIR=/Users/jerrybauck/Documents/Programs/Ada/
Code/Bindings/PLplot/plplot_svn/plplot/examples\ ./plplot-test.sh\ --
verbose\ --device=psc\ --front-end=ada
Test timeout computed to be: 1500
Testing front-end ada
x01
./test_ada.sh: line 32: 5252 Trace/BPT trap "$adadir"/x$
{index}${lang} -dev $device -o "${OUTPUT_DIR}"/x${index}${lang}%n.
$dsuffix $options 2> test.error >|"${OUTPUT_DIR}"/x${index}${lang}_$
{dsuffix}.txt
dyld: Library not loaded: @rpath/libgnat-2009.dylib
Referenced from: /usr/local/plplot_build_dir/examples/ada/x01a
Reason: image not found
-- Process completed
***Failed
0% tests passed, 1 tests failed out of 1
The following tests FAILED:
2 - examples_ada (Failed)
Errors while running CTest
I get the same missing library complaint when I try to run the Ada
examples myself unless I first run
export DYLD_LIBRARY_PATH=/usr/local/ada-4.3/lib/gcc/i386-apple-
darwin9.7.0/4.3.4/adalib:/usr/local/plplot/lib/
which is normal (I've always done that extra -- or similar-- step to
run the Ada examples). However, adding this to my build script has no
effect. Neither does adding this:
GNAT_LIB=/usr/local/ada-4.3/lib/gcc/i386-apple-darwin9.7.0/4.3.4/adalib/
export GNAT_LIB
The strange thing is, the directory containing libgnat-2009.dylib has
a symlink named libgnat.dylib in the same directory which points to it
and is found when each of the examples is linked.
Jerry
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel