Compiling from source:

Platform is RHEL 4.0

# gcc -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.4/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-java-awt=gtk
--host=i386-redhat-linux
Thread model: posix
gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)

----configure-----
CC=gcc ./configure \
--prefix=/usr/local/mysql-5.0.15-i686-linux-rhel4
--with-libwrap=/usr/lib \
--with-ndbcluster --with-ndb-shm \
--with-ndb-sci

The above configure runs fine. "make" ends with:

then mv -f ".deps/sql_map.Tpo" ".deps/sql_map.Po"; else rm -f
".deps/sql_map.Tpo"; exit 1; fi
if g++ -DMYSQL_SERVER
-DDEFAULT_MYSQL_HOME="\"/usr/local/mysql-5.0.15-i686-linux-rhel4\""
-DDATADIR="\"/usr/local/mysql-5.0.15-i686-linux-rhel4/var\""
-DSHAREDIR="\"/usr/local/mysql-5.0.15-i686-linux-rhel4/share/mysql\""
-DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I../ndb/include
-I../ndb/include/ndbapi -I../ndb/include/mgmapi -I../include
-I../include -I../regex -I. -I/usr/lib/include -O3 -DDBUG_OFF
-fno-implicit-templates -fno-exceptions -fno-rtti -MT mysqld.o -MD -MP
-MF ".deps/mysqld.Tpo" -c -o mysqld.o mysqld.cc; \
then mv -f ".deps/mysqld.Tpo" ".deps/mysqld.Po"; else rm -f
".deps/mysqld.Tpo"; exit 1; fi
mysqld.cc: In function `int main(int, char**)':
mysqld.cc:3279: error: invalid conversion from `const char*' to `char*'
make[4]: *** [mysqld.o] Error 1
make[4]: Leaving directory `/usr/local/src/mysql-5.0.15/sql'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/mysql-5.0.15/sql'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/mysql-5.0.15/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/mysql-5.0.15'
make: *** [all] Error 2

Any clues?

Eric Stewart - Network Admin, USF Tampa Library - [EMAIL PROTECTED]
Managing sysadmins is like leading a neighborhood gang of neurotic pumas
       on jet-powered hoverbikes with nasty smack habits and opposable
       thumbs. - Feen, Benjy: Pumas on Hoverbikes: Sysadmin Management,
       http://www.monkeybagel.com/pumas.html

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to