www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/04/02:22:30

From: alaric AT abwillms DOT demon DOT co DOT uk (Alaric B. Williams)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: GUILE port?
Date: Sat, 04 Jan 1997 02:34:17 GMT
Lines: 91
Message-ID: <852345207.22992.0@abwillms.demon.co.uk>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 970101082043 DOT 15959F-100000 AT is>
NNTP-Posting-Host: abwillms.demon.co.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:

>Try searching the mail archives, I think I saw an announcement some time 
>ago about such a port.

I will do that...

>> I dled it, but what did I find staring me in the face? A configure
>> script. Sigh.

>Failing the above search, you should know that the DJGPP port of `bash'
>can run the configure scripts almost unaltered.  You still need to know a
>bit of Unix and the Unix shell syntax to understand the few things that do
>need to be changed, though. 

I know a /bit/. It's the specifics I lack! Unlike my namesake Alaric
Daley, which is real freaky - Hi Alaric ;-)

>> I tried to manually craft the makefile, but was soon
>> lost in a maze of Unixisms - what does "tr" do? Or "xargs"??!?!?!

>You don't really need to understand,

Just obey Big Brother :-)

> just get all the GNU packages from v2gnu directory. 
> `tr' is part of GNU Textutils, `xargs' is in Findutils. 
>All the other utilities used by standard Unix scripts are ready for you in
>the packages in v2gnu (Fileutils, Grep, Sed, Textutils, Sh-utils,
>Findutils, and the `bash' port).  Just unzip them all and never look back.
>And if you use Make 3.75 and create a ``symlink'' to `bash.exe' called 
>`sh.exe', Make will run the Makefiles produced by configure and call 
>`bash' where appropriate, so the Makefiles will also run unaltered!

Well I did all that! It /nearly/ works. Where/what the $&"^%$£ is
"tsort"? configure tries to run it and fails, there are a few lines of
the form:

all_subdirs=`cat $srcdir/*/PLUGIN/REQ $srcdir/*/PLUGIN/OPT /dev/null |
tsort | xargs echo`

(just all on one line)

which produce things like (the full output of running "bash
configur"):

loading cache ./config.cache
D:/DJGPP/BIN/cat.exe: ./*/PLUGIN/REQ: No such file or directory
(ENOENT)
D:/DJGPP/BIN/cat.exe: ./*/PLUGIN/OPT: No such file or directory
(ENOENT)
configur: tsort: command not found
D:/DJGPP/BIN/cat.exe: ./*/PLUGIN/REQ: No such file or directory
(ENOENT)
configur: tsort: command not found
D:/DJGPP/BIN/cat.exe: ./*/PLUGIN/OPT: No such file or directory
(ENOENT)
configur: tsort: command not found
D:/DJGPP/BIN/cat.exe: -: Bad file descriptor (EBADF)
D:/DJGPP/BIN/cat.exe: -: Bad file descriptor (EBADF)
updating cache ./config.cache
D:/DJGPP/BIN/cat.exe: -: Bad file descriptor (EBADF)
D:/DJGPP/BIN/cat.exe: -: Bad file descriptor (EBADF)
creating ./config.status
D:/DJGPP/BIN/cat.exe: -: Bad file descriptor (EBADF)
D:/DJGPP/BIN/cat.exe: -: Bad file descriptor (EBADF)
D:/DJGPP/BIN/cat.exe: -: Bad file descriptor (EBADF)
D:/DJGPP/BIN/cat.exe: -: Bad file descriptor (EBADF)
D:/DJGPP/BIN/cat.exe: -: Bad file descriptor (EBADF)
D:/DJGPP/BIN/cat.exe: -: Bad file descriptor (EBADF)

Cool! On the offchance, I tried the makefile that had appeared, and it
did zip. I couldn't see why, skimming over it, either, but I didn't
really expect much of it after that :-)

TIA,


ABW
--

"Simply drag your mother in law's cellphone number from the
Address Book to the Laser Satellite icon, and the Targeting
Wizard will locate her. Then follow the onscreen prompts for
gigawattage and dispersion pattern..."

(Windows for Early Warning and Defence User's manual P385)

Alaric B. Williams Internet : alaric AT abwillms DOT demon DOT co DOT uk
<A HREF="http://www.abwillms.demon.co.uk/">Hello :-)</A>

- Raw text -


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