[MacPorts] #24787: wxMaxima 0.8.4 build failure
#24787: wxMaxima 0.8.4 build failure ----------------------------------+----------------------------------------- Reporter: nhepburn@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: wxMaxima 0.8.4 ----------------------------------+----------------------------------------- I have tried to install wxMaxima but not been successful. I have used the command sudo port update --enforce-variants <pkg_name> +universal for each of the components like jpeg, tiff, libpng, etc. After doing all that I ran the command to install wxMaxima and was able to get it past installing wxWidgets but then it fails on wxMaxima. I have attached the debug output from the -d switch. -- Ticket URL: <http://trac.macports.org/ticket/24787> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24787: wxMaxima 0.8.4 build failure ----------------------------------+----------------------------------------- Reporter: nhepburn@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: wxMaxima ----------------------------------+----------------------------------------- Changes (by macsforever2000@…): * port: wxMaxima 0.8.4 => wxMaxima -- Ticket URL: <http://trac.macports.org/ticket/24787#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24787: wxMaxima 0.8.4 build failure ----------------------------------+----------------------------------------- Reporter: nhepburn@… | Owner: usami-k@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: wxMaxima ----------------------------------+----------------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => usami-k@… Comment: Please remember to cc the maintainer. -- Ticket URL: <http://trac.macports.org/ticket/24787#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24787: wxMaxima 0.8.4 build failure ----------------------------------+----------------------------------------- Reporter: nhepburn@… | Owner: usami-k@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: wxMaxima ----------------------------------+----------------------------------------- Comment(by vincent.liegeois@…): I had the same error but was able to compile it by changing TEMPORALLY macports.conf file (/opt/local/etc/macports). For that, you need first to change the write permission on the file: sudo chmod +w macports.conf and then uncomment the line 59: build_arch i386. Then you can install: sudo port install wxmaxima by forcing i386 instead of x86_64. I don't using +universal variant. You should comment back the line 59 in macports.conf afterwards -- Ticket URL: <http://trac.macports.org/ticket/24787#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24787: wxMaxima 0.8.4 build failure ----------------------------------+----------------------------------------- Reporter: nhepburn@… | Owner: usami-k@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: wxMaxima ----------------------------------+----------------------------------------- Comment(by nhepburn@…): Replying to [comment:3 vincent.liegeois@…]:
I had the same error but was able to compile it by changing TEMPORALLY macports.conf file (/opt/local/etc/macports). For that, you need first to change the write permission on the file: sudo chmod +w macports.conf and then uncomment the line 59: build_arch i386.
Then you can install: sudo port install wxmaxima by forcing i386 instead of x86_64.
I don't using +universal variant.
You should comment back the line 59 in macports.conf afterwards
I tried that and it worked on my iMac. However, when I tried it on my MBP, it did not. I tried a number of things including completely uninstalling MacPorts and reinstalling. In doing so I made sure that I had the most up- to-date version of xcode installed. When I tried to install wxMaxima again, I had no luck. To force the i386 option, I used sudo port install wxMaxima +i386 It then complained that implicit variants should not be entered and it would be ignored. Hmmmm. -Neil -- Ticket URL: <http://trac.macports.org/ticket/24787#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24787: wxMaxima 0.8.4 build failure ----------------------------------+----------------------------------------- Reporter: nhepburn@… | Owner: usami-k@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: wxMaxima ----------------------------------+----------------------------------------- Comment(by and.damore@…): At the moment wxWidgets is only available for i386 and ppc target while the default target on SnowLeopard is x86_64, thus wxMaxima build fails because macports tries to link with different archs, here's the line from the file you attached: {{{ ld: warning: in /opt/local/lib/libwx_macu-2.8.dylib, file was built for i386 which is not the architecture being linked (x86_64) }}} You can override this appending '''build_arch=i386''' when building wxMaxima, there's no need to edit ''macports.conf''. The maintainer could add lines to set configure.build_arch for Intel and PPC machines to avoid having to set it explicitly from command line. I'm closing this ticket as I'm submitting a version bump to 0.8.6 too. -- Ticket URL: <https://trac.macports.org/ticket/24787#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24787: wxMaxima 0.8.4 build failure ----------------------------------+----------------------------------------- Reporter: nhepburn@… | Owner: usami-k@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: wxMaxima ----------------------------------+----------------------------------------- Comment(by and.damore@…): Replying to [comment:3 vincent.liegeois@…]:
You should comment back the line 59 in macports.conf afterwards
There's no really need to edit ''macports.conf'', anyway while suggesting changes to it you have to consider that a person could have edited it and thus it's better to quote the actual line you want to change rather than its number. -- Ticket URL: <https://trac.macports.org/ticket/24787#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24787: wxMaxima 0.8.4 build failure -----------------------------------+---------------------------------------- Reporter: nhepburn@… | Owner: usami-k@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: fixed | Keywords: Port: wxMaxima | -----------------------------------+---------------------------------------- Changes (by and.damore@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/24787#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts