delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/05/11:13:07

From: pvogel AT chromatic DOT com (Peter A. Vogel)
Subject: RE: B20: weird variables bug (tryed on win98)
5 Nov 1998 11:13:07 -0800 :
Message-ID: <00f401be06ef$38b9be80$3565a8c0.cygnus.gnu-win32@dolphin.chromatic.com>
References: <363BF5C5 DOT 18FA323 AT bigfoot DOT com>
Mime-Version: 1.0
To: <creative1 AT bigfoot DOT com>, <gnu-win32 AT cygnus DOT com>

I also have trouble with configure on Win98, trying to 
configure gnumake, the resulting config.h has everything
#undef, even though many obvious ones should be configured.

I would guess it is very similar to your situation...

-Peter

Peter A. Vogel
Manager, SW Configuration Management
Chromatic Research, Inc.  
http://www.chromatic.com

> -----Original Message-----
> From: owner-gnu-win32 AT cygnus DOT com [mailto:owner-gnu-win32 AT cygnus DOT com]On
> Behalf Of creative1
> Sent: Saturday, October 31, 1998 9:47 PM
> To: gnu-win32 AT cygnus DOT com
> Subject: B20: weird variables bug (tryed on win98)
> 
> 
> Hi there!
> 
> I was trying to compile the program eggdrop1.3.22  (you could get it
> from www.sodre.net/eggdrop)
> i couldn't compile it for several reasons...
> 
> You have to execute sh configure at the beginning, it seems working
> perfect, but at some points, the
> if test = "whatever'  statements seems not to work, i had to edit the
> configure and comment those lines.
> 
> Then the configure run pretty well, except for this weird thing...
> 
> if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
>   echo "$ac_t""yes" 1>&6
>     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz'
> 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
>   cat >> confdefs.h <<EOF
> 
> #define $ac_tr_func 1
> EOF
> 
> well, this is just part of a bucle, it just check if that thing is on
> the OS, which is, pass the test, everything perfect, then
> check for the next thing, etc... and if everything is ok arrives to this
> point and sets the name of the variable to 1
> something like #define HAVE_DPRINTF 1
> since it is a bucle, the #define change each time, next time it could be
> #define HAVE_TIME_SYS 1
> and so on...
> 
> well, the script works perfect, but after several loops the variable
> 'ac_tr_func' does not get any value
> which is very weird, i tryed and echo to see if
> echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz'
> 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
> was working, and it was, in fact it even say HAVE_DPRINTF yes, etc...
> but it do not put that information into the 'ac_tr_func' variable, so
> the #define gets empty and after that everything is a mess since the
> whole configure think does things are not detected.
> 
> And example, i add a line to echo "$ac_tr_func" and this is what i get
> compiling...
> 
> checking for rename... (cached) yes
> HAVE_RENAME            <-- this is the echo
> checking for getrusage... (cached) yes
> HAVE_GETRUSAGE           <-- this is the echo
> checking for getdtablesize... (cached) yes
> HAVE_GETDTABLESIZE
> checking for srandom... (cached) yes
> HAVE_SRANDOM
> checking for random... (cached) yes
> HAVE_RANDOM     < the echo...
> checking for sigaction... (cached) yes
> HAVE_  <-- mistake... why? as you can see it detect it perfect, i check
> everything
> after this i have a collection of
> HAVE_
> 
> and on the file that it writes...
> 
> #define HAVE_RENAME 1
> #define HAVE_GETRUSAGE 1
> #define HAVE_GETDTABLESIZE 1
> #define HAVE_SRANDOM 1
> #define HAVE_RANDOM 1
> #define HAVE_ 1
> #define HAVE_ 1
> #define HAVE_ 1
> #define HAVE_ 1
> 
> ... etc, whole file like that :(
> 
> the configure script is perfect, works beatifully on my linux and in
> some other unixes
> here it seems after a while i doesn't assign properly the values of that
> 
> ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz'
> 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
> line
> but if i put
> echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz'
> 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
> the value returned is perfect, it just doesn't get into the
> ac_tr_func    :(
> 
> any ideas?
> if you want to check it since is a big configure script, you can go to
> the webpage i said on top
> www.sodre.net/eggdrop      file eggdrop1.3.22
> just untar it and ran   sh configure
> funny stuff happening :(
> 
> ---------------------------------------------------------------
> !     C r e a t i v i t y     M u s t    S u r v i v e        !
> ---------------------------------------------------------------
> !  Fido: 2:341/19.67                 Euronet: 25:928/100.67   !
> !  Internet: creative1 AT bigfoot DOT com                            !
> !  Http://surf.to/creative                  Ya me direis :)   !
> ---------------------------------------------------------------
> 
> 
> -
> For help on using this list (especially unsubscribing), send a message to
> "gnu-win32-request AT cygnus DOT com" with one line of text: "help".
> 
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019