Simon,
Take a look at www.sunfreeware.com. Go to their Downloading/Installation
section (left panel) and grab the pkg-get script. Use pkgadd to install
it. (as root: pkgadd -d BOLTpget.pkg ). Then add /usr/local/bin to your
path. (PATH=$PATH:/usr/local/bin; export PATH)
Use pkg-get to get all sorts of good utilities:
pkg-get update #lots of instructions to follow
pkg-get install gcc # needed to compile anything
pkg-get install tar # absolutely necessary
pkg-get install autoconf # useful
pkg-get install bash #for sanity
pkg-get install flex # if tools you are building require it
pkg-get install bison # needed if you are building apache
pkg-get install make # absolutely necessary
pkg-get install less # helpful
pkg-get install perl # most likely
pkg-get install zlib # necessary if you want openssl
pkg-get install bzip2 # good tool to have
Now you will have to tools to build apache, mod-ssl, openssl and I just
used the binary of mysql.
/Duncan
On Wed, Apr 18, 2001 at 02:25:15PM -0400, Matthew P. Marino wrote:
> You've got a looooong way to go. "tar" is short for tape archive. It is
> an ancient unix utility that takes directory and file data and builds it
> into a contiguous data base file. This is for portability and
> manageability. You should have to get past "gzip" before you get to
> "tar". gzip is a gnu compression utility. The mysql tarball is tar'd and
> gzip'd so one normally has to;
>
> gzip -d mysql.tar.gz tar -xvf mysql.tar
>
> That leaves you with a directory you need to enter and "make install".
> Read the INSTALL and README files. They'll get you through it OK. The
> reason for GNU TAR is that the Solaris "tar" has a 128 charachter path
> limit to filenames. I think MySQL exceeds that with the windows32 stuff.
> Warning!!!!! Solaris has a number of other problems out of the box. The
> "cc" compiler is bad, as is the "ld" or linker libraries. If your serious
> about using open source software you'd be best to go to www.gnu.org and
> get;
>
> gzip bin utilities make tar gcc
>
> Your best off to compile and install them so they are custom to your
> current solaris' environment. It goes something like;
>
> gzip -d whatever.tar.gz tar -xvf whatever.tar cd whatever ./configure
> make make install
>
>
> Compile and install all of these, add /usr/local/bin to your path;
>
> PATH=$PATH:/usr/local/bin:/usr/local/lib export PATH
>
> You are then "in the ball park". It's a tough haul. The solaris 2.8 CD
> has a lot of these gnu utilities pre-compiled for Solaris. These can help
> but the practice of compiling and installing the minor support libs can
> set you up better for the big installs. If solaris wasn't such a rock
> solid OS on rock solid hardware I'd recommend setting up FreeBSD on an
> old intel box. It's easier but not as robust as freeBSD's development
> environment is "GNU/BSD" centric as are most open source efforts.
>
> Simon Chan wrote:
> >
> > Hi Everybody!
> >
> > Just starting to teach myself MySql and databases. I have the O'Reilly
> > books on Perl DBI and Mysql, msql.
> >
> > My question is this:
> >
> > I am trying to install mysql on sparc sun solaris 2.7 machine. I found
> > a binary version in the downloads page of mysql.com (is is called Sun
> > Solaris (Sparc)[sun-soalris2.7-sparc] )
> >
> > what exactly is the "GNU Tar" command? How do I install mysql with it?
> >
> > Any help would be much appreciated. Many thanks everybody!
> >
> > Sincerely, Simon Chan
--
Duncan Watson Application Engineer
[EMAIL PROTECTED] nCUBE - Beaverton
[For best reading adjust your window width to the length of this line -djw]
123456789012345678901234567890123456789012345678901234567890123456789012345
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php