delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/04/14/07:02:14

From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: perl testing
Date: Mon, 14 Apr 2003 09:43:52 +0100
Lines: 43
Message-ID: <3E9A74C8.86C1796A@phekda.freeserve.co.uk>
References: <mx3la.4937$oJ2 DOT 742778 AT news20 DOT bellglobal DOT com> <3E953319 DOT 397195E4 AT phekda DOT freeserve DOT co DOT uk> <jPfla.1732$1b1 DOT 223907 AT news20 DOT bellglobal DOT com> <3E95B84F DOT 669E2AC4 AT phekda DOT freeserve DOT co DOT uk> <_Cpla.11050$id DOT 572477 AT news20 DOT bellglobal DOT com> <3E9688F7 DOT CB586D5 AT phekda DOT freeserve DOT co DOT uk> <Tdjma.247$8T6 DOT 62680 AT news20 DOT bellglobal DOT com>
NNTP-Posting-Host: 62.137.54.240
Mime-Version: 1.0
X-Trace: news7.svr.pol.co.uk 1050317426 2338 62.137.54.240 (14 Apr 2003 10:50:26 GMT)
NNTP-Posting-Date: 14 Apr 2003 10:50:26 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586)
X-Accept-Language: de,fr
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019