pfstools, pfscalibration under Gentoo

To install pfscalibration under Gentoo Linux its first of all necessary to install pfstools.
While trying to install pfstools Ive got errors about an missing library …
/usr/lib/libGL.la
so i created an softlink
ln -s opengl/xorg-x11/lib/libGL.la /usr/lib64/libGL.la
to
opengl/xorg-x11/lib/libGL.la
that seems to work nice and so I stated to try installing pfscalibration.

But here also some Errors occupied.
sry 4 my bad English.
pfshdrcalibrate.cpp:547: error: ‘ex’ was not declared in this scope
pfshdrcalibrate.cpp:547: error: expected `;' before ‘)’ token
pfshdrcalibrate.cpp:551: error: expected primary-expression before ‘catch’
pfshdrcalibrate.cpp:551: error: expected `;' before ‘catch’
make[2]: *** [pfshdrcalibrate.o] Error 1
make[2]: Leaving directory `/tmp/pfscalibration-1.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/pfscalibration-1.2'
make: *** [all] Error 2

“setting” Variables to
export PFS_CFLAGS="-I/usr/local/include/pfs-1.2"
export PFS_LIBS=/usr/local/lib/libpfs-1.2.so

made pfscalibration compile nicely.

I hope that short article will help everyone with the same Problem …


Leave a Reply