Sebastian Kayser writes:
> Hi,
>  
> i get the following error when trying to compile MYSQL 3.23.40 with only
> the --prefix option set:
>  
>  
> complete.c: In funtion `filename_completion_function´:
> complete.c:1467: syntax error before `*´
> complete.c:1481: `directory´ undeclared (first use in this function)
> complete.c:1484: `DIR´ undeclared (first use in this function)
>  
>  
> but in complete.c these lines are as follows:
>  
> 1463:       filename_completion_function (text,state)
> 1464:             char *text;
> 1465:             int state;
> 1466:       {
> 1467:             static DIR *directory = (DIR *)NULL;
>                   .
>                   .
>                   .
> 1481:             if (directory)
>  
>  
> It seems as if it doesn't get the DIR type. What's wrong with this ? 
>  
> I've read someone else that this can be because of a missing file
> libread.a, but this file is located at /usr/lib/libread.a
>  
> Can someone help ?
>  
> Thanks,
>  
> Sebastian Kayser

Hi!

You have something wrong on your system. Some include files has messed
in and changed things.

It is also possible that your dirent.h file is missing or is messed.

You can either use ready made readline for your system, or use gcc -E
and find out which include file messes up.

-- 
Regards,
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Mr. Sinisa Milivojevic <[EMAIL PROTECTED]>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, FullTime Developer
/_/  /_/\_, /___/\___\_\___/   Larnaca, Cyprus
       <___/   www.mysql.com

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