How to install DBI on Solaris?

Discussion in 'Perl Misc' started by Cathy Hui, Feb 25, 2005.

  1. Cathy  Hui

    Cathy Hui Guest

    Sorry for the wordy logs below, but I hope this would help in
    troubleshooting.

    Here are what I have been trying to install DBI module on my Solaris 8
    box:

    1) I'd tried using different perl version. i.e. 5.8.0, 5.8.3. (they
    are all precompiled pkg from sunfreeware.com)

    2) I'd tried different versions of gcc and make

    3) install DBI like this: /usr/bin/perl -MCPAN -e 'install "DBI"'

    4) downloaded the DBI bundle from cpan.org and compiled it like this:
    perl Makefile.PL && make && make test && make install.

    No matter what ways I tried, I am the installation would fail (see the
    error mesg below)

    Could someone give me some light on this? thanks in advance.....

    See below, I have marked the error messages in 2 sections, one with
    /usr/bin/perl -MCPAN -e 'install "DBI"' and the other one is running
    "perl Makefile.PL...." from the source.



    ===================================
    [ax-bugzilla01/export/home/chui]# /usr/bin/perl -MCPAN -e 'install
    "DBI"'
    ===================================
    CPAN: Storable loaded ok
    Going to read /.cpan/Metadata
    Database was generated on Thu, 24 Feb 2005 10:40:03 GMT
    Running install for module DBI
    Running make for T/TI/TIMB/DBI-1.47.tar.gz
    CPAN: Digest::MD5 loaded ok
    Checksum for /.cpan/sources/authors/id/T/TI/TIMB/DBI-1.47.tar.gz ok
    Scanning cache /.cpan/build for sizes
    x DBI-1.47, 0 bytes, 0 tape blocks
    x DBI-1.47/Driver_xst.h, 3314 bytes, 7 tape blocks
    x DBI-1.47/DBI.xs, 133636 bytes, 262 tape blocks
    x DBI-1.47/dbipport.h, 14789 bytes, 29 tape blocks
    x DBI-1.47/ex, 0 bytes, 0 tape blocks
    x DBI-1.47/ex/perl_dbi_nulls_test.pl, 3347 bytes, 7 tape blocks
    x DBI-1.47/t, 0 bytes, 0 tape blocks
    x DBI-1.47/t/50dbm.t, 4744 bytes, 10 tape blocks
    x DBI-1.47/t/42prof_data.t, 2974 bytes, 6 tape blocks
    x DBI-1.47/t/01basics.t, 13448 bytes, 27 tape blocks
    x DBI-1.47/t/41prof_dump.t, 1473 bytes, 3 tape blocks
    x DBI-1.47/t/04mods.t, 1857 bytes, 4 tape blocks
    x DBI-1.47/t/05thrclone.t, 1579 bytes, 4 tape blocks
    x DBI-1.47/t/02dbidrv.t, 6837 bytes, 14 tape blocks
    x DBI-1.47/t/07kids.t, 3573 bytes, 7 tape blocks
    x DBI-1.47/t/20meta.t, 775 bytes, 2 tape blocks
    x DBI-1.47/t/10examp.t, 20540 bytes, 41 tape blocks
    x DBI-1.47/t/30subclass.t, 3800 bytes, 8 tape blocks
    x DBI-1.47/t/15array.t, 7165 bytes, 14 tape blocks
    x DBI-1.47/t/40profile.t, 6246 bytes, 13 tape blocks
    x DBI-1.47/t/06attrs.t, 13376 bytes, 27 tape blocks
    x DBI-1.47/t/08keeperr.t, 9170 bytes, 18 tape blocks
    x DBI-1.47/t/60preparse.t, 4538 bytes, 9 tape blocks
    x DBI-1.47/t/pod.t, 144 bytes, 1 tape blocks
    x DBI-1.47/t/80proxy.t, 12642 bytes, 25 tape blocks
    x DBI-1.47/t/14utf8.t, 1353 bytes, 3 tape blocks
    x DBI-1.47/t/09trace.t, 2944 bytes, 6 tape blocks
    x DBI-1.47/t/03handle.t, 13069 bytes, 26 tape blocks
    x DBI-1.47/lib, 0 bytes, 0 tape blocks
    x DBI-1.47/lib/DBD, 0 bytes, 0 tape blocks
    x DBI-1.47/lib/DBD/DBM.pm, 44813 bytes, 88 tape blocks
    x DBI-1.47/lib/DBD/Sponge.pm, 7795 bytes, 16 tape blocks
    x DBI-1.47/lib/DBD/File.pm, 19856 bytes, 39 tape blocks
    x DBI-1.47/lib/DBD/Proxy.pm, 26539 bytes, 52 tape blocks
    x DBI-1.47/lib/DBD/NullP.pm, 2792 bytes, 6 tape blocks
    x DBI-1.47/lib/DBD/ExampleP.pm, 11412 bytes, 23 tape blocks
    x DBI-1.47/lib/Bundle, 0 bytes, 0 tape blocks
    x DBI-1.47/lib/Bundle/DBI.pm, 1197 bytes, 3 tape blocks
    x DBI-1.47/lib/DBI, 0 bytes, 0 tape blocks
    x DBI-1.47/lib/DBI/ProfileData.pm, 16493 bytes, 33 tape blocks
    x DBI-1.47/lib/DBI/Const, 0 bytes, 0 tape blocks
    x DBI-1.47/lib/DBI/Const/GetInfoType.pm, 1247 bytes, 3 tape blocks
    x DBI-1.47/lib/DBI/Const/GetInfoReturn.pm, 2527 bytes, 5 tape blocks
    x DBI-1.47/lib/DBI/Const/GetInfo, 0 bytes, 0 tape blocks
    x DBI-1.47/lib/DBI/Const/GetInfo/ODBC.pm, 66267 bytes, 130 tape blocks
    x DBI-1.47/lib/DBI/Const/GetInfo/ANSI.pm, 9593 bytes, 19 tape blocks
    x DBI-1.47/lib/DBI/ProfileDumper.pm, 8093 bytes, 16 tape blocks
    x DBI-1.47/lib/DBI/DBD, 0 bytes, 0 tape blocks
    x DBI-1.47/lib/DBI/DBD/Metadata.pm, 15094 bytes, 30 tape blocks
    x DBI-1.47/lib/DBI/PurePerl.pm, 29786 bytes, 59 tape blocks
    x DBI-1.47/lib/DBI/ProxyServer.pm, 25871 bytes, 51 tape blocks
    x DBI-1.47/lib/DBI/SQL, 0 bytes, 0 tape blocks
    x DBI-1.47/lib/DBI/SQL/Nano.pm, 24098 bytes, 48 tape blocks
    x DBI-1.47/lib/DBI/FAQ.pm, 36024 bytes, 71 tape blocks
    x DBI-1.47/lib/DBI/W32ODBC.pm, 4594 bytes, 9 tape blocks
    x DBI-1.47/lib/DBI/DBD.pm, 103434 bytes, 203 tape blocks
    x DBI-1.47/lib/DBI/ProfileDumper, 0 bytes, 0 tape blocks
    x DBI-1.47/lib/DBI/ProfileDumper/Apache.pm, 3955 bytes, 8 tape blocks
    x DBI-1.47/lib/DBI/Profile.pm, 21715 bytes, 43 tape blocks
    x DBI-1.47/lib/Win32, 0 bytes, 0 tape blocks
    x DBI-1.47/lib/Win32/DBIODBC.pm, 4532 bytes, 9 tape blocks
    x DBI-1.47/Perl.xs, 1493 bytes, 3 tape blocks
    x DBI-1.47/Makefile.PL, 10001 bytes, 20 tape blocks
    x DBI-1.47/ToDo, 21056 bytes, 42 tape blocks
    x DBI-1.47/Roadmap.pod, 15161 bytes, 30 tape blocks
    x DBI-1.47/MANIFEST, 2547 bytes, 5 tape blocks
    x DBI-1.47/Changes, 76216 bytes, 149 tape blocks
    x DBI-1.47/dbi_sql.h, 3752 bytes, 8 tape blocks
    x DBI-1.47/Driver.xst, 17811 bytes, 35 tape blocks
    x DBI-1.47/README, 4995 bytes, 10 tape blocks
    x DBI-1.47/DBIXS.h, 20392 bytes, 40 tape blocks
    x DBI-1.47/dbd_xsh.h, 2950 bytes, 6 tape blocks
    x DBI-1.47/test.pl, 4900 bytes, 10 tape blocks
    x DBI-1.47/META.yml, 325 bytes, 1 tape blocks
    x DBI-1.47/DBI.pm, 267176 bytes, 522 tape blocks
    x DBI-1.47/dbivport.h, 2016 bytes, 4 tape blocks
    x DBI-1.47/dbiprof.PL, 4943 bytes, 10 tape blocks
    x DBI-1.47/typemap, 46 bytes, 1 tape blocks
    x DBI-1.47/dbiproxy.PL, 5720 bytes, 12 tape blocks
    Removing previously used /.cpan/build/DBI-1.47

    CPAN.pm: Going to build T/TI/TIMB/DBI-1.47.tar.gz

    *** 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://search.cpan.org/
    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 DBI::purePerl test variant: t/zvpp_01basics.t
    Creating DBI::purePerl test variant: t/zvpp_02dbidrv.t
    Creating DBI::purePerl test variant: t/zvpp_03handle.t
    Creating DBI::purePerl test variant: t/zvpp_04mods.t
    Creating DBI::purePerl test variant: t/zvpp_05thrclone.t
    Creating DBI::purePerl test variant: t/zvpp_06attrs.t
    Creating DBI::purePerl test variant: t/zvpp_07kids.t
    Creating DBI::purePerl test variant: t/zvpp_08keeperr.t
    Creating DBI::purePerl test variant: t/zvpp_09trace.t
    Creating DBI::purePerl test variant: t/zvpp_10examp.t
    Creating DBI::purePerl test variant: t/zvpp_14utf8.t
    Creating DBI::purePerl test variant: t/zvpp_15array.t
    Creating DBI::purePerl test variant: t/zvpp_20meta.t
    Creating DBI::purePerl test variant: t/zvpp_30subclass.t
    Creating DBI::purePerl test variant: t/zvpp_40profile.t
    Creating DBI::purePerl test variant: t/zvpp_41prof_dump.t
    Creating DBI::purePerl test variant: t/zvpp_42prof_data.t
    Creating DBI::purePerl test variant: t/zvpp_50dbm.t
    Creating DBI::purePerl test variant: t/zvpp_60preparse.t
    Creating DBI::purePerl test variant: t/zvpp_80proxy.t
    Checking if your kit is complete...
    Looks good

    I see you're using perl 5.008 on sun4-solaris, okay.
    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.

    Writing Makefile for DBI
    cp Changes blib/lib/DBI/Changes.pm
    cp Roadmap.pod blib/lib/DBI/Roadmap.pm
    cp lib/DBD/DBM.pm blib/lib/DBD/DBM.pm
    cp DBIXS.h blib/arch/auto/DBI/DBIXS.h
    cp Roadmap.pod blib/lib/Roadmap.pod
    cp Driver_xst.h blib/arch/auto/DBI/Driver_xst.h
    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/DBD/Metadata.pm blib/lib/DBI/DBD/Metadata.pm
    cp lib/DBI/Const/GetInfo/ODBC.pm blib/lib/DBI/Const/GetInfo/ODBC.pm
    cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm
    cp Driver.xst blib/arch/auto/DBI/Driver.xst
    cp lib/DBD/File.pm blib/lib/DBD/File.pm
    cp lib/DBI/ProfileDumper/Apache.pm blib/lib/DBI/ProfileDumper/Apache.pm
    cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h
    cp dbivport.h blib/arch/auto/DBI/dbivport.h
    cp lib/DBI/FAQ.pm blib/lib/DBI/FAQ.pm
    cp lib/DBI/SQL/Nano.pm blib/lib/DBI/SQL/Nano.pm
    cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h
    cp DBI.pm blib/lib/DBI.pm
    cp lib/DBI/Const/GetInfoReturn.pm blib/lib/DBI/Const/GetInfoReturn.pm
    cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm
    cp lib/DBI/Const/GetInfo/ANSI.pm blib/lib/DBI/Const/GetInfo/ANSI.pm
    cp lib/Bundle/DBI.pm blib/lib/Bundle/DBI.pm
    cp lib/DBI/W32ODBC.pm blib/lib/DBI/W32ODBC.pm
    cp lib/DBI/Profile.pm blib/lib/DBI/Profile.pm
    cp lib/DBI/ProfileDumper.pm blib/lib/DBI/ProfileDumper.pm
    cp dbipport.h blib/arch/auto/DBI/dbipport.h
    cp lib/DBI/DBD.pm blib/lib/DBI/DBD.pm
    cp lib/Win32/DBIODBC.pm blib/lib/Win32/DBIODBC.pm
    cp lib/DBI/ProxyServer.pm blib/lib/DBI/ProxyServer.pm
    cp lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm
    cp lib/DBD/ExampleP.pm blib/lib/DBD/ExampleP.pm
    cp lib/DBI/ProfileData.pm blib/lib/DBI/ProfileData.pm
    /usr/bin/perl -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi
    /usr/bin/perl /usr/local/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap
    /usr/local/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap Perl.xs >
    Perl.xsc && mv Perl.xsc Perl.c
    gcc -B/usr/ccs/bin/ -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
    -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.47\" -DXS_VERSION=\"1.47\"
    -fPIC "-I/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE" -Wall
    -Wno-comment -DDBI_NO_THREADS Perl.c
    In file included from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:371,
    from DBIXS.h:19,
    from Perl.xs:5:
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:27:26:
    sys/isa_defs.h: No such file or directory
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:28:31:
    sys/feature_tests.h: No such file or directory
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:33:27:
    sys/machtypes.h: No such file or directory
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:45:27:
    sys/int_types.h: No such file or directory
    In file included from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:371,
    from DBIXS.h:19,
    from Perl.xs:5:
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:210:
    error: parse error before "pad64_t"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:211:
    error: parse error before "upad64_t"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:371:
    error: parse error before "uint16_t"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:373:
    error: parse error before "__pthread_mutex_ceiling"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:374:
    error: parse error before "__pthread_mutex_type"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:378:
    error: parse error before "uint8_t"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:380:
    error: parse error before "__pthread_mutex_owner64"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:382:
    error: parse error before "__pthread_mutex_data"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:387:
    error: parse error before "uint8_t"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:390:
    error: parse error before "__pthread_cond_data"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:397:
    error: parse error before "int32_t"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:399:
    error: parse error before "__pthread_rwlock_magic"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:400:
    error: parse error before "__pthread_rwlock_pad1"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:401:
    error: parse error before "__pthread_rwlock_pad2"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:402:
    error: parse error before "__pthread_rwlock_pad3"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:403:
    error: parse error before '}' token
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:432:
    error: parse error before "upad64_t"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:569:24:
    sys/select.h: No such file or directory
    In file included from DBIXS.h:19,
    from Perl.xs:5:
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:402:19: ctype.h: No
    such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:414:23: locale.h:
    No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:431:20: setjmp.h:
    No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:437:26:
    sys/param.h: No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:442:23: stdlib.h:
    No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:447:23: unistd.h:
    No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:479:23: string.h:
    No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:612:27:
    netinet/in.h: No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:616:26:
    arpa/inet.h: No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:626:25: sys/stat.h:
    No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:655:25: sys/time.h:
    No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:662:27:
    sys/times.h: No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:669:19: errno.h: No
    such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:681:25:
    sys/socket.h: No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:708:21: netdb.h: No
    such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:781:24:
    sys/ioctl.h: No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:810:23: dirent.h:
    No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:849:22: sys/mode.h:
    No such file or directory
    In file included from
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/limits.h:11,
    from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:1137,
    from DBIXS.h:19,
    from Perl.xs:5:
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/syslimits.h:29:28:
    iso/limits_iso.h: No such file or directory
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/syslimits.h:41:28:
    sys/int_limits.h: No such file or directory
    In file included from DBIXS.h:19,
    from Perl.xs:5:
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:1192:23: ieeefp.h:
    No such file or directory
    In file included from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:1713,
    from DBIXS.h:19,
    from Perl.xs:5:
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/handy.h:119:25:
    inttypes.h: No such file or directory
    In file included from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:1877,
    from DBIXS.h:19,
    from Perl.xs:5:
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/unixish.h:106:21:
    signal.h: No such file or directory
    In file included from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h:64,
    from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/iperlsys.h:51,
    from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:2200,
    from DBIXS.h:19,
    from Perl.xs:5:
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/stdio.h:36:27:
    iso/stdio_iso.h: No such file or directory
    In file included from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h:64,
    from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/iperlsys.h:51,
    from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:2200,
    from DBIXS.h:19,
    from Perl.xs:5:
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/stdio.h:194:
    error: parse error before '*' token
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/stdio.h:229:
    error: parse error before '*' token
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/stdio.h:230:
    error: parse error before '*' token
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/stdio.h:250:
    error: parse error before '*' token
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/stdio.h:252:
    error: parse error before '*' token
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/stdio.h:276:
    error: parse error before '*' token
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/stdio.h:285:
    error: parse error before '*' token
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/stdio.h:286:
    error: parse error before "FILE"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/stdio.h:287:
    error: parse error before '*' token
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/stdio.h:295:
    error: parse error before '*' token
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/stdio.h:296:
    error: parse error before '*' token
    In file included from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/iperlsys.h:51,
    from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:2200,
    from DBIXS.h:19,
    from Perl.xs:5:
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h:244: error: parse
    error before '*' token
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h:247: error: parse
    error before '*' token
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h:247: warning:
    type defaults to `int' in declaration of `PerlIO_exportFILE'
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h:247: warning:
    data definition has no type or storage class
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h:250: error: parse
    error before '*' token
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h:250: warning:
    type defaults to `int' in declaration of `PerlIO_findFILE'
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h:250: warning:
    data definition has no type or storage class
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h:253: error: parse
    error before "FILE"
    In file included from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:2203,
    from DBIXS.h:19,
    from Perl.xs:5:
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/sv.h:383: error: parse
    error before "DIR"
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/sv.h:383: warning: no
    semicolon at end of struct or union
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/sv.h:383: warning: no
    semicolon at end of struct or union
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/sv.h:385: error: parse
    error before '}' token
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/sv.h:385: warning: type
    defaults to `int' in declaration of `xio_dirpu'
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/sv.h:385: warning: data
    definition has no type or storage class
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/sv.h:399: error: parse
    error before '}' token
    In file included from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:2214,
    from DBIXS.h:19,
    from Perl.xs:5:
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/scope.h:223: error: parse
    error before "sigjmp_buf"
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/scope.h:223: warning: no
    semicolon at end of struct or union
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/scope.h:230: error: parse
    error before '}' token
    In file included from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:2686,
    from DBIXS.h:19,
    from Perl.xs:5:
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/math.h:25:26:
    iso/math_iso.h: No such file or directory
    In file included from
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/math.h:250,
    from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:2686,
    from DBIXS.h:19,
    from Perl.xs:5:
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/floatingpoint.h:25:24:
    sys/ieeefp.h: No such file or directory
    In file included from
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/math.h:250,
    from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:2686,
    from DBIXS.h:19,
    from Perl.xs:5:
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/floatingpoint.h:98:
    error: field `fpclass' has incomplete type
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/floatingpoint.h:121:
    error: field `rd' has incomplete type
    In file included from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:3368,
    from DBIXS.h:19,
    from Perl.xs:5:
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:86: warning:
    "struct stat" declared inside parameter list
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:86: warning: its
    scope is only this definition or declaration, which is probably not
    what you want
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:246: error: parse
    error before "off64_t"
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:248: error: parse
    error before "Perl_do_sysseek"
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:248: error: parse
    error before "off64_t"
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:248: warning: type
    defaults to `int' in declaration of `Perl_do_sysseek'
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:248: warning: data
    definition has no type or storage class
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:249: error: parse
    error before "Perl_do_tell"
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:249: warning: type
    defaults to `int' in declaration of `Perl_do_tell'
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:249: warning: data
    definition has no type or storage class
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:338: warning:
    "struct tm" declared inside parameter list
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:491: warning:
    "struct tm" declared inside parameter list
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:1378: error: parse
    error before "Perl_PerlIO_tell"
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:1378: warning:
    type defaults to `int' in declaration of `Perl_PerlIO_tell'
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:1378: warning:
    data definition has no type or storage class
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:1379: error: parse
    error before "off64_t"
    In file included from DBIXS.h:19,
    from Perl.xs:5:
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:3926:24: sys/ipc.h:
    No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:3927:24: sys/sem.h:
    No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:4036:21: fcntl.h:
    No such file or directory
    In file included from Perl.c:59:
    Driver_xst.h: In function `dbdxst_bind_params':
    Driver_xst.h:55: warning: implicit declaration of function `sprintf'
    Perl.c: In function `boot_DBD__Perl':
    Perl.c:1085: warning: implicit declaration of function `strcmp'
    *** Error code 1
    make: Fatal error: Command failed for target `Perl.o'
    /usr/ccs/bin/make -- NOT OK
    Running make test
    Can't test without successful make
    Running make install
    make had returned bad status, install seems impossible

    ===========================================
    [ax-bugzilla01/export/home/chui/DBI-1.47]# perl Makefile.PL && make &&
    make test && make install
    ===========================================

    *** 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://search.cpan.org/
    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 DBI::purePerl test variant: t/zvpp_01basics.t
    Creating DBI::purePerl test variant: t/zvpp_02dbidrv.t
    Creating DBI::purePerl test variant: t/zvpp_03handle.t
    Creating DBI::purePerl test variant: t/zvpp_04mods.t
    Creating DBI::purePerl test variant: t/zvpp_05thrclone.t
    Creating DBI::purePerl test variant: t/zvpp_06attrs.t
    Creating DBI::purePerl test variant: t/zvpp_07kids.t
    Creating DBI::purePerl test variant: t/zvpp_08keeperr.t
    Creating DBI::purePerl test variant: t/zvpp_09trace.t
    Creating DBI::purePerl test variant: t/zvpp_10examp.t
    Creating DBI::purePerl test variant: t/zvpp_14utf8.t
    Creating DBI::purePerl test variant: t/zvpp_15array.t
    Creating DBI::purePerl test variant: t/zvpp_20meta.t
    Creating DBI::purePerl test variant: t/zvpp_30subclass.t
    Creating DBI::purePerl test variant: t/zvpp_40profile.t
    Creating DBI::purePerl test variant: t/zvpp_41prof_dump.t
    Creating DBI::purePerl test variant: t/zvpp_42prof_data.t
    Creating DBI::purePerl test variant: t/zvpp_50dbm.t
    Creating DBI::purePerl test variant: t/zvpp_60preparse.t
    Creating DBI::purePerl test variant: t/zvpp_80proxy.t

    I see you're using perl 5.008 on sun4-solaris, okay.
    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.

    Writing Makefile for DBI
    /usr/bin/perl -p -e "s/~DRIVER~/Perl/g" ./Driver.xst > Perl.xsi
    /usr/bin/perl /usr/local/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap
    /usr/local/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap Perl.xs >
    Perl.xsc && mv Perl.xsc Perl.c
    gcc -B/usr/ccs/bin/ -c -fno-strict-aliasing -D_LARGEFILE_SOURCE
    -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.47\" -DXS_VERSION=\"1.47\"
    -fPIC "-I/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE" -Wall
    -Wno-comment -DDBI_NO_THREADS Perl.c
    In file included from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:371,
    from DBIXS.h:19,
    from Perl.xs:5:
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:27:26:
    sys/isa_defs.h: No such file or directory
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:28:31:
    sys/feature_tests.h: No such file or directory
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:33:27:
    sys/machtypes.h: No such file or directory
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:45:27:
    sys/int_types.h: No such file or directory
    In file included from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:371,
    from DBIXS.h:19,
    from Perl.xs:5:
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:210:
    error: parse error before "pad64_t"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:211:
    error: parse error before "upad64_t"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:371:
    error: parse error before "uint16_t"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:373:
    error: parse error before "__pthread_mutex_ceiling"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:374:
    error: parse error before "__pthread_mutex_type"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:378:
    error: parse error before "uint8_t"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:380:
    error: parse error before "__pthread_mutex_owner64"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:382:
    error: parse error before "__pthread_mutex_data"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:387:
    error: parse error before "uint8_t"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:390:
    error: parse error before "__pthread_cond_data"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:397:
    error: parse error before "int32_t"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:399:
    error: parse error before "__pthread_rwlock_magic"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:400:
    error: parse error before "__pthread_rwlock_pad1"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:401:
    error: parse error before "__pthread_rwlock_pad2"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:402:
    error: parse error before "__pthread_rwlock_pad3"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:403:
    error: parse error before '}' token
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:432:
    error: parse error before "upad64_t"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/sys/types.h:569:24:
    sys/select.h: No such file or directory
    In file included from DBIXS.h:19,
    from Perl.xs:5:
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:402:19: ctype.h: No
    such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:414:23: locale.h:
    No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:431:20: setjmp.h:
    No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:437:26:
    sys/param.h: No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:442:23: stdlib.h:
    No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:447:23: unistd.h:
    No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:479:23: string.h:
    No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:612:27:
    netinet/in.h: No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:616:26:
    arpa/inet.h: No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:626:25: sys/stat.h:
    No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:655:25: sys/time.h:
    No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:662:27:
    sys/times.h: No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:669:19: errno.h: No
    such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:681:25:
    sys/socket.h: No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:708:21: netdb.h: No
    such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:781:24:
    sys/ioctl.h: No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:810:23: dirent.h:
    No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:849:22: sys/mode.h:
    No such file or directory
    In file included from
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/limits.h:11,
    from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:1137,
    from DBIXS.h:19,
    from Perl.xs:5:
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/syslimits.h:29:28:
    iso/limits_iso.h: No such file or directory
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/syslimits.h:41:28:
    sys/int_limits.h: No such file or directory
    In file included from DBIXS.h:19,
    from Perl.xs:5:
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:1192:23: ieeefp.h:
    No such file or directory
    In file included from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:1713,
    from DBIXS.h:19,
    from Perl.xs:5:
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/handy.h:119:25:
    inttypes.h: No such file or directory
    In file included from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:1877,
    from DBIXS.h:19,
    from Perl.xs:5:
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/unixish.h:106:21:
    signal.h: No such file or directory
    In file included from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h:64,
    from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/iperlsys.h:51,
    from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:2200,
    from DBIXS.h:19,
    from Perl.xs:5:
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/stdio.h:36:27:
    iso/stdio_iso.h: No such file or directory
    In file included from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h:64,
    from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/iperlsys.h:51,
    from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:2200,
    from DBIXS.h:19,
    from Perl.xs:5:
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/stdio.h:194:
    error: parse error before '*' token
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/stdio.h:229:
    error: parse error before '*' token
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/stdio.h:230:
    error: parse error before '*' token
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/stdio.h:250:
    error: parse error before '*' token
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/stdio.h:252:
    error: parse error before '*' token
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/stdio.h:276:
    error: parse error before '*' token
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/stdio.h:285:
    error: parse error before '*' token
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/stdio.h:286:
    error: parse error before "FILE"
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/stdio.h:287:
    error: parse error before '*' token
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/stdio.h:295:
    error: parse error before '*' token
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/stdio.h:296:
    error: parse error before '*' token
    In file included from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/iperlsys.h:51,
    from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:2200,
    from DBIXS.h:19,
    from Perl.xs:5:
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h:244: error: parse
    error before '*' token
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h:247: error: parse
    error before '*' token
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h:247: warning:
    type defaults to `int' in declaration of `PerlIO_exportFILE'
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h:247: warning:
    data definition has no type or storage class
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h:250: error: parse
    error before '*' token
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h:250: warning:
    type defaults to `int' in declaration of `PerlIO_findFILE'
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h:250: warning:
    data definition has no type or storage class
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perlio.h:253: error: parse
    error before "FILE"
    In file included from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:2203,
    from DBIXS.h:19,
    from Perl.xs:5:
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/sv.h:383: error: parse
    error before "DIR"
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/sv.h:383: warning: no
    semicolon at end of struct or union
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/sv.h:383: warning: no
    semicolon at end of struct or union
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/sv.h:385: error: parse
    error before '}' token
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/sv.h:385: warning: type
    defaults to `int' in declaration of `xio_dirpu'
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/sv.h:385: warning: data
    definition has no type or storage class
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/sv.h:399: error: parse
    error before '}' token
    In file included from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:2214,
    from DBIXS.h:19,
    from Perl.xs:5:
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/scope.h:223: error: parse
    error before "sigjmp_buf"
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/scope.h:223: warning: no
    semicolon at end of struct or union
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/scope.h:230: error: parse
    error before '}' token
    In file included from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:2686,
    from DBIXS.h:19,
    from Perl.xs:5:
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/math.h:25:26:
    iso/math_iso.h: No such file or directory
    In file included from
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/math.h:250,
    from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:2686,
    from DBIXS.h:19,
    from Perl.xs:5:
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/floatingpoint.h:25:24:
    sys/ieeefp.h: No such file or directory
    In file included from
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/math.h:250,
    from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:2686,
    from DBIXS.h:19,
    from Perl.xs:5:
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/floatingpoint.h:98:
    error: field `fpclass' has incomplete type
    /export/home/local/bin/../lib/gcc/sparc-sun-solaris2.8/3.4.2/include/floatingpoint.h:121:
    error: field `rd' has incomplete type
    In file included from
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:3368,
    from DBIXS.h:19,
    from Perl.xs:5:
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:86: warning:
    "struct stat" declared inside parameter list
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:86: warning: its
    scope is only this definition or declaration, which is probably not
    what you want
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:246: error: parse
    error before "off64_t"
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:248: error: parse
    error before "Perl_do_sysseek"
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:248: error: parse
    error before "off64_t"
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:248: warning: type
    defaults to `int' in declaration of `Perl_do_sysseek'
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:248: warning: data
    definition has no type or storage class
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:249: error: parse
    error before "Perl_do_tell"
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:249: warning: type
    defaults to `int' in declaration of `Perl_do_tell'
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:249: warning: data
    definition has no type or storage class
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:338: warning:
    "struct tm" declared inside parameter list
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:491: warning:
    "struct tm" declared inside parameter list
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:1378: error: parse
    error before "Perl_PerlIO_tell"
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:1378: warning:
    type defaults to `int' in declaration of `Perl_PerlIO_tell'
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:1378: warning:
    data definition has no type or storage class
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/proto.h:1379: error: parse
    error before "off64_t"
    In file included from DBIXS.h:19,
    from Perl.xs:5:
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:3926:24: sys/ipc.h:
    No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:3927:24: sys/sem.h:
    No such file or directory
    /usr/local/lib/perl5/5.8.0/sun4-solaris/CORE/perl.h:4036:21: fcntl.h:
    No such file or directory
    In file included from Perl.c:59:
    Driver_xst.h: In function `dbdxst_bind_params':
    Driver_xst.h:55: warning: implicit declaration of function `sprintf'
    Perl.c: In function `boot_DBD__Perl':
    Perl.c:1085: warning: implicit declaration of function `strcmp'
    *** Error code 1
    make: Fatal error: Command failed for target `Perl.o'
     
    Cathy Hui, Feb 25, 2005
    #1
    1. Advertising

  2. Cathy  Hui

    Tony Curtis Guest

    >> On 24 Feb 2005 17:01:37 -0800,
    >> "Cathy Hui" <> said:


    > Sorry for the wordy logs below, but I hope this would help
    > in troubleshooting.


    > Here are what I have been trying to install DBI module on my
    > Solaris 8 box:


    > 1) I'd tried using different perl version. i.e. 5.8.0,
    > 5.8.3. (they are all precompiled pkg from sunfreeware.com)


    > 2) I'd tried different versions of gcc and make


    Well, at a first blush, from the copious messages about
    missing header files, try this:

    http://www.science.uva.nl/pub/solaris/solaris2.html#q6.2

    hth
    t
     
    Tony Curtis, Feb 25, 2005
    #2
    1. Advertising

  3. Cathy  Hui

    Cathy Hui Guest

    Thanks Tony, this was a very helpful link. It resolved my DBI
    compilation issue.
     
    Cathy Hui, Feb 25, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. ulloa
    Replies:
    1
    Views:
    531
    Juha Laiho
    Jul 22, 2004
  2. Jerome Hauss
    Replies:
    0
    Views:
    175
    Jerome Hauss
    Oct 13, 2004
  3. Asby

    Mason, DBI, and DBI::Pg

    Asby, Jul 24, 2003, in forum: Perl Misc
    Replies:
    0
    Views:
    178
  4. Tim Haynes
    Replies:
    3
    Views:
    144
    Ron Reidy
    Sep 13, 2003
  5. naniwadekar

    Installing DBI module on Solaris 8

    naniwadekar, Dec 16, 2004, in forum: Perl Misc
    Replies:
    0
    Views:
    98
    naniwadekar
    Dec 16, 2004
Loading...

Share This Page