This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Compile Problem with MySQL

Old posts that have not been replied to for several years.
Locked
s
strange

Compile Problem with MySQL

Post by strange »

Hi,

I am getting the same compile error, no matter what I try. configure and make config are completing without problems, but while makeing it breaks with the following error:
gcc -pipe -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -DSTATIC `mysql_config --cflags` -DMAKING_MODS -c .././mysql.mod/mysql.c
bash: mysql_config: command not found
In file included from ../../../mysql/mysql.h:62,
from ../mysql.mod/mysql_mod.h:31,
from ../mysql.mod/mysql.c:24:
../../../mysql/my_list.h:32: parse error before "int"
*** Error code 1
make: Fatal error: Command failed for target `../mysql.o'
Current working directory /u/halle/name/home_sun/Downloads/eggdrop1.6.17/src/mod/mysql.mod
*** Error code 1
make: Fatal error: Command failed for target `mysql.mod_o'
Current working directory /u/halle/name/home_sun/Downloads/eggdrop1.6.17/src/mod
*** Error code 1
make: Fatal error: Command failed for target `static'
I already tried several (many) MySQL-versions, MySQL-devel and a self-compiled MySQL-build, but I keep getting this error. The file my_list.h is of course unchanged.

My gcc version is 3.2.2.

Anybody an idea what I could try? I'm pretty much at the end of everything I can thing of...

Thanks in advance,
strange
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

try compiling it dynamicly instead of static.
s
strange

Post by strange »

I cannot compile my TCL-library dynamicaly, if I try I am also getting a compile error. Instead I used a precompiled binary from ActiveTCL and it gave me the same error...

The operating system is SUN Solaris 9 sparc- I keep trying some things, if I can figure out what causes this error I'll post here.
Locked