Sorry for taking so long to run this little experiment.

First, this happened:


-bash-2.05b$ ./hello
dyld: Library not loaded: libgnat-4.3.dylib
   Referenced from: /usr/local/plplot_build_dir/src_executable/./hello
   Reason: image not found
Trace/BPT trap
-bash-2.05b$


Then this happened:

-bash-2.05b$ LD_LIBRARY_PATH=/usr/local/ada-4.3/lib/gcc/powerpc-apple- 
darwin8/4.3.0/adalib
-bash-2.05b$ export LD_LIBRARY_PATH
-bash-2.05b$ ./hello
dyld: Library not loaded: libgnat-4.3.dylib
   Referenced from: /usr/local/plplot_build_dir/src_executable/./hello
   Reason: image not found
Trace/BPT trap
-bash-2.05b$


Jerry


On May 22, 2008, at 1:05 PM, Alan W. Irwin wrote:

> In case the developers on this list were curious about all my recent
> commits, I have been working on a test project that builds a simple  
> Ada
> example.  (My thanks to Jerry Bauck for supplying the Ada source  
> code for
> this "hello, world" example.) The point of this project (isolated  
> on its own
> separate branch at branches/test_cmake/test_ada test_ada) is for  
> users to
> test my experimental CMake Ada language support on their various  
> platforms.
> If you are interested in helping me by doing such tests, you should  
> check
> out the project using
>
> "svn checkout
> https://plplot.svn.sourceforge.net/svnroot/plplot/branches/ 
> test_cmake/test_ada
> test_ada"
>
> and build it with the normal cmake; and make commands in a separate  
> build
> directory.
>
> Afterwards you should cd into the build directory subdirectory called
> src_executable and run "./hello" That executable should simply emit a
> "hello, world" message if everything is working correctly on your  
> platform.
>
> Jerry, I would be particularly interested in whether this simple  
> test case
> works for you on Mac OS X, but platform reports would be useful  
> from others
> here as well.
>
> Currently, this simple test works (with one exception) for me on Linux
> (Debian testing) and with cmake 2.4.8.
>
> The exception is the "make clean" issue that Andrew Ross discovered  
> recently
> for the PLplot version of our Ada support files.  I have deliberately
> avoided using Andrew's workaround for this issue in hopes that I  
> will be
> able to find a more fundamental fix.
>
> An interesting result of this test case is it _does not_ work yet  
> on cmake
> 2.6.0.  This means that our current PLplot Ada bindings and  
> examples also
> will not work for cmake 2.6.0.
>
> Of course, once I get the "make clean" issue and cmake 2.6.0 issues  
> fixed
> for my simple Ada test case, then I plan to port all the required Ada
> support file changes to PLplot.
>
> Alan
> __________________________
> Alan W. Irwin
>
> Astronomical research affiliation with Department of Physics and  
> Astronomy,
> University of Victoria (astrowww.phys.uvic.ca).
>
> Programming affiliations with the FreeEOS equation-of-state  
> implementation
> for stellar interiors (freeeos.sf.net); PLplot scientific plotting  
> software
> package (plplot.org); the libLASi project (unifont.org/lasi); the  
> Loads of
> Linux Links project (loll.sf.net); and the Linux Brochure Project
> (lbproject.sf.net).
> __________________________
>
> Linux-powered Science
> __________________________
>
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Plplot-devel mailing list
> Plplot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plplot-devel
>


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to