<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Op 26-10-15 om 09:19 schreef Anthony Walter:<br>
    <blockquote
cite="mid:CAHmPLWXhDj4oFWfq9KV4qeZ-V1jJp_-djUsrYMQ4EefnYfAT1Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">I got it working, somewhat.</div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra">It would seem that you have to
          duplicate the entire FPC lib tree underneath {UserDir}.fppkg/</div>
      </div>
    </blockquote>
    <br>
    No, that should not be necessary. Fppkg uses two locations to
    install packages. One is {UserDir}.fppkg (the local version), but
    the other one should be the location where fpc is installed. That
    way there is no need to duplicate. Read the other mail for hints why
    it can not find your global configuration.<br>
    <br>
    <blockquote
cite="mid:CAHmPLWXhDj4oFWfq9KV4qeZ-V1jJp_-djUsrYMQ4EefnYfAT1Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">The instructions at the page referenced
          in my last post are very unclear about that.</div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra">I suppose under normal fpc install this
          is needed because the lib files are typically only create as
          root under some folder other than your $HOME (done during
          install). This copy (assuming everything in fpc/lib is needed)
          results in an extra 900MB of files duplicated and eating up
          disk space (I use small SSDs on my laptop),</div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra">However, since I always clone FPC and
          Lazarus from sources and build somewhere under my $HOME folder
          (normally $HOME/Development/Base or
          $HOME/Development/FreePascal), I was able to
          set LocalRepository and GlobalPrefix in ~/.config/fppkg.cfg to
          my FPC folder ( $HOME/Development/Base/fpc) and then fppkg
          worked, sort of.</div>
        <div class="gmail_extra"><br>
        </div>
      </div>
    </blockquote>
    <br>
    This should have worked 'out-of-the-box', and it should work with
    fpc 3.0.0-rc2, but it could be that you hane to tweak fpc 3.1.1.<br>
    <br>
    <blockquote
cite="mid:CAHmPLWXhDj4oFWfq9KV4qeZ-V1jJp_-djUsrYMQ4EefnYfAT1Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">I found that almost all package were
          already "installed". I take installed to mean the package
          source were are already included with FPC and compile when I
          ran "make all" some time ago.</div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra">Of the 6 package not installed, I could
          only compile half. The rest complained with results similar to
          the following:</div>
        <div class="gmail_extra"><br>
        </div>
        <div class="gmail_extra">
          <div class="gmail_extra"><font face="monospace, monospace">Target
              OS: Linux for x86-64</font></div>
          <div class="gmail_extra"><font face="monospace, monospace">Compiling
              custembweb.pp</font></div>
          <div class="gmail_extra"><font face="monospace, monospace">PPU
              Loading
/home/gigauser/Development/Base/fpc/lib/fpc/3.1.1/units/x86_64-linux/lnet/lnetssl.ppu</font></div>
          <div class="gmail_extra"><font face="monospace, monospace">PPU
              Source: lnetssl.pp not found</font></div>
          <div class="gmail_extra"><font face="monospace, monospace">Recompiling
              lNetSSL, checksum changed for openssl</font></div>
          <div class="gmail_extra"><font face="monospace, monospace">lnetssl.pp(43,57)
              Fatal: Can't find unit lNetSSL used by lhttp</font></div>
          <div class="gmail_extra"><font face="monospace, monospace">Fatal:
              Compilation aborted</font><br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Each compiler-version has it's own repository. I did test all
    packages in the 3.0.0 repository. I'll update the 3.1.1 packages
    later.<br>
    <br>
    Joost.<br>
  </body>
</html>