>Description:
I want to use MySQL on a HP9000/800 server mith HP-UX 10.20:
+ HP9000/839 K210, 1 Processor HPPA1.1 7200 (32 Bit), 256 MB RAM
1. Binary Distribution
----------------------
Version: mysql-3.23.53-hp-hpux10.20-hppa1.1
Installation: OK, my.cnf: small, medium
Configuring/Running: ERROR --> Programm aborted
# scripts/mysql_install_db
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
021104 7:43:03 Warning: setrlimit couldn't increase number of open
files to more than 60
021104 7:43:03 Warning: Changed limits: max_connections: 43
table_cache: 64
scripts/mysql_install_db[292]: 28678 Memory fault(coredump)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Installation of grant tables failed!
......
# ./bin/mysqld --skip-grant --user=mysql
# ./bin/mysqld --skip-grant-tables --user=mysql
021104 7:56:10 Warning: setrlimit couldn't increase number of open
files to more than 60
021104 7:56:10 Warning: Changed limits: max_connections: 43
table_cache: 64
Memory fault(coredump)
^^^^^^^^^^^^^^^^^^^^^^
2. Source Distribution
----------------------
Version: mysql-3.23.53.tar.gz
gtar: 1.13
gmake: 3.80
gcc: 2.95.3
My "conf.sh":
#
# configuration MySQL 3.23.53 HP-UX 10.20
#
### !!! /opt/dce/include is not installed
### !!! Therefore I want to use the builtin MIT Threads.
CFLAGS="-DHPUX" \
CXXFLAGS="-DHPUX -felide-constructors -fno-exceptions -fno-rtti" \
CXX=gcc \
CC=gcc \
./configure \
--with-mit-threads \
--prefix=/usr/local/mysql \
--localstatedir=/usr/local/mysql/data \
--with-low-memory \
--with-mysqld-ldflags=-all-static \
--disable-shared \
--with-extra-charset=complex
( and some other options tried too ).
There is the compile error:
file "pthread.h" not found ( I use "gmake 3.80" , hint of the manual)
[.......]
/bin/sh ../libtool --mode=link gcc -O3 -DDBUG_OFF -DHPUX -fpic -DHAVE_BROKEN_S
NPRINTF -DSIGNALS_DONT_BREAK_READ -DDO_NOT_REMOVE_THREAD_WRAPPERS -DHPUX -DSIGNA
L_WITH_VIO_CLOSE -DHAVE_BROKEN_PTHREAD_COND_TIMEDWAIT -DHAVE_POSIX1003_4a_MUTEX
-o thread_test thread_test.o ../libmysql/libmysqlclient.la -lcrypt -lm
gcc -O3 -DDBUG_OFF -DHPUX -fpic -DHAVE_BROKEN_SNPRINTF -DSIGNALS_DONT_BREAK_READ
-DDO_NOT_REMOVE_THREAD_WRAPPERS -DHPUX -DSIGNAL_WITH_VIO_CLOSE -DHAVE_BROKEN_PT
HREAD_COND_TIMEDWAIT -DHAVE_POSIX1003_4a_MUTEX -o thread_test thread_test.o ../l
ibmysql/.libs/libmysqlclient.a -lcrypt -lm -lcrypt -lm
make[2]: Leaving directory `/disc4/leo/mysql-3.23.53/client'
Making all in strings
make[2]: Entering directory `/disc4/leo/mysql-3.23.53/strings'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I../include -O3 -DDBUG_OFF -
DHPUX -fpic -DHAVE_BROKEN_SNPRINTF -DSIGNALS_DONT_BREAK_READ -DDO_NOT_REMOVE_TH
READ_WRAPPERS -DHPUX -DSIGNAL_WITH_VIO_CLOSE -DHAVE_BROKEN_PTHREAD_COND_TIMEDWAI
T -DHAVE_POSIX1003_4a_MUTEX -c strxmov.c
In file included from strxmov.c:33:
../include/global.h:94: pthread.h: No such file or directory
make[2]: *** [strxmov.o] Error 1
make[2]: Leaving directory `/disc4/leo/mysql-3.23.53/strings'
make[1]: Leaving directory `/disc4/leo/mysql-3.23.53'
make: *** [all-recursive-am] Error 2
>How-To-Repeat:
- Binary 3.23.52 was not running because of missing shared libraries
of gcc ff. included.
- Source code 3.23.52 same compiler error as 3.23.53
>Fix:
none :-(
Please answer:
there are some additional conditions for use of MySQL
on HP-UX 10.20?
I would like to the binary distribution
>Submitter-Id: <submitter ID>
>Originator: Leonhard Knauff
>Organization:
Martin-Luther-University Halle-Wittenberg
Computer Center
D-06099 Halle/Saale
Germany
>MySQL support: none ?
>Synopsis: MySQL 3.23.53 on HP-UX 10.20
>Severity: non-critical
>Priority: high
>Category: mysql
>Class: support
>Release: mysql-3.23.53 (Source distribution), Binary on HP-UX10.20
>Environment:
System: HP-UX mlucom6 B.10.20 E 9000/839 1242821372 8-user license
Some paths: /bin/perl /usr/local/bin/make /usr/local/bin/gmake /bin/cc
Compilation info: CC='gcc' CFLAGS='-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs
-Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings
-Wunused -mcpu=pentiumpro -O3 -fno-omit-frame-pointer' CXX='gcc'
CXXFLAGS='-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts
-Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Woverloaded-virtual
-Wsign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor -felide-constructors
-fno-exceptions -fno-rtti -mcpu=pentiumpro -O3 -fno-omit-frame-pointer' LDFLAGS=''
LIBC:
-r-xr-xr-x 1 bin bin 1867776 Sep 5 15:06 /lib/libc.1
-r--r--r-- 1 bin bin 2457280 Sep 5 15:06 /lib/libc.a
lrwxr-xr-x 1 root sys 15 Jul 15 1997 /lib/libc.sl ->
/usr/lib/libc.1
-r-xr-xr-x 1 bin bin 1867776 Sep 5 15:06 /usr/lib/libc.1
-r--r--r-- 1 bin bin 2457280 Sep 5 15:06 /usr/lib/libc.a
lrwxr-xr-x 1 root sys 15 Jul 15 1997 /usr/lib/libc.sl ->
/usr/lib/libc.1
Configure command: ./configure --prefix=/usr/local/mysql --enable-assembler
--with-extra-charsets=complex --enable-thread-safe-client --with-innodb
--with-berkeley-db --enable-thread-safe-client 'CFLAGS=-Wimplicit -Wreturn-type
-Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses
-Wsign-compare -Wwrite-strings -Wunused -mcpu=pentiumpro -O3 -fno-omit-frame-pointer'
'CXXFLAGS=-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts
-Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Woverloaded-virtual
-Wsign-promo -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor -felide-constructors
-fno-exceptions -fno-rtti -mcpu=pentiumpro -O3 -fno-omit-frame-pointer' CXX=gcc
Perl: This is perl, version 5.005_03 built for PA-RISC1.1
Please can you help?
Sincerly,
Leonhard Knauff
---------------------------------------------------------------------
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 <mysql-unsubscribe-##L=##[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php