List:General Discussion« Previous MessageNext Message »
From:Dennis Daupert Date:July 29 2002 3:24pm
Subject:Installation problem, please help
View as plain text  
I'm having a devil of a time installing mysql 3.23.51 on SuSE 8 from the
source
tarball. I did ./config, then make.

There are the last few lines from make:

 libmysql.c: In function `mysql_real_connect':
 libmysql.c:1325: warning: passing arg 5 of `gethostbyname_r' from
 incompatible pointer type
 libmysql.c:1325: too few arguments to function `gethostbyname_r'
 libmysql.c:1325: warning: assignment makes pointer from integer without a
 cast
 make[2]: *** [libmysql.lo] Error 1
 make[2]: Leaving directory
`/home/perl/downloads/db/mysql-3.23.51/libmysql'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/perl/downloads/db/mysql-3.23.51'
 make: *** [all-recursive-am] Error 2

Here's some info from the mysql debug tool:

 Submitter-Id:  ddaupert@stripped
 Originator:   ddaupert@stripped
 Organization:
 MySQL support: none
 Synopsis:      Configure/Make problem, SuSE 8.0, mysql-3.23.51
 Severity:     non-critical
 Priority:     low
 Category:     mysql
 Class:        support
 Release: mysql-3.23.51 (Source distribution)

 Environment:
      machine: Dell Optiplex GX1,
      os: SuSE Linux 2.4.18-4GB,
      target: ?
      libraries ?
 System: Linux hdeteam 2.4.18-4GB #1 Wed Mar 27 13:57:05 UTC 2002 i686
 unknown
 Architecture: i686

 Some paths:  /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc
 /usr/bin/cc
 GCC: Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.3/specs
 gcc version 2.95.3 20010315 (SuSE)
 Compilation info: CC='gcc'  CFLAGS=''  CXX='gcc'  CXXFLAGS=''  LDFLAGS=''
 LIBC:
 -rwxr-xr-x    1 root     root      1394238 Mar 23 12:34 /lib/libc.so.6
 -rw-r--r--    1 root     root     25361424 Mar 23 12:05 /usr/lib/libc.a
 -rw-r--r--    1 root     root          178 Mar 23 12:05 /usr/lib/libc.so
 Configure command:

 CFLAGS="-O3" CC=gcc CXX=gcc CXXFLAGS="-O3 -felide-constructors
 -fno-exceptions \
        -fno-rtti" ./configure --prefix=/usr/local/mysql --enable-assembler
 \
        --with-named-curses-libs=/usr/lib/curses \
        --with-mysqld-ldflags=-all-static

I've read docs until my eyes are popping out. I need a bit of a rescue
here.
TIA.

/dennis

Thread
Installation problem, please helpDennis Daupert29 Jul