Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56086 - dev-libs/opensc-0.8.1 fails to compile when X is not installed
Summary: dev-libs/opensc-0.8.1 fails to compile when X is not installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High blocker (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-04 13:38 UTC by Wolfram Schlich (RETIRED)
Modified: 2004-07-13 21:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfram Schlich (RETIRED) gentoo-dev 2004-07-04 13:38:23 UTC
--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 :>
Comment 1 SpanKY gentoo-dev 2004-07-13 21:15:14 UTC
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) :)