#37288 closed defect (invalid)
Port failed to build gnuplot
Reported by: | citbspar918@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | mojca (Mojca Miklavec), michaelld (Michael Dickens), ryandesign (Ryan Carsten Schmidt) | |
Port: | gnuplot, qt4-mac |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
OS: Mac OS X 10.7.5
Xcode: 4.3.2
Macports 2.1.2
I am new to Macports, and I found it very helpful. However, I got a "command execution failed" error at "Building gnuplot" stage. Here is the command I ran:
sudo port selfupdate sudo port install gnuplot
Searched website and could not find a fix.
And also when I tried to run "sudo port upgrade outdated
", it also failed at building qt4-mac. I think these are related. attached both log files here.
Appreciate your help.
Attachments (2)
Change History (5)
Changed 12 years ago by citbspar918@…
Attachment: | gnuplot_error.log added |
---|
comment:1 follow-up: 2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mojca@… michaelld@… ryandesign@… added |
---|---|
Description: | modified (diff) |
Keywords: | gnuplot qt4-mac removed |
Port: | gnuplot qt4-mac added |
Priority: | High → Normal |
Resolution: | → invalid |
Status: | new → closed |
The gnuplot log says:
:info:build ld: warning: ignoring file /Library/Frameworks//Foundation.framework/Foundation, missing required architecture x86_64 in file
The qt4-mac log says:
:info:configure ld: warning: ignoring file /Library/Frameworks//Carbon.framework/Carbon, missing required architecture x86_64 in file
After each, the logs mention undefined symbols.
These frameworks do not belong in /Library/Frameworks. Please remove them and any other conflicting frameworks you've added to that directory, then clean the affected ports and try again.
comment:2 Changed 12 years ago by citbspar918@…
Removing those frameworks worked. Thank you. Wonder if I should remove these permanently.
comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Yes, Carbon.framework and Foundation.framework are fundamental components of OS X. The correct versions of these frameworks are already on your system in /System/Library/Frameworks. The versions you had in /Library/Frameworks were not compiled for x86_64, which shows they were old, designed for OS X Leopard or older. If you have any other frameworks in /Library/Frameworks of which newer versions exist in /System/Library/Frameworks you should remove them as well.
gnuplot build error log file