#51726: Gildas Install Fail ------------------------+---------------------- Reporter: jtb1435@… | Owner: smaret@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: duplicate | Keywords: Port: gildas | ------------------------+---------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => duplicate Comment: Replying to [comment:9 jtb1435@…]:
I tried creating the test file, but as I've never worked with C++ before, it came up with an error when I tried to compile it.
{{{ test.cpp:1:1: error: expected unqualified-id {\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf400 ^ 1 error generated. }}} I don't know if this is an error on my part writing test.cpp or it relates to my original issue.
You saved the file as an RTF file, perhaps using TextEdit; its default mode is to save RTF files. You need to save as a text file instead. If you want to use TextEdit for this, you can choose Make Plain Text from the Format menu. You can also make text files the default in the TextEdit preferences window, if you like. This ticket is a duplicate of #46349. The fact that `sudo port select gcc ...` affects gildas is a bug in the gildas port. I've filed a new bug report for that: #51741. -- Ticket URL: <https://trac.macports.org/ticket/51726#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X