[fpc-pascal] Can't configure fppkg

Sven Barth pascaldragon at googlemail.com
Wed Feb 13 21:40:09 CET 2013


On 13.02.2013 21:35, Sven Barth wrote:
> On 13.02.2013 16:49, Krzysztof wrote:
>>
>> Hi,
>>
>> I'm trying to configure fppkg, because seems that this is only way to
>> install GeckoPort version 2 (wiki.freepascal.org/GeckoPort_version2
>> <http://wiki.freepascal.org/GeckoPort_version2>). I'm using thos tips:
>> wiki.freepascal.org/fppkg#Configuration
>> <http://wiki.freepascal.org/fppkg#Configuration> . I have CodeTyphon 4.0
>> so paths to FPC are different and can't configure it
>>
>> What I did:
>> 1. I added path to fpc binaries in linux PATH:
>> /usr/lib/codetyphon/fpc/bin/x86_64-linux/fpc
>> 2. First call of "fppkg list" created .fppkg directory (with /config
>> subdir) and .config/fppkg.cfg file
>> 3. Changed .config/fppkg.cfg to:
>>
>> [Defaults]
>> ConfigVersion=4
>> LocalRepository={UserDir}.fppkg/
>> BuildDir={LocalRepository}build/
>> ArchivesDir={LocalRepository}archives/
>> CompilerConfigDir={LocalRepository}config/
>> RemoteMirrors=http://www.freepascal.org/repository/mirrors.xml
>> RemoteRepository=auto
>> CompilerConfig=fpconf.cfg
>> FPMakeCompilerConfig=fpc.cfg
>> Downloader=lnet
>>
>> 4. I created file .fppkg/config/fpconf.cfg with values:
>>
>> [Defaults]
>> ConfigVersion=4
>> GlobalPrefix=/usr/lib/codetyphon/fpc/bin/x86_64-linux/fpc
>
> I have read the configuration article again and it seems that you need
> to use the path which contains the FPC units here. I don't use
> CodeTyphon, but it could be /usr/lib/codetyphon/fpc.

Make sure to add a "/" at the end and then a "fppkg list" should show 
not only the few online packages, but also the "builtin" packages 
provided by fpc installation.

Regards,
Sven




More information about the fpc-pascal mailing list