List:General Discussion« Previous MessageNext Message »
From:Colin Faber Date:July 16 2001 2:01am
Subject:Re: Problems installing under solaris 2.5.1
View as plain text  
You need to make sure that the gcc on your box is build on that box, 
Using a package won't do it, most of them where compiled on greater or 
lesser hardware versions than you might be running, This in turn causes 
the compiler it self to think that its running in cross-compile mode 
and mysql won't allow a cross compile(er) build.



Martin Cameron wrote:
> 
> Shouldn't it be ./configure --prefix=/usr/local/mysql
> 
> On Mon, 16 Jul 2001 12:44, you wrote:
> > I am trying to compile mysql by it is failing in the ./configure step. I am
> > running solaris 2.5.1 , gcc 2.95, binutils 2.11.2. It fails with the
> > following error
> >
> > ./configure -prefix=/usr/local/mysql
> > .
> > .....
> >
> > loading cache ./config.cache
> > checking for a BSD compatible install... ./install-sh -c
> > checking for bison... no
> > checking for byacc... no
> > checking for pdftex... no
> > checking return type of sprintf... configure: error: can not run test
> > program while cross compiling
> >
> > any help would be greatly appreciated.
> >
> > regards
> > Imran.
> 
> ---------------------------------------------------------------------
> 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 <mysql-thread79685@stripped>
> To unsubscribe, e-mail <mysql-unsubscribe-cfaber=fpsn.net@stripped>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Thread
Problems installing under solaris 2.5.1Imran@netwave.ca16 Jul
  • Re: Problems installing under solaris 2.5.1Martin Cameron16 Jul
  • Re: Problems installing under solaris 2.5.1Colin Faber16 Jul
    • Re: Problems installing under solaris 2.5.1II Alan W. Rateliff16 Jul
  • Problems installing under solaris 2.5.1 ... FixedImran@netwave.ca17 Jul
  • Re: Problems installing under solaris 2.5.1 ... FixedColin Faber17 Jul