[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: Mon, 21 Oct 1996 15:48:55 -0700
- In-Reply-To: David Jeffers's message as of Oct 18, 6:57am
- XX-from: http://dummy.us.eu.org/robert (Robert)
> From: David Jeffers <http://www.redrose.net/~jeffers>
> Date: Fri Oct 18, 6:57am
>
> >>>>> "Robert" == Robert <http://dummy.us.eu.org/robert> writes:
>
> Robert> Message has been automatically signed by PGPsendmail 1.4,
> Robert> available from ftp.atnf.csiro.au:pub/people/rgooch
>
> Robert> -----BEGIN PGP SIGNED MESSAGE-----
>
> Robert> Has anyone successfully built findutils-4.1? I've been
> Robert> trying to get it compiled on beta 16, but it doesn't want
> Robert> to cooperate. Here's my probs:
>
> Robert> 1) It always thinks that I'm cross-compiling. This is
> Robert> obviously not true. All I can conclude is that return
> Robert> values from programs are not correctly getting passed back
> Robert> to the shell (aka test). I hard-coded configure to
> Robert> cross-compile=no. 2) Even though it went through
> Robert> configure, a makefile didn't get generated!
>
> Robert> Are there any special tricks to getting stuff with
> Robert> configure scripts to compile on GNU-WIN32/CYGWIN?
>
> Robert> P.S. The mailing list archive on the web site still seems
> Robert> to be out of date so I cannot look up whether this
> Robert> question has already been addressed.
>
> Robert,
> This is the article I posted to the gnu-win32 list
> some time ago. Rather than address your specific problems
> above first -try the methods below -and then let me know
> your results, o.k.?
>
> In-Reply-To: <9609301238.http://www.jordan.rad.cadix.co.jp/~AA12949>
> References: <9609301238.http://www.jordan.rad.cadix.co.jp/~AA12949>
> From: David Jeffers <http://www.redrose.net/~jeffers>
> To: http://www.rad.cadix.co.jp/~yy
> CC: http://www.cygnus.com/~gnu-win32
> Subject: Re: find command on b16
>
> >>>>> "yy" == yy <http://www.rad.cadix.co.jp/~yy> writes:
>
> yy> Hi, Does any one made find command for cygnus b16 ? I tried
> yy> to make find.exe for source code of b14, but I can't.
>
> yy> Thanks, Yuichi Yoshida
>
> The way I understand it, porting unix code with Cygnus tools is
> the OBJECT of the exercise, thus by trial and error, some very
> interesting results are achieved.
>
> The find utilities for me are indispensible, especially the
> locate database. Here's how I compiled findutils-4.1 using
> Cygnus B16:
>
> Get the findutils-4.1 sources from your favorite ftp server.
> The source and diffs at Cygnus are a pain, so get the latest
> version somewhere. I used 'ftp.cc.gatech.edu/pub/gnu'.
> 1. unpack the sources
> 2. chmod +w configure
> 3. edit configure changing each instance of '- o conftest' to
> ' -o conftest.exe'.
> 4. cd to the /find directory
> 5. chmod +w fstype.c
> 6. edit fstype.c by entering on line 51 'int MOUNTED = 0;'
> 7. cd to the /locate directory
> 8. chmod +w locate.c
> 9. edit locate.c changing the word 'getw' to 'getc' (line 251).
> 10. in the same directory, chmod +w code.c
> 11. edit code.c changing the word 'putw' to 'putc' (line 175).
> 12. back in the toplevel directory type 'configure --program-suffix=.exe'
> 13. Now you should have a Makefile. Type 'make'
> 14. If all goes well you should have the following executables residing
> in the various directories:
>
> find.exe locate.exe xargs.exe bigram.exe frcode.exe code.exe
> and the shell script updatedb.sh*
>
> Sometimes, the '.exe' extension is not generated however, if so
> just do a 'cp find find.exe',etc. for all the files and install
> in your '/bin' directory or wherever you put your executables.
> I generally install exe's manually since 'make install' can
> sometimes put stuff where you don't want it, but your mileage
> may vary.
> 15. If you have groff you can make all the man.1 files into ascii
> versions and install them, as well as the find.info files, etc.
> 16. Read updatedb.1. This greatly improves find's ability to 'locate'
> files and is worth the price of admission alone.
>
> David Jeffers "Remember Patriotism?"
> <http://www.redrose.net/~jeffers> "America First, Last and Always!"
I did the above, but I still didn't get a makefile:
no
checking for strftime... ./configure: 12786404: No such file or directory
conftest*: No such file or directory
no
checking for strspn... ./configure: 12786404: No such file or directory
conftest*: No such file or directory
no
checking for strstr... ./configure: 12786404: No such file or directory
conftest*: No such file or directory
no
checking for strtol... ./configure: 12786404: No such file or directory
conftest*: No such file or directory
no
checking for fchdir... ./configure: 12781732: No such file or directory
conftest*: No such file or directory
no
checking for getcwd... ./configure: 12781732: No such file or directory
conftest*: No such file or directory
no
checking for strerror... ./configure: 12781732: No such file or directory
conftest*: No such file or directory
no
checking for -lintl... ./configure: 12786404: No such file or directory
conftest*: No such file or directory
no
checking for strftime... (cached) no
checking for vprintf... ./configure: 12787044: No such file or directory
conftest*: No such file or directory
no
checking for _doprnt... ./configure: 12797092: No such file or directory
conftest*: No such file or directory
no
checking for working alloca.h... ./configure: 12768900: No such file or directo
y
conftest*: No such file or directory
no
checking for alloca... ./configure: 12768868: No such file or directory
conftest*: No such file or directory
no
./configure: 12770884: No such file or directory
checking whether alloca needs Cray hooks... ./configure: 12773380: No such file
or directory
conftest*: No such file or directory
no
checking stack direction for C alloca... ./configure: 12874436: No such file or
directory
-1
./configure: 12878500: No such file or directory
checking for -lsun... (cached) no
checking for -lseq... ./configure: 12877956: No such file or directory
conftest*: No such file or directory
no
checking for getmntent... ./configure: 12872868: No such file or directory
conftest*: No such file or directory
no
checking whether closedir returns void... ./configure: 12872644: No such file o
directory
yes
./configure: 12875684: No such file or directory
updating cache ./config.cache
./configure: 12878628: No such file or directory
creating ./config.status
./configure: 12877924: No such file or directory
./configure: 12872612: No such file or directory
./configure: 12872772: No such file or directory
conftest.vals: No such file or directory
./configure: 12878084: No such file or directory
./configure: 12875012: No such file or directory
conftest.tail: No such file or directory
./configure: 12874596: No such file or directory
% make
make.EXE: *** No targets specified and no makefile found. Stop.
% ls
COPYING README config.status configure.~3~* mkinstalldirs*
ChangeLog TODO configure* doc/ stamp-h.in
INSTALL acconfig.h configure.in find/ test.c
Makefile.am config.cache configure.out install-sh* testsuite/
Makefile.in config.h.in configure.~1~* lib/ xargs/
NEWS config.log configure.~2~* locate/
Any ideas?