Merci Julian :),it compile fine now,i just edit into DBM_LIBS and PERL_LIBS those line,another question,the make is generating executable(.exe) but strange when using make file,the bin that are generated not in .exe extension,it's without any extension,i've tried to edit install-sh on support folder this line : -B) backupsuffix="$2" into -B) backupsuffix="exe" but still no extension generated,any clues?<br>
<div class="gmail_quote">
<br>regards,<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Mon, Sep 13, 2010 at 11:45 PM, Julien ÉLIE <span dir="ltr"><<a href="mailto:julien@trigofacile.com" target="_blank">julien@trigofacile.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Michael,<div><div></div><div><br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I really do need this to run on my windows, for personal use in my<br>
network,after 2 days 2 nights struggling compiling gd-2.0.36RC1  and perl GD<br>
2.5.2module in cygwin, 1.77,i stumbled upon this error :<br>
-----------------------------------------------------------<br>
make[1]: Entering directory `/home/Stellar/inn-STABLE-20100911/authprogs'<br>
gcc -g -O2 -I../include  -I/usr/include -c ckpasswd.c<br>
gcc -g -O2 -I../include    -c -o libauth.o libauth.c<br>
gcc  -o ckpasswd ckpasswd.o -lcrypt    -L/usr/lib -ldb libauth.o<br>
/home/Stellar/i<br>
nn-STABLE-20100911/lib/libinn.a<br>
ckpasswd.o: In function `password_dbm':<br>
/home/Stellar/inn-STABLE-20100911/authprogs/ckpasswd.c:165: undefined<br>
reference<br>
to `_dbm_open'<br>
/home/Stellar/inn-STABLE-20100911/authprogs/ckpasswd.c:170: undefined<br>
reference<br>
to `_dbm_fetch'<br>
/home/Stellar/inn-STABLE-20100911/authprogs/ckpasswd.c:177: undefined<br>
reference<br>
to `_dbm_close'<br>
/home/Stellar/inn-STABLE-20100911/authprogs/ckpasswd.c:172: undefined<br>
reference<br>
to `_dbm_close'<br>
collect2: ld returned 1 exit status<br>
make[1]: *** [ckpasswd] Error 1<br>
make[1]: Leaving directory `/home/Stellar/inn-STABLE-20100911/authprogs'<br>
make: *** [all-authprogs] Error 2<br>
---------------------------------------------------------------------------------------------<br>
</blockquote>
<br></div></div>
[...]<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>
$ perl -V<br>
Summary of my perl5 (revision 5 version 10 subversion 1) configuration:<br>
<br></div><div>
   libs=-lgdbm -ldb -ldl -lcrypt -lgdbm_compat<br>
<br></div><div>
dbm do exist in my cygwin....<br>
</div></blockquote>
<br>
Did you try the suggestion here:<br>
   <a href="http://www.linuxfromscratch.org/pipermail/blfs-support/2004-January/047497.html" target="_blank">http://www.linuxfromscratch.org/pipermail/blfs-support/2004-January/047497.html</a><br>
   <a href="http://www.linuxfromscratch.org/pipermail/blfs-support/2004-January/047517.html" target="_blank">http://www.linuxfromscratch.org/pipermail/blfs-support/2004-January/047517.html</a><br>
<br>
It might help because I see those "-lgdbm -lgdbm_compat" flags in your Perl compilation.<br>
<br>
Please have a look at the following variables in Makefile.global:<br>
  CC              = gcc<br>
  DBM_CPPFLAGS    =<br>
  DBM_LIBS        =<br>
<br>
It is an extract from my own Makefile.global (where I see the last two are unset).<br>
<br>
Maybe "-lgdbm -lgdbm_compat" should be put in one or several of these lines (?)<br>
And afterwards in PERL_CPPFLAGS (?)<br>
It is just a suggestion, in case it helps.  (Not tested.)<br><font color="#888888">
<br>
-- <br>
Julien ÉLIE<br>
<br>
« Rien, ce n'est pas rien ! La preuve, c'est que l'on peut le soustraire.<br>
 Exemple : rien moins rien = moins que rien ! » (Raymond Devos) <br>
</font></blockquote></div><br>
</div></div></div><br>