There doesn't have to be anything magic about /opt. If a client doesn't
have one, create it. If you tar your kit with 'tar cvf - opt | gzip -9c >
kit.tar.gz', and have them extract it from the root directory (/), everyone
will have the same directory structure.
--
Mac :})
** I normally forward private questions to the appropriate mail list. **
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.
----- Original Message -----
From: "Mahdi Sbeih" <[EMAIL PROTECTED]>
To: "Michael A.Chase" <[EMAIL PROTECTED]>; "Mahdi A.Sbeih"
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 14:03
Subject: Re: [Re: [Re: (Fwd) Just direct me where to go]]
In this case, I have to make sure that all customers have
/opt (as example) on their machines,
otherwise I will need to build another
kit for those customers who don't have /opt
to an alternative place.
Is there away to change /opt after installing and before traing?
"Michael A. Chase" <[EMAIL PROTECTED]> wrote:
Your client will need to install your perl archive in the same directory
that you built it for. Those instructions allow you to build a perl tree
under /tmp that is meant to run under /opt. That way you can build your
installation kit for other systems without messing up the copy you are
building.
----- Original Message -----
From: "Mahdi A. Sbeih" <[EMAIL PROTECTED]>
To: "Michael A. Chase" <[EMAIL PROTECTED]>
Sent: Thursday, July 05, 2001 00:25
Subject: RE: [Re: (Fwd) Just direct me where to go]
> What about @INC, since it is hardcoded when building Perl,
> I read this section in installing Perl, is this what
> I need to do?
>
> #----------------------------------------------------
> # Set up to install perl into a different directory,
> # e.g. /tmp/perl5 (see previous part).
> sh Configure -Dinstallprefix=/tmp/perl5 -Dprefix=/opt/perl -des
> make
> make test
> make install # This will install everything into /tmp/perl5.
> cd /tmp/perl5
> # Edit $archlib/Config.pm and $archlib/.packlist to change all the
> # install* variables back to reflect where everything will
> # really be installed. (That is, change /tmp/perl5 to /opt/perl
> # everywhere in those files.)
> # Check the scripts in $scriptdir to make sure they have the correct
> # #!/wherever/perl line.
> tar cvf ../perl5-archive.tar .
> # Then, on each machine where you want to install perl,
> cd /opt/perl # Or wherever you specified as $prefix
> tar xvf perl5-archive.tar
> #------------------------------------------------------
>
> -----Original Message-----
> From: Michael A. Chase [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 04, 2001 10:06 PM
> To: Mahdi Sbeih; [EMAIL PROTECTED]
> Subject: Re: [Re: (Fwd) Just direct me where to go]
>
>
> If you are going to send the client a complete kit, you should probably
> build Perl/DBI/DBD/... in a comparable machine and send them an archive of
> the whole perl tree. With tar and gzip or bzip2, its only a few
megabytes.
>
> perllib.so contains the actual interpreter that is invoked by 'perl'. It
> won't do you any good by itself, since you will also need the rest of the
> files that come in the perl tree to get Perl scripts to work.
> --
> Mac :})
> ** I normally forward private questions to the appropriate mail list. **
> Give a hobbit a fish and he eats fish for a day.
> Give a hobbit a ring and he eats fish for an age.
> ----- Original Message -----
> From: "Mahdi Sbeih" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Wednesday, July 04, 2001 12:22
> Subject: Re: [Re: (Fwd) Just direct me where to go]
>
>
> We support some specific versions of Solaris and HP-UX only,
> So we will not have hard time with customers, we don't want to
> lert customers worry about installing since this will bring
> allot of headache to our technical support dept.
>
> Suppose I compiled Perl, DBI and DBD::Informix, on one of our
> machine, what need to be send to the customer who has the same
> OS and the Same Informix.
>
> In the installation steps of Perl, I read a section of building an
> installable tar archive of Perl, this section doesn't have any details,
> this what I am looking for, creating an istallable Perl+DBI+DBD.
>
> I had read some where about making a perllib.so shared library,
> I didn't find allot information about this and if this related
> to my objective.
>
>
>