Dear all,
I am compiling the MIDAS on Solaris9 and I have
successfully install MySql and Php, Apache2 and other
tools needed for MIDAS, however, it is fail to complie
when I use make common. The following are the errors:
# make
gcc -Wall -DMIDASVER=\"2.1a\" -DGETLOADAVG -
DNEEDSTRSEP -DHAVEMYSQL -c
Common/DString/DString.c
In file included from Common/Commoninclude.h:61,
from Common/DString/DString.c:37:
Common/MySQL-Abstract/mysqldb.h:30:25:
mysql/mysql.h: No such file or directory
In file included from Common/Commoninclude.h:61,
from Common/DString/DString.c:37:
Common/MySQL-Abstract/mysqldb.h:35: error: parse
error before "MYSQL_RES"
Common/MySQL-Abstract/mysqldb.h:35: warning: no
semicolon at end of struct or union
Common/MySQL-Abstract/mysqldb.h:36: warning: type
defaults to `int' in declaration of `mysql'
Common/MySQL-Abstract/mysqldb.h:36: warning: data
definition has no type or storage class
Common/MySQL-Abstract/mysqldb.h:50: error: parse
error before "dbResult"
Common/MySQL-Abstract/mysqldb.h:50: warning: type
defaults to `int' in declaration of `dbResult'
Common/MySQL-Abstract/mysqldb.h:50: warning: data
definition has no type or storage class
*** Error code 1
make: Fatal error: Command failed for target
`Common/DString/DString.o'
I have the following env variables:
# echo $PATH
/usr/local/bin:/usr/ccs/bin:/opt/sfw/bin:/usr/sbin:/usr/bin
# echo $LD_LIBRARY_PATH
/usr/local/lib:/usr/local/mysql/lib:/usr/lib
please help. Thank you very much
Logged In: YES
user_id=562122
Issued resolved with v2.2a