Mail Archives: djgpp/2003/04/14/07:02:14
Hello.
Ian wrote:
[snip]
> Make is not. in perl.h line 653 I guess it's not finding arpa/inet.h.
> it does not seem to be in the djgpp port of perl on e: but I have it in d:/
> part of my active perl 5.6 installation?
>
> That looks like something missing to me. Do you have any suggestions as
> to what I should do? I could grap a copy from active perl. Regards Ian.
>
> =============================
> gcc -c -DPERL_EXTERNAL_GLOB -fno-strict-aliasing -O6 -DVERSION=\"1.35\" -
> DXS_VERSION=\"1.35\" -I/dev/env/DJDIR/lib/perl5/CORE -Wall -Wno-comment -DD
> BI_NO_THREADS Perl.c
> In file included from DBIXS.h:19,
> from Perl.xs:1:
> /dev/env/DJDIR/lib/perl5/CORE/perl.h:653: arpa/inet.h: No such file or
> directory (ENOENT)
> make.exe: *** [Perl.o] Error 1
As I said in my last post:
"Unfortunately this error may have no simple fix. It semes like the module
needs networking support. DJGPP doesn't ship with networking support. If you
use DOS, you could install Watt-32. If you use Windows, you could install
libsocket, but that's pretty broken.
I wonder if it's possible to build the module without networking support. That
may defeat the point of what you are doing, though."
If you have ActivePerl, you might be better off using that, to use DBI.
Copying the DBI stuff from ActivePerl into DJGPP's Perl is unlikely to work.
I used to use ActivePerl instead of DJGPP's Perl. There may be some
interoperability problems between DJGPP programs and ActivePerl, such as
command-line limits, though.
Regards,
--
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]
- Raw text -