delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/04/11/06:15:15

From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: perl testing
Date: Fri, 11 Apr 2003 10:20:55 +0100
Lines: 146
Message-ID: <3E9688F7.CB586D5@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>
NNTP-Posting-Host: 62.136.0.147
Mime-Version: 1.0
X-Trace: newsg3.svr.pol.co.uk 1050054719 18616 62.136.0.147 (11 Apr 2003 09:51:59 GMT)
NNTP-Posting-Date: 11 Apr 2003 09:51:59 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:
>     that seems to have fixed it.  I have a minor problem in that it tells me
> some files are missing.  In fact they are there in directory Dbi and not DBI
> so I guess I have a unix win98 thing there.  When I run make &> file2.txt I
> also get errors.  I've caught the messages for you to see.  I hope you are
> able to make sense of them.

When you extract the archive and run the make & install, you should have
FNCASE set to y, so that filename case is preserved. Since you seem to be
using bash, do something like this:

    export FNCASE=y
    cd /path/where/you/build/modules
    djtarx /path/to/modules-a.b.c.tar.gz
    cd modules-a.b.c
    perl Makefile.PL
    make
    make install

> perl Makefile.PL &> file1.txt
> ================================================
> *** Note:
>     The optional PlRPC-modules (RPC::PlServer etc) are not installed.
>     If you want to use the DBD::Proxy driver and DBI::ProxyServer
>     modules, then you'll need to install the RPC::PlServer, RPC::PlClient,
>     Storable and Net::Daemon modules. The CPAN Bundle::DBI may help you.
>     You can install them any time after installing the DBI.
>     You do *not* need these modules for typical DBI usage.
> 
> Optional modules are available from any CPAN mirror, in particular
>     http://www.perl.com/CPAN/modules/by-module
>     http://www.perl.org/CPAN/modules/by-module
>     ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module
> 
> Creating extra DBI::PurePerl test: t/zz_01basics_pp.t
> Creating extra DBI::PurePerl test: t/zz_02dbidrv_pp.t
> Creating extra DBI::PurePerl test: t/zz_03hleak_pp.t
> Creating extra DBI::PurePerl test: t/zz_04mods_pp.t
> Creating extra DBI::PurePerl test: t/zz_05thrclone_pp.t
> Creating extra DBI::PurePerl test: t/zz_06attrs_pp.t
> Creating extra DBI::PurePerl test: t/zz_07kids_pp.t
> Creating extra DBI::PurePerl test: t/zz_08keeperr_pp.t
> Creating extra DBI::PurePerl test: t/zz_10examp_pp.t
> Creating extra DBI::PurePerl test: t/zz_15array_pp.t
> Creating extra DBI::PurePerl test: t/zz_20meta_pp.t
> Creating extra DBI::PurePerl test: t/zz_30subclass_pp.t
> Creating extra DBI::PurePerl test: t/zz_40profile_pp.t
> Creating extra DBI::PurePerl test: t/zz_41prof_dump_pp.t
> Creating extra DBI::PurePerl test: t/zz_42prof_data_pp.t
> Creating extra DBI::PurePerl test: t/zz_60preparse_pp.t
> Creating extra DBI::PurePerl test: t/zz_80proxy_pp.t
> Checking if your kit is complete...
> Warning: the following files are missing in your kit:
> ***** they are in Dbi not DBI.  Ian.
>  MANIFEST
>  README
>  lib/DBD/ExampleP.pm
>  lib/DBD/NullP.pm
>  lib/DBD/Proxy.pm
>  lib/DBD/Sponge.pm
>  lib/DBI/Const/GetInfo/ANSI.pm
>  lib/DBI/Const/GetInfo/ODBC.pm
>  lib/DBI/Const/GetInfoReturn.pm
>  lib/DBI/Const/GetInfoType.pm
>  lib/DBI/DBD.pm
>  lib/DBI/DBD/Metadata.pm
>  lib/DBI/FAQ.pm
>  lib/DBI/Profile.pm
>  lib/DBI/ProfileData.pm
>  lib/DBI/ProfileDumper.pm
>  lib/DBI/ProfileDumper/Apache.pm
>  lib/DBI/ProxyServer.pm
>  lib/DBI/PurePerl.pm
>  lib/DBI/W32ODBC.pm
> Please inform the author.
> Writing Makefile for DBI
> 
>     Remember to actually *read* the README file!
>     Use  'make' to build the software (dmake or nmake on Windows).
>     Then 'make test' to execute self tests.
>     Then 'make install' to install the DBI and then delete this working
>     directory before unpacking and building any DBD::* drivers.
> 
> ========================================
> make &> file2.txt
> ++++++++++++++++++++++++++++++++++++++++
> E:/djgpp/bin/perl.exe -I/dev/env/DJDIR/lib/perl5 -I/dev/env/DJDIR/lib/perl5
> -MExtUtils::Command -e mkpath blib/lib/DBI
> rm -f blib/lib/DBI/Changes.pm
> cp Changes blib/lib/DBI/Changes.pm
> cp Driver_xst.h blib/arch/auto/DBI/Driver_xst.h
> cp lib/dbi/Const/GetInfo/ODBC.pm blib/lib/dbi/Const/GetInfo/ODBC.pm
> cp lib/dbd/Sponge.pm blib/lib/dbd/Sponge.pm
> cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
> cp lib/dbi/ProfileDumper.pm blib/lib/dbi/ProfileDumper.pm
> cp dbipport.h blib/arch/auto/DBI/dbipport.h
> cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h
> cp lib/dbd/NullP.pm blib/lib/dbd/NullP.pm
> cp lib/dbi/Const/GetInfoReturn.pm blib/lib/dbi/Const/GetInfoReturn.pm
> cp lib/dbi/dbd/Metadata.pm blib/lib/dbi/dbd/Metadata.pm
> cp lib/dbi/Const/GetInfo/ANSI.pm blib/lib/dbi/Const/GetInfo/ANSI.pm
> cp lib/dbi/Profile.pm blib/lib/dbi/Profile.pm
> cp DBI.pm blib/lib/DBI.pm
> cp lib/dbi/PurePerl.pm blib/lib/dbi/PurePerl.pm
> cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
> cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
> cp lib/dbi/FAQ.pm blib/lib/dbi/FAQ.pm
> cp lib/dbd/ExampleP.pm blib/lib/dbd/ExampleP.pm
> cp lib/dbi/W32ODBC.pm blib/lib/dbi/W32ODBC.pm
> cp lib/dbi/DBD.pm blib/lib/dbi/DBD.pm
> cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
> cp lib/dbi/ProfileData.pm blib/lib/dbi/ProfileData.pm
> cp lib/dbd/Proxy.pm blib/lib/dbd/Proxy.pm
> cp lib/dbi/Const/GetInfoType.pm blib/lib/dbi/Const/GetInfoType.pm
> cp lib/dbi/ProxyServer.pm blib/lib/dbi/ProxyServer.pm
> cp lib/dbi/ProfileDumper/Apache.pm blib/lib/dbi/ProfileDumper/Apache.pm
> cp Driver.xst blib/arch/auto/DBI/Driver.xst
> E:/djgpp/bin/perl.exe -p -e "s/~DRIVER~/Perl/g" <
> blib/arch/auto/DBI/Driver.xst > Perl.xsi
> E:/djgpp/bin/perl.exe -I/dev/env/DJDIR/lib/perl5 -I/dev/env/DJDIR/lib/perl5
> /dev/env/DJDIR/lib/perl5/ExtUtils/xsubpp  -typemap
> /dev/env/DJDIR/lib/perl5/ExtUtils/typemap Perl.xs > Perl.xsc && mv Perl.xsc
> Perl.c
> 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

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.

Regards,

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]

- Raw text -


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