[MacPorts] #31483: gnuplot: Unable to install with +wxwidgets variant
MacPorts
noreply at macports.org
Tue Apr 24 06:51:57 PDT 2012
#31483: gnuplot: Unable to install with +wxwidgets variant
---------------------------------+------------------------------------------
Reporter: vidakris@… | Owner: ryandesign@…
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Resolution: | Keywords:
Port: gnuplot |
---------------------------------+------------------------------------------
Comment(by mojca.miklavec.lists@…):
Replying to [comment:6 vidakris@…]:
> OK, now it compiles all right.
The reason why installing gnuplot 4.4.4 with +wxwidgetss fails for me is a
bug in autotools used for preparing gnuplot's configure script. (I asked
gnuplot developers to upgrade and they will hopefully use a newer version
for next release.) After using the patch from #33596 I have no problem
compiling with XCode 3.2 on 10.6 both clang and llvm-gcc-4.2, as well as
on 10.7 and XCode 4.2.1 (again, both with clang and llvm-gcc-4.2). The
only combination that fails is compiling with wxwidgets-devel and clang
compiler, which is why I have used
{{{
if {[variant_isset wxwidgets_devel]} {
# http://trac.wxwidgets.org/ticket/13565
if {${configure.compiler} == "clang"} {
configure.compiler llvm-gcc-4.2
}
}
}}}
In principle I can backport the patch for 4.6.0 to 4.4.4, but I see no
compelling reason to do so unless somebody tells me to do it (that is: if
upgrading to 4.6.0 is not feasible for one reason or the other). If anyone
else would want to backport the patch, simply take a look at lines around
"bool e = &s;" in configure script in
[https://trac.macports.org/attachment/ticket/33596/gnuplot4_6_0-v2-cocoa.diff
gnuplot4_6_0-v2-cocoa.diff]
> Wx terminal is still useless unfortunately. Plotting works fine, but the
color wheel keeps spinning, and the window won't react on clicks, so no
interactive functions work. But that's another topic.
Gnuplot 4.6.0 (#33596) solves that problem as well. So according to my
knowledge, once patches from ticket #33596 are applied, this ticket could
be closed as well.
--
Ticket URL: <https://trac.macports.org/ticket/31483#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list