Opened 12 years ago

Last modified 12 years ago

#34153 closed defect

ghostscript: C compiler cannot create executables — at Version 1

Reported by: lightoml@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: ghostscript

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

Hi,

I updated outdated which failed with below error message. Can anybody point out the error of my ways?

Thanks,
Chang-Seong

:debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2 -arch x86_64' CPPFLAGS='-isystem/opt/local/include' CXXFLAGS='-pipe -O2 -arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.7' CXX='/usr/bin/llvm-g++-4.2' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64' OBJC='/usr/bin/clang' FCFLAGS='-pipe -O2 -m64' GI_SCANNER_DISABLE_CACHE='1' INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -O2 -arch x86_64' FFLAGS='-pipe -O2 -m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang'
:debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.05" && ./configure --prefix=/opt/local --disable-compile-inits --disable-cups --disable-gtk --without-luratech --with-system-libtiff'
:debug:configure Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.05" && ./configure --prefix=/opt/local --disable-compile-inits --disable-cups --disable-gtk --without-luratech --with-system-libtiff
:info:configure checking for gcc... /usr/bin/clang
:info:configure checking whether the C compiler works... no
:info:configure configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.05':
:info:configure configure: error: C compiler cannot create executables
:info:configure See `config.log' for more details
:info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/work/ghostscript-9.05" && ./configure --prefix=/opt/local --disable-compile-inits --disable-cups --disable-gtk --without-luratech --with-system-libtiff " returned error 77
:error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details)
:debug:configure Backtrace: configure failure: shell command failed (see log for details)
    while executing
"$procedure $targetname"
:info:configure Warning: the following items did not execute (for ghostscript): org.macports.install org.macports.configure org.macports.build org.macports.destroot
:notice:configure Log for ghostscript is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_print_ghostscript/ghostscript/main.log

Change History (3)

Changed 12 years ago by lightoml@…

Attachment: main.log added

error log

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

Description: modified (diff)
Keywords: selfupdate ghostscript-9.05 removed
Port: ghostscript added
Summary: Self update failure related to the ghostscript-9.05ghostscript: C compiler cannot create executables

The output you pasted above shows:

:info:configure configure: error: C compiler cannot create executables
:info:configure See `config.log' for more details

So I'd check the config.log for more details. Also read this FAQ entry.

Changed 12 years ago by lightoml@…

Attachment: config.log added

config file for ghostscript-9.05

Note: See TracTickets for help on using tickets.