Subject: MySQL pkg
To: None <port-sparc@netbsd.org>
From: Tony Gottfridsson <tony@perceptive.se>
List: port-sparc
Date: 11/14/1999 11:26:53
I've installed netbsd on this extreemly slow sparc (its alot faster than
when i used solaris on it ;-D) Since i didnt feel like reading all about
netbsd i sort of just "went to it" and installed all the stuff i wanted in
/usr/local/, when i came to  mysql it didnt compile so i went on a search...
found out about pkgsrc and did "sup -s", uninstalled all i made in
/usr/local and reinstalled from the pkg system. mysql-client went just fine,
mysql-server gave me the same error again (se below). This could be coz
mysql wont live on netbsd-sparc, but i dont think this is the problem, more
like i'm doing something wrong.
Actually i dont care about mysql, i just like to have a php3 compatible sql
so postgresql will do but when i try to install postgresql it needs X and i
dont feel like having X on this box. Any ideas? should i compile X and
postgresql or is there a mysql solution?

/regards Tony Gottfridsson <tony@perceptive.se>

/usr/pkgsrc/databases/mysql-server# make
../mit-pthreads/obj/libpthread.a(_exit.o): In function `_exit':
_exit.o(.text+0x8c): undefined reference to `machdep_sys_fcntl'
_exit.o(.text+0xac): undefined reference to `machdep_sys_fcntl'
_exit.o(.text+0xd4): undefined reference to `machdep_sys_exit'
../mit-pthreads/obj/libpthread.a(sig.o): In function `pthread_sig_default':
sig.o(.text+0x1dc): undefined reference to `machdep_sys_sigprocmask'
../mit-pthreads/obj/libpthread.a(wrapper.o): In function `link':
wrapper.o(.text+0x8): undefined reference to `machdep_sys_link'
../mit-pthreads/obj/libpthread.a(wrapper.o): In function `unlink':
wrapper.o(.text+0x50): undefined reference to `machdep_sys_unlink'
../mit-pthreads/obj/libpthread.a(wrapper.o): In function `chdir':
wrapper.o(.text+0x98): undefined reference to `machdep_sys_chdir'
../mit-pthreads/obj/libpthread.a(wrapper.o): In function `chmod':
wrapper.o(.text+0xe4): undefined reference to `machdep_sys_chmod'
../mit-pthreads/obj/libpthread.a(wrapper.o): In function `chown':
wrapper.o(.text+0x134): undefined reference to `machdep_sys_chown'
../mit-pthreads/obj/libpthread.a(wrapper.o): In function `rename':
wrapper.o(.text+0x180): undefined reference to `machdep_sys_rename'
../mit-pthreads/obj/libpthread.a(ttyname.o): In function
`__ttyname_r_basic':
ttyname.o(.text+0x1c): undefined reference to `machdep_sys_fstat'
../mit-pthreads/obj/libpthread.a(directory.o): In function `closedir':
directory.o(.text+0x80): undefined reference to `machdep_sys_close'
../mit-pthreads/obj/libpthread.a(directory.o): In function `opendir':
directory.o(.text+0x98): undefined reference to `machdep_sys_open'
directory.o(.text+0xb0): undefined reference to `machdep_sys_fcntl'
directory.o(.text+0xd8): undefined reference to `machdep_sys_close'
directory.o(.text+0x138): undefined reference to `machdep_sys_close'
../mit-pthreads/obj/libpthread.a(directory.o): In function `rewinddir':
directory.o(.text+0x370): undefined reference to `machdep_sys_lseek'
../mit-pthreads/obj/libpthread.a(directory.o): In function `seekdir':
directory.o(.text+0x3f4): undefined reference to `machdep_sys_lseek'
../mit-pthreads/obj/libpthread.a(isatty.o): In function `isatty_basic':
isatty.o(.text+0x10): undefined reference to `machdep_sys_ioctl'
collect2: ld returned 1 exit status
gmake[2]: *** [testhash] Error 1
gmake[2]: Leaving directory
`/usr/pkgsrc/databases/mysql-server/work/mysql-3.22.22/mysys'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/pkgsrc/databases/mysql-server/work/mysql-3.22.22'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.