Microsoft KB Archive/246374

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Knowledge Base


Configure Scripts and Porting - Running Configure Scripts

Article ID: 246374

Article Last Modified on 10/30/2006



APPLIES TO

  • Microsoft Interix 2.2 Standard Edition
  • Microsoft Interix 2.2 Standard Edition
  • Microsoft Interix 2.2 Standard Edition
  • Microsoft Interix 2.2 Standard Edition



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/.

Keywords: kbinfo KB246374