Opened 9 years ago

Closed 9 years ago

#48641 closed defect (worksforme)

Cannot build cmake 3.3.1 on yosemite 10.10.5

Reported by: lingtalfi@… Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: cssdev
Port: cmake

Description

cmake failed to build after a clean macport reinstall. The enclosed log was given by the command: sudo port -t install cmake

Attachments (2)

main.log (671.0 KB) - added by lingtalfi@… 9 years ago.
main.2.log (77.8 KB) - added by neilt (Neil Tiffin) 9 years ago.
Different Error than first attachment

Download all attachments as: .zip

Change History (10)

Changed 9 years ago by lingtalfi@…

Attachment: main.log added

comment:1 Changed 9 years ago by neilt (Neil Tiffin)

Fails for me to. 10.10.5. Different error. Not clean install. Attached main2.log.

Last edited 9 years ago by neilt (Neil Tiffin) (previous) (diff)

Changed 9 years ago by neilt (Neil Tiffin)

Attachment: main.2.log added

Different Error than first attachment

comment:2 Changed 9 years ago by mf2k (Frank Schima)

Cc: css@… added
Owner: changed from macports-tickets@… to michaelld@…

In the future, please Cc the port maintainers (port info --maintainers cmake), if any.

comment:3 Changed 9 years ago by michaelld (Michael Dickens)

@neilt@…: Does the directory "/Library/Frameworks/Gtk.framework" exist when you "ls" for is? If so, you'll want to figure out what it's doing there & remove it if you can.

comment:4 Changed 9 years ago by michaelld (Michael Dickens)

@lingtalfi@…: Does the directory "/Library/Frameworks/libcurl.framework" exist when you "ls" for it? If so, you'll want to figure out what it's doing there & remove it if you can.

comment:5 Changed 9 years ago by michaelld (Michael Dickens)

For both posters: After removing the offending framework, you'll want to do:

sudo port clean cmake
sudo port selfupdate
sudo port upgrade cmake

or the like.

comment:6 in reply to:  3 Changed 9 years ago by neilt (Neil Tiffin)

Replying to michaelld@…:

@neilt@…: Does the directory "/Library/Frameworks/Gtk.framework" exist when you "ls" for is? If so, you'll want to figure out what it's doing there & remove it if you can.

Not sure at all why it was there. The top folders were dated 2013 and AFAIK the gtk stuff I use is installed by MacPorts. Removed it and cmake upgraded just fine after cleaning. Thanks for the quick help.

Last edited 9 years ago by neilt (Neil Tiffin) (previous) (diff)

comment:7 Changed 9 years ago by lingtalfi@…

@michaelld@…

Thanks, it worked :)

Removing /Library/Frameworks/libcurl.framework

sudo port clean cmake
sudo port selfupdate
sudo port upgrade cmake 
Error: cmake is not installed  // oops
sudo port install cmake    // ok

comment:8 Changed 9 years ago by michaelld (Michael Dickens)

Resolution: worksforme
Status: newclosed

Great; thanks for reporting back, both of you!

Note: See TracTickets for help on using tickets.