Avatar billede -street- Nybegynder
16. februar 2003 - 15:45 Der er 4 kommentarer

Fejl under kombilering af moduler...

Jeg har installeret Webmin 1.060 på min Debian GNU/Linux 3.0r1. Under 'Others' -> 'Perl Modules', ville jeg godt have muligheden for at tilføje nye perl moduler, men under kombileringen opstår nedenstående fejl :

Executing /usr/bin/perl Makefile.PL  && make ..
                                                                                                   
*** 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_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_70shell_pp.t
Creating extra DBI::PurePerl test: t/zz_80proxy_pp.t
Checking if your kit is complete...
Looks good
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.

/usr/bin/perl -I/usr/lib/perl/5.6.1 -I/usr/share/perl/5.6.1 -MExtUtils::Command -e mkpath blib/lib/D
BI
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/ProfileDumper.pm blib/lib/DBI/ProfileDumper.pm
cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
cp dbipport.h blib/arch/auto/DBI/dbipport.h
cp lib/DBI/Format.pm blib/lib/DBI/Format.pm
cp lib/DBI/Const/GetInfoReturn.pm blib/lib/DBI/Const/GetInfoReturn.pm
cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h
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 lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm
cp lib/DBI/Shell.pm blib/lib/DBI/Shell.pm
cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm
cp DBI.pm blib/lib/DBI.pm
cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm
cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
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 dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
cp lib/DBI/ProfileDumper/Apache.pm blib/lib/DBI/ProfileDumper/Apache.pm
cp Driver.xst blib/arch/auto/DBI/Driver.xst
cp lib/DBI/Const/GetInfo/ODBC.pm blib/lib/DBI/Const/GetInfo/ODBC.pm
cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
/usr/bin/perl -p -e "s/~DRIVER~/Perl/g" < blib/arch/auto/DBI/Driver.xst > Perl.xsi
/usr/bin/perl -I/usr/lib/perl/5.6.1 -I/usr/share/perl/5.6.1 /usr/share/perl/5.6.1/ExtUtils/xsubpp  -
typemap /usr/share/perl/5.6.1/ExtUtils/typemap Perl.xs > Perl.xsc && mv Perl.xsc Perl.c
cc -c  -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-O2  -DVERSION=\"1.32\" -DXS_VERSION=\"1.32\" -fPIC -I/usr/lib/perl/5.6.1/CORE -Wall -Wno-comment
-DDBI_NO_THREADS Perl.c
In file included from DBIXS.h:19,
                from Perl.xs:1:
/usr/lib/perl/5.6.1/CORE/perl.h:426: sys/types.h: No such file or directory
In file included from DBIXS.h:19,
                from Perl.xs:1:
/usr/lib/perl/5.6.1/CORE/perl.h:457: ctype.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:465: locale.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:482: setjmp.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:488: sys/param.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:493: stdlib.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:498: unistd.h: No such file or directory
In file included from DBIXS.h:19,
                from Perl.xs:1:
/usr/lib/perl/5.6.1/CORE/perl.h:519: string.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:649: netinet/in.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:653: arpa/inet.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:663: sys/stat.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:685: time.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:692: sys/time.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:699: sys/times.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:706: errno.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:713: sys/socket.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:740: netdb.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:807: sys/ioctl.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:830: dirent.h: No such file or directory
In file included from /usr/lib/gcc-lib/i386-linux/2.95.4/include/syslimits.h:7,
                from /usr/lib/gcc-lib/i386-linux/2.95.4/include/limits.h:11,
                from /usr/lib/perl/5.6.1/CORE/perl.h:1127,
                from DBIXS.h:19,
                from Perl.xs:1:
/usr/lib/gcc-lib/i386-linux/2.95.4/include/limits.h:117: limits.h: No such file or directory
In file included from /usr/lib/perl/5.6.1/CORE/perl.h:1527,
                from DBIXS.h:19,
                from Perl.xs:1:
/usr/lib/perl/5.6.1/CORE/handy.h:118: inttypes.h: No such file or directory
In file included from /usr/lib/perl/5.6.1/CORE/perl.h:1665,
                from DBIXS.h:19,
                from Perl.xs:1:
/usr/lib/perl/5.6.1/CORE/unixish.h:93: signal.h: No such file or directory
In file included from /usr/lib/perl/5.6.1/CORE/iperlsys.h:300,
                from /usr/lib/perl/5.6.1/CORE/perl.h:1947,
                from DBIXS.h:19,
                from Perl.xs:1:
/usr/lib/perl/5.6.1/CORE/perlsdio.h:5: stdio.h: No such file or directory
In file included from DBIXS.h:19,
                from Perl.xs:1:
/usr/lib/perl/5.6.1/CORE/perl.h:2215: math.h: No such file or directory
In file included from DBIXS.h:19,
                from Perl.xs:1:
/usr/lib/perl/5.6.1/CORE/perl.h:3340: sys/ipc.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:3341: sys/sem.h: No such file or directory
/usr/lib/perl/5.6.1/CORE/perl.h:3376: sys/file.h: No such file or directory
make: *** [Perl.o] Error 1

Jeg har installeret pakkerne make, gcc og libgcc1. Hjælp ?! :)
Avatar billede mfalck Praktikant
17. februar 2003 - 15:04 #1
det lyder som om gcc ikke kan finde alle standardbibliotekerne. Har du husket at installere disse ?
Avatar billede zooldk Nybegynder
17. februar 2003 - 15:39 #2
Når man læser fejlmeddelelsen, ses det, at det bl.a. fremgår af readme.txt, at proceduren er:

make
make test
make install

Har du fulgt den ?
Avatar billede mfalck Praktikant
18. februar 2003 - 09:51 #3
jeg mente standard-bibliotekerne til gcc - kan du få oversat noget som helst via gcc ?
Avatar billede mfalck Praktikant
18. februar 2003 - 09:52 #4
prøv evt om du kan lave en

find / -name sem.h -ls

som root.
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
IT-kurser om Microsoft 365, sikkerhed, personlig vækst, udvikling, digital markedsføring, grafisk design, SAP og forretningsanalyse.

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester