Hi Colin:

I once again want to thank you for the info. I had indeed installed a
'package' gcc compiler from sunfreeware. I followed your advice and I
downloaded gcc 2.95.3 source and compiled it on the machine that I was
trying to install mysql and sure enough I got it compiled. This would surely
add weight to your argument as to why it failed ... perhaps the people who
used the packaged compilers and got it to work was indeed using the same
machine that sunfreeware used to create the package.

You certainly pointed me in the right direction and saved me a LOT of
frustration.

Best regards
Imran.

----- Original Message -----
From: "Colin Faber" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, July 15, 2001 10:01 PM
Subject: Re: Problems installing under solaris 2.5.1


> 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 <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to