Alan,
The good news is that I just built plplot 5.11.0 under MacPorts.
The bad news is that it breaks GDL (the GNU Data Language), so I had to revert
to plplot 5.10.0…
Also I did have to patch one file:
--- cmake/modules/pkg-config.cmake.orig 2015-04-12 05:08:04.000000000 -0500
+++ cmake/modules/pkg-config.cmake 2015-06-04 11:16:24.000000000 -0500
@@ -204,7 +204,7 @@
"/System/Library/Frameworks/([^ ]*)\\.framework"
"-framework \\1"
link_flags
- ${link_flags}
+ "${link_flags}"
)
#message("(frameworks) link_flags = ${link_flags}")
endif(CMAKE_SYSTEM_NAME STREQUAL "Darwin”)
to avoid a "string sub-command REGEX, mode REPLACE needs at least 6 arguments
total to command.” error
On Jun 4, 2015, at 10:41 AM, Spong, Donald A. <[email protected]> wrote:
>
>
> I installed the x86_64 version of AquaTerm and that seems to have fixed the
> problems with aqt. However, as Marius noted, there are still issues with
> x86_64 vs. i386 incompatibility (see attached cmake.out and make.out files).
> These seem to arise from the wxwidgets linking. I’ve set
> ENABLE_wxwidgets=OFF, but it still tries to link wxwidgets. In the cmake step
> it somehow decides that the -arch i386 compiler flag needs to be added to
> wxwidgets_LINK_FLAGS. I don’t know why this choice is made. I’ve also gone
> back and explicitly set:
> export CC="gcc -arch x86_64 -O2"
> export CXX="g++ -arch x86_64 -O2”
> But the cmake step still insists on compiling wxwidgets and using the -arch
> i386 setting instead. Any suggestions as to what is causing this and how to
> fix it?
>
> - Thanks, Don
>
>
>> On Jun 3, 2015, at 10:34 PM, Jim Dishaw <[email protected]> wrote:
>>
>> One of the problems appears to be with AquaTerm. The x86_64 libraries are
>> missing, so there are three potential solutions:
>>
>> 1) Install the x86_64 version of AquaTerm
>> 2) Remove AquaTerm
>> 3) Disable the AquaTerm driver in cmake via -DENABLE_aqt=OFF (I think)
>>
>> Also, do you have both Quartz and MacPorts xorg-libX11 installed?
>>
>>> ---------- Forwarded message ----------
>>> Date: Wed, 3 Jun 2015 14:35:44 +0000
>>> From: "Spong, Donald A." <[email protected]>
>>> To: Alan W. Irwin <[email protected]>
>>> Cc: plplot_general <[email protected]>
>>> Subject: Re: [Plplot-general] Problems with building Plplot 5.11.0 install
>>> on
>>> MacOS
>>>
>>>
>>>
>>> Alan,
>>>
>>> I tried the newer version you referred to. It got through the cmake step,
>>> but still had errors in the make steps that prevented successful
>>> completion. The log files are attached.
>>>
>>> - Thanks, Don
>>>
>>>
>>>> On Jun 2, 2015, at 7:20 PM, Alan W. Irwin <[email protected]>
>>>> wrote:
>>>>
>>>> On 2015-06-02 22:07-0000 Spong, Donald A. wrote:
>>>>
>>>>> I’ve recently tried building Plplot 5.11.0 on my Mac, which is
>>>> running OSX 10.10.3, but without success yet. The Cmake log files are
>>>> attached. Suggestions as to what I need to fix would be appreciated.
>>>> Please ignore previous e-mail, which was accidentally sent before
>>>> completing.
>>>>
>>>> Hi Don:
>>>>
>>>> Thanks very much for your bug report concerning our build system.
>>>>
>>>> That wrong number of arguments bug is the result of an empty element
>>>> in the list of linker flags, and because that case is not common we
>>>> only managed (by chance) to catch and fix the bug two weeks ago.
>>>>
>>>> To get access to that fixed version (in our git master branch) please
>>>> follow directions at
>>>> <http://sourceforge.net/p/plplot/plplot/ci/master/tree/>, and if you
>>>> have any trouble with that version at all please let me know since
>>>> that is soon going to become our next release.
>>>>
>>>> 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); the Time
>>>> Ephemerides project (timeephem.sf.net); PLplot scientific plotting
>>>> software package (plplot.sf.net); 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
>>>> __________________________
>>> <cmake.out><make.out><make_install.out>
>>
>>
>
> <cmake.out><make.out>
Marius
--
Marius Schamschula
------------------------------------------------------------------------------
_______________________________________________
Plplot-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-general