I am glad that you managed to compile and I am puzzled why it was
causing so much problems. configure script from pfstmo should detect
the pkg-config file lib/pkgconfig/
pfs.pc and take all the paths from there. If this file is missing,
configure should fail. The other possibility is that the paths in that
file are wrong, which should not happen either, unless you made some
custom changes when compiling pfstools.
It is still surprising that you managed to compile pfstools with
MacPorts. If you have any tricks or instruction that may help the
others and should be included in README.OSX, please post them to the
group.
Regarding pre-compiled packages, I always look for contributors who
could maintain them.
Cheers,
Rafal
On Sep 3, 6:27 am, Jon Brisbin <
jon.bris...@gmail.com> wrote:
> Rafal,
>
> Thanks for the tips. I finally got it working after a couple hours of
> playing around with build flags. I eventually got it built by setting:
>
> CFLAGS=-I/opt/local/include
> LDFLAGS=-L/opt/local/lib
> CXXFLAGS=-I/opt/local/include
> PFS_CLFAGS=-I/usr/local/pfstools/include/pfs-1.2
> PFS_LIBS="-L/usr/local/pfstools/lib -lpfs-1.2"
>
> Note that the "-lpfs-1.2" was the only way to get it built such that
> ld could find the pfs stuff. I've never had to specify a version
> before, so this one took me a while to figure out. I would have
> expected only "-lpfs".
>
> I never could get it to compile using FFTW3_CFLAGS/LIBS, even though
> that library is compiled using MacPorts, so lives in /opt/local. Every
> time I tried to include it, I got linker errors.
>
> IMHO the build process should take configure flags to figure all this
> stuff out (e.g. --with-pfstools=/usr/local/pfstools --with-fftw3=/opt/
> local). The process of using environment vars to specify the actual
> build flags is error-prone to say the least.
>
> Of course, it would be better if I could just download a DMG of these,
> pre-compiled for OS X. :) I really hate having to twiddle with build
> scripts just to get an end product.
>
> Thanks!
>
> Jon Brisbinhttp://
jbrisbin.com/