Hi,
        I have  HP-UX  B.10.20 A 9000/811 2002798330 two-user license
        and mysql       ./mysqladmin  Ver 7.11 Distrib 3.22.23b, for hp-hpux10.20 on
hppa1.1
        instald from depot file.
        I'd like to upgrade to mysql-3.23.37.
        Here begin the problems. I try binary distribution from mysql.com. When I
start scripts/mysql_install_db the result is:
----------------------------------------------------------------------------
-------
 Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
010520 14:25:52  Warning: setrlimit couldn't increase number of open files
to mo
re than 60
010520 14:25:52  Warning: Changed limits: max_connections: 50  table_cache:
64
scripts/mysql_install_db[292]: 12668 Memory fault(coredump)
Installation of grant tables failed!

Examine the logs in ./data for more information.
You can also try to start the mysqld daemon with:
./bin/mysqld --skip-grant &
You can use the command line tool
./bin/mysql to connect to the mysql
database and look at the grant tables:

shell> ./bin/mysql -u root mysql
mysql> show tables

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in ./data that may be helpful.

The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running
mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the ./bin/mysqlbug script!
----------------------------------------------------------------------------
------------

After I try to compile souce ditribution. Read carefuly all instuctions but
no way without errors:
gcc - 2.95.3

----------------------------------------------------------------------------
-----------
In file included from
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.3/include/s
tdio.h:11,
                 from ../include/global.h:155,
                 from mysql.cc:28:
/usr/include/sys/types.h:58: syntax error before `;'
/usr/include/sys/types.h:79: syntax error before `;'
/usr/include/sys/types.h:100: syntax error before `;'
/usr/include/sys/types.h:121: syntax error before `;'
/usr/include/sys/types.h:142: syntax error before `;'
/usr/include/sys/types.h:268: syntax error before `;'
In file included from ../include/global.h:155,
                 from mysql.cc:28:
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.3/include/stdio.h:167: type
speci
fier omitted for parameter
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.3/include/stdio.h:167: parse
erro
r before `*'
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.3/include/stdio.h:168: parse
erro
r before `*'
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.3/include/stdio.h:525: syntax
err
or before `('
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.3/include/stdio.h:526: type
speci
fier omitted for parameter
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.3/include/stdio.h:538: syntax
err
or before `('
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.3/include/stdio.h:539: type
speci
fier omitted for parameter
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.3/include/stdio.h:540: type
speci
fier omitted for parameter
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.3/include/stdio.h:540: parse
erro
r before `*'
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.3/include/stdio.h:541: parse
erro
r before `*'
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.3/include/stdio.h:559: syntax
err
or before `('
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.3/include/stdio.h:560: type
speci
fier omitted for parameter
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.3/include/stdio.h:560: parse
erro
r before `,'
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.3/include/stdio.h: In
function `l
ong int fseeko(...)':
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.3/include/stdio.h:560: `a'
undecl
ared (first use this function)
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.3/include/stdio.h:560: (Each
unde
clared identifier is reported only once
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.3/include/stdio.h:560: for
each f
unction it appears in.)
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.3/include/stdio.h:560: `b'
undecl
ared (first use this function)
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.3/include/stdio.h:560: `c'
undecl
ared (first use this function)
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.3/include/stdio.h: At top
level:
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.3/include/stdio.h:573: type
speci
fier omitted for parameter
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.3/include/stdio.h:573: parse
erro
r before `*'
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.3/include/stdio.h:574: parse
erro
r before `*'
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.3/include/stdio.h:609: parse
erro
r before `}'
In file included from /usr/include/sys/resource.h:31,
                 from /usr/include/sys/wait.h:83,
                 from
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.3/include/s
tdlib.h:231,
                 from ../include/global.h:158,
                 from mysql.cc:28:
/usr/include/sys/_rlimit_body.h:7: syntax error before `;'
/usr/include/sys/_rlimit_body.h:8: syntax error before `;'
In file included from /usr/include/sys/wait.h:83,
                 from
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.3/include/s
tdlib.h:231,
                 from ../include/global.h:158,
                 from mysql.cc:28:
/usr/include/sys/resource.h:155: `int getrlimit' redeclared as different
kind of
 symbol
/usr/include/sys/resource.h:135: previous declaration of `int getrlimit(int,
rli
mit *)'
/usr/include/sys/resource.h:155: initializer list being treated as compound
expr
ession
/usr/include/sys/resource.h:155: syntax error before `*'
/usr/include/sys/resource.h:157: `int setrlimit' redeclared as different
kind of
 symbol
/usr/include/sys/resource.h:136: previous declaration of `int setrlimit(int,
con
st rlimit *)'
/usr/include/sys/resource.h:157: initializer list being treated as compound
expr
ession
/usr/include/sys/resource.h:157: syntax error before `*'
In file included from ../include/global.h:158,
                 from mysql.cc:28:
/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.95.3/include/stdlib.h:393: parse
err
or before `}'
In file included from /usr/include/sys/fcntl.h:149,
                 from /usr/include/fcntl.h:9,
                 from ../include/global.h:176,
                 from mysql.cc:28:
/usr/include/sys/_flock_body.h:6: syntax error before `;'
/usr/include/sys/_flock_body.h:7: syntax error before `;'
In file included from /usr/include/fcntl.h:9,
                 from ../include/global.h:176,
                 from mysql.cc:28:
/usr/include/sys/fcntl.h:212: initializer list being treated as compound
express
ion
/usr/include/sys/fcntl.h:212: syntax error before `char'
/usr/include/sys/fcntl.h:212: `mode_t c' used prior to declaration
/usr/include/sys/fcntl.h:212: parse error before `{'
/usr/include/sys/fcntl.h:213: initializer list being treated as compound
express
ion
/usr/include/sys/fcntl.h:213: syntax error before `char'
/usr/include/sys/fcntl.h:213: `mode_t b' used prior to declaration
/usr/include/sys/fcntl.h:213: parse error before `{'
In file included from /usr/include/unistd.h:11,
                 from ../include/global.h:192,
                 from mysql.cc:28:
/usr/include/sys/unistd.h:92: syntax error before `('
/usr/include/sys/unistd.h:275: type specifier omitted for parameter
/usr/include/sys/unistd.h:276: type specifier omitted for parameter
/usr/include/sys/unistd.h:362: type specifier omitted for parameter
/usr/include/sys/unistd.h:426: type specifier omitted for parameter
/usr/include/sys/unistd.h:526: syntax error before `('
/usr/include/sys/unistd.h:528: `int truncate' redeclared as different kind
of sy
mbol
/usr/include/sys/unistd.h:276: previous declaration of `int truncate(const
char
*)'
/usr/include/sys/unistd.h:528: initializer list being treated as compound
expres
sion
/usr/include/sys/unistd.h:528: syntax error before `char'
/usr/include/sys/unistd.h:528: syntax error before `;'
/usr/include/sys/unistd.h:532: `int prealloc' redeclared as different kind
of sy
mbol
/usr/include/sys/unistd.h:426: previous declaration of `int prealloc(int)'
/usr/include/sys/unistd.h:532: initializer list being treated as compound
expres
sion
/usr/include/sys/unistd.h:532: syntax error before `b'
/usr/include/sys/unistd.h:533: `int lockf' redeclared as different kind of
symbo
l
/usr/include/sys/unistd.h:362: previous declaration of `int lockf(int, int)'
/usr/include/sys/unistd.h:533: initializer list being treated as compound
expres
sion
/usr/include/sys/unistd.h:533: syntax error before `c'
/usr/include/sys/unistd.h:534: `int ftruncate' redeclared as different kind
of s
ymbol
/usr/include/sys/unistd.h:275: previous declaration of `int ftruncate(int)'
/usr/include/sys/unistd.h:534: initializer list being treated as compound
expres
sion
/usr/include/sys/unistd.h:534: syntax error before `b'
/usr/include/sys/unistd.h:535: syntax error before `('
In file included from mysql.cc:28:
../include/global.h:632: syntax error before `;'
In file included from /usr/include/sys/stat.h:25,
                 from ../include/my_dir.h:27,
                 from mysql.cc:34:
/usr/include/sys/_stat_body.h:14: syntax error before `;'
/usr/include/sys/_stat_body.h:22: syntax error before `;'
In file included from ../include/my_dir.h:27,
                 from mysql.cc:34:
/usr/include/sys/stat.h:167: `int stat' redeclared as different kind of
symbol
/usr/include/sys/stat.h:108: previous declaration of `int stat(const char *,
sta
t *)'
/usr/include/sys/stat.h:167: initializer list being treated as compound
expressi
on
/usr/include/sys/stat.h:167: syntax error before `char'
/usr/include/sys/stat.h:167: conflicting types for `struct stat * b'
/usr/include/sys/fcntl.h:213: previous declaration as `mode_t b'
/usr/include/sys/stat.h:167: parse error before `{'
/usr/include/sys/stat.h:168: `int fstat' redeclared as different kind of
symbol
/usr/include/sys/stat.h:107: previous declaration of `int fstat(int, stat
*)'
/usr/include/sys/stat.h:168: initializer list being treated as compound
expressi
on
/usr/include/sys/stat.h:168: syntax error before `*'
/usr/include/sys/stat.h:169: `int lstat' redeclared as different kind of
symbol
/usr/include/sys/stat.h:143: previous declaration of `int lstat(const char
*, st
at *)'
/usr/include/sys/stat.h:169: initializer list being treated as compound
expressi
on
/usr/include/sys/stat.h:169: syntax error before `char'
/usr/include/sys/stat.h:169: redefinition of `struct stat * b'
/usr/include/sys/stat.h:167: `struct stat * b' previously declared here
/usr/include/sys/stat.h:169: parse error before `{'
In file included from mysql.cc:34:
../include/my_dir.h:98: parse error before `}'
mysql.cc: In function `int com_edit(String *, char *)':
mysql.cc:1893: `struct stat' has no member named `st_size'
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
----------------------------------------------------------------------------
---------
Can any one tell me a way to solve the problem

Thank you
Vladimir


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to