You have to tell it to use gcc.  It doesn't look like you're following the
directions for compiling on HP-UX.  See

  http://www.mysql.com/doc/H/P/HP-UX_10.20.html

or

  http://www.mysql.com/doc/H/P/HP-UX_11.x.html

If you need help after that, specify your version of HP-UX, version of
MySQL, version of gcc, and copy/paste your configure command.  That way,
we can see how to help.

Michael

On Fri, 22 Mar 2002, Stephane JEAN BAPTISTE wrote:

>
> I have a problem with compiling mysql on HP-UX.
>
> I can't compile because it doesn't know that I have gcc. I have this
> error with ./configure :
> checking for gcc... cc
> checking whether the C compiler (cc -Ae -D_REENTRANT  ) works... yes
> checking whether the C compiler (cc -Ae -D_REENTRANT  ) is a
> cross-compiler... no
> checking whether we are using GNU C... no
> checking whether cc accepts -g... yes
> checking for c++... aCC
> checking whether the C++ compiler (aCC -D_REENTRANT  ) works... no
> configure: error: installation or configuration problem: C++ compiler
> cannot create executables.
>
>
> what do i have to do ?
>
> tks
>


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