"build_alias" trouble under Cygwin when use "--disable-networking"

Steve Strobel steve at link-comm.com
Sat Jan 10 00:32:20 UTC 2004


A while back I reported that I had solved my problems with random 
"configure: error: invalid variable name: build_alias" errors by disabling 
my virus checker while configuring or building RTEMS (though it didn't seem 
to be necessary while building anything else).  I have continued to have 
random failures after that even with the virus checker disabled, but 
nothing consistent (just rebuilding usually seems to fix it, especially if 
I lighten the load on my computer by shutting down other programs).

Now I seem to have found a way to make it fail consistently.  It generally 
works when I do:

   ../rtems-4.6.0pre5/configure --target=m68k-rtems \
     --enable-rtemsbsp=mcf5206elite

and consistently fails when I do:

   ../rtems-4.6.0pre5/configure --target=m68k-rtems \
     --enable-rtemsbsp=mcf5206elite --disable-networking

Is there something I should check with my Cygwin setup?  ("cygcheck -c" 
doesn't find any problems.)  Is this kind of instability typical with 
Cygwin?  Should I give up on it and set up a Linux box to compile 
with?  Thanks for any suggestions.

Steve

P.S.  Log files from a successful build (no --disable-networking), a failed 
build (with --disable-networking) and "cygcheck -c" follow.  Thanks again.


Steve at Steve /rtems/build-4.6.0pre5-cfv2_66-no-networking
$ ../rtems-4.6.0pre5/configure --target=m68k-rtems --enable-rtemsbsp=mcf5206eli
te
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.6.0pre5
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking target system type... m68k-unknown-rtems
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking if the test suites are enabled? ... no
configure: creating ./config.status
configure: configuring in ./tools/build
configure: running /bin/bash 
'../../../rtems-4.6.0pre5/tools/build/configure' '-
-prefix=/opt/rtems-4.6' '--host=i686-pc-cygwin' 
'--build=i686-pc-cygwin'  '--ena
ble-rtemsbsp=mcf5206elite' '--target=m68k-rtems'  '--cache-file=/dev/null' 
'--sr
cdir=../../../rtems-4.6.0pre5/tools/build'
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.6.0pre5
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i686-pc-cygwin-gcc... i686-pc-cygwin-gcc
checking for C compiler default output... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-cygwin-gcc accepts -g... yes
checking for i686-pc-cygwin-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-cygwin-gcc... gcc3
checking how to run the C preprocessor... i686-pc-cygwin-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for strerror... yes
checking for strtol... yes
checking for bash... /usr/bin/bash
configure: creating ./config.status
config.status: creating Makefile
config.status: creating install-if-change
config.status: creating config.h
config.status: executing depfiles commands
configure: configuring in ./tools/cpu
configure: running /bin/bash '../../../rtems-4.6.0pre5/tools/cpu/configure' 
'--p
refix=/opt/rtems-4.6' '--host=i686-pc-cygwin' 
'--build=i686-pc-cygwin'  '--enabl
e-rtemsbsp=mcf5206elite' '--target=m68k-rtems'  '--cache-file=/dev/null' 
'--srcd
ir=../../../rtems-4.6.0pre5/tools/cpu'
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.6.0pre5
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking target system type... m68k-unknown-rtems
checking rtems target cpu... m68k
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for bash... /usr/bin/bash
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in generic
configure: running /bin/bash 
'../../../../rtems-4.6.0pre5/tools/cpu/generic/conf
igure' --prefix=/opt/rtems-4.6  '--prefix=/opt/rtems-4.6' 
'--host=i686-pc-cygwin
' '--build=i686-pc-cygwin' '--enable-rtemsbsp=mcf5206elite' 
'--target=m68k-rtems
' '--cache-file=/dev/null' '--srcdir=../../../rtems-4.6.0pre5/tools/cpu' 
'build_
alias=i686-pc-cygwin' 'host_alias=i686-pc-cygwin' 'target_alias=m68k-rtems' 
--ca
che-file=/dev/null --srcdir=../../../../rtems-4.6.0pre5/tools/cpu/generic
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.6.0pre5
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking target system type... m68k-unknown-rtems
checking rtems target cpu... m68k
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for bash... /usr/bin/bash
configure: creating ./config.status
config.status: creating Makefile
config.status: creating size_rtems
configure: configuring in m68k-rtems/c
configure: running /bin/bash '../../../rtems-4.6.0pre5/c/configure' 
'--prefix=/o
pt/rtems-4.6' '--host=m68k-rtems' '--build=i686-pc-cygwin' 
'--target=m68k-rtems'
   '--enable-rtemsbsp=mcf5206elite' '--with-target-subdir=m68k-rtems' 
'--exec-pre
fix=/opt/rtems-4.6/m68k-rtems'  '--cache-file=/dev/null' 
'--srcdir=../../../rtem
s-4.6.0pre5/c'
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.6.0pre5
checking build system type... i686-pc-cygwin
checking host system type... m68k-unknown-rtems
checking target system type... m68k-unknown-rtems
checking rtems target cpu... m68k
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for m68k-rtems-strip... m68k-rtems-strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking if cpu m68k is supported... yes
checking for make/custom/mcf5206elite.cfg... yes
configure: creating ./config.status
config.status: creating Makefile

target architecture: m68k.
available BSPs: mcf5206elite.
'make all' will build the following BSPs: mcf5206elite.
other BSPs can be built with 'make RTEMS_BSP="bsp1 bsp2 ..."'

config.status: creating Makefile
config.status: creating make/Makefile
config.status: creating make/custom/Makefile

Steve at Steve /rtems/build-4.6.0pre5-cfv2_66-no-networking
$ ../rtems-4.6.0pre5/configure --target=m68k-rtems --enable-rtemsbsp=mcf5206eli
te --disable-networking
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.6.0pre5
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking target system type... m68k-unknown-rtems
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking if the test suites are enabled? ... no
configure: creating ./config.status
configure: configuring in ./tools/build
configure: running /bin/bash 
'../../../rtems-4.6.0pre5/tools/build/configure' '-
-prefix=/opt/rtems-4.6' '--host=i686-pc-cygwin' 
'--build=i686-pc-cygwin'  '--ena
ble-rtemsbsp=mcf5206elite' '--disable-networking' 
'--target=m68k-rtems'  '--cach
e-file=/dev/null' '--srcdir=../../../rtems-4.6.0pre5/tools/build'
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.6.0pre5
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i686-pc-cygwin-gcc... i686-pc-cygwin-gcc
checking for C compiler default output... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-cygwin-gcc accepts -g... yes
checking for i686-pc-cygwin-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-cygwin-gcc... gcc3
checking how to run the C preprocessor... i686-pc-cygwin-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for strerror... yes
checking for strtol... yes
checking for bash... /usr/bin/bash
configure: creating ./config.status
config.status: creating Makefile
config.status: creating install-if-change
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
configure: configuring in ./tools/cpu
configure: running /bin/bash '../../../rtems-4.6.0pre5/tools/cpu/configure' 
'--p
refix=/opt/rtems-4.6' '--host=i686-pc-cygwin' 
'--build=i686-pc-cygwin'  '--enabl
e-rtemsbsp=mcf5206elite' '--disable-networking' 
'--target=m68k-rtems'  '--cache-
file=/dev/null' '--srcdir=../../../rtems-4.6.0pre5/tools/cpu'
checking for gmake... no
checking for make... make
checking for RTEMS Version... 4.6.0pre5
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking target system type... m68k-unknown-rtems
checking rtems target cpu... m68k
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for bash... /usr/bin/bash
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in generic
configure: running /bin/bash 
'../../../../rtems-4.6.0pre5/tools/cpu/generic/conf
igure' --prefix=/opt/rtems-4.6  '--prefix=/opt/rtems-4.6' 
'--host=i686-pc-cygwin
' '--build=i686-pc-cygwin' '--enable-rtemsbsp=mcf5206elite' 
'--disable-networkin
g' '--target=m68k-rtems' '--cache-file=/dev/null' 
'--srcdir=../../../rtems-4.6.0
pre5/tools/cpu' 'build_alias=i686-pc-cygwin' 'host_alias=i686-pc-cygwin' 
'target
_alias=m68k-rtems' --cache-file=/dev/null 
--srcdir=../../../../rtems-4.6.0pre5/t
ools/cpu/generic
configure: error: invalid variable name: build_alias
configure: error: /bin/bash 
'../../../../rtems-4.6.0pre5/tools/cpu/generic/confi
gure' failed for generic
configure: error: /bin/bash '../../../rtems-4.6.0pre5/tools/cpu/configure' 
faile
d for tools/cpu

Steve at Steve /rtems/build-4.6.0pre5-cfv2_66-no-networking
$ cygcheck -c
Cygwin Package Information
Package                 Version            Status
_update-info-dir        00225-1            OK
ash                     20031007-1         OK
autoconf                2.59-1             OK
autoconf-devel          2.59-1             OK
autoconf-stable         2.13-5             OK
automake                1.7.9-1            OK
automake-devel          1.7.9-1            OK
automake-stable         1.4p6-2            OK
base-files              2.6-1              OK
base-passwd             1.1-1              OK
bash                    2.05b-16           OK
binutils                20030901-1         OK
bzip2                   1.0.2-5            OK
cgoban                  1.9.14-1           OK
crypt                   1.1-1              OK
cygipc                  2.02-1             OK
cygrunsrv               0.97-1             OK
cygwin                  1.5.5-1            OK
diffutils               2.8.4-1            OK
editrights              1.01-1             OK
expat                   1.95.6-2           OK
fileutils               4.1-2              OK
findutils               4.1.7-4            OK
flex                    2.5.4a-3           OK
fltk                    1.1.4-2            OK
fontconfig              2.2.0-1            OK
freetype2               2.1.5-1            OK
fvwm                    2.4.7-3            OK
gawk                    3.1.3-4            OK
gcc                     3.3.1-3            OK
gcc-core                3.3.1-3            OK
gcc-g++                 3.3.1-3            OK
gcc-mingw               20030911-4         OK
gcc-mingw-core          20031020-1         OK
gcc-mingw-g++           20031020-1         OK
gdb                     20030919-1         OK
gdbm                    1.8.3-7            OK
gettext                 0.12.1-3           OK
ghostscript             7.05-2             OK
ghostscript-base        7.05-2             OK
gnugo                   3.4-1              OK
grace                   5.1.12-1           OK
grep                    2.5-1              OK
groff                   1.18.1-2           OK
gzip                    1.3.5-1            OK
jpeg                    6b-11              OK
less                    381-1              OK
lesstif                 0.93.91-5          OK
libbz2_1                1.0.2-5            OK
libdb3.1                3.1.17-2           OK
libdb4.1                4.1.25-1           OK
libfontconfig-devel     2.2.0-1            OK
libfontconfig1          2.2.0-1            OK
libfreetype2-devel      2.1.5-1            OK
libfreetype26           2.1.5-1            OK
libgdbm                 1.8.0-5            OK
libgdbm-devel           1.8.3-7            OK
libgdbm3                1.8.3-3            OK
libgdbm4                1.8.3-7            OK
libgettextpo0           0.12.1-3           OK
libiconv2               1.9.1-3            OK
libintl                 0.10.38-3          OK
libintl1                0.10.40-1          OK
libintl2                0.12.1-3           OK
libjpeg62               6b-11              OK
libjpeg6b               6b-8               OK
libncurses5             5.2-1              OK
libncurses6             5.2-8              OK
libncurses7             5.3-4              OK
libpcre                 4.1-1              OK
libpcre0                4.5-1              OK
libpng                  1.2.5-4            OK
libpng10                1.0.15-4           OK
libpng12                1.2.5-4            OK
libpopt0                1.6.4-4            OK
libPropList             0.10.1-3           OK
libreadline4            4.1-2              OK
libreadline5            4.3-5              OK
libtiff-devel           3.6.0-5            OK
libtiff3                3.6.0-2            OK
libtiff4                3.6.0-5            OK
libungif                4.1.0-2            OK
login                   1.9-7              OK
lynx                    2.8.4-7            OK
m4                      1.4-1              OK
make                    3.80-1             OK
man                     1.5k-1             OK
mingw-runtime           3.2-1              OK
mktemp                  1.5-3              OK
ncurses                 5.3-4              OK
openbox                 0.99.1-4           OK
openssh                 3.7.1p2-2          OK
openssl                 0.9.7c-1           OK
patch                   2.5.8-8            OK
pcre                    4.5-1              OK
pcre-doc                4.5-1              OK
perl                    5.8.2-1            OK
readline                4.3-5              OK
sed                     4.0.8-1            OK
sh-utils                2.0.15-4           OK
sharutils               4.2.1-3            OK
tar                     1.13.25-5          OK
tcltk                   20030901-1         OK
termcap                 20021106-2         OK
terminfo                5.3_20030726-1     OK
texinfo                 4.2-4              OK
textutils               2.0.21-1           OK
tiff                    3.6.0-5            OK
transfig                3.2.4-2            OK
w32api                  2.4-1              OK
which                   1.5-2              OK
WindowMaker             0.80.2-1           OK
x2x                     1.27-3             OK
Xaw3d                   1.5D-4             OK
xfig                    3.2.4-5            OK
xfig-base               3.2.4-1            OK
xfig-bin                3.2.4-3            OK
xfig-doc                3.2.4-2            OK
xfig-etc                3.2.4-4            OK
xfig-lib                3.2.4-5            OK
xfig-man                3.2.4-2            OK
XFree86-base            4.3.0-1            OK
XFree86-bin             4.3.0-8            OK
XFree86-bin-icons       4.3.0-5            OK
XFree86-doc             4.3.0-1            OK
XFree86-etc             4.3.0-6            OK
XFree86-f100            4.2.0-3            OK
XFree86-fcyr            4.2.0-3            OK
XFree86-fenc            4.2.0-3            OK
XFree86-fnts            4.2.0-3            OK
XFree86-fscl            4.2.0-3            OK
XFree86-fsrv            4.3.0-7            OK
XFree86-html            4.3.0-1            OK
XFree86-jdoc            4.3.0-1            OK
XFree86-lib             4.3.0-1            OK
XFree86-lib-compat      4.3.0-2            OK
XFree86-man             4.3.0-2            OK
XFree86-nest            4.3.0-5            OK
XFree86-prog            4.3.0-12           OK
XFree86-prt             4.3.0-5            OK
XFree86-ps              4.3.0-1            OK
XFree86-startup-scripts 4.2.0-5            OK
XFree86-vfb             4.3.0-5            OK
XFree86-xserv           4.3.0-30           OK
XFree86-xwinclip        4.3.0-2            OK
xwinclip                1.2.0-1            OK
zlib                    1.1.4-4            OK

---
Steve Strobel                           WWW: http://www.link-comm.com
Link Communications, Inc.               Phone: (406) 245-5002 ext 102
MailTo:steve at link-comm.com              Fax: (406) 245-4889




More information about the users mailing list