Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: GnuPG: devel

GPGME

 

 

GnuPG devel RSS feed   Index | Next | Previous | View Threaded


henman at it

Dec 11, 2006, 9:41 PM

Post #1 of 3 (344 views)
Permalink
GPGME

I have been looking at configure.ac for the GPGME package, trying to find out what to do to enable it to build easily on cygwin systems.

Not being an expert with GNU build tools I can only ask what I hope are good questions.

configure.ac has no references to cygwin in it, but it does in line #128 or so have

*-mingw32*) in a case statement.

Shouldn't there also be a

*-*-cygwin*)

Though cygwin does not use dos-ish pathnames, shouldn't it have the follwing setting??

have_w32_system=yes

I don't know if this is used for creating dlls or not?

or if
GPG_DEFAULT='/usr/local/bin/gpg.exe' would be needed or

if the below is relevant or not.
# XXX Assuan is not supported in this configuration.
#GPGSM_DEFAULT='c:\\gnupg\\gpgsm.exe'
#component_system='COM+'


Please take a look at configure.ac and add a case for *-*-cygwin* and
set the appropriate flags to enable w32 dll libraries for gpgme to be built.


Regards,
Darel Henman



_______________________________________________
Gnupg-devel mailing list
Gnupg-devel[at]gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-devel


henman at it

Dec 11, 2006, 11:09 PM

Post #2 of 3 (321 views)
Permalink
gpgme [In reply to]

After fiddling with configure.ac and providing a LDFLAGS=... I have been able to build gpgme up to the following error. I did a "find grep ... " for the undefined reference to "_assuan_set_assuan_err_source", but it only appears in the version.c source
file as a reference.

---
../libtool --tag=CC --mode=link gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -no-undefined -o libgpgme.la -rpath /usr/local/lib -version-info 17:1:6 conversion.lo get-env.lo data.l
o data-fd.lo data-stream.lo data-mem.lo data-user.lo data-compat.lo signers.lo sig-notation.lo wait.lo wait-global.lo wait-private.lo wait-user.lo op-support.lo encrypt.lo encrypt-sign.lo decrypt.lo decrypt-verify.lo verify.lo sign.lo passphrase.lo progr
ess.lo key.lo keylist.lo trust-item.lo trustlist.lo import.lo export.lo genkey.lo delete.lo edit.lo engine.lo rungpg.lo posix-util.lo posix-sema.lo posix-io.lo debug.lo gpgme.lo version.lo error.lo ath.lo memrchr.lo stpcpy.lo -lgpg-error
/usr/src/gpgme/gpgme-1.1.3-cvs1196/gpgme/version.c:53: undefined reference to `_assuan_set_assuan_err_source'

---

What am I missing?

Thanks,
Darel Henman

_______________________________________________
Gnupg-devel mailing list
Gnupg-devel[at]gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-devel


wk at gnupg

Dec 11, 2006, 11:32 PM

Post #3 of 3 (313 views)
Permalink
Re: GPGME [In reply to]

On Tue, 12 Dec 2006 06:41, henman[at]it.to-be.co.jp said:

> Though cygwin does not use dos-ish pathnames, shouldn't it have the follwing setting??
>
> have_w32_system=yes

Definitely not. Cygwin is a Unix emulation and as such it is very
different from the W32 API.

> I don't know if this is used for creating dlls or not?

It is used for all kind of stuff. It is actually an alias for _WIN32,
a name some folks don't like to use in connection with Free Software ;-)

> Please take a look at configure.ac and add a case for *-*-cygwin* and
> set the appropriate flags to enable w32 dll libraries for gpgme to be built.

If it does not work like a basic Unix system, something would wrong
with Cygwin. Note, that you need to use aCygwin build of gpg.exe
wiith a Cygwin build pf gpgme - you can't mix them.


Shalom-Salam,

Werner


_______________________________________________
Gnupg-devel mailing list
Gnupg-devel[at]gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-devel

GnuPG devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.