PDA

View Full Version : *** no rule to make target


JDTAY
March 3, 2010, 15:58
More like no rule to make sense.

Plz help.

SaThaRiel
March 3, 2010, 16:04
*looks into the crystal ball* I suppose you need to issue
./autoconfig.sh
./configure
before trying the make.

JDTAY
March 3, 2010, 16:22
I can't get that to work. However, I am making progress. Using
mingw32-make -C C:\stuff\angband-3.0.9b\src -f C:\stuff\angband-3.0.9b\src\makefile.win
I now get cannot exec 'cc1': No such file or directory

Pete Mack
March 3, 2010, 16:37
Do you have the mingw bin directory in your PATH?

You should be able to run mingw32-make directly from the angband src directory.

JDTAY
March 3, 2010, 16:46
Pete Mack: Bad command or file name

Marble Dice
March 3, 2010, 17:33
Are you just trying to compile on the Windows command line? If so, I would recommend installing MSYS (http://www.mingw.org/wiki/MSYS), a simple unix-like command environment.

JDTAY
March 3, 2010, 18:54
Marble Dice: Damn, it almost worked. It was compiling for like two minutes, but then it stopped 'cause it couldn't find readdib.o.

Magnate
March 3, 2010, 20:42
Marble Dice: Damn, it almost worked. It was compiling for like two minutes, but then it stopped 'cause it couldn't find readdib.o.I think someone else complained about this: there is some Windows compiler that doesn't like source/object files in subdirs, and assumes everything's in a flat structure. Sorry - I know that's not much help - I don't build on Windows.

Nick
March 3, 2010, 20:52
Try sticking "MINGW=yes" on the end of your command line.

JDTAY
March 3, 2010, 20:58
Nick: It worked! Get ready for JDband Probationary Alpha 0.0.0~1! In like 3 months. 30 if I get a PS3.