<html><head></head><body bgcolor="#ffffff" text="#2e3436" link="#2a76c6" vlink="#2e3436"><pre>Hi Peter, Hi Paul</pre><pre><br></pre><pre>On Sat, 23 Nov 2013 14:29:22 +0100 Paul Gevers <<a href="mailto:elbrus@debian.org">elbrus@debian.org</a>> wrote:
... 
> Currently I am trying to get fpc building on kfreebsd-amd64 on one of
> the porterboxes. I seem to be able to get a package build, albeit with
> some missing things.</pre><pre>Are anybody still interested in this port?</pre><pre>
...</pre><pre>> In fastcgi and fcl-web, something goes wrong with linking:
>    ELF interpreter /usr/libexec/ld-elf.so.1 not found
> I have no idea where this comes from as all references to libexec are
> either in fpmake itself after compilation or in t_bsd.pas (which code I
> removed below anyway to be sure).
As far as I can see this seems to be part of binutils-2.25 but not in Debian.</pre><pre><a href="http://nixdoc.net/man-pages/FreeBSD/ld-elf.so.1.1.html">http://nixdoc.net/man-pages/FreeBSD/ld-elf.so.1.1.html</a> gives some explanation about this:</pre><pre><pre style="white-space: pre-wrap; word-wrap: break-word; color: rgb(0, 0, 0); font-size: 12px;">The <b>ld-elf.so.1</b> utility itself is loaded by the kernel together with any
     dynamically-linked program that is to be executed.  The kernel transfers
     control to the dynamic linker.  After the dynamic linker has finished
     loading, relocating, and initializing the program and its required shared
     objects, it transfers control to the entry point of the program.</pre>
> Because of removing fastcgi and fcl-web from building, also fppkg fails:
>     pkgfphttp.pp(18,12) Fatal: Can't find unit fphttpclient used by
> pkgfphttp
> This last failure can be prevented by building fcl-web until failure,
> then enough pieces are in place for fppkg to build.</pre><pre>Do we really care about fppkg for kfreebsd? Maybe we should start by having a compiler and RTL,</pre><pre>and as many packages as possible but not a full FPC as a start point.</pre><pre>

> Also building fpdoc goes wrong with:
>    /usr/bin/ld: cannot find -liconv
> I don't know exactly why this is added on kfreebsd and not (it seems) on
> Linux. Maybe, if I understand correctly, it should be -lkiconv on Debian
> and than I need to build depend on libkiconv-dev [kfreebsd-any].</pre><pre>Maybe we don't need fpdoc in kfreebsd

> I think I will create a package which doesn't build
> fastcgi/fcl-web/fppkg/fpdoc for now. So that we have something to start
> with. After I am finished with this, I will also try to see if by now
> this trick can also be applied on kfreebsd-i386.
Yes, this is a good start point, and maybe with newer version it is easier, maybe not.</pre><div><span><pre><pre>-- <br></pre>Cheers,
Abou Al Montacir
</pre></span></div></body></html>