[ptx] [OT?] Compile Problems pfstools x86_64 (amd64):
recompile with -fPIC - partly solved?
Michael Galloway
mgx at ornl.gov
Fri Dec 16 20:49:38 GMT 2005
gerhard, i worked around this same error by setting these environment variables:
export PFS_CFLAGS="-I/usr/local/include/pfs-1.2"
export PFS_LIBS=/usr/local/lib/libpfs-1.2.so
and it built for me. adjust to your shell and specific paths and try ...
-- michael
On Fri, Dec 16, 2005 at 08:58:38PM +0100, Gerhard Gaussling wrote:
> Am Donnerstag 15 Dezember 2005 20:39 schrieb Gerhard Gaussling:
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
>
> Alternatively you may set the PFS_CFLAGS and PFS_LIBS environment
> variables
> to avoid the need to call pkg-config. See the pkg-config man page for
> more details.
> gerhard at ubuntu:~/download/pfstools/pfscalibration-1.1$
> $ PFS_LIBS=/usr/local/lib sudo ./configure --prefix=/usr/local
> does not work either.
>
> gerhard at ubuntu:~/download/pfstools/pfscalibration-1.1$ dpkg -L
> pfstools-1.2.1 |grep lib
> /usr/lib
> /usr/lib/octave
> /usr/lib/octave/2.1.71
> /usr/lib/octave/2.1.71/site
> /usr/lib/octave/2.1.71/site/oct
> /usr/lib/octave/2.1.71/site/oct/x86_64-pc-linux-gnu
> /usr/lib/octave/2.1.71/site/oct/x86_64-pc-linux-gnu/pfstools
> /usr/lib/octave/2.1.71/site/oct/x86_64-pc-linux-gnu/pfstools/pfsclose.oct
> /usr/lib/octave/2.1.71/site/oct/x86_64-pc-linux-gnu/pfstools/pfsget.oct
> /usr/lib/octave/2.1.71/site/oct/x86_64-pc-linux-gnu/pfstools/pfsopen.oct
> /usr/lib/octave/2.1.71/site/oct/x86_64-pc-linux-gnu/pfstools/pfsput.oct
> /usr/lib/octave/2.1.71/site/oct/x86_64-pc-linux-gnu/pfstools/pfsread.oct
> /usr/lib/octave/2.1.71/site/oct/x86_64-pc-linux-gnu/pfstools/pfstransform_colorspace.oct
> /usr/lib/octave/2.1.71/site/oct/x86_64-pc-linux-gnu/pfstools/pfswrite.oct
> /usr/local/lib
> /usr/local/lib/libpfs-1.2.a
> /usr/local/lib/libpfs-1.2.la
> /usr/local/lib/libpfs-1.2.so.0.0.0
> /usr/local/lib/pkgconfig
> /usr/local/lib/pkgconfig/pfs.pc
> /usr/local/lib/libpfs-1.2.so
> /usr/local/lib/libpfs-1.2.so.0
>
> Hmmm... any hints? I often got these kind of problems due to my lack of
> understanding the compile process, and the linker...
>
> And what is the recomended method to compile pfstools? Edit manually the
> makefiles??
>
> Any help or hint is much appreciate
>
> Kind regards
>
> Gerhard Gaußling
>
More information about the ptx
mailing list