Compiling Problems under Cygwin

Posted by Luca on Sat 02 Mar 2002 06:18 PM — 4 posts, 18,162 views.

#0
Under pennmush 1.7.4p15 (I've also tried 1.7.5p4, and other versions) I can't seem to get the configure script to work

it doesn't matter whether I type ./configure or sh configure or sh configure -d etc

I get the following errors:


(typed $ ./configure -d)
-------------------------------------------------------
cmd: not found
cmd: not found
tr: not found
tr: not found
mkdir: not found
cd: can't cd to UU
chmod: not found
rm: not found
cat: not found
chmod: not found
#!/bin/cat
rm: not found
cat: not found
sed: not found
awk: not found
rm: not found
rm: not found
cat: not found
touch: not found
.: Can't open ./optdef.sh: No such file or directory
-------------------------------------------------------

Not only do I have no idea why this is happening, I can't seem to find anyone who's had a similiar problem =P
Any help would be greatly appreciated
Australia Forum Administrator #1
Sounds like you haven't installed the full Cygwin. If you do, it should find all those commands.
#2
No, I have the full version of Cygwin installed. I actually fixed it by doing:

cd /bin
rm sh.exe
cp bash.exe sh.exe

No idea why it works, but I found that on a message board somewhere and thought, "why not"
Personally, I prefer just using VC++, but in this case I can't =(
Belgium #3
Got the same problem a few minutes ago ...
I untar/gziped the file in my /usr/src (cygwin)

Then only had to do ". Configure" ...
And it worked fine ...

Before that i did "./configure" and "configure" and neither worked.

Hope it'll also work for you.