moving Perl::DBI to a Solaris 2.8 machine without a compiler

From: Bruce Shaw (Bruce.Shaw_at_gov.ab.ca)
Date: 04/16/04


To: "'dbi-users@perl.org'" <dbi-users@perl.org>
Date: Fri, 16 Apr 2004 14:35:14 -0600

For reasons beyond my control, I need to use

Perl version 5.8.2
DBI-1.39
DBD-Oracle-1.14
TermReadKey-2.21

together on a machine lacking a compiler. I have compiled everything
successfully on a different, pretty-much-identical machine and got Perl
moved over successfully. However, when I try to install Perl::DBI I run
into trouble. When I do a make install, it returns

/usr/ucb/cc: language optional software package not installed

which is Sun's uninformative way of informing you that you don't have a
proper compiler installed. I cannot install the compiler on this system
because we don't have a license for it and we cannot use gcc as it conflicts
with other software. There's no reason for it to compile as everything is
already built. I think it's a timestamp issue.

I looked through Makefile and Makefile.PL and couldn't find any obvious way
of doing it. The guys on #perl suggested making a package, but I'm not sure
how to do that.

This communication is intended for the use of the recipient to which it is
addressed, and may contain confidential, personal and or privileged
information. Please contact us immediately if you are not the intended
recipient of this communication, and do not copy, distribute, or take action
relying on it. Any communication received in error, or subsequent reply,
should be deleted or destroyed.



Relevant Pages

  • RE: Make problem Building 64 bit Perl 5.8.8 from source on Solaris 10 with gcc 3.4.6
    ... Solaris 10 with gcc 3.4.6 ... Make problem Building 64 bit Perl 5.8.8 from source on ... INSTALL notes and have looked through the hints script. ... compiler or make any changes to the system directories. ...
    (perl.dbi.users)
  • Re: Dont get DBI module installed
    ... You need to build DBI with the same C compiler that was used to build the version of Perl ... Install the new Perl into /usr/local. ...
    (perl.dbi.users)
  • RE: Cant locate DBI.pm
    ... Install the Sun C compiler and try to continue from there ... ... This is perl, v5.6.1 built for sun4-solaris-64int ... sender of the delivery error by replying to this message, or notify us ...
    (perl.dbi.users)
  • Re: Fwd: Installing DBI using gcc
    ... Subject: Installing DBI using gcc ... have a sun compiler available, nor do I have root authority. ... If you must use GCC, build your own Perl (5.10.0, therefore, not the archaic ... install locally to - ahem install Perl locally... ...
    (perl.dbi.users)
  • RE: Cant locate DBI.pm
    ... This is perl, v5.6.1 built for sun4-solaris-64int ... Which C compiler was your Perl built with? ... Install the C compiler used to build your Perl and then try to ...
    (perl.dbi.users)