help-libidn

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: [Win32] Can't build a dynamic libidn-1.12 library with MinGW in MSYS shell. Simon Josefsson Mon Feb 09 06:00:50 2009

"Sisyphus" <[EMAIL PROTECTED]> writes:

> Hi,
>
> There's no problem building a static lib, but trying to build a
> dynamic lib terminates with the following error during the 'make'
> stage:
>
> ######################################
> Making all in src
> make[2]: Entering directory `/c/_32/comp/libidn-1.12/src'
> gengetopt --unamed-opts --no-handle-version --no-handle-help \
>        --set-package="idn" \
>        --input idn.ggo Makefile.am --file-name idn_cmd || \
>        test -f idn_cmd.h -a -f idn_cmd.c || \
>        cp ./idn_cmd.h ./idn_cmd.h .
> /bin/sh: gengetopt: command not found

Hi.  Strange, it seems 'make' decides that it needs to re-build
idn_cmd.c and idn_cmd.h from idn.ggo.  Did you modify either src/idn.ggo
or src/Makefile.am?  Can you show the output from 'ls -l src/' inside
the libidn directory?

Anyway, as a work around, you could do 'touch src/idn_cmd.?' to make
sure the timestamp for the generated files are later than the source.

Maybe your 'tar' unpacker did not restore the timestamps of the files
properly.  How did you unpack the *.tar.gz file?

/Simon


_______________________________________________
Help-libidn mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/help-libidn