# find /usr -name gcc
/usr/local/bin/gcc

# echo $PATH
/sbin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/bin/X11:/usr/local:/usr/local/bin

It seems to find gcc for the CC compiler though, and that part of the configure works.

"Matthew P. Marino" wrote:

> OK. Much better. The configure can't find gcc. If it is installed, find it with
> "find /usr -name gcc -print". This will tell you where gcc is installed,
> something like /usr/local/bin or /usr/ccs/bin. If  you find "gcc" it is probably
> not in your search list. Meaning, the path to the directory that contains gcc
> isn't in the $PATH environment variable. Check it by entering "echo $PATH". So,
> let's say that it's in /usr/local/bin and your $PATH variable doen't contain
> that path. type in something like;
>
> PATH=$PATH:/usr/local/bin
> export PATH
>
> Now; "echo $PATH" to make sure it worked. That should help.
>
> !!!!!! I strongly suggest you use gnu "make" and use the "--with-low-memory"
> option. I have a sun UltraSparcII with dual CPU's and 512MB RAM that still
> couldn't manage to compile the sql_yacc.cc
>
> Good luck!!
>
> Terry Babbey wrote:
> >
> > Here is my configure statement and the generated error message ( I am using
> > GCC2.95.2):
> >
> > CC="gcc" CXX="gcc" ./configure --prefix=/usr/local/mysql
> >
> > checking whether the C++ compiler (gcc   ) works... no
> > configure: error: installation or configuration problem: C++ compiler cannot cre
> > ate executables.
> >
> > "Matthew P. Marino" wrote:
> >
> > > We really need to know what the error message text is. Could be anything from
> > > a.) you don't actualy have gcc loaded" to z.) sql_yacc.cc which hardly ever
> > > compiles right and has nothing to do with gcc.
> > >
> > > Terry Babbey wrote:
> > > >
> > > > I notice some of you compile with gcc as you C-compiler (CC) and
> > > > C++-compiler (CXX). Configure generates an error message for me when I
> > > > try to do this. Can anyone help me with this?
> > > > Thanks,
> > > > Terry
> > > >
> > > > --
> > > > __________________________________________________________________
> > > > Terry Babbey
> > > > Technical Support Specialist
> > > > Lambton College, Sarnia, Ontario, Canada
> > > > __________________________________________________________________
> > > >
> > > > ---------------------------------------------------------------------
> > > > 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
> >
> > --
> > __________________________________________________________________
> > Terry Babbey
> > Technical Support Specialist
> > Lambton College, Sarnia, Ontario, Canada
> > __________________________________________________________________

--
__________________________________________________________________
Terry Babbey
Technical Support Specialist
Lambton College, Sarnia, Ontario, Canada
__________________________________________________________________



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