Thanks, Arjen. I looked into this a bit and played a little bit but I really 
don't understand the cmake code so I didn't get far.

There are four files that contain the string "install_name" by itself, not part 
of a longer string. On my system, when MacPorts is visible in /opt/local/, it 
is these four files:

/opt/local/share/cmake-2.8/Modules/Platform/Darwin-icc.cmake
/opt/local/share/cmake-2.8/Modules/Platform/Darwin-XL-C.cmake
/opt/local/share/cmake-2.8/Modules/Platform/Darwin-XL-CXX.cmake
/opt/local/share/cmake-2.8/Modules/Platform/Darwin.cmake

and the cmake version is 2.8.9_1.

I don't know whether this problem (not being able to build PLplot with GNAT GPL 
2013) is a cmake problem or a GNAT problem but as of now I've tried everything 
that I can think of short of putting this problem to another audience.

Jerry


On Jun 12, 2013, at 4:33 AM, Arjen Markus <arjen.mar...@deltares.nl> wrote:

> Hi Jerry,
> 
> could it be as simple as a missing space between
> -install_name and libplplotadad.0.dylib ?
> 
> Perhaps fiddling a bit with the CMake module files in the
> CMake installation (I found these options in
> Platform/Darwin.cmake and two similar ones) might help.
> 
> Regards,
> 
> Arjen
> 
> On Wed, 12 Jun 2013 04:22:01 -0700
> Jerry <lancebo...@qwest.net> wrote:
>> I'm a little bleary-eyed right now but I can't figure this problem out.
>> I just replaced my GPL GNAT (Ada) compiler with the new 2013 edition and am 
>> now getting a link error. I made a few trivial changes to my build script to 
>> account for some directory changes and I think it should be doing the same 
>> thing as it did with the old (2011 edition) compiler. But I'm getting this. 
>> "install_name" seems to be getting embedded in some funny places including 
>> several occurrences that appeared in the output before this, specifically as 
>> "-headerpad_max_install_names", as well as those shown below.
>> Linking Ada shared library libplplotadad.dylib
>> cd /usr/local/plplot_build_dir/bindings/ada && /opt/local/bin/cmake -E 
>> cmake_link_script CMakeFiles/plplotadad.dir/link.txt --verbose=1
>> /usr/local/adacore-gnat-2013/bin/gcc  -fPIC -single_module -dynamiclib 
>> -Wl,-headerpad_max_install_names -install_namelibplplotadad.0.dylib -o 
>> libplplotadad.0.0.0.dylib CMakeFiles/plplotadad.dir/plplot.o 
>> CMakeFiles/plplotadad.dir/plplot_thin.o 
>> CMakeFiles/plplotadad.dir/plplot_traditional.o 
>> CMakeFiles/plplotadad.dir/plplot_auxiliary.o 
>> ../../src/libplplotd.11.0.0.dylib 
>> /usr/local/adacore-gnat-2013/lib/gcc/x86_64-apple-darwin12.2.0/4.7.4/adalib/libgnat.dylib
>>  -lgcc_s.1
>> gcc: error: unrecognized command line option 
>> '-install_namelibplplotadad.0.dylib'
>> make[2]: *** [bindings/ada/libplplotadad.0.0.0.dylib] Error 1
>> make[1]: *** [bindings/ada/CMakeFiles/plplotadad.dir/all] Error 2
>> make: *** [all] Error 2
>> Jerry
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Windows:
>> Build for Windows Store.
>> http://p.sf.net/sfu/windows-dev2dev
>> _______________________________________________
>> Plplot-devel mailing list
>> Plplot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/plplot-devel
> 
> 
> 
> DISCLAIMER: This message is intended exclusively for the addressee(s) and may 
> contain confidential and privileged information. If you are not the intended 
> recipient please notify the sender immediately and destroy this message. 
> Unauthorized use, disclosure or copying of this message is strictly 
> prohibited.
> The foundation 'Stichting Deltares', which has its seat at Delft, The 
> Netherlands, Commercial Registration Number 41146461, is not liable in any 
> way whatsoever for consequences and/or damages resulting from the improper, 
> incomplete and untimely dispatch, receipt and/or content of this e-mail.
> 
> 
> 
> 


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to