McCaffity, Ray writes:
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: [Compiling in 64-bit Solaris environment]
> 
> >Description:
>         checking return type of sprintf... configure: error: can not run
> test program while cross compiling
> >How-To-Repeat:
>        Compile any version of mysql using any version of gcc on any 64-bit
> install of Solaris (7 or 8)
> >Fix:
>         only compile on 32-bit OS installations.
> 
> >Submitter-Id:  Ray McCaffity
> >Originator:    Super-User
> >Organization:
>  <organization of PR author (multiple lines)>
> >MySQL support: [none]
> >Synopsis:      <cannot run or compile mysql in 64-bit environment>
> >Severity:      serious
> >Priority:      medium
> >Category:      mysql
> >Class:         sw-bug | doc-bug | change-request | 
> >Release:       mysql-3.23.38 (Source distribution)
> 
> >Environment:
>         <machine, os, target, libraries (multiple lines)>
> System: SunOS webstats 5.8 Generic_108528-08 sun4u sparc SUNW,Ultra-5_10
> Architecture: sun4
> 
> Some paths:  /usr/bin/perl /usr/local/bin/make /usr/local/bin/gcc
> gcc version 2.95.3 20010315
> (release)b/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs
> Compilation info: CC='gcc'  CFLAGS=''  CXX='gcc'  CXXFLAGS=''  LDFLAGS=''
> LIBC:
> -rw-r--r--   1 root     bin      1759264 Jun  1 22:11 /lib/libc.a
> 1rwxrwxrwx   1 root     root          11 May 30 15:49 /lib/libc.so ->
> ./libc.so.
> -rwxr-xr-x   1 root     bin      1136692 Jun  1 22:11 /lib/libc.so.1
> -rw-r--r--   1 root     bin      1759264 Jun  1 22:11 /usr/lib/libc.a
> .so.1wxrwx   1 root     root          11 May 30 15:49 /usr/lib/libc.so ->
> ./libc
> -rwxr-xr-x   1 root     bin      1136692 Jun  1 22:11 /usr/lib/libc.so.1
> ./configure --with-perl --prefix=/usr/local/mysql --with-gnu-ld


Hi!

A solution to your problem is very clearly described in our manual,
section on Solaris, a part that explains how to edit configure script.

Beside that, our 2.7 binary will work just fine on your 2.8.


Regards,

Sinisa

     For technical support contracts, goto http://order.mysql.com
                        
      ____  __     _____   _____  ___     ==  MySQL AB
     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Sinisa Milivojevic
    /*/ /*/ /*/   \*\_   |*|   |*||*|     mailto:[EMAIL PROTECTED]
   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Larnaca, Cyprus
  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____
  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^
             /*/             \*\                Developers Team

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