[MacPorts] #31483: Unable to install gnuplot with wxwidgets
#31483: Unable to install gnuplot with wxwidgets --------------------------------+------------------------------------------- Reporter: vidakris@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: gnuplot wxwidgets | Port: --------------------------------+------------------------------------------- sudo port install gnuplot +wxwidgets gives the following error: {{{ Error: Cannot install gnuplot for the arch(s) 'x86_64' because Error: its dependency wxWidgets is only installed for the arch 'i386' Error: and does not have a universal variant. Error: Unable to execute port: architecture mismatch }}} -- Ticket URL: <https://trac.macports.org/ticket/31483> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31483: gnuplot: Unable to install with +wxwidgets variant --------------------------------+------------------------------------------- Reporter: vidakris@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: gnuplot --------------------------------+------------------------------------------- Changes (by ryandesign@…): * status: new => assigned * cc: vidakris@… (removed) * owner: macports-tickets@… => ryandesign@… * keywords: gnuplot wxwidgets => * port: => gnuplot -- Ticket URL: <https://trac.macports.org/ticket/31483#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31483: gnuplot: Unable to install with +wxwidgets variant ---------------------------------+------------------------------------------ Reporter: vidakris@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: gnuplot | ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Old description:
sudo port install gnuplot +wxwidgets
gives the following error:
{{{ Error: Cannot install gnuplot for the arch(s) 'x86_64' because Error: its dependency wxWidgets is only installed for the arch 'i386' Error: and does not have a universal variant. Error: Unable to execute port: architecture mismatch }}}
New description: {{{ sudo port install gnuplot +wxwidgets }}} gives the following error: {{{ Error: Cannot install gnuplot for the arch(s) 'x86_64' because Error: its dependency wxWidgets is only installed for the arch 'i386' Error: and does not have a universal variant. Error: Unable to execute port: architecture mismatch }}} -- Comment: r84836. -- Ticket URL: <https://trac.macports.org/ticket/31483#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 | ---------------------------------+------------------------------------------ Changes (by vidakris@…): * status: closed => reopened * resolution: fixed => Comment: After the previous fix, port install will start, it gives however the following error: {{{ Error: Target org.macports.build returned: shell command failed (see log for details) }}} main.log is attached. -- Ticket URL: <https://trac.macports.org/ticket/31483#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ryandesign@…): Ok, that's a different problem. I'm able to reproduce it on Snow Leopard with Xcode 3.2.6 if I request the use of llvm-gcc-4.2 or clang. By default MacPorts compiles using gcc-4.2 on Xcode 3.2.x which works fine. But because you're on Xcode 4.1.x the default is llvm-gcc-4.2. Try using gcc-4.2 instead: {{{ sudo port clean gnuplot sudo port install gnuplot +wxwidgets configure.compiler=gcc-4.2 }}} -- Ticket URL: <https://trac.macports.org/ticket/31483#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 vidakris@…): OK, now it compiles all right. 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. -- Ticket URL: <https://trac.macports.org/ticket/31483#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#31483: gnuplot: Unable to install with +wxwidgets variant ---------------------------------+------------------------------------------ Reporter: vidakris@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: gnuplot | ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * owner: ryandesign@… => macports-tickets@… * status: reopened => new -- Ticket URL: <https://trac.macports.org/ticket/31483#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31483: gnuplot: Unable to install with +wxwidgets variant ---------------------------------+------------------------------------------ Reporter: vidakris@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: gnuplot | ---------------------------------+------------------------------------------ Changes (by pixilla@…): * status: new => closed * resolution: => fixed Comment: See r92569 -- Ticket URL: <https://trac.macports.org/ticket/31483#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts