Re: [fpc-pascal] libxml on MacOS X

2015-02-22 Thread Andreas Schneider


Oh god, that must have been tunnel vision. Yeah, that was the obvious 
next step. Thanks :-)


I compiled all the supplied examples and ran them, and they seem to 
print plausible results.
The only hurdle is, that ld doesn't pick up libxml2.dylib on its own - 
for whatever reason.


I had to explicitly add {$linklib xml2} to the code to get it to link.
(Although in the code it explicitly references 
"'libxml2.'+sharedsuffix;" already, which should have the same result, 
imho.)


Can I easily install the libxml package into my installed fpc for the 
given target? (by using fppkg, fpmake, or whatever?)

Marco van de Voort 
21. Februar 2015 20:33

Copy libxml/src/* simply to your working dir and compile your demo ?
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] libxml on MacOS X

2015-02-21 Thread Marco van de Voort
In our previous episode, Andreas Schneider said:
> 
> So in case there is simply no one who tried libxml on OSX, I would be 
> willing to do. However, how to correctly build it?
> I modified fpmake.pp to include "darwin" as possible target, but calling 
> fpmake fails:
> 
> ./fpmake
> The installer encountered the following error:
> Could not find unit directory for dependency package "rtl"
> 
> What would be the best next step from here?

Copy libxml/src/* simply to your working dir and compile your demo ?
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


[fpc-pascal] libxml on MacOS X

2015-02-21 Thread Andreas Schneider

Hello,

is there a specific reason why libxml is not built for MacOS X / darwin?
My first instinct was to "just try it" and but then I found out the hard 
way, that I have no idea how to correctly use fpmake ...


So in case there is simply no one who tried libxml on OSX, I would be 
willing to do. However, how to correctly build it?
I modified fpmake.pp to include "darwin" as possible target, but calling 
fpmake fails:


./fpmake
The installer encountered the following error:
Could not find unit directory for dependency package "rtl"

What would be the best next step from here?

Thanks!

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal