Summary: Use Precompile Software ?!

Chi Man Wu - SAN (wuc@hkmail.sps.mot.com)
Wed, 16 Apr 1997 14:22:31 +0000 (HKT)

Hello admins,

Special thinks to all for answer/comment :

Original Question :
#############################################################
In Solaris, you install GUN's sofware by
1) Use Precompile, i.e install by pkgadd
2) Compile by myself

What is advantage or disadvantage for (1) & (2)

I will summarize...
#############################################################

-----------------------------------
>From Dave Stagges<dstaggs@kcii.com>

1. A:Relatively easy to install.
D:Hope that they compiled the program correctly.
Libraries might be in different locations.
2. A:More freedom to tailor the programs to fit your system.
You learn how to compile programs. You learn more about
your system setup.

---------------------------------------------------
From: John Justin Hough <john@oncology.uthscsa.edu>

The advantage is that you don't have to waste cycles or your time
to create the packages. And sometimes they just don't seem to
want to build and it takes a lot of effort and in years past a
lot of editting for SunOS 5.

The disadvantage is that you don't get to put things where you
want them and many times they weren't built or configured with
the options you are interested in. As an example, the GNU stuff
at http://smc.vnet.net is built as applications and installs in
/opt/FSFwhatever so if you wanted to use the entire suite of
GNU utils you have to have a huge path or need to link all the
stuff under your current tree - e.g.:
ln -s /opt/FSFgcc/bin/* /opt/bin or /opt/gnu/bin
ln -s /opt/FSF/gcc/lib/* /opt/lib or /opt/gnu/lib
:
and so on.
The other point is something like autoconf. If you just built
autoconf you'd probably read something about a site definition
or a site environment variable and work to configure it the
you want to, but if you just install the package you probably
miss this.