<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Op 26-10-15 om 08:43 schreef Anthony Walter:<br>
<blockquote
cite="mid:CAHmPLWVbjnNhasLhW-d6z0_618AS2p87MgcF89_v=NJQwKxo4w@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra"><b>Nothing works for me.</b></div>
</div>
</blockquote>
<br>
You are using fpc 3.1.1. The repository for fpc 3.1.1 only contains
the 'extra' packages, like embweb, gecko etc. This is because all
the other packages can constantly change...<br>
<br>
<blockquote
cite="mid:CAHmPLWVbjnNhasLhW-d6z0_618AS2p87MgcF89_v=NJQwKxo4w@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra"><b>Following the instructions at <a
moz-do-not-send="true"
href="http://wiki.freepascal.org/fppkg"><a class="moz-txt-link-freetext" href="http://wiki.freepascal.org/fppkg">http://wiki.freepascal.org/fppkg</a></a></b></div>
<div class="gmail_extra"><b><br>
</b></div>
<div class="gmail_extra"><b>When I do fppkg list I see:</b></div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">
<div class="gmail_extra"><font face="monospace, monospace">$
fppkg list -l</font></div>
<div class="gmail_extra"><font face="monospace, monospace">Name
Installed (G) Installed (L)
Available </font></div>
<div class="gmail_extra"><font face="monospace, monospace">embweb
- - 0.9.1-968
</font></div>
<div class="gmail_extra"><font face="monospace, monospace">gecko
- - 2.9.0-3
</font></div>
<div class="gmail_extra"><font face="monospace, monospace">jquery
- - 0.9.0-842
</font></div>
<div class="gmail_extra"><font face="monospace, monospace">lazmkunit
- - 0.9.3-1 </font></div>
<div class="gmail_extra"><font face="monospace, monospace">lnet
- -
0.6.6-2606 </font></div>
<div class="gmail_extra"><font face="monospace, monospace">webdesign
- - 0.9.0-906 </font></div>
<div class="gmail_extra"><br>
</div>
</div>
</div>
</blockquote>
<br>
But it should list all the installed packages, although they are not
available for download.<br>
<br>
<blockquote
cite="mid:CAHmPLWVbjnNhasLhW-d6z0_618AS2p87MgcF89_v=NJQwKxo4w@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_extra"><b>When I try to install I get this:</b></div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">
<div class="gmail_extra"><font face="monospace, monospace">$
fppkg install embweb</font></div>
<div class="gmail_extra"><font face="monospace, monospace">The
FPC Package tool encountered the following error:</font></div>
<div class="gmail_extra"><font face="monospace, monospace">[embweb]
Package fcl-web <none> is not available</font></div>
</div>
<div class="gmail_extra"><br>
</div>
</div>
</div>
</blockquote>
<br>
Because it can not find the installed packages. (In this case
fcl-web)<br>
<br>
<blockquote
cite="mid:CAHmPLWVbjnNhasLhW-d6z0_618AS2p87MgcF89_v=NJQwKxo4w@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_extra"><b>When I try with fcl-base I get
this:</b></div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">
<div class="gmail_extra"><font face="monospace, monospace">$
fppkg install fcl-base</font></div>
<div class="gmail_extra"><font face="monospace, monospace">The
FPC Package tool encountered the following error:</font></div>
<div class="gmail_extra"><font face="monospace, monospace">Package
"fcl-base" not found.</font></div>
</div>
<div class="gmail_extra"><br>
</div>
</div>
</div>
</blockquote>
<br>
Normal for fpc 3.1.1<br>
<br>
<blockquote
cite="mid:CAHmPLWVbjnNhasLhW-d6z0_618AS2p87MgcF89_v=NJQwKxo4w@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_extra"><b>What's the issue? A valid fpc is
in the path as well as a valid fpc.cfg.</b></div>
<div class="gmail_extra"><b><br>
</b></div>
<div class="gmail_extra"><b>Output of fppkg listsettings:</b></div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">
<div class="gmail_extra"><font face="monospace, monospace">Using
global configuration from file
"/home/gigauser/.config/fppkg.cfg":</font></div>
<div class="gmail_extra"><font face="monospace, monospace"> RemoteMirrorsURL:
<a moz-do-not-send="true"
href="http://www.freepascal.org/repository/mirrors.xml">http://www.freepascal.org/repository/mirrors.xml</a></font></div>
<div class="gmail_extra"><font face="monospace, monospace"> RemoteRepository:
auto</font></div>
<div class="gmail_extra"><font face="monospace, monospace"> LocalRepository:
"{UserDir}.fppkg/" -> "/home/gigauser/.fppkg/"</font></div>
<div class="gmail_extra"><font face="monospace, monospace"> BuildDir:
"{LocalRepository}build/" ->
"/home/gigauser/.fppkg/build/"</font></div>
<div class="gmail_extra"><font face="monospace, monospace"> ArchivesDir:
"{LocalRepository}archives/" ->
"/home/gigauser/.fppkg/archives/"</font></div>
<div class="gmail_extra"><font face="monospace, monospace"> CompilerConfigDir:
"{LocalRepository}config/" ->
"/home/gigauser/.fppkg/config/"</font></div>
<div class="gmail_extra"><font face="monospace, monospace"> DefaultCompilerConfig:
"default"</font></div>
<div class="gmail_extra"><font face="monospace, monospace"> FPMakeCompilerConfig:
"default"</font></div>
<div class="gmail_extra"><font face="monospace, monospace"> Downloader:
lnet</font></div>
<div class="gmail_extra"><font face="monospace, monospace">Using
compiler configuration file
"/home/gigauser/.fppkg/config/default":</font></div>
<div class="gmail_extra"><font face="monospace, monospace"> Compiler:
"/home/gigauser/Development/Base/fpc/bin/fpc"</font></div>
<div class="gmail_extra"><font face="monospace, monospace"> Target:
x86_64-linux</font></div>
<div class="gmail_extra"><font face="monospace, monospace"> Version:
3.1.1</font></div>
<div class="gmail_extra"><font face="monospace, monospace"> GlobalPrefix:
"/home/gigauser/Development/Base/fpc/bin" ->
"/home/gigauser/Development/Base/fpc/bin/"</font></div>
<div class="gmail_extra"><font face="monospace, monospace"> LocalPrefix:
"{LocalRepository}" -> "/home/gigauser/.fppkg/"</font></div>
<div class="gmail_extra"><font face="monospace, monospace"> GlobalInstallDir:
"{GlobalPrefix}lib/fpc/{CompilerVersion}/" ->
"/home/gigauser/Development/Base/fpc/bin/lib/fpc/3.1.1/"</font></div>
</div>
</div>
</div>
</blockquote>
<br>
This setting should point to the location where the packages are
installed. And it looks right. Do you have a directory called
'fpmkinst' here:<br>
<font face="monospace, monospace">/home/gigauser/Development/Base/fpc/bin/lib/fpc/3.1.1/fpmkinst/x86_64<br>
<br>
And does this directory contain a lot of .fpm files?<br>
</font><br>
It should...<br>
<br>
Joost.<br>
</body>
</html>