[MacPorts] #34153: ghostscript: C compiler cannot create executables

MacPorts noreply at macports.org
Sat Apr 21 21:02:38 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                          
----------------------------------+-----------------------------------------

Comment(by lightoml@…):

 There was no clang in /usr/bin. So I make a link like below.

 sudo ln -s /Developer/usr/bin/clang /usr/bin/clang

 Then tried it agian. But other error message is shown like the below. Can
 anyone help me? Thanks!


 configure:2647: checking for gcc
 configure:2674: result: /usr/bin/clang
 configure:2903: checking for C compiler version
 configure:2912: /usr/bin/clang --version >&5
 Apple clang version 3.0 (tags/Apple/clang-211.12) (based on LLVM 3.0svn)
 Target: x86_64-apple-darwin11.3.0
 Thread model: posix
 configure:2923: $? = 0
 configure:2912: /usr/bin/clang -v >&5
 Apple clang version 3.0 (tags/Apple/clang-211.12) (based on LLVM 3.0svn)
 Target: x86_64-apple-darwin11.3.0
 Thread model: posix
 configure:2923: $? = 0
 configure:2912: /usr/bin/clang -V >&5
 clang: error: argument to '-V' is missing (expected 1 value)
 clang: error: no input files
 configure:2923: $? = 1
 configure:2912: /usr/bin/clang -qversion >&5
 clang: error: no input files
 configure:2923: $? = 1
 configure:2943: checking whether the C compiler works
 configure:2965: /usr/bin/clang -pipe -O2 -arch x86_64
 -isystem/opt/local/include -L/opt/local/lib -arch x86_64 conftest.c  >&5
 ld: library not found for -lcrt1.10.6.o
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 configure:2969: $? = 1
 configure:3007: result: no
 configure: failed program was:

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


More information about the macports-tickets mailing list