Page MenuHome GnuPG

Compile gpgme-1.3.2 under cygwin (crippled paths when calling configure)
Closed, ResolvedPublic

Description

Hello,

(This is my first post/report. So if I do something wrong, please teach me
instead of sending flames. Thank You.)

My problem may be cygwin related but calling:

./configure --without-g13 --disable-g13-test --enable-shared --enable-w32-

glib --with-gpg="/cygdrive/c/Program Files (x86)/GNU/GnuPG/pub/gpg.exe" --with-
gpgsm="/cygdrive/c/Program Files (x86)/GNU/GnuPG/pub/gpgsm.exe" --with-
gpgconf="/cygdrive/c/Program Files (x86)/GNU/GnuPG/pub/gpgconf.exe"

gives me warnings with crippled paths int it:

checking for GPG >= 1.4.0... ./configure: line 18671: /cygdrive/c/Program: No
such file or directory
./configure: line 18679: test: : integer expression expected
./configure: line 18682: test: : integer expression expected
no

So "/cygdrive/c/Program Files (x86)/GNU/GnuPG/pub/gpg.exe"
becomes "/cygdrive/c/Program"

Again: This may be cygwin related and if this is the wrong place to post,
please tell me and close this issue.

Thanks for attention,
Thomas

Details

Version
1.3.2

Event Timeline

me added projects: Bug Report, gpgme.
me added a subscriber: me.

Some autoconf tests may choke on spaces in file names. Of course it is
possible to avoid this problem, but for development tools, it is not really
justified. Hacker's don't have spaces in there file names - they lead to all
kind of problems. Sometimes there is even a check for this problem:

  1. Reject unsafe characters in $HOME, $tsdir and cwd. We consider spaces
  2. as unsafe because it is too easy to get scripts wrong in this regard.

am_lf='
'
case pwd in

*[\;\\\"\#\$\&\'\`$am_lf\ \	]*)
  echo "unsafe working directory name"; DIE=yes;;

esac

But most packages don't have these checks, yet.

You should try to install into another directory - without strange characters
like spaces or parentheses.

me claimed this task.

Thank You werner for the explanations.

As a workaround I copied to C:\GNU\GnuPG\ and this helped.
Now I have other issues but this one is solved.

Thanks again and bye.
me.