Menu

#1 Compile issues

open
nobody
None
5
2011-07-18
2011-07-18
Anonymous
No

Compiling on CentOS 5.6 x64 with Percona 5.1.

.configure - was unable to find mysql.h

Then ran

./configure --with-mysql /usr/src/redhat/BUILD/Percona-Server-5.1.57

This created the make file however when run it did not include a proper path to the source. Instead it the it have a 'yes' like this.

gcc -DHAVE_CONFIG_H -I. -Iyes/include -Iyes/include/mysql -Wall -g -O2 -MT mycleaner.o -MD -MP -MF .deps/mycleaner.Tpo -c -o mycleaner.o mycleaner.c

I relaced the yes witht the proper path:

gcc -DHAVE_CONFIG_H -I. -I/usr/src/redhat/SOURCES/Percona-Server-5.1.57 -I/usr/src/redhat/SOURCES/Percona-Server-5.1.57/include -Wall -g -O2 -MT mycleaner.o -MD -MP -MF .deps/mycleaner.Tpo -c -o mycleaner.o mycleaner.c

The resulting compile ended with this error:

mycleaner.c: In function ExecuteStmt:
mycleaner.c:781: warning: implicit declaration of function rpl_malloc
mycleaner.c:781: warning: assignment makes pointer from integer without a cast

Discussion

MongoDB Logo MongoDB