PDA

View Full Version : Error: Commands commence before first target



ThanosOfTitan
08-06-2003, 08:45 AM
I tried to compile SEQ on a new box after transfering from another working system

After make -f Makefile.dist you get the following error

Makefile.dist:256: *** commands commence before first target. Stop

A search turned it up in thread: http://seq.sourceforge.net/forums/showthread.php?s=&threadid=1717&highlight=commands+commence

but I didn't think it was clear what the solution was. Basically when FTPing the code, make sure to use the Ascii transfer, binary seems to be adding CRs or something. This of course doesn't effect CVS.

Hopefully next person who searches will find this a bit clearer.

BlueAdept
08-06-2003, 10:07 AM
This usually happens when you transfer from windows to linux. Windows adds the line feeds. Ascii is your best bet for text/source from windows to linux.

There is also a program in linux that will strip the line feeds. I cant recall what the name of it is though right now.

guice
08-06-2003, 10:30 AM
dos2unix