scdl -> libltdl breaks Windows build

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

scdl -> libltdl breaks Windows build

Stef Hoeben
 > big configure update.
 > use pkg-config for openct, openssl, pcsc.
 > do not compilke libp11. do not compile sslengines.
 > remove scdl. use libltdl instead.
 > use libassuan.m4 macro for m4 detection.

There's probably a very good reason to switch from scdl
to libltdl, but there's no such DLL nor a ltdl.h on Windows
(yes, in Cygwin, but so far OpenSC built fine without requiring
Cygwin or similar).

So the Windows port is broken, suggestions on how to fix
it are most wellcome.

Cheers,
Stef


_______________________________________________
opensc-devel mailing list
[hidden email]
http://www.opensc.org/cgi-bin/mailman/listinfo/opensc-devel
Reply | Threaded
Open this post in threaded view
|

Re: scdl -> libltdl breaks Windows build

Andreas Jellinghaus-2
On Saturday 03 September 2005 12:04, Stef Hoeben wrote:
> So the Windows port is broken, suggestions on how to fix
> it are most wellcome.

yes, sorry. will build a libltdl for windows next week.

Andreas
_______________________________________________
opensc-devel mailing list
[hidden email]
http://www.opensc.org/cgi-bin/mailman/listinfo/opensc-devel
Reply | Threaded
Open this post in threaded view
|

Re: scdl -> libltdl breaks Windows build

Stef Hoeben
Andreas Jellinghaus wrote:

>On Saturday 03 September 2005 12:04, Stef Hoeben wrote:
>  
>
>>So the Windows port is broken, suggestions on how to fix
>>it are most wellcome.
>>    
>>
>
>yes, sorry. will build a libltdl for windows next week.
>
>Andreas
>
Martin pointed me to the gnuwin32 libtool:
http://gnuwin32.sourceforge.net/packages/libtool.htm

This would require to add the scdl.h to src/include, the path of the
.lib file to the Makefile.mak
files that need it, and the libltdl3.dll to %windir%\System32\ or so.

Guess this the best solution, so unless you had something else in mind,
I'll fix the Win32 build this way?

Cheers,
Stef

 
_______________________________________________
opensc-devel mailing list
[hidden email]
http://www.opensc.org/cgi-bin/mailman/listinfo/opensc-devel
Reply | Threaded
Open this post in threaded view
|

Re: scdl -> libltdl breaks Windows build

Andreas Jellinghaus-2
Hi,

On Monday 12 September 2005 11:09, Stef Hoeben wrote:
> Martin pointed me to the gnuwin32 libtool:
> http://gnuwin32.sourceforge.net/packages/libtool.htm
>
> This would require to add the scdl.h to src/include, the path of the
> .lib file to the Makefile.mak

better use -I instead of copying header files around. also I gues you
mean "ltdl.h" not "scdl.h" :)

> files that need it, and the libltdl3.dll to %windir%\System32\ or so.

yes.

> Guess this the best solution, so unless you had something else in mind,
> I'll fix the Win32 build this way?

yes. I completely forgot about the header file. I tried some linking with
a static / dummy libltdl, but didn't finish it so far.

Regards, Andreas
_______________________________________________
opensc-devel mailing list
[hidden email]
http://www.opensc.org/cgi-bin/mailman/listinfo/opensc-devel
Reply | Threaded
Open this post in threaded view
|

Re: scdl -> libltdl breaks Windows build

Stef Hoeben
OK, fixed.

Q: what the status/future of libp11, opensslengines and pkcs11-spy?
The first two are still present but aren't build anymore on Windows,
the latter is still present and still built?

Cheers,
Stef

Andreas Jellinghaus wrote:

>Hi,
>
>On Monday 12 September 2005 11:09, Stef Hoeben wrote:
>  
>
>>Martin pointed me to the gnuwin32 libtool:
>>http://gnuwin32.sourceforge.net/packages/libtool.htm
>>
>>This would require to add the scdl.h to src/include, the path of the
>>.lib file to the Makefile.mak
>>    
>>
>
>better use -I instead of copying header files around. also I gues you
>mean "ltdl.h" not "scdl.h" :)
>
>  
>
>>files that need it, and the libltdl3.dll to %windir%\System32\ or so.
>>    
>>
>
>yes.
>
>  
>
>>Guess this the best solution, so unless you had something else in mind,
>>I'll fix the Win32 build this way?
>>    
>>
>
>yes. I completely forgot about the header file. I tried some linking with
>a static / dummy libltdl, but didn't finish it so far.
>
>Regards, Andreas
>
>  
>

_______________________________________________
opensc-devel mailing list
[hidden email]
http://www.opensc.org/cgi-bin/mailman/listinfo/opensc-devel
Reply | Threaded
Open this post in threaded view
|

Re: scdl -> libltdl breaks Windows build

Martin Paljak
On 9/15/05, Stef Hoeben <[hidden email]> wrote:
> OK, fixed.
It would not hurt to get rid of the 'do we have openssl?' stuff in
windows makefiles because i believe noone builds opensc on windows
without openssl support.

>
> Q: what the status/future of libp11, opensslengines and pkcs11-spy?
> The first two are still present but aren't build anymore on Windows,
> the latter is still present and still built?

I guess they shall be removed. Actually, it would make sense to pump
pkcs11-tool and pkcs11-spy out from opensc too and have a separate
'pkcs11-utils' or something like this ? That could incorporate pkcs11
tools as well as openssl engine what all could depend on libp11 if
needed ?

Just a wild idea...

--
Martin Paljak
[hidden email]
http://martin.paljak.pri.ee/
+372.5156495 - phone
_______________________________________________
opensc-devel mailing list
[hidden email]
http://www.opensc.org/cgi-bin/mailman/listinfo/opensc-devel
Reply | Threaded
Open this post in threaded view
|

Re: scdl -> libltdl breaks Windows build

Andreas Jellinghaus-2
In reply to this post by Stef Hoeben
On Thursday 15 September 2005 10:22, Stef Hoeben wrote:
> OK, fixed.
>
> Q: what the status/future of libp11, opensslengines and pkcs11-spy?
> The first two are still present but aren't build anymore on Windows,
> the latter is still present and still built?

svn rm sslengines
svn rm libp11
# both are standalone now

pkcs11-spy: should work fine, and currently
no plan to make it standalone too.

btw: sslengines has a test script, need
to look at it and write one for engine_pkcs11
package, so that's why I didn't already rm it.

Andreas
_______________________________________________
opensc-devel mailing list
[hidden email]
http://www.opensc.org/cgi-bin/mailman/listinfo/opensc-devel