Re: How can I install the DBI on Solaris

From: Martien Verbruggen (mgjv_at_tradingpost.com.au)
Date: 02/25/05


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.
                        | 


Relevant Pages

  • Re: Solaris 9 w/ opensource firewall
    ... >> Dave, I already install the Full Distribution of Solaris, how do I trim ... > If you want to install an open source packet filter then google ipfilter. ... Perhaps I use gnu to compile the opensource stuff or is it better ...
    (comp.unix.solaris)
  • Re: Solaris 9 w/ opensource firewall
    ... >>If you want to install an open source packet filter then google ipfilter. ... >>necessary for you to compile your own binaries. ... >>need a number of Solaris packages in addition to a compiler. ...
    (comp.unix.solaris)
  • Re: RealPlayer link?
    ... > to compile on a minimal Solaris system. ... If you wish to have an easy time ... > files and tools required to compile and install software. ...
    (comp.unix.solaris)
  • C and GCC Compilers....
    ... Solaris newbie who seems to be running round in circles... ... To run an IRC server, ... I downloaded the source to install it from scratch. ... but needs C to compile it - back to where I started..... ...
    (comp.unix.solaris)
  • Re: Compact SQL - Any CPU Build
    ... After the install, I confirmed the keys were created under ... our application can be installed on both of the x86 and x64 platform. ... But if we want to compile it as x64 version, ... Microsoft Online Community Support ...
    (microsoft.public.dotnet.general)