Thank you for the guidelines, Martin. 

It was possible to compile opensc from svn with arch x86_64 on Leopard. 
But we obtained some compiling errors when making libusb and other sca modules. 

Would it be possible to compile full sca for x86_64 ? 

Is it possible to compile any smart card reader driver (any driver in fact) for 
x86_64 in Leopard? or should we wait until the snow leopard (10.6.x) mac os x. 

Thanks in advance. 
-- gustavo 

----------------------------------------- 
Gustavo Fernández 
ZYLK.net - iniciativas tecnológicas 
Enpresaldea, Modulo 9. 
Ctra. Basurto Castresana 70. 
48002 Bilbao (Bizkaia) 

movil: 637546184 
ofic.: 944272119 
email: gus at zylk.net 
----------------------------------------- 

----- Mensaje original ----- 
De: "Gustavo Fernández" <g...@zylk.net> 
Para: "Martin Paljak" <mar...@paljak.pri.ee> 
CC: "opensc-dev" <opensc-devel@lists.opensc-project.org> 
Enviados: Miércoles, 4 de Marzo 2009 15:09:05 GMT +01:00 Amsterdam / Berlín / 
Berna / Roma / Estocolmo / Viena 
Asunto: Re: [opensc-devel] opensc SCA 64 bits 


Hi, 

Thanks, i will try to do so. 

--gustavo 

----------------------------------------- 
Gustavo Fernández 
ZYLK.net - iniciativas tecnológicas 
Enpresaldea, Modulo 9. 
Ctra. Basurto Castresana 70. 
48002 Bilbao (Bizkaia) 

movil: 637546184 
ofic.: 944272119 
email: gus at zylk.net 
----------------------------------------- 

----- Mensaje original ----- 
De: "Martin Paljak" <mar...@paljak.pri.ee> 
Para: "Gustavo Fernández" <g...@zylk.net> 
CC: "opensc-dev" <opensc-devel@lists.opensc-project.org> 
Enviados: Miércoles, 4 de Marzo 2009 13:07:22 GMT +01:00 Amsterdam / Berlín / 
Berna / Roma / Estocolmo / Viena 
Asunto: Re: [opensc-devel] opensc SCA 64 bits 

On 03.03.2009, at 19:03, Gustavo Fernández wrote: 
> I am using the opensc/sca proyect to access to a smartcard from 
> java. The java code loads the dynamic library (opensc-pkcs11.so) and 
> sign some documents. When i access to the library using the mac osx 
> java 5 (32 bits) version, the library loads fine, but when i load 
> the library from java 6 (64 bits) the code throws an exception. 
> 
> Is there a 64 bits version of the opensc/sca library?, is it 
> possible to compile the library from source and create a 64 bits 
> compatible version? any experience doing so? 

If you only need OpenSC to be 64bits, you can download OpenSC from SVN 
and compile it with something like this: 

<copy> 
export PKG_CONFIG_PATH=/usr/lib/pkgconfig 
export CFLAGS="-isysroot /Developer/SDKs/MacOSX10.5.sdk -arch ppc - 
arch i386 -arch ppc64 -arch x86_64 -mmacosx-version-min=10.5" 

./configure --prefix=/Library/OpenSC \ 
--sysconfdir=/Library/OpenSC/etc \ 
--disable-man \ 
--disable-doc \ 
--enable-pcsc \ 
--without-pinentry \ 
--enable-iconv 
</copy> 

This way make; sudo make install replaces OpenSC inside the SCA 
package with your 64bit extended version, which is safe. We should 
probably include 64bit binaries with binary builds as well. 
You also need to run ./bootstrap to generate the configure script and 
you'll need auto* tools (from fink) and pkg-config for this to work. 



-- 
Martin Paljak 
http://martin.paljak.pri.ee 
+372.515.6495 





_______________________________________________ opensc-devel mailing list 
opensc-devel@lists.opensc-project.org 
http://www.opensc-project.org/mailman/listinfo/opensc-devel
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to