George,
my mistake - I meant "mysql" module, not "acc" - is any difference
between the Makefiles for this module? what was the path you had to add?
regards,
bogdan
Papadopoulos Georgios wrote:
The Makefile for mysql module is identical in 0.9.5 and 1.0.0.
What does the acc module have to do with this? Anyway, the Makefile for
acc module in 1.0.0 has
DEFS+=-DSQL_ACC
whereas in 0.9.5 it is commented out.
I updated the -I line in modules/mysql and works fine. So I guess the
mysql module did not use the MySQL header files in 0.9.5.
thanks a lot
George
-----Original Message-----
From: Bogdan-Andrei Iancu [mailto:[EMAIL PROTECTED]
Sent: Monday, November 07, 2005 2:45 PM
To: Papadopoulos Georgios
Cc: [email protected]
Subject: Re: [Users] Cannot compile MySQL in 1.0.0
Hi George,
it seams that the mysql hdr files (devel package) are not
found. Please check with your package manager which is the
correct path to these files and update the "-I....." in
modules/acc/Makefile
BTW, is any difference between the makefile for acc module
between your
0.9.5 and 1.0.0 versions?
regards,
bogdan
Papadopoulos Georgios wrote:
Hello,
I am trying to upgrade from 0.9.5 to 1.0.0 and I am having trouble
compiling the MySQL module (worked fine with 0.9.5).
I tried both openser-1.0.0_src.tar.gz and
openser-1.0.0-tls_src.tar.gz,
but the error was the same.
Am I missing something?
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wall -mcpu=ultrasparc
-mtune=ultrasparc -DNAME='"openser"' -DVERSION='"1.0.0"'
-DARCH='"sparc64"' -DOS='"linux"' -DCOMPILER='"gcc 3.3"'
-D__CPU_sparc64 -D__OS_linux -DCFG_DIR='"/usr/local/etc/openser/"'
-DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6
-DUSE_MCAST
-DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DF_MALLOC -DFAST_LOCK
-DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DHAVE_GETHOSTBYNAME2
-DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL
-DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -I/usr/local/include
-I/usr/local/include/mysql -I/usr/local/mysql/include
-I/usr/include/mysql -c db_mod.c -o db_mod.o
db_mod.c:35:19: mysql.h: No such file or directory
db_mod.c: In function `mysql_mod_init':
db_mod.c:87: warning: implicit declaration of function
`mysql_get_client_info'
db_mod.c:87: warning: format argument is not a pointer (arg 3)
db_mod.c:87: warning: format argument is not a pointer (arg 3)
db_mod.c:87: warning: format argument is not a pointer (arg 3)
db_mod.c:87: warning: format argument is not a pointer (arg 3)
db_mod.c:87: warning: format argument is not a pointer (arg 3)
db_mod.c:87: warning: format argument is not a pointer (arg 3)
db_mod.c:87: warning: format argument is not a pointer (arg 3)
make: *** [db_mod.o] Error 1
thank you in advance
George
_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users