Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4909860e094332f4e3e6b62b9d99b7aa486cd751
Ticket: 1688560fffffffffffffffffffffffffffffffff
./configure chokes on variables passed on the command line
User & Date: eriklns on 2007-03-26 17:07:30
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    When passing variables to a configure script, like:
    
    ./configure RANLIB=target-ranlib RC=/some/place/windres CC=target-gcc AR=target-ar
    
    the following error is generated:
    
    configure: warning: RANLIB=target-ranlib: invalid host type
    configure: warning: RC=/some/place/windres: invalid host type
    configure: error: can only configure for one host and one target at a time
    
    Googling for the error message, made me believe that the autoconf version that produces the configure script may not be up to par. On the other hand it might be the case that autoconf is broken.
    
    Note aside: passing variables as arguments to ./configure is the explicitly recommended (in favor of setting the environment variables before invoking ./configure) as per:
    
    http://www.gnu.org/software/autoconf/manual/autoconf.html#Defining-Variables
    
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "eriklns"
  10. subsystem changed to: "None"
  11. title changed to:
    ./configure chokes on variables passed on the command line
    
  12. type changed to: "Bug"