Re: How can I install the DBI on Solaris
From: Martien Verbruggen (mgjv_at_tradingpost.com.au)
Date: 02/25/05
- Next message: Peter Billam: "A pipe or FH equivalent of LWP::UserAgent ?"
- Previous message: junnuthala: "Re: Compare huge XML Files"
- In reply to: Cathy Hui: "How can I install the DBI on Solaris"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 25 Feb 2005 02:03:49 GMT
On 24 Feb 2005 15:16:47 -0800,
Cathy Hui <kaka.hui@gmail.com> wrote:
> 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)
I'd compile my own. Unless you have a fairly similar setup from the
one that the compilers used, there is a good chance that things will
break. However, I don't think that that is necessarily your problem.
> /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
These are fairly important include files that should be in
/usr/include on Solaris.
are you sure that your solaris has those header files installed? If
you can't find the file /usr/include/fcntl.h you need to speak to your
sysadmin, and get them to install the stuff. If it is there, your gcc
is probably misconfigured, or you have an incompatibility between the
environment of the compiler that was used to create Perl and yours.
Martien
--
|
Martien Verbruggen | Blessed are the Fundamentalists, for they
| shall inhibit the earth.
|
- Next message: Peter Billam: "A pipe or FH equivalent of LWP::UserAgent ?"
- Previous message: junnuthala: "Re: Compare huge XML Files"
- In reply to: Cathy Hui: "How can I install the DBI on Solaris"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|