On 2009-01-26 21:28-0700 Jerry wrote:

> Hi Alan,
>
> I ran this script:
>
>
>
> cd /Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/temp
>
> echo "Running cmake."
> cmake \
> -DCMAKE_INSTALL_PREFIX=/Users/me/Documents/Programs/Ada/Code/Bindings/
> PLplot/plplot_svn/temp \
> /Users/me/Documents/Programs/Ada/Code/Bindings/PLplot/plplot_svn/
> test_c_library_build
>
> echo "Running make."
> make
>
> echo "Done"
> exit 0
>
>
>
> and got these results:
>
>
>
> Running cmake.
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /Users/me/Documents/Programs/Ada/
> Code/Bindings/PLplot/plplot_svn/temp
> Running make.
> Linking C shared library libHello.dylib
> /usr/bin/ld: unknown flag: -current_version
> collect2: ld returned 1 exit status
> make[2]: *** [Hello/libHello.0.0.1.dylib] Error 1
> make[1]: *** [Hello/CMakeFiles/Hello.dir/all] Error 2
> make: *** [all] Error 2
> Done

Hi Jerry:

Thanks very much.  I think you have confirmed there is a cmake-2.6.2 bug for
building shared libraries using the simple test project at
https://plplot.svn.sourceforge.net/svnroot/plplot/branches/test_cmake/test_c_library_build

I need a bit more information to take this issue to the CMake mailing list.

* What are the results of "make VERBOSE=1" (starting from a clean build,
again)?

* What are your OS X and gcc versions?

Hello to Hazen and Werner:

Can you confirm this bug for your Mac OS X systems for the simple test
project above or is this shared library issue for Mac OS X just confined to
Jerry's platform?  When reporting back, please state your OS X and gcc
versions.

Have either of you guys noticed a mention of this bug on the CMake list? I
have only been skimming that list traffic in the last 6 months so I may have
missed something.

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:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to