[MacPorts] #34153: ghostscript: C compiler cannot create executables (was: Self update failure related to the ghostscript-9.05)

MacPorts noreply at macports.org
Sat Apr 21 10:03:45 PDT 2012


#34153: ghostscript: C compiler cannot create executables
----------------------------------+-----------------------------------------
 Reporter:  lightoml@…            |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  2.0.4                                
 Keywords:                        |        Port:  ghostscript                          
----------------------------------+-----------------------------------------
Changes (by ryandesign@…):

  * keywords:  selfupdate, ghostscript-9.05 =>
  * port:  => ghostscript


Old description:

> 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

New description:

 Hi,

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

 Thanks, [[br]]
 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
 }}}

--

Comment:

 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
 [wiki:FAQ#missingxcode FAQ entry].

-- 
Ticket URL: <https://trac.macports.org/ticket/34153#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list