> > Ok, I followed your advice and removed the soaris built gcc from
> > sunfreeware and downloaded the source instead.  How ever now I am
> > getting this message when I try to compile gcc:
> >
> > # /usr/local/gcc-2.95.3/configure --prefix=/usr/local/gnu
> > Configuring for a sparc-sun-solaris2.8 host.
> > Created "Makefile" in /usr/local/objdir using "mh-frag"
> > /usr/ucb/cc:  language optional software package not installed
> > *** The command '/usr/ucb/cc -o conftest -g   conftest.c' failed.
> > *** You must set the environment variable CC to a working compiler.
> >
> > How do I find out what package am I missing?  Can someone point to a
> > site with a good solaris 8 build of gcc I can use instead of
> > sunfreeware.  I really prefer not to spend time on debugging the Sun
> > compiler.  Unless of course it's just a simple addition of a package.
> >
> >
> > Thanks,
> > George
> >
> 
> First, let me acknowledge that a couple of people have reported success
> building mysql with sunfreeware's precompiled gcc 2.95.3 since I wrote
> this.  That was news to me, but it would imply that there may be a way to
> install it (precompiled gcc 2.95.3) that causes problems (perhaps it
> expects something else which is missing), or perhaps a set of mysql
> configure options which don't interact well with it.
> 
> Second, I'm afraid you've misunderstood me, which probably means I wasn't
> clear.  Sorry.  /usr/ucb/cc is not a fully functional compiler and cannot
> be used to build software.  Many people recommend removing /usr/ucb from
> your PATH for this reason, though I find putting it last, after the
> location of gcc, works just as well.  You need a functional c compiler to
> build gcc.  The usual procedure is to download and install sunfreeware's
> precompiled gcc 2.95.3, then use it to build gcc 2.95.3 from source.  You
> can find directions at http://gcc.gnu.org/install/
> 
> Finally, I want to clarify that I don't claim that sunfreeware's
> precompiled gcc is broken.  Many people use it without trouble.
> Personally, I found it quirky.  It worked for most things, but didn't
> quite work for a few packages.  Once I built and installed gcc from source
> using the binary, these quirks went away.  YMMV.
> 
> Michael

I was actually considering doing this (use build to compile source) but I found it 
counter intuitive using a reportedly buggy
build to compile a good one, but since now two people have suggested it I gave it a 
try and it's compiling as a write this.
Oh..wait..it's finished...Sucsess! Now onto the install....

George


-- 
George Horvath                              
Scotia Capital Markets                     
ISS - Technology Application Group        
Tel: 416-945-4204
Fax: 416-945-4002
E-mail: [EMAIL PROTECTED]

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