What i would do is:

make an spec file for the perl modules you made, as well as the program
you coded.  Your setup scripts could be embedded in the SPEC file, so that
to deploy your app, all you need is to rpm -ivh.  Later on rpm -Uvh makes
it a lot easier to upgrade the files if you do make changes.

If you take the time to study how to make RPMs, you will be rewarded in
the future by very trivial maintenance and upgrade procedures.


On Thu, 28 Jun 2001, Horatio B. Bogbindero wrote:

> >
> > I've written a set of perl scripts that use DBI/DBD.  Now, I need to
> > install the scripts in a number of boxes (15-20)..  Now, from the DBI/DBD
> > README files, it looks like I have to build the binaries on every
> > box..  (the boxes doen't have gcc installed by default) which is
> > guaranteed to be a pain in the arze.
> >
> > Question is, can I just build the DBI/DBD binaries, and just copy the .pm
> > (and dependecies) files to the other boxes?  I guess, what I really need
> > is a binary distribution of DBI, and DBD::Informix.  Any thoughts?
> >
> in theory that should work.
>
> as long as you have the same binary format(ELF what linux does not use ELF
> these days?), libraries(shared libraries), perl version.
>
> hmmm. maybe even copying the entire /usr/lib/perl/ directory from machine
> to machine would work. i do not see any reason why not.
>
> --------------------------------------
> William Emmanuel S. Yu
> Ateneo Cervini-Eliazo Networks (ACENT)
> email  :  [EMAIL PROTECTED]
> web    :  http://cersa.admu.edu.ph/
> phone  :  63(2)4266001-5925/5904
>
> Things are more like they used to be than they are now.
>
>
> _
> Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
> To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
>
> To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
>[EMAIL PROTECTED]
>

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to