reply: how to compile libksba into windows version

Yunfeng yunxin.li at gmail.com
Thu Oct 2 04:50:49 CEST 2008


Hi all

Following the instruction. I have got the libksba-8.dll.
But I can't find the relevant lib file.
Where is it? Or how to generate it.

I want use the libksba.dll in my vs2005 program.
Can anyone be so nice to tell me that whether I can call the funcs in the
dll from my vs2005!?

Thanks 

Yunfeng

-----邮件原件-----
发件人: Marcus Brinkmann [mailto:marcus.brinkmann at ruhr-uni-bochum.de] 
发送时间: 星期三, 24 九月, 2008 PM 8:37
收件人: Yunfeng
抄送: Gnupg-devel at gnupg.org
主题: Re: how to compile libksba into windows version

At Wed, 24 Sep 2008 13:24:44 +0800,
Yunfeng <yunxin.li at gmail.com> wrote:
> I need run libksba in windows. 
> 
> I find in google but cannot find a windows version libksba. 
> 
> Anyone can teach me how to compile the libksba into windows. 

It's part of gpg4win, so you can use:

http://gpg4win.org/build-installer.html

If you follow the instructions, the libksba build will end up in
src/playground/build/libksba-$LIBKSBA_VERSION-build

By studying the gpg4win build system, you can also figure out how to
build it without gpg4win.  It's not that hard, but there are many fine
details to get right.

You don't need to build all of gpg4win to get libksba.  By reading
configure.ac, you can see that libksba needs only libgpg-error, which
in turn needs libiconv and gettext.  So drop these packages into
packages/ (see the file packages.current for URLs to these), and run
in the src/ directory:

$ make stamps/stamp-final-libiconv
$ make stamps/stamp-final-gettext
$ make stamps/stamp-final-libgpg-error
$ make stamps/stamp-final-libksba

Thanks,
Marcus

Internal Virus Database is out of date.
Checked by AVG - http://www.avg.com 
Version: 8.0.138 / Virus Database: 270.5.3/1565 - Release Date: 2008-7-21
18:36




More information about the Gnupg-devel mailing list