Description:
The NDB/J API does not compile on customers systems. It seems that the configure/make files are broken.
How to repeat:
./BUILD/compile-pentium --prefix=/home/mysql/product/mysql-5.1.22-ndb-6.2.6 \
--with-mysql=/home/mysql/product/mysql-5.1.22-ndb-6.2.6 \
--with-debug=full \
--with-ndb-include=/home/mysql/product/mysql-5.1.22-ndb-6.2.6/include/mysql/storage/ndb
checking for stdlib.h... (cached) yes
./configure: line 21143: Xmysql: command not found
This test seems to be crap!!!
21138 ################################
21139 # CHECKS FOR MYSQL INSTALL DIR
21140 ################################
21141
21142 USERID=`id | sed -e 's/).*//; s/^.*(//;'`
21143 if "X$USERID" = "Xroot" ; then
21144 MYSQL_DIR="/usr/local/mysql"
21145 else
21146 HOMEDIR=`(cd ; pwd)`
21147 MYSQL_DIR="${HOMEDIR}/.mysql/mysql"
21148 fi
Checking for my_config.h file in /home/mysql/product/mysql-5.1.22-ndb-6.2.6/include/mysql ... yes
Checking for the NDB Header files in... /home/mysql/product/mysql-5.1.22-ndb-6.2.6/include/storage/ndb
Checking for ndb_init.h in /home/mysql/product/mysql-5.1.22-ndb-6.2.6/include/storage/ndb... no
configure: error: Could not find ndb header files (the 'include' directory) installed here: /home/mysql/product/mysql-5.1.22-ndb-6.2.6/include/storage/ndb Specify ndb include (header files) directory using: --with-ndb-include=/your/ndb/include
/home/mysql/product/mysql-5.1.22-ndb-6.2.6/include/mysql/storage/ndb/ndb_init.h
Unknown option '--with-ndb-include=/home/mysql/product/mysql-5.1.22-ndb-6.2.6/include/mysql/storage/ndb'
---------------------------------------------------------------------------
./configure --prefix=/home/mysql/product/ndbj_api-0.2 \
--with-mysql=/home/mysql/product/mysql-5.1.22-ndb-6.2.6 \
--with-debug=full \
--with-ndb-include=/home/mysql/product/mysql-5.1.22-ndb-6.2.6/include/mysql \
--with-mysql-include=/home/mysql/product/mysql-5.1.22-ndb-6.2.6/include/mysql \
checking for stdlib.h... (cached) yes
./configure: line 21143: Xmysql: command not found
You specified the mysql directory as: /home/mysql/product/mysql-5.1.22-ndb-6.2.6
Checking for mysql dir at /home/mysql/product/mysql-5.1.22-ndb-6.2.6... yes
...
Checking for my_config.h file in /home/mysql/product/mysql-5.1.22-ndb-6.2.6/include/mysql ... yes
Checking for the NDB Header files in... /home/mysql/product/mysql-5.1.22-ndb-6.2.6/include/storage/ndb
Checking for ndb_init.h in /home/mysql/product/mysql-5.1.22-ndb-6.2.6/include/storage/ndb... no
configure: error: Could not find ndb header files (the 'include' directory) installed here: /home/mysql/product/mysql-5.1.22-ndb-6.2.6/include/storage/ndb Specify ndb include (header files) directory using: --with-ndb-include=/your/ndb/include
find /home/mysql/product/mysql-5.1.22-ndb-6.2.6 -name my_config.h
/home/mysql/product/mysql-5.1.22-ndb-6.2.6/include/mysql/my_config.h
Suggested fix:
configure/make must be able to compile on more complex env than just /var/lib/mysql ...
Description: The NDB/J API does not compile on customers systems. It seems that the configure/make files are broken. How to repeat: ./BUILD/compile-pentium --prefix=/home/mysql/product/mysql-5.1.22-ndb-6.2.6 \ --with-mysql=/home/mysql/product/mysql-5.1.22-ndb-6.2.6 \ --with-debug=full \ --with-ndb-include=/home/mysql/product/mysql-5.1.22-ndb-6.2.6/include/mysql/storage/ndb checking for stdlib.h... (cached) yes ./configure: line 21143: Xmysql: command not found This test seems to be crap!!! 21138 ################################ 21139 # CHECKS FOR MYSQL INSTALL DIR 21140 ################################ 21141 21142 USERID=`id | sed -e 's/).*//; s/^.*(//;'` 21143 if "X$USERID" = "Xroot" ; then 21144 MYSQL_DIR="/usr/local/mysql" 21145 else 21146 HOMEDIR=`(cd ; pwd)` 21147 MYSQL_DIR="${HOMEDIR}/.mysql/mysql" 21148 fi Checking for my_config.h file in /home/mysql/product/mysql-5.1.22-ndb-6.2.6/include/mysql ... yes Checking for the NDB Header files in... /home/mysql/product/mysql-5.1.22-ndb-6.2.6/include/storage/ndb Checking for ndb_init.h in /home/mysql/product/mysql-5.1.22-ndb-6.2.6/include/storage/ndb... no configure: error: Could not find ndb header files (the 'include' directory) installed here: /home/mysql/product/mysql-5.1.22-ndb-6.2.6/include/storage/ndb Specify ndb include (header files) directory using: --with-ndb-include=/your/ndb/include /home/mysql/product/mysql-5.1.22-ndb-6.2.6/include/mysql/storage/ndb/ndb_init.h Unknown option '--with-ndb-include=/home/mysql/product/mysql-5.1.22-ndb-6.2.6/include/mysql/storage/ndb' --------------------------------------------------------------------------- ./configure --prefix=/home/mysql/product/ndbj_api-0.2 \ --with-mysql=/home/mysql/product/mysql-5.1.22-ndb-6.2.6 \ --with-debug=full \ --with-ndb-include=/home/mysql/product/mysql-5.1.22-ndb-6.2.6/include/mysql \ --with-mysql-include=/home/mysql/product/mysql-5.1.22-ndb-6.2.6/include/mysql \ checking for stdlib.h... (cached) yes ./configure: line 21143: Xmysql: command not found You specified the mysql directory as: /home/mysql/product/mysql-5.1.22-ndb-6.2.6 Checking for mysql dir at /home/mysql/product/mysql-5.1.22-ndb-6.2.6... yes ... Checking for my_config.h file in /home/mysql/product/mysql-5.1.22-ndb-6.2.6/include/mysql ... yes Checking for the NDB Header files in... /home/mysql/product/mysql-5.1.22-ndb-6.2.6/include/storage/ndb Checking for ndb_init.h in /home/mysql/product/mysql-5.1.22-ndb-6.2.6/include/storage/ndb... no configure: error: Could not find ndb header files (the 'include' directory) installed here: /home/mysql/product/mysql-5.1.22-ndb-6.2.6/include/storage/ndb Specify ndb include (header files) directory using: --with-ndb-include=/your/ndb/include find /home/mysql/product/mysql-5.1.22-ndb-6.2.6 -name my_config.h /home/mysql/product/mysql-5.1.22-ndb-6.2.6/include/mysql/my_config.h Suggested fix: configure/make must be able to compile on more complex env than just /var/lib/mysql ...