swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

configure script patch


From: Tom Wainwright
Subject: configure script patch
Date: Fri, 20 Jul 2001 16:33:02 -0700

The swarm 'configure' script has a bug causing 'make' to fail when the
'configure --host=...' option is used.

I recently updated my RedHat 7.0 system, then tried to install the
latest swarm snapshot (swarm-2001-07-18).  For some reason (that I'll
probably have to take up with RedHat), 'configure' is no longer able to
guess my host type, so I have to specify the '--host=i686-intel-linux'
option to configure.  This tickled a frustrating but minor bug in the
swarm configure script:  the --host option is not passed on to the calls
to 'configure' in the libobjc and avcall directories, so no Makefile's
are created in those directories, resulting in the 'make' failing as
soon as it enters libobjc.

To fix this, I added '--host=$host' to both of the subdirectory
configure calls, see diff file below.

-- 
Tom Wainwright
NOAA/NMFS/NWFSC
2030 S Marine Science Dr
Newport, OR 97365 USA
address@hidden

Diff's between the modified and the original swarm-2001-07-18/configure
scripts:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6250c6250
< (cd libobjc ; ${CONFIG_SHELL-/bin/sh} $abs_srcdir/libobjc/configure
--srcdir=$abs_srcdir/libobjc --cache-file=../config.cache
--exec-prefix=$exec_prefix --prefix=$prefix --bindir=$bindir
--sbindir=$sbindir --libdir=$libdir --includedir=$includedir
--oldincludedir=$oldincludedir --libexecdir=$libexecdir
--sharedstatedir=$sharedstatedir -localstatedir=$localstatedir
--sysconfdir=$sysconfdir --datadir=$datadir  --infodir=$infodir
--mandir=$mandir --enable-shared=$enable_shared
--enable-static=$enable_static --host=$host)
---
> (cd libobjc ; ${CONFIG_SHELL-/bin/sh} $abs_srcdir/libobjc/configure 
> --srcdir=$abs_srcdir/libobjc --cache-file=../config.cache 
> --exec-prefix=$exec_prefix --prefix=$prefix --bindir=$bindir 
> --sbindir=$sbindir --libdir=$libdir --includedir=$includedir 
> --oldincludedir=$oldincludedir --libexecdir=$libexecdir 
> --sharedstatedir=$sharedstatedir -localstatedir=$localstatedir 
> --sysconfdir=$sysconfdir --datadir=$datadir  --infodir=$infodir 
> --mandir=$mandir --enable-shared=$enable_shared 
> --enable-static=$enable_static)
6254c6254
<   (cd avcall; ${CONFIG_SHELL-/bin/sh} $abs_srcdir/avcall/configure
--srcdir=$abs_srcdir/avcall --cache-file=../config.cache
--exec-prefix=$exec_prefix --prefix=$prefix --bindir=$bindir
--sbindir=$sbindir --libdir=$libdir --includedir=$includedir
--oldincludedir=$oldincludedir --libexecdir=$libexecdir
--sharedstatedir=$sharedstatedir -localstatedir=$localstatedir
--sysconfdir=$sysconfdir --datadir=$datadir  --infodir=$infodir
--mandir=$mandir --enable-shared=$enable_shared
--enable-static=$enable_static --host=$host)
---
>   (cd avcall; ${CONFIG_SHELL-/bin/sh} $abs_srcdir/avcall/configure 
> --srcdir=$abs_srcdir/avcall --cache-file=../config.cache 
> --exec-prefix=$exec_prefix --prefix=$prefix --bindir=$bindir 
> --sbindir=$sbindir --libdir=$libdir --includedir=$includedir 
> --oldincludedir=$oldincludedir --libexecdir=$libexecdir 
> --sharedstatedir=$sharedstatedir -localstatedir=$localstatedir 
> --sysconfdir=$sysconfdir --datadir=$datadir  --infodir=$infodir 
> --mandir=$mandir --enable-shared=$enable_shared 
> --enable-static=$enable_static)

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]