Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#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)

gnuplot_error.log (159.9 KB) - added by citbspar918@… 11 years ago.
gnuplot build error log file
qt4_error.log (28.0 KB) - added by citbspar918@… 11 years ago.
qt4_mac build error file

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by citbspar918@…

Attachment: gnuplot_error.log added

gnuplot build error log file

Changed 11 years ago by citbspar918@…

Attachment: qt4_error.log added

qt4_mac build error file

comment:1 Changed 11 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: HighNormal
Resolution: invalid
Status: newclosed

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 in reply to:  1 Changed 11 years ago by citbspar918@…

Removing those frameworks worked. Thank you. Wonder if I should remove these permanently.

comment:3 Changed 11 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.

Note: See TracTickets for help on using tickets.