delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2005/12/17/20:45:52

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Doug Kaufman <dkaufman AT rahul DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: autom4te NOT FOUND ??
Date: Sun, 18 Dec 2005 01:40:34 +0000 (UTC)
Organization: "a2i network"
Lines: 52
Message-ID: <do2emi$2go$1@blue.rahul.net>
References: <2ij1q11jfv9uu2nhj0jqa2r11pdahkjng6 AT 4ax DOT com>
NNTP-Posting-Host: green.rahul.net
X-Trace: blue.rahul.net 1134870034 2584 192.160.13.49 (18 Dec 2005 01:40:34 GMT)
X-Complaints-To: support AT rahul DOT net
NNTP-Posting-Date: Sun, 18 Dec 2005 01:40:34 +0000 (UTC)
User-Agent: nn/6.6.4
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Radical NetSurfer <RadSurfer AT yahoo DOT com> writes:

> ...
>http://www.gnu.org/software/chess/#downloading
> ...
>I do have installed both
>amak175b.zip B     509,383 030607 GNU automake 1.7.5 for DJGPP V2
>and
>m4-142b.zip  B     145,179 041101 GNU m4 1.4.2 binaries for DJGPP V2
>(not even sure what that is)
>and
>perl, bash, bison, find, sed, etc., are also all installed.

>I get a message from BASH when trying to execute,

>2.04$ autoconf

>Can't open perl script "/dev/env/DJDIR/bin/autom4te": No such file or
>directory
>Dec 14 20:41:10 <RadSurfer> (ENOENT)
>Dec 14 20:41:10 <RadSurfer> bash-2.04$
>---------------------------------------------------------------
>ls /dev/env/DJDIR/bin
>shows that it is there, 35k in size.
>---------------------------------------------------------------

If I understand correctly, you have autom4te in /dev/env/DJDIR/bin and
"/dev/env/DJDIR/bin/perl /dev/env/DJDIR/bin/autom4te" works. I think
that this implies that your autoconf script is probably calling the
wrong perl, one which does not understand the "/dev/env" syntax. You
might try this again with "PERL=/dev/env/DJDIR/bin/perl.exe" set first
in the environment.

Ordinarily this shouldn't happen. Which version of autoconf are you
trying to run? Do you have another version of autoconf also installed?
Is this an autoconf that you built and installed yourself, or one of the
prebuilt packages? Overall this sounds like a problem with your autoconf
installation.

If you run "which perl" and "which autoconf", do you get the DJGPP
programs that you expected?

When trying to port a GNU program like this, I usually start by
removing the files configure, aclocal.m4, config.h.in, and Makefile.in,
then run: aclocal, libtoolize (if necessary), autoheader, "automake -a",
and then autoconf. This is usually easier than trying to find out why
the generated files in the distribution might not work in DJGPP.

                                Doug
-- 
Doug Kaufman
Internet: dkaufman AT rahul DOT net

- Raw text -


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