From: Richard Dawe 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: <3E953319 DOT 397195E4 AT phekda DOT freeserve DOT co DOT uk> <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> NNTP-Posting-Host: 62.137.54.240 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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/ ]