pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: databases/mysql5-server fails to build



Takahiro Kambe wrote:
In message <4794438F.1020708%NetBSD.org@localhost>
        on Mon, 21 Jan 2008 08:02:39 +0100,
        Roland Illig <rillig%NetBSD.org@localhost> wrote:
ngs/libmystrings.a -lz -lwrap -lssl -lcrypto -lcrypt -lm -lpthread -L /usr/pkgsrc/databases/mysql5-server/work/.buildlink/lib
stacktrace.o: In function `write_core':
stacktrace.c:(.text+0x29): undefined reference to `sigsend'
By looking at the code, this means that somewhere the preprocessor macro P_MYID must be defined. I cannot find this definition in my 4.99.30 installation, neither in /usr/pkg/include nor in /usr/include nor in mysql5-server itself.
P_MYID is defined in <sys/pset.h>:

/* ID types for processor-set calls */
#define P_MYID                  -1
#define P_PID                   1
#define P_LWPID                 2

It is added recently.

/usr/include/sys/pset.h:
     $NetBSD: pset.h,v 1.1 2008/01/15 03:41:50 rmind Exp $

Thanks for the information. I think I have fixed the mysql-server package. Please try again:

cd databases/mysql5-client && cvs -dP update
cd ../../databases/mysql5-server && cvs -dP update
bmake clean
bmake

Roland



Home | Main Index | Thread Index | Old Index