Date: Sun, 12 Nov 2000 13:48:26 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Edmund Horner" Message-Id: <2561-Sun12Nov2000134826+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 CC: djgpp AT delorie DOT com In-reply-to: <974020282.88658@shelley.paradise.net.nz> (ejrh@paradise.net.nz) Subject: Re: configure scripts References: <973926432 DOT 888336 AT shelley DOT paradise DOT net DOT nz> <8011-Sat11Nov2000095203+0200-eliz AT is DOT elta DOT co DOT il> <974020282 DOT 88658 AT shelley DOT paradise DOT net DOT nz> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "Edmund Horner" > Newsgroups: comp.os.msdos.djgpp > Date: Sun, 12 Nov 2000 22:13:18 +1300 > > For example, W3C's libwww: > > 1. There are no DJGPP-specific instructions with this package. Probably because no one bothered to port libwww, or didn't send the patches to the libwww maintainers. Please consider sending them your patches, once you get libwww working with DJGPP. > I typically run 'bash ./configure' This is almost the correct command. You need to set $pefix, like this: bash ./configure --prefix='${DJDIR}' or like this: bash ./configure --prefix='/dev/env/DJDIR' (these two commands are equivalent, but for subtle purposes the second one is slightly better). > 2. Firstly, configure says it can't automatically recognise the host system. > I usually alter the command line to: 'bash ./configure i386-pc-msdosdjgpp'. > Is that right? Yes, i386-pc-msdosdjgpp is right. However, latest versions of the GNU configure script recognize DJGPP automatically. Perhaps libwww has an old version of the config.guess script? What does "bash ./config.guess" print? Also, see below, about uname. > checking for gcc... no > checking for cc... no Do you have a file share/config.site under your top DJGPP installation directory? If so, it should have arranged things so that gcc.exe is found on your PATH. It works for me. It's possible that it didn't work for you because you didn't use the "--prefix" option to the configure script. Please try it and see if it helps. The file config.site comes with Bash 2.03 and later, please make sure you don't use an old Bash port. > ./configure: uname: command not found Aha! This means you don't have Sh-utils installed, or somehow deleted the `uname' utility from there. This is probably the reason why the configure script doesn't recognize your system as DJGPP, that recognition is based on what `uname' prints.