koff wrote:

> Hi,
>
> I just reinstall my SUN 2.6 and reinstall back Perl using
> perl-5.6.1-sol26-sparc-local.gz binary. It's work find and without
> hasle.
>
> But I encounter a problem to install DBI and Data-Show-Table module (And
> of course DBD) . For instance during "make" DBI-1.18 I got this err msg:
>
> ------8<------- snip ---
> # make
> gcc -c  -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -O   -DVERSION=\"1.18\" -DXS_VERSION=\"1.18\"
> -fPIC -I/usr/local/lib/perl5/5.6.1/sun4-solaris/CORE -Wall -Wno-comment
> -DDBI_NO_THREADS Perl.c
> In file included from DBIXS.h:19,
>                  from Perl.xs:1:
> /usr/local/lib/perl5/5.6.1/sun4-solaris/CORE/perl.h:426: sys/types.h: No
> such file or directory
> In file included from DBIXS.h:19,
>                  from Perl.xs:1:
> /usr/local/lib/perl5/5.6.1/sun4-solaris/CORE/perl.h:457: ctype.h: No
> such file or directory
> /usr/local/lib/perl5/5.6.1/sun4-solaris/CORE/perl.h:465: locale.h: No
> such file or directory

Basically, you don't have any of the system headers installed on your
machine.  In fact, I don't think you'll be able to compile the C program:

#include <stdio.h>
int main(void){ puts("Hello World!"); return 0; }

Given that you can't get a Hello World to compile, you won't be able to get
anything serious to compile, like a Perl module.  SO, go get the development
system installed on your machine.


--
Jonathan Leffler ([EMAIL PROTECTED], [EMAIL PROTECTED])
Guardian of DBD::Informix 1.00.PC1 -- see http://www.cpan.org/
#include <disclaimer.h>


Reply via email to