Bettina Ketzmerick wrote:

> Hello,
>
> I want to install mysql on my sun (solaris 2.7). But I have a problem. The
> output after configuring is:
>
> loading cache ./config.cache
> checking host system type... sparc-sun-solaris2.7
> checking target system type... sparc-sun-solaris2.7
> checking build system type... sparc-sun-solaris2.7
> checking for a BSD compatible install... ./install-sh -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... (cached) yes
> checking for working aclocal... missing
> checking for working autoconf... found
> checking for working automake... found
> checking for working autoheader... missing
> checking for working makeinfo... missing
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... (cached) yes
> checking for gawk... (cached) nawk
> checking for gcc... (cached) gcc
> checking whether the C compiler (gcc ) works... yes
> checking whether the C compiler (gcc ) is a cross-compiler... no
> checking whether we are using GNU C... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for c++... (cached) c++
> checking whether the C++ compiler (c++ ) works... yes
> checking whether the C++ compiler (c++ ) is a cross-compiler... yes
> checking whether we are using GNU C++... (cached) yes
> checking whether c++ accepts -g... (cached) yes
> checking how to run the C preprocessor... (cached) gcc -E
> checking for ranlib... (cached) ranlib
> checking for ld used by GCC... (cached) /usr/ccs/bin/ld
> checking if the linker (/usr/ccs/bin/ld) is GNU ld... (cached) yes
> checking for BSD-compatible nm... (cached) /usr/ccs/bin/nm -p
> checking whether ln -s works... (cached) yes
> loading cache ./config.cache within ltconfig
> checking for object suffix... o
> checking for executable suffix... (cached) no
> checking for gcc option to produce PIC... -fPIC
> checking if gcc PIC flag -fPIC works... yes
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.lo... yes
> checking if gcc supports -fno-rtti -fno-exceptions ... yes
> checking if gcc static flag -static works... -static
> checking if the linker (/usr/ccs/bin/ld) is GNU ld... yes
> checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... yes
> checking command to parse /usr/ccs/bin/nm -p output... ok
> checking how to hardcode library paths into programs... immediate
> checking for /usr/ccs/bin/ld option to reload object files... -r
> checking dynamic linker characteristics... solaris2.7 ld.so
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking for objdir... .libs
> creating libtool
> loading cache ./config.cache
> checking for a BSD compatible install... ./install-sh -c
> checking for bison... bison -y
> checking for pdftex... no
> checking return type of sprintf...
> configure: error: can not run test program while cross compiling
>
> Where is/are the error/s ?
>

Since I just went through this on sol 8 I'll take this one.  Including the gcc lib 
directory in
my path (usually /usr/local/lib or where ever you installed it) fixed the problem for 
me.

George




>
> Best regards
>
> Bettina
>
> ---------------------------------------------------------------------
> 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