#42215 closed defect (invalid)
Failed to install ghostscript
Reported by: | yangtj207@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | takanori@…, openmaintainer@… | |
Port: | ghostscript |
Description (last modified by mf2k (Frank Schima))
I was trying to install texlive and it failed when trying to install ghostscript.
---> Fetching archive for ghostscript ---> Attempting to fetch ghostscript-9.10_2+x11.darwin_13.x86_64.tbz2 from http://packages.macports.org/ghostscript ---> Attempting to fetch ghostscript-9.10_2+x11.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/ghostscript ---> Attempting to fetch ghostscript-9.10_2+x11.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/ghostscript ---> Fetching distfiles for ghostscript ---> Verifying checksums for ghostscript ---> Extracting ghostscript ---> Applying patches to ghostscript ---> Configuring ghostscript Error: Failed to configure ghostscript, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.10/config.log Error: org.macports.configure for port ghostscript returned: configure failure: command execution failed Error: Failed to install ghostscript Please see the log file for port ghostscript for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/main.log
From the messages, it tried to get archive for ghostscript first but none of the websites have it. Then it got the distfiles and tried to build it but failed. I have followed the instructions here: https://trac.macports.org/wiki/Migration and port clean ghostscript several times.
Attachments (1)
Change History (4)
Changed 11 years ago by yangtj207@…
comment:1 Changed 11 years ago by yangtj207@…
comment:2 Changed 11 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Resolution: | → invalid |
Status: | new → closed |
In the future, please use WikiFormatting.
The actual error from the main.log is:
:info:configure configure: error: C compiler cannot create executables
You did not install the Xcode command line tools.
comment:3 Changed 11 years ago by yangtj207@…
I had those installed already.
The real solution is (thanks to ticket 41217)
So, I just ran sudo clang… and…
$ sudo clang
You have not agreed to the Xcode license agreements. You must agree to both license agreements below in order to use Xcode.
Hit the Enter key to view the license agreements at '/Applications/Xcode.app/Contents/Resources/English.lproj/License.rtf'
…yadda…yadda…yadda…
By typing 'agree' you are agreeing to the terms of the software license agreements. Type 'print' to print them or anything else to cancel, [agree, print, cancel] agree
My system is 10.9.1