Hi Adriano,

Adriano Santoni wrote on 06/15/08 11:35 PM:
> Thank you, Iain.
> 
> the instructions you pointed me to were a good start, but not sufficient. 
> Besides, I discovered that some of the environment variables thereby 
> suggested are actually not needed.
> 
> Fist of all, one has to make sure the packages SUNWgcc and SUNWhea are 
> installed, or you will go nowhere.
> 
> Then, you have to set some compiler options; e.g. gcc does not like -pthread 
> as it wants -pthreads (with the final "s").
> 
> I also had to modify one pcsc-lite haeder file, misc.h, to remove the 
> "visibility" attribute which Solaris ccc does not like.
> 
> In the end I was able to run pcsc-lite and the ccid driver.

I don't use gcc. I use Sun Studio, as implied by the prerequisites. I
built pcsclite and ccid that way many many times, and I went through
the visibility issues, and others, and submitted patches that made
things build cleanly with Sun Studio. It's possible that something
has changed in a recent release that has broken it again, but I
suspect that if you follow my instructions exactly, including the
prerequisites, it will build cleanly.


> Now, I wonder what is the best tecnique - under Solaris - to have the pcscd 
> daemon automatically started upon boot.....

Now that you've been through all that pain, you might want to take a
look at:

http://lists.drizzle.com/pipermail/muscle/2008-June/007218.html

I don't know of the SMF stuff is included there or not, but it might
be...

     ~Iain

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6143 bytes
Desc: S/MIME Cryptographic Signature
URL: 
<http://mail.opensolaris.org/pipermail/security-discuss/attachments/20080616/e4fd7d9a/attachment.bin>

Reply via email to