RE: mysql-3.23.47 Compile Error on Linux

2002-02-06 Thread Jason Gurtz





>  -I/usr/include   -I./../include
>
>   -I./../regex-I. -I../include -I.. -I.



> mysqld.cc:1767: implicit declaration of function `int regex_init(...)'

A carefull look reveals that the commandline above is seeing
/usr/include/regex.h instead of /usr/src/mysql-3.23.47/regex/regex.h.
The system header does not have regex_init();  A temporary symlink in
/usr/include seemed to fix this, but I'm sure that's not the correct
way.  The closest explenation I could find was somthing about the
@bdb_includes@ macro in sql/Makefile.am being resposible for this.

oop, next error, guess db-4.0.11 will not work...

Cheers,

~Jason

--


-
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




mysql-3.23.47 Compile Error on Linux

2002-02-05 Thread Jason Gurtz

Running Kernel 2.4.17 gcc-2.95.3 glibc-2.2.5

I read through the manual for hints and searched the mailing list
archives but couldn't find a similar report.

Here's the build output:

c++ -DMYSQL_SERVER  -DDEFAULT_MYSQL_HOME="\"/usr\"" 
-DDATADIR="\"/var/mysql\""  
 -DSHAREDIR="\"/usr/share/mysql\""   -DHAVE_CONFIG_H
 -I/usr/include   -I./../include
  -I./../regex-I. -I../include -I.. -I.-O3 -DDBU
G_OFF   -fno-implicit-templates -fno-exceptions -fno-rtti -c mysqld.cc
mysqld.cc: In function `int main(int, char **)':
mysqld.cc:1767: implicit declaration of function `int regex_init(...)'
make[3]: *** [mysqld.o] Error 1

Can anyone offer help?

~Jason

--


-
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