[fpc-pascal] Where is fpmkconv?

Darius Blaszijk dhkblaszyk at zeelandnet.nl
Sat Aug 11 15:07:50 CEST 2007


You're right. I don't have a clue why, but when I remove poNoConsole for =

the TProcess it works. I attached a patch.

Unfortunately it still doesn't work. Fppkg cannot find the Makefile.fpc. =

Output below.

 >fppkg convertmk Makefile.fpc
Loading global configuration from "C:\pp\bin\i386-Win32\fppkg.cfg"
Loading compiler configuration from =

"C:\pp\bin\i386-Win32\fppkg\config\default"
Loading packages information from "C:\pp\bin\i386-Win32\fppkg\packages.xml"
Loading local versions information from =

"C:\pp\bin\i386-Win32\fppkg\versions-default.dat"
The FPC make tool encountered the following error:
Package "Makefile.fpc" not found.

I also tried giving the full path to the makefile without success.

Darius

Michael Van Canneyt wrote:
> On Sat, 11 Aug 2007, Darius Blaszijk wrote:
>
>   =

>> Michael,
>>
>> Thanks for explaining that, but.....
>>
>> I tried to convert a sample Makefile.fpc, but I keep getting the followi=
ng
>> error message;
>>
>>     =

>>> fppkg convertmk Makefile.fpc
>>>       =

>> Loading global configuration from "C:\pp\bin\i386-Win32\fppkg.cfg"
>> Generating default compiler configuration in
>> "C:\pp\bin\i386-Win32\fppkg\config\default"
>> The FPC make tool encountered the following error:
>> Compiler returns invalid information, check if fpc -iV works
>>
>>     =

>>> fpc -iV
>>>       =

>> 2.3.1
>>
>> I also tried to set the verbosity level higher, but I just cannot find o=
ut how
>> to do that. I tried anything from -va to --verbosity=3Dall to just -v and
>> --verbosity. No luck.
>>     =

>
> You can't be more verbose for this. The problem is most likely that the t=
ool
> cannot execute the compiler (because it does not find it). =

>
> It tries to capture the output of fpc -iVTPTO, and it expects to receive =
3 words. =

> If it does not, the error you get is displayed.
>
> The error is in pkgoptions.pas, the function to read the output is in pkg=
globals
> pkgglobals.pp: GetCompilerInfo; The best is to see what goes wrong there.=
..
>
> Michael.
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
>
>   =

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pkgglobals.patch
Type: text/x-diff
Size: 500 bytes
Desc: not available
Url : http://lists.freepascal.org/lists/fpc-pascal/attachments/20070811/b2c=
890af/pkgglobals.bin


More information about the fpc-pascal mailing list