Opened 11 years ago

Closed 11 years ago

#38131 closed defect (duplicate)

phantomjs: cc1plus: error: unrecognized command line option "-fconstant-cfstrings"

Reported by: luca@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: phantomjs

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I performed a "port clean" the "port install" but installation of phantomjs fails:

$ sudo port install phantomjs
--->  Computing dependencies for phantomjs
--->  Fetching archive for phantomjs
--->  Attempting to fetch phantomjs-1.8.0_0.darwin_10.x86_64.tbz2 from http://lil.fr.packages.macports.org/phantomjs
--->  Attempting to fetch phantomjs-1.8.0_0.darwin_10.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/phantomjs
--->  Attempting to fetch phantomjs-1.8.0_0.darwin_10.x86_64.tbz2 from http://packages.macports.org/phantomjs
--->  Fetching distfiles for phantomjs
--->  Verifying checksum(s) for phantomjs
--->  Extracting phantomjs
--->  Applying patches to phantomjs
--->  Configuring phantomjs
--->  Building phantomjs
Error: org.macports.build for port phantomjs returned: command execution failed

Attachments (1)

main.log (30.4 KB) - added by luca@… 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by luca@…

Attachment: main.log added

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: luca@… removed
Description: modified (diff)
Summary: installing PhantomJS fails on Snow Leopard and macport 2.1.3phantomjs: cc1plus: error: unrecognized command line option "-fconstant-cfstrings"

The relevant error seems to be:

:info:build cc1plus: error: unrecognized command line option "-fconstant-cfstrings"

Also this port doesn't seem to be UsingTheRightCompiler.

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Duplicate of #36747.

Note: See TracTickets for help on using tickets.