From: jweage
To: [EMAIL PROTECTED]
Subject: compile fails under HP-UX 11.00 missing
CBREAK
>Description:
I've configured mysql with ./configure
--prefix=/usr/arch/mysql
--disable shared. Typing make produces the following
error:
rltty.c: In function `prepare_terminal_settings':
rltty.c:288: `CBREAK' undeclared (first use in this
function)
rltty.c:288: (Each undeclared identifier is reported
only once
rltty.c:288: for each function it appears in.)
It also complained about TIOCSETN being undefined.
That is defined in
strtio.h.
I searched through the include files on the system and
can't find CBREAK
anywhere.
The specs listed below are wrong, I'm using gcc 3.0.
>How-To-Repeat:
>Fix:
Add <strtio.h> as an include for
readline/rltty.c
>Submitter-Id: <submitter ID>
>Originator: [EMAIL PROTECTED]
>Organization:
>MySQL support: [none ]
>Synopsis: Compile failure under HP-UX 11.00
>Severity: critical
>Priority: <[ low | medium | high ] (one line)>
>Category: mysql
>Class: sw-bug
>Release: mysql-3.23.42 (Source distribution)
>Environment:
<machine, os, target, libraries (multiple
lines)>
System: HP-UX atgdet05 B.11.00 U 9000/800 618309362
unlimited-user license
Some paths: /usr/arch/bin/perl /usr/arch/bin/make
/usr/arch/bin/gmake /usr/arch/bin/gcc /usr/bin/cc
GCC: Reading specs from
/usr/arch/gcc-2.95.3/lib/gcc-lib/hppa2.0w-hp-hpux11.00/2.95.3/specs
gcc version 2.95.3 20010315 (release)
Compilation info: CC='gcc' CFLAGS='' CXX='gcc'
CXXFLAGS='' LDFLAGS=''
LIBC:
lrwxr-xr-x 1 root adm 8 Jul 13
1999 /lib/libc.0 -> ./libc.1
-r-xr-xr-x 1 bin bin 1863680 Nov 18
1999 /lib/libc.1
-r-xr-xr-x 1 bin bin 1527808 Jan 6
2000 /lib/libc.2
-r--r--r-- 1 bin bin 2172536 Jan 6
2000 /lib/libc.a
lrwxr-xr-x 1 root adm 15 Jul 13
1999 /lib/libc.sl -> /usr/lib/libc.2
lrwxr-xr-x 1 root adm 8 Jul 13
1999 /usr/lib/libc.0 -> ./libc.1
-r-xr-xr-x 1 bin bin 1863680 Nov 18
1999 /usr/lib/libc.1
-r-xr-xr-x 1 bin bin 1527808 Jan 6
2000 /usr/lib/libc.2
-r--r--r-- 1 bin bin 2172536 Jan 6
2000 /usr/lib/libc.a
lrwxr-xr-x 1 root adm 15 Jul 13
1999 /usr/lib/libc.sl -> /usr/lib/libc.2
Configure command: ./configure
--with-unix-socket-path=/var/tmp/mysql.sock
--with-low-memory --with-mit-threads=yes
--without-perl --ena
ble-thread-safe-client --with-berkeley-db
--with-innodb
=====
--
-- <http://origin.me.gatech.edu/~weage> --
-- <http://members.xoom.com/joshua_weage> --
-- <http://weage.freeservers.com/> --
__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/
---------------------------------------------------------------------
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