Subject: Installing mySQL
To: None <port-amiga@netbsd.org>
From: Ola Olsson <oeolsson@tmisnet.com>
List: port-amiga
Date: 03/01/1999 15:50:49
Can anyone show me how to successfully compile and install MySQL on
NetBSD 1.3.3? I've installed the following required packages:

   gmake-3.77
   gtexinfo-3.12
   perl-5.00404
   pkglibtool-1.2

I get the following errors when running gmake:

-------------------- snip ------------------

Making all in mit-pthreads
gmake[2]: Entering directory `/olao/mysql-3.21.33b/mit-pthreads'
gcc -I. -Iinclude -I/olao/mysql-3.21.33b/mit-pthreads/include
-DPTHREAD_KERNEL -g -O2 -Werror -c
/olao/mysql-3.21.33b/mit-pthreads/net/gethostbyaddr.c -o
obj/gethostbyaddr.o
In file included from include/pthread/machdep.h:8,
                 from include/pthread.h:49,
                 from /olao/mysql-3.21.33b/mit-pthreads/net/gethostbyaddr.c:40:
include/unistd.h:40: sys/__unistd.h: No such file or directory
In file included from /usr/include/sys/time.h:168,
                 from include/pthread/machdep.h:10,
                 from include/pthread.h:49,
                 from /olao/mysql-3.21.33b/mit-pthreads/net/gethostbyaddr.c:40:
include/time.h:46: sys/__time.h: No such file or directory
In file included from include/pthread/sleep.h:42,
                 from include/pthread.h:54,
                 from /olao/mysql-3.21.33b/mit-pthreads/net/gethostbyaddr.c:40:
include/timers.h:43: sys/timers.h: No such file or directory
In file included from include/pthread.h:71,
                 from /olao/mysql-3.21.33b/mit-pthreads/net/gethostbyaddr.c:40:
include/signal.h:41: sys/__signal.h: No such file or directory
In file included from /olao/mysql-3.21.33b/mit-pthreads/net/gethostbyaddr.c:41:
include/stdio.h:46: pthread/posix.h: No such file or directory
include/stdio.h:47: sys/__stdio.h: No such file or directory
In file included from /olao/mysql-3.21.33b/mit-pthreads/net/gethostbyaddr.c:42:
include/string.h:42: pthread/posix.h: No such file or directory
include/string.h:43: sys/__string.h: No such file or directory
In file included from /olao/mysql-3.21.33b/mit-pthreads/net/gethostbyaddr.c:43:
include/stdlib.h:46: sys/__stdlib.h: No such file or directory
gmake[2]: *** [obj/gethostbyaddr.o] Error 1
gmake[2]: Leaving directory `/olao/mysql-3.21.33b/mit-pthreads'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/olao/mysql-3.21.33b'
gmake: *** [all-recursive-am] Error 2

-------------------- snip ----------------

I've tried just ./configure and ./configure --with-mit-threads with
the same results (making sure to clean up between times).

Thanks.
Ola

--
/**************
/** Ola Olsson
/** oeolsson@tmisnet.com
/** http://www.tmisnet.com/~oeolsson
/** "I learn so I can teach so I can learn."
/**************