Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-07

make

10 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Toke Herkild
to Marco van de Voort: That's not an error MINGW32 GNU make (distributed with FPC) would give. It doesn't use…
Show quoted text 10 lines
I meant the searchpath (the environment variable PATH), because of the above., you can see it if you enter "set" without parameters on the commandline. You'll probably still need to look which directories come _before_ fpc in the path, and then check them for an own version of the "make" utility. Alternatively you can set FPC as first in the searchpath.

My windows path var is :
C:\WINDOWS>path
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\PROGRA~1\BORLAND\DELPHI5\BIN;C:\PROGRA~1\B ORLAND\VBROKER\BIN;C:\PROGRA~1\BORLAND\VBROKER\JRE\BIN;C:\PROGRA~1\BORLAND\DELPH I5\PROJECTS\BPL;C:\MSSQL7\BINN;C:\PROGRA~1\GRISOFT\AVG6;C:\PP\BIN\GO32V2;C:\PP\BIN\WIN32

Now if I change this by typing :
set path=c:\pp\bin\win32 in the command prompt I get this error : MAKEFILE:17: *** you need the GNU utils package to use this makefile. Stop.

Regards,
Toke Herkild

Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with http://shopnow.netscape.com/
Marc Weustink
to Marco van de Voort: That's not an error MINGW32 GNU make (distributed with FPC) would give. It doesn't use…
Toke Herkild wrote 13 lines
wrote: > >I meant the searchpath (the environment variable PATH), because of the >above., you can see it if you enter "set" without parameters on the >commandline. >You'll probably still need to look which directories come _before_ fpc in >the path, and then check them for an own version of the "make" utility. > >Alternatively you can set FPC as first in the searchpath. My windows path var is : C:\WINDOWS>path PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\PROGRA~1\BORLAND\DELPHI5\BIN;C:\PROGRA~1\BORLAND\VBROKER\BIN;C:\PROGRA~1\BORLAND\VBROKER\JRE\BIN;C:\PROGRA~1\BORLAND\DELPHI5\PROJECTS\BPL;C:\MSSQL7\BINN;C:\PROGRA~1\GRISOFT\AVG6;C:\PP\BIN\GO32V2;C:\PP\BIN\WIN32

Catch:
C:\PROGRA~1\BORLAND\DELPHI5\BIN has borland make. You can't use that one

Now if I change this by typing : set path=c:\pp\bin\win32 in the command prompt I get this error : MAKEFILE:17: *** you need the GNU utils package to use this makefile. Stop.

Don't know it that will ever work. I guess the windows part of your path is needed. Just place the C:\PP\BIN\GO32V2;C:\PP\BIN\WIN32 piece of your path in front of your path. (I'm not sure if you need C:\PP\BIN\GO32V2)

Marc

Toke Herkild

Hi All,
I've collected the latest cvs and w321010full (FPC) but I end up with 992 errors on make ? anybody got some ideas as to how I'll get it working ?

Regards
Toke Herkild

Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with http://shopnow.netscape.com/
Marco van de Voort
to Toke Herkild: 1.) ERROR MAKEFILE XXXX : COMMAND SYNTAX ERROR 2.) path to FPC : c:\pp\bin\win32 path to…
Show quoted text 12 lines
wrote: >>I've collected the latest cvs and w321010full (FPC) but I end up with >>992 errors on make ? anybody got some ideas as to how I'll get it working ? >> >> > >1) What errors? >2) how does your PATH look like? >3) what does ppc386 -i report back? 1.) ERROR MAKEFILE XXXX : COMMAND SYNTAX ERROR

That's not an error MINGW32 GNU make (distributed with FPC) would give. It doesn't use ALL CAPS syntax. Probably you have another program "make" which is found before FPC's make is found.

2.) path to FPC : c:\pp\bin\win32

I meant the searchpath (the environment variable PATH), because of the above., you can see it if you enter "set" without parameters on the commandline.

You'll probably still need to look which directories come _before_ fpc in the path, and then check them for an own version of the "make" utility.

Alternatively you can set FPC as first in the searchpath.

E:\develope\lazarus\source\lazarus>ppc386 -i Free Pascal Compiler version 1.0.10

Is ok.

anything else you need to know ?!? And thanks for your reply ;)

I think it was enough info.

Toke Herkild
to Marco van de Voort

So what I need to do is make 2 paths.bat files. 1 which declares paths for Lazarus and 1 to declare paths for Delphi ?

-Toke Herkild

Show quoted text 42 lines
At 01:17 16-7-2003 +0200, Toke Herkild wrote: > wrote: > >> >> I meant the searchpath (the environment variable PATH), because of the >> above., you can see it if you enter "set" without parameters on the >> commandline. >> You'll probably still need to look which directories come _before_ >> fpc in >> the path, and then check them for an own version of the "make" utility. >> >> Alternatively you can set FPC as first in the searchpath. > > My windows path var is : > C:\WINDOWS>path > PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\PROGRA~1\BORLAND\DELPHI5\BIN;C:\PROGRA~1\BORLAND\VBROKER\BIN;C:\PROGRA~1\BORLAND\VBROKER\JRE\BIN;C:\PROGRA~1\BORLAND\DELPHI5\PROJECTS\BPL;C:\MSSQL7\BINN;C:\PROGRA~1\GRISOFT\AVG6;C:\PP\BIN\GO32V2;C:\PP\BIN\WIN32 > Catch: C:\PROGRA~1\BORLAND\DELPHI5\BIN has borland make. You can't use that one > Now if I change this by typing : > set path=c:\pp\bin\win32 in the command prompt I get this error : > MAKEFILE:17: *** you need the GNU utils package to use this makefile. > Stop. Don't know it that will ever work. I guess the windows part of your path is needed. Just place the C:\PP\BIN\GO32V2;C:\PP\BIN\WIN32 piece of your path in front of your path. (I'm not sure if you need C:\PP\BIN\GO32V2) Marc _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with http://shopnow.netscape.com/
Toke Herkild
to Marco van de Voort: 1) What errors? 2) how does your PATH look like? 3) what does ppc386 -i report back?
Show quoted text 15 lines
>I've collected the latest cvs and w321010full (FPC) but I end up with >992 errors on make ? anybody got some ideas as to how I'll get it working ? > > 1) What errors? 2) how does your PATH look like? 3) what does ppc386 -i report back? _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Hi there Marcov,

1.) ERROR MAKEFILE XXXX : COMMAND SYNTAX ERROR
2.) path to FPC : c:\pp\bin\win32
path to Lazarus : e:\develope\lazarus\source\lazarus 3.)
E:\develope\lazarus\source\lazarus>ppc386 -i
Free Pascal Compiler version 1.0.10

Compiler Date : 2003/06/27
Compiler Target: i386

This program comes under the GNU General Public Licence For more information read COPYING.FPC

Report bugs, suggestions etc to:

anything else you need to know ?!? And thanks for your reply ;)

Regards,
Toke Herkild.

Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with http://shopnow.netscape.com/
Marco van de Voort
to Toke Herkild: My windows path var is : C:\WINDOWS>path PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\PROGRA~1\BO…
Show quoted text 21 lines
wrote: > >I meant the searchpath (the environment variable PATH), because of the >above., you can see it if you enter "set" without parameters on the >commandline. > >You'll probably still need to look which directories come _before_ fpc in >the path, and then check them for an own version of the "make" utility. > >Alternatively you can set FPC as first in the searchpath. > My windows path var is : C:\WINDOWS>path PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\PROGRA~1\BORLAND\DELPHI5\BIN;C:\PROGRA~1\B ORLAND\VBROKER\BIN;C:\PROGRA~1\BORLAND\VBROKER\JRE\BIN;C:\PROGRA~1\BORLAND\DELPH I5\PROJECTS\BPL;C:\MSSQL7\BINN;C:\PROGRA~1\GRISOFT\AVG6;C:\PP\BIN\GO32V2;C:\PP\BIN\WIN32 Now if I change this by typing : set path=c:\pp\bin\win32 in the command prompt I get this error : MAKEFILE:17: *** you need the GNU utils package to use this makefile. Stop.

That's better. Now the makefile is actually executing. It seems it can't pwd.exe, which is odd (it should be in that c:\pp\bin\win32 )

Maybe you are experiencing the PATH capitalisation bug of some mingw utils, try putting this in a batchfile, and run it to correct your path:

===================================
path c:\pp\bin\win32;%path%
set a=%PATH%
set Path=
set PATH=%A%
set a=
===================================