Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#44727 closed defect (fixed)

CGAL fails to configure on Mavericks

Reported by: johnchristopherbowers+macports@… Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc:
Port: cgal

Description

I was having trouble getting CGAL to install, so I uninstalled macports completely and then downloaded the latest from the macports website and reinstalled.

I then attempted:

sudo port install cgal +qt4 +universal +demos

After macports installed all the dependencies successfully (including QT4), I get the following error:

--->  Configuring cgal
Error: org.macports.configure for port cgal returned: configure failure: command execution failed
Please see the log file for port cgal for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_cgal/cgal/main.log
To report a bug, follow the instructions in the guide:
   http://guide.macports.org/#project.tickets
Error: Processing of port cgal failed

I am attaching the main.log file and CMakeError.log and CMakeOutput.log logs.

Attachments (3)

CMakeError.log (10.4 KB) - added by johnchristopherbowers+macports@… 10 years ago.
CMakeOutput.log (44.1 KB) - added by johnchristopherbowers+macports@… 10 years ago.
main.log (132.7 KB) - added by johnchristopherbowers+macports@… 10 years ago.

Download all attachments as: .zip

Change History (9)

Changed 10 years ago by johnchristopherbowers+macports@…

Attachment: CMakeError.log added

Changed 10 years ago by johnchristopherbowers+macports@…

Attachment: CMakeOutput.log added

Changed 10 years ago by johnchristopherbowers+macports@…

Attachment: main.log added

comment:1 Changed 10 years ago by johnchristopherbowers+macports@…

I just tried the default variant and it installed successfully:

sudo port install cgal

However, I want to install the +qt4 +universal +demos variant.

comment:2 Changed 10 years ago by seanfarley (Sean Farley)

Owner: changed from macports-tickets@… to sean@…
Status: newassigned

Ok, I was able to reproduce this and found the +demos variant to be the problem. Also, unless you specifically have a reason for +universal, I would recommend dropping that. Looking at the errors, I think this is because CGAL 4.4 demos don't work with cmake 3.0. From their release page, it seems that 4.5 will have fixes for this and is due in a month, so I'm inclined to wait for the new release.

comment:3 Changed 10 years ago by mf2k (Frank Schima)

Keywords: cgal configure removed

comment:4 Changed 10 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: assignedclosed

This variant is beyond broken. By design, cgal needs to be installed first, then the demos and examples can be compiled later. So, I've removed the variant in r130957 and would recommend that people download the source if they want to run the demos.

comment:5 Changed 10 years ago by Veence (Vincent)

Thanks Sean for talking care of this. I had totally overlooked it. Happy 2015 by the way!

comment:6 Changed 10 years ago by seanfarley (Sean Farley)

No problem!

Note: See TracTickets for help on using tickets.