I found that there is gcc already installed on the server. Also there is a perl version (5.8.0) compiled with gcc and installed on the server. I tried to build DBI with gcc and using the perl version which is compiled using gcc. But I get the following error.
sailfish@st-kvar02 -> make gcc -c -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS +=64 -O -DVERSION=\"1.604\" -DXS_VERSION=\"1.604\" -fPIC "-I/prog/ +perl/curr_inst/lib/5.8.0/sun4-solaris/CORE" -W -Wall -Wpointer-arith + -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -W +missing-noreturn -Wno-unused-parameter -DDBI_NO_THREADS Perl.c In file included from /usr/include/sys/stream.h:22, from /usr/include/netinet/in.h:66, from /prog/perl/curr_inst/lib/5.8.0/sun4-solaris/CORE +/perl.h:612, from DBIXS.h:19, from Perl.xs:6: /usr/include/sys/vnode.h:259: parse error before "pgcnt_t" /usr/include/sys/vnode.h:281: parse error before '}' token /usr/include/sys/vnode.h:567: parse error before '*' token /usr/include/sys/vnode.h:568: parse error before '*' token /usr/include/sys/vnode.h:569: parse error before '*' token /usr/include/sys/vnode.h:571: parse error before '*' token /usr/include/sys/vnode.h:573: parse error before '*' token /usr/include/sys/vnode.h:574: parse error before '*' token /usr/include/sys/vnode.h:575: parse error before '*' token /usr/include/sys/vnode.h:576: parse error before '*' token /usr/include/sys/vnode.h:578: parse error before '*' token /usr/include/sys/vnode.h:579: parse error before '*' token /usr/include/sys/vnode.h:581: parse error before '*' token /usr/include/sys/vnode.h:583: parse error before '*' token /usr/include/sys/vnode.h:584: parse error before '*' token /usr/include/sys/vnode.h:585: parse error before '*' token /usr/include/sys/vnode.h:586: parse error before '*' token /usr/include/sys/vnode.h:588: parse error before '*' token /usr/include/sys/vnode.h:589: parse error before '*' token /usr/include/sys/vnode.h:590: parse error before '*' token /usr/include/sys/vnode.h:591: parse error before '*' token /usr/include/sys/vnode.h:592: parse error before '*' token /usr/include/sys/vnode.h:593: parse error before '*' token /usr/include/sys/vnode.h:594: parse error before '*' token /usr/include/sys/vnode.h:595: parse error before '*' token /usr/include/sys/vnode.h:596: parse error before '*' token /usr/include/sys/vnode.h:597: parse error before '*' token /usr/include/sys/vnode.h:598: parse error before '*' token /usr/include/sys/vnode.h:599: parse error before '*' token /usr/include/sys/vnode.h:601: parse error before '*' token /usr/include/sys/vnode.h:603: parse error before '*' token /usr/include/sys/vnode.h:604: parse error before '*' token /usr/include/sys/vnode.h:607: parse error before '*' token /usr/include/sys/vnode.h:608: parse error before '*' token /usr/include/sys/vnode.h:610: parse error before '*' token /usr/include/sys/vnode.h:612: parse error before '*' token /usr/include/sys/vnode.h:614: parse error before '*' token /usr/include/sys/vnode.h:615: parse error before '*' token /usr/include/sys/vnode.h:616: parse error before '*' token /usr/include/sys/vnode.h:617: parse error before '*' token /usr/include/sys/vnode.h:619: parse error before '*' token /usr/include/sys/vnode.h:620: parse error before '*' token /usr/include/sys/vnode.h:621: parse error before '*' token /usr/include/sys/vnode.h:622: parse error before '*' token /usr/include/sys/vnode.h:623: parse error before '*' token /usr/include/sys/vnode.h:624: parse error before '*' token In file included from /prog/perl/curr_inst/lib/5.8.0/sun4-solaris/CORE +/perl.h:626, from DBIXS.h:19, from Perl.xs:6: /usr/include/sys/stat.h:251: parse error before "blksize_t" /usr/include/sys/stat.h:255: parse error before '}' token /usr/include/sys/stat.h:309: parse error before "blksize_t" /usr/include/sys/stat.h:313: parse error before '}' token In file included from /usr/include/sys/signal.h:34, from /usr/include/signal.h:26, from /prog/perl/curr_inst/lib/5.8.0/sun4-solaris/CORE +/unixish.h:106, from /prog/perl/curr_inst/lib/5.8.0/sun4-solaris/CORE +/perl.h:1877, from DBIXS.h:19, from Perl.xs:6: /usr/include/sys/siginfo.h:259: parse error before "ctid_t" /usr/include/sys/siginfo.h:292: parse error before '}' token /usr/include/sys/siginfo.h:294: parse error before '}' token /usr/include/sys/siginfo.h:390: parse error before "ctid_t" /usr/include/sys/siginfo.h:398: conflicting types for `__fault' /usr/include/sys/siginfo.h:267: previous declaration of `__fault' /usr/include/sys/siginfo.h:404: conflicting types for `__file' /usr/include/sys/siginfo.h:273: previous declaration of `__file' /usr/include/sys/siginfo.h:420: conflicting types for `__prof' /usr/include/sys/siginfo.h:287: previous declaration of `__prof' /usr/include/sys/siginfo.h:424: conflicting types for `__rctl' /usr/include/sys/siginfo.h:291: previous declaration of `__rctl' /usr/include/sys/siginfo.h:426: parse error before '}' token /usr/include/sys/siginfo.h:428: parse error before '}' token /usr/include/sys/siginfo.h:432: parse error before "k_siginfo_t" /usr/include/sys/siginfo.h:437: parse error before '}' token In file included from /usr/include/signal.h:26, from /prog/perl/curr_inst/lib/5.8.0/sun4-solaris/CORE +/unixish.h:106, from /prog/perl/curr_inst/lib/5.8.0/sun4-solaris/CORE +/perl.h:1877, from DBIXS.h:19, from Perl.xs:6: /usr/include/sys/signal.h:85: parse error before "siginfo_t" In file included from /prog/perl/curr_inst/lib/5.8.0/sun4-solaris/CORE +/unixish.h:106, from /prog/perl/curr_inst/lib/5.8.0/sun4-solaris/CORE +/perl.h:1877, from DBIXS.h:19, from Perl.xs:6: /usr/include/signal.h:111: parse error before "siginfo_t" /usr/include/signal.h:113: parse error before "siginfo_t" *** Error code 1 make: Fatal error: Command failed for target `Perl.o'
I don't know what it means. Could anyone please help me out?

In reply to Re^2: Problem in installing perl modules. by Nalina
in thread Problem in installing perl modules. by Nalina

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.