--8<-- gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -I../../src/include -Inpinclude -DXP_UNIX -Wall -march=athlon-mp -O3 -pipe -c opensc-crypto.c -MT opensc_signer_la-opensc-crypto.lo -MD -MP -MF .deps/opensc_signer_la-opensc-crypto.TPlo -fPIC -DPIC -o .libs/opensc_signer_la-opensc-crypto.o In file included from opensc-crypto.c:1: signer.h:7:27: X11/Intrinsic.h: No such file or directory make[4]: *** [opensc_signer_la-opensc-crypto.lo] Error 1 make[4]: Leaving directory `/var/tmp/portage/opensc-0.8.1/work/opensc-0.8.1/src/signer' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/opensc-0.8.1/work/opensc-0.8.1/src/signer' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/opensc-0.8.1/work/opensc-0.8.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/opensc-0.8.1/work/opensc-0.8.1' make: *** [all] Error 2 !!! ERROR: dev-libs/opensc-0.8.1 failed. !!! Function src_compile, Line 32, Exitcode 2 !!! (no error message) --8<-- It's looking for /usr/X11R6/include/X11/Intrinsic.h which belongs to xorg-x11 (or xfree). I cannot believe OpenSC really _depends_ on X... this would be so sick :>
yikes ! seems to be :( at least, opensc comes with a signing plugin for netscape which requires X11 and there doesnt seem to be anyway to disable it via configure :( the solution, of course, is to patch this cruft out (which ive done in cvs) :)