[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: building findutils (was Re: xargs missing in beta 16 release?)
- To: David Jeffers <http://www.redrose.net/~jeffers>
- Subject: Re: building findutils (was Re: xargs missing in beta 16 release?)
- From: http://dummy.us.eu.org/robert (robert)
- Date: Tue, 22 Oct 1996 16:54:13 -0700
- In-Reply-To: David Jeffers's message as of Oct 22,  4:18pm
- XX-from: http://dummy.us.eu.org/robert (Robert)
 > From: David Jeffers <http://www.redrose.net/~jeffers>
 > Date: Tue  Oct 22,  4:18pm
 >
 >     Right. You need /bin and /usr/bin. Why? See below.
I still don't see why.  Nevertheless, I created an empty /usr/bin and it
seemed to make no difference.
 >     Robert> I did notice something interesting before the configure
 >     Robert> script ends -- config.status is empty despite the "cat >
 >     Robert> config.status << EOF" piece of code in configure.  I'm not
 >     Robert> exactly sure why it's empty -- I tried "cat >
 >     Robert> config.status << EOF" by hand and it worked peachily when
 >     Robert> done interactively.
 > 
 >     config.status is used to recreate a configure output and
 >     thus a makefile.
I was noticing that.
 > Since your include files are not being found
 >     no valid config.status is being created...
But, why should config.status be empty?  It does say "creating ./config.status"
and yet it is empty.  I do not see where it could either be getting removed
or re-emptied out before the end of the configure script.
 >     Robert> My current theory is that my bash is somehow broken,
 >     Robert> perhaps because I'm using "tcsh" as my shell.  But, I'm
 >     Robert> not exactly sure why.  I'll try running "pure" bash and
 >     Robert> see if my problems go away.
 > 
 >     This goes to my comments before about Unix knowledge and 
 >     a programmer's sense of doing things. We assume everyone
 >     knows what we have learned and are surprised that they don't!
I did not change the configure script to use /bin/tcsh, or /bin/csh, in case
you were wondering.  What I was worried about was the value of $SHELL.  That
turned out to be a non-problem.
 >     You MUST use a copy of bash named "sh.exe" and it MUST
 >     be located in "/bin".
Right.  I did this.
 > The histrionics of this curiousity
 >     is too complex for now, but the original Bourne shell
 >     called "sh.exe" is used on every Unix in the world EVEN
 >     if a users normal shell or login shell is something else
 >     like tcash, or csh, or whatever.
 > 
 >     But what about my other question? Can you compile anything
 >     with gcc?
Yes.
 > Does "Hello world" compile?
 > 
 >     
 >     David Jeffers	    
 > <http://www.redrose.net/~jeffers>
Here's the output:
% g++ -o now now.cc
% ./now
846026585% cat now.cc
#include <stdio.h>
extern "C" {
#ifdef __GNUC__
        int time(long*);
#endif
};
main()
{
        long    now;
        time(&now);
        printf("%d", now);
}
This is just too weird.  I can't understand why nothing gets into config.status.
I'll include the complete output of configure below.  I added "set -xv" to
get everything.  Unfortunately, "-xv" doesn't capture the "cat > foo << EOF"
stuff...
Sorry for laying this all down on you.
---
            >> Tony Blair for president! <<
     >> Downsize NATO, not The United Nations. <<