Re: [opensc-devel] Problems compiling OpenSC in Solaris 10 SPARC architecture

2009-06-11 Thread Douglas E. Engert
Its still using the cc compiler, not gcc. Try setting in your enviroment CC=gcc and making sure /usr/sfw/bin is in your path.(It looks like it is.) Then run configure again. I thing cc vs gcc is your problem, but I also had to add a patch to the libtool script created by configure with OpenSC. Th

Re: [opensc-devel] Problems compiling OpenSC in Solaris 10 SPARC architecture

2009-06-09 Thread Douglas E. Engert
A couple of things I see: You are using the pcsc provided by Sun. I compiled the pcsc-lite-1.5.3 and made sure it found its include and lib. My --prefix for all of the packages was /opt/smartcard. configure, make, install each into /opt/smartcard in this order: pcsc-lite, ccid, opensc, libp11, eng

Re: [opensc-devel] Problems compiling OpenSC in Solaris 10 SPARC architecture

2009-06-08 Thread Douglas E. Engert
As a test, I rebuilt pcsc-lite-1.5.3, ccid-1.3.10, opensc-0.11.8, libp11-0.2.4, engine_pkcs11-0.1.5 on Solaris 10 using /usr/sfw/bin/gcc. I was able to get pkcs11-tool to read the objects off the card, using a GemPC Twin USC reader. So if you have the configure output of the pcsc-lite and ccid I

Re: [opensc-devel] Problems compiling OpenSC in Solaris 10 SPARC architecture

2009-06-08 Thread Douglas E. Engert
Marc Rios Valles wrote: > Hi Douglas > > > > Marc Rios Valles wrote: > > > Hi to everybody, > > > > > > > > > I'm trying to compile OpenSC in Solaris 10-SPARC and I'm having lots of > > > trouble in the make install script. > > > > I have used the Sun provided gcc and openssl in /usr/sf

Re: [opensc-devel] Problems compiling OpenSC in Solaris 10 SPARC architecture

2009-06-08 Thread Marc Rios Valles
Hi Douglas > Marc Rios Valles wrote: > > Hi to everybody, > > > > > > I'm trying to compile OpenSC in Solaris 10-SPARC and I'm having lots of > > trouble in the make install script. > > I have used the Sun provided gcc and openssl in /usr/sfw/ > > CC=gcc > CFLAGS=-g > CPPFLAGS="-DDEBUG -I/afs/anl

Re: [opensc-devel] Problems compiling OpenSC in Solaris 10 SPARC architecture

2009-06-05 Thread Douglas E. Engert
Marc Rios Valles wrote: > Hi to everybody, > > > I'm trying to compile OpenSC in Solaris 10-SPARC and I'm having lots of > trouble in the make install script. I have used the Sun provided gcc and openssl in /usr/sfw/ CC=gcc CFLAGS=-g CPPFLAGS="-DDEBUG -I/afs/anl.gov/appl/libtool-1.5.14/sun4x

[opensc-devel] Problems compiling OpenSC in Solaris 10 SPARC architecture

2009-06-05 Thread Marc Rios Valles
Hi to everybody, I'm trying to compile OpenSC in Solaris 10-SPARC and I'm having lots of trouble in the make install script. I compile it with this flags: export PATH=/opt/SUNWspro/bin:/usr/bin:/usr/local/bin:/usr/sbin:/usr/sfw/bin:/usr/ccs/bin:/opt/sfw/bin:/usr/ucb: $PATH export CFLAGS="-I/u