Keith,

It's a little hard to help, since you didn't provide the details of your
attempt to install from source.  (Compiler? command line for
configure? ...)

Searching Google groups on 'mysql solaris cross compiling', I found
numerous related threads.  It appears that everyone who reported this
problem was using the gcc binary from sunfreeware.  Is that the case for
you?

I used the sunfreeware gcc binary to build/install gcc from source
(2.95.3).  Using this, I successfully built mysql-3.23.44 (and it passed
all tests) on Solaris 8 sparc (an E450) with the command recommended in
the manual <http://www.mysql.com/doc/S/o/Solaris.html>:

  CC=gcc CFLAGS="-O3" \
  CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti" \
  ./configure --prefix=/usr/local/mysql --with-low-memory --enable-assembler

Michael

===============
Michael Stassen
University Information Technology Services
Indiana University Bloomington
[EMAIL PROTECTED]

On Fri, 9 Nov 2001, Keith W wrote:

> Has anyone been able to get mysql-3.23.44 running on the Sparc platform
> Solaris 8?  I've tried both binary and source distro's with no luck. I've
> made the recomended changes from the Readme's and Install files as well as
> searched google high and low. I still get the same failures.
> 
> >From the source distro I get the following durring ./configure
> SNIP----
> checking return type of sprintf... configure: error: can not run test
> program while cross compiling
> 
> 
> >From the binary distro I get the following scripts/mysql_install_db
> SNIP-----
> Preparing db table
> Preparing host table
> Preparing user table
> Preparing func table
> Preparing tables_priv table
> Preparing columns_priv table
> Installing all prepared tables
> ld.so.1: ./bin/mysqld: fatal: libz.so.1: open failed: No such file or
> directory
> Killed
> Installation of grant tables failed!
> 
> 
> I went to zlib.org and got zlib and installed it but that doesn't seem to
> help. Any clues???
> 
> 
> ---------------------------------------------------------------------
> 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
> 




---------------------------------------------------------------------
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

Reply via email to