Configure Scripts and Porting - Running Configure Scripts (246374)



The information in this article applies to:

  • Interix 2.2.1
  • Interix 2.2.2
  • Interix 2.2.3
  • Interix 2.2.4

This article was previously published under Q246374

SUMMARY

This article explains how to successfully run configure scripts.

MORE INFORMATION

When you run configure scripts, use the following command line (broken across lines for readability):

$ CONFIG_SHELL=$INTERIX_ROOT/bin/sh./configure --prefix=$INTERIX_ROOT/usr --bindir=$INTERIX_ROOT/bin --exec-prefix=$INTERIX_ROOT
--sbindir=$INTERIX_ROOT/usr/local/bin  --libdir=$INTERIX_ROOT/usr/lib --sysconfdir=$INTERIX_ROOT/etc --host=alpha-pc-opennt
				
  • On an OPENNT 2.0 system, the assignment CPP='cc -E' should precede the command line.
  • Substitute values for - -bindir - -sbindir, and - -host to pertain to your system. If you're running an Intel-based computer, use - -host=intel-pc-opennt.
  • Substitute that value for --sbindir if you created a directory.
    $INTERIX_ROOT/usr/local/sbin

    Note: The directories specified for these options need to exist before you run the script. Not all of the options are recognized by all configure scripts.
  • If you prefer not to type the command line, you may want to encapsulate it in a shell script or create a local config.site file for your system.
For additional information on configuring scripts with INTERIX, see http://www.interix.com/NewInterix/technotes/note0007.html.

Modification Type:MajorLast Reviewed:7/31/2001
Keywords:kbinfo KB246374