Changes between Initial Version and Version 2 of Ticket #14213


Ignore:
Timestamp:
Feb 7, 2008, 5:46:47 AM (16 years ago)
Author:
jmpp@…
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14213

    • Property Cc afb@… nox@… added
    • Property Summary changed from help2man-1.36.4 configure fails as compiler cannot create executable to Content of configure.cc variable is sometimes duplicated.
  • Ticket #14213 – Description

    initial v2  
    22
    33Most of the details of the bug are in the email, but the highlight is this:
    4 when configuring help2man-1.36.4, the compile doesn't finish as $(CC) has been doubly defined as "CC='/usr/bin/gcc-4.0 /usr/bin/gcc-4.0'"  This eventually throws off the linker, and fails the configure.
     4when configuring help2man-1.36.4, the compile doesn't finish as $(CC) has been doubly defined as `CC='/usr/bin/gcc-4.0 /usr/bin/gcc-4.0'`  This eventually throws off the linker, and fails the configure.
    55
    66There's an additional problem of the gcc -V flag not working.  Looks like within OS X, the lowercase "v" must be used, if the intent is to extract the version of gcc in use.
     
    3131My builds have been failing with the following info:
    3232
     33{{{
    3334--->  Configuring help2man
    3435Error: Target org.macports.configure returned: configure failure: shell
     
    4344compiler cannot create executables
    4445See `config.log' for more details.
     46}}}
    4547
    4648Having looked through the config.log, I noticed something peculiar.
    4749
     50{{{
    4851ac_cv_env_CC_value='/usr/bin/gcc-4.0 /usr/bin/gcc-4.0'
     52}}}
    4953
    5054and
    5155
     56{{{
    5257CC='/usr/bin/gcc-4.0 /usr/bin/gcc-4.0'
     58}}}
    5359
    54 The result is that $CC is doubly defined which seems the screw up the
     60The result is that `$CC` is doubly defined which seems the screw up the
    5561linker, as is evidenced here:
    5662
     63{{{
    5764configure:1632: $? = 1
    5865configure:1655: checking for C compiler default output file name
     
    6269the dynamic link editor, is not relocatable by the static link editor again
    6370collect2: ld returned 1 exit status
     71}}}
    6472
    6573I also noticed that the "-V" flag for gcc-4.0 is causing an error.
    6674
     75{{{
    6776configure:1629: /usr/bin/gcc-4.0 /usr/bin/gcc-4.0 -V </dev/null >&5
    6877gcc-4.0: argument to `-V' is missing
     78}}}
    6979
    7080I did attempt to do the configure and make manually from directly within the
     
    7282happen when I run:
    7383
     84{{{
    7485sudo port install rb-rubygems.
     86}}}
    7587
    7688I wouldn't have necessarily thought this was a bug (maybe double referencing