On Apr 29, 2008, at 6:54 AM, Marius Amado-Alves wrote: >> ... What is the exact full pathname of the gnat library on your >> platform? (Alan) > > Good question :-) > > I installed GNAT 4.3 from MacAda. > > It is working fine. The binaries (gcc, gnatmake, etc.) are all in > "usr/local/ada-4.3/bin" > > Assumption 2. everything GNAT is under "/usr/local/ada-4.3/" > > Assumption 2a. the "gnat library" is there too > > Now there is only 837465 paths to try... > I'm sorry that you haven't been able to get PLplot installed. I have two further comments, one for you if you want to keep listening in on this thread if it continues, and one for the list:
I'm no expert on installation issues but I've managed to write a bash script that gets the job done (with an exception-- see below) on Macs. I'd be glad to share it with you or post it to the list so that it can get a bit of vetting. In the script, the value that I use for CMAKE_LIBRARY_PATH is this: CMAKE_LIBRARY_PATH=/usr/local/ada-4.3/lib/gcc/powerpc-apple- darwin8/4.3.0/adalib:\ /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libblas.dylib:\ /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/liblapack.dylib export CMAKE_LIBRARY_PATH There's really no way to know this without asking around--this is kind of obscure stuff. The first path is to the GNAT library. The other two paths are to Apple's pre-installed numerical libraries, BLAS and LAPACK, which are necessary if you want to use the new vector-matrix capabilities of Ada 2005--otherwise, you can leave them off. FWIW, yesterday I tried to install PLplot from MacPorts and it failed with an obscure MacPorts-related error. I've joined the MacPorts list to see what's going on. I think you mentioned that the MacPorts installer never finished--FWIW, some of these installations can take hours. Finally (for the list), I have never succeeded in getting Ada to use Aquaterm to output PLplot stuff--the build always fails when I enable both Ada and Aquaterm. This is an issue that I have set aside to deal with other things. Some time back, Hazen Babcock suggested adding these lines to my bash installation file but I have not tried them: export CMAKE_Ada_compiler=/usr/local/ada-4.3/bin/gcc export GNAT_EXECUTABLE_BUILDER=/usr/local/ada-4.3/bin/gnatmake export GNAT_LIB=/usr/local/ada-4.3/lib/gcc/powerpc-apple- darwin8/4.3.0/adalib/libgnat.dylib export CMAKE_C_COMPILER=/usr/bin/gcc Jerry ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general