Hi all, I am attempting to build mysql-4.0.1-alpha on an HP-UX 11.00 box because the 
binary I installed worked, 
but I couldnet connect to the database by typing in a password at the prompt, I had to 
actually pass it on the command line.
I figured there might be a few other odd behaviors that would show themselves later...

I did a configure, and then a make, and it errored out when it was compiling rltty.c, 
which deals with reading information from the terminal... (Sounds familliar)
I was advised to reconfigure with --without-readline (which will use the system 
supplied readline instead of mysql's readline).  I did this and I got further.  
Now when I do a make, it is erroring on the following in libmysql.c

some info..
using gcc version 3.0.1
using gmake version 3.79.1

Here is the errors it is returning
libmysql.c: In function `read_user_name':
libmysql.c:524: warning: assignment makes pointer from integer without a cast
libmysql.c:526: warning: assignment makes pointer from integer without a cast
libmysql.c:527: dereferencing pointer to incomplete type
libmysql.c:528: warning: assignment makes pointer from integer without a cast
libmysql.c:528: warning: assignment makes pointer from integer without a cast
libmysql.c:529: warning: assignment makes pointer from integer without a cast
libmysql.c: In function `mysql_once_init':
libmysql.c:1344: warning: assignment makes pointer from integer without a cast
libmysql.c:1357: warning: assignment makes pointer from integer without a cast
libmysql.c: In function `mysql_real_connect':
libmysql.c:1505: warning: assignment makes pointer from integer without a cast
*** Error exit code 

Here is the out of mysqlbug, taken from the binary instance I had built and still have 
on the system, it is not running or active..
Everything is the same, except I built with gnu make...
Release:    mysql-3.23.49 (Official MySQL binary)

Environment:
<machine, os, target, libraries (multiple lines)>
System: HP-UX u3p1util B.11.00 U 9000/800 164951547 unlimited-user license

Some paths:  /usr/bin/perl /usr/bin/make /opt/gcc/bin/gcc /usr/bin/cc
GCC: Reading specs from /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.1/specs
Configured with: ./configure  : (reconfigured) ./configure  : (reconfigured) 
./configure  : (reconfigured) ./configure  : (reconfigured) ./configure 
Thread model: single
gcc version 3.0.1
Compilation info: CC='gcc'  CFLAGS='-DHPUX -I/opt/dce/include -O3'  CXX='gcc'  
CXXFLAGS='-DHPUX -I/opt/dce/include -felide-constructors -fno-exceptions -fno-rtti -O3 
'  LDFLAGS=''
LIBC: 
lrwxr-xr-x   1 root       sys              8 Jul 31  2001 /lib/libc.0 -> ./libc.1
-r-xr-xr-x   1 bin        bin        1867776 May  2  2001 /lib/libc.1
-r-xr-xr-x   1 bin        bin        1552384 Mar 30  2001 /lib/libc.2
-r--r--r--   1 bin        bin        2176124 Mar 30  2001 /lib/libc.a
lrwxr-xr-x   1 root       sys             15 Jul 31  2001 /lib/libc.sl -> 
/usr/lib/libc.2
lrwxr-xr-x   1 root       sys              8 Jul 31  2001 /usr/lib/libc.0 -> ./libc.1
-r-xr-xr-x   1 bin        bin        1867776 May  2  2001 /usr/lib/libc.1
-r-xr-xr-x   1 bin        bin        1552384 Mar 30  2001 /usr/lib/libc.2
-r--r--r--   1 bin        bin        2176124 Mar 30  2001 /usr/lib/libc.a
lrwxr-xr-x   1 root       sys             15 Jul 31  2001 /usr/lib/libc.sl -> 
/usr/lib/libc.2
Configure command: ./configure  --prefix=/usr/local/mysql '--with-comment=Official 
MySQL binary' --with-extra-charsets=complex --with-server-suffix= 
--enable-thread-safe-client --with-pthread --with-named-thread-libs=-ldce 
--with-lib-ccflags=-fpic --disable-shared

The only thing I can think of, is I think HP has a problem with some code that uses 
geteuid and seteuid.  I remember reading something along those lines...??

Anyone have any clues?
Thanks,

Taylor Lewick
Unix System Administrator
Fortis Benefits
816 881 6073

"Help Wanted.  Seeking Telepath..."
"You Know where to apply."

****************************************************************
                        Please Note
The information in this E-mail message is legally privileged
and confidential information intended only for the use of the
individual(s) named above. If you, the reader of this message,
are not the intended recipient, you are hereby notified that 
you should not further disseminate, distribute, or forward this
E-mail message. If you have received this E-mail in error,
please notify the sender. Thank you
*****************************************************************

---------------------------------------------------------------------
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