FreeBSD 4.10 and MySQL 4.1.4/4.1.5

2004-09-23 Thread Pelle Andersson

Hi!

I am trying to ´make install clean´ MySQL 4.1.5 from ports.
It does not seem to build correctly on FreeBSD 4.10.
I also had these problems with MySQL 4.1.4, wich is
reported as a bug (http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/71352)

Is it possible that MySQL 4.1.5 still suffering from the same bug that the
earlier version 4.1.4 did?

When using the older version 4.1.3 of MySQL from ports, everything was
working perfect.
Is it possible to go back to that version after a ports-cvsup?

Uname -a:
FreeBSD frodo.mydomain.tld 4.10-RELEASE-p3 FreeBSD 4.10-RELEASE-p3 #4: Tue
Sep 21 07:40:58 CEST 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/FBOPTI i386


START-
cc -DDEFAULT_BASEDIR=\/usr/local\ -DDATADIR=\/www/mysql\
-DDEFAULT_CHARSET_HOME=\/usr/local\ -DSH
AREDIR=\/usr/local/share/mysql\ -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/include -I../include -I.-DDBUG_
OFF -O -pipe  -D_THREAD_SAFE   -c `test -f 'md5.c' || echo './'`md5.c
md5.c:71: syntax error before `PROTO_LIST'
md5.c:72: syntax error before `PROTO_LIST'
md5.c:74: syntax error before `PROTO_LIST'
md5.c:127: syntax error before `*'
md5.c: In function `my_MD5Init':
md5.c:129: `context' undeclared (first use in this function)
md5.c:129: (Each undeclared identifier is reported only once
md5.c:129: for each function it appears in.)
md5.c: At top level:
md5.c:144: syntax error before `*'
md5.c: In function `my_MD5Update':
md5.c:151: `context' undeclared (first use in this function)
md5.c:155: `UINT4' undeclared (first use in this function)
md5.c:155: syntax error before `inputLen'
md5.c:156: syntax error before `inputLen'
md5.c:158: syntax error before `inputLen'
md5.c:164: `inputLen' undeclared (first use in this function)
md5.c:165: `POINTER' undeclared (first use in this function)
md5.c:165: syntax error before `input'
md5.c:169: `input' undeclared (first use in this function)
md5.c: At top level:
md5.c:187: syntax error before `my_MD5_CTX'
md5.c: In function `my_MD5Final':
md5.c:193: `context' undeclared (first use in this function)
md5.c:205: `digest' undeclared (first use in this function)
md5.c:209: `POINTER' undeclared (first use in this function)
md5.c:209: syntax error before `context'
md5.c: At top level:
md5.c:215: syntax error before `state'
md5.c:217: warning: `MD5Transform' was declared implicitly `extern' and
later `static'
md5.c:166: warning: previous declaration of `MD5Transform'
md5.c:217: warning: type mismatch with previous implicit declaration
md5.c:166: warning: previous implicit declaration of `MD5Transform'
md5.c:217: warning: `MD5Transform' was previously implicitly declared to
return `int'
md5.c: In function `MD5Transform':
md5.c:218: syntax error before `a'
md5.c:220: `x' undeclared (first use in this function)
md5.c:220: `block' undeclared (first use in this function)
md5.c:223: `a' undeclared (first use in this function)
md5.c:223: `b' undeclared (first use in this function)
md5.c:223: `c' undeclared (first use in this function)
md5.c:223: `d' undeclared (first use in this function)
md5.c:223: `UINT4' undeclared (first use in this function)
md5.c:295: `state' undeclared (first use in this function)
md5.c:302: `POINTER' undeclared (first use in this function)
md5.c:302: syntax error before `x'
md5.c: At top level:
md5.c:310: syntax error before `UINT4'
md5.c:312: warning: `Encode' was declared implicitly `extern' and later
`static'
md5.c:193: warning: previous declaration of `Encode'
md5.c:312: warning: type mismatch with previous implicit declaration
md5.c:193: warning: previous implicit declaration of `Encode'
md5.c:312: warning: `Encode' was previously implicitly declared to return
`int'
md5.c: In function `Encode':
md5.c:315: `len' undeclared (first use in this function)
md5.c:316: `output' undeclared (first use in this function)
md5.c:316: `input' undeclared (first use in this function)
md5.c: At top level:
md5.c:328: syntax error before `*'
md5.c:331: warning: `Decode' was declared implicitly `extern' and later
`static'
md5.c:220: warning: previous declaration of `Decode'
md5.c:331: warning: type mismatch with previous implicit declaration
md5.c:220: warning: previous implicit declaration of `Decode'
md5.c:331: warning: `Decode' was previously implicitly declared to return
`int'
md5.c: In function `Decode':
md5.c:334: `len' undeclared (first use in this function)
md5.c:335: `output' undeclared (first use in this function)
md5.c:335: `UINT4' undeclared (first use in this function)
md5.c:335: syntax error before `input'
md5.c:335: syntax error before `input'
md5.c:336: syntax error before `input'
md5.c:336: syntax error before `input'
gmake[2]: *** [md5.o] Error 1
gmake[2]: Leaving directory
`/usr/ports/databases/mysql41-server/work/mysql-4.1.5-gamma/mysys'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/databases/mysql41-server/work/mysql-4.1.5-gamma'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/databases/mysql41-server.
---STOP---

BEST 

RE: FreeBSD 4.10 and MySQL 4.1.4/4.1.5

2004-09-23 Thread Ted Mittelstaedt
You should e-mail the maintainer of the port directly first, before
sending this to questions.

let us know if you don't get a response from the port maintainer.

Ted

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Pelle Andersson
 Sent: Wednesday, September 22, 2004 11:56 PM
 To: [EMAIL PROTECTED]
 Subject: FreeBSD 4.10 and MySQL 4.1.4/4.1.5



 Hi!

 I am trying to ´make install clean´ MySQL 4.1.5 from ports.
 It does not seem to build correctly on FreeBSD 4.10.
 I also had these problems with MySQL 4.1.4, wich is
 reported as a bug (http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/71352)

 Is it possible that MySQL 4.1.5 still suffering from the same bug that the
 earlier version 4.1.4 did?

 When using the older version 4.1.3 of MySQL from ports, everything was
 working perfect.
 Is it possible to go back to that version after a ports-cvsup?

 Uname -a:
 FreeBSD frodo.mydomain.tld 4.10-RELEASE-p3 FreeBSD 4.10-RELEASE-p3 #4: Tue
 Sep 21 07:40:58 CEST 2004
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FBOPTI i386


 START-
 cc -DDEFAULT_BASEDIR=\/usr/local\ -DDATADIR=\/www/mysql\
 -DDEFAULT_CHARSET_HOME=\/usr/local\ -DSH
 AREDIR=\/usr/local/share/mysql\ -DHAVE_CONFIG_H -I. -I. -I..
 -I/usr/include -I../include -I.-DDBUG_
 OFF -O -pipe  -D_THREAD_SAFE   -c `test -f 'md5.c' || echo './'`md5.c
 md5.c:71: syntax error before `PROTO_LIST'
 md5.c:72: syntax error before `PROTO_LIST'
 md5.c:74: syntax error before `PROTO_LIST'
 md5.c:127: syntax error before `*'
 md5.c: In function `my_MD5Init':
 md5.c:129: `context' undeclared (first use in this function)
 md5.c:129: (Each undeclared identifier is reported only once
 md5.c:129: for each function it appears in.)
 md5.c: At top level:
 md5.c:144: syntax error before `*'
 md5.c: In function `my_MD5Update':
 md5.c:151: `context' undeclared (first use in this function)
 md5.c:155: `UINT4' undeclared (first use in this function)
 md5.c:155: syntax error before `inputLen'
 md5.c:156: syntax error before `inputLen'
 md5.c:158: syntax error before `inputLen'
 md5.c:164: `inputLen' undeclared (first use in this function)
 md5.c:165: `POINTER' undeclared (first use in this function)
 md5.c:165: syntax error before `input'
 md5.c:169: `input' undeclared (first use in this function)
 md5.c: At top level:
 md5.c:187: syntax error before `my_MD5_CTX'
 md5.c: In function `my_MD5Final':
 md5.c:193: `context' undeclared (first use in this function)
 md5.c:205: `digest' undeclared (first use in this function)
 md5.c:209: `POINTER' undeclared (first use in this function)
 md5.c:209: syntax error before `context'
 md5.c: At top level:
 md5.c:215: syntax error before `state'
 md5.c:217: warning: `MD5Transform' was declared implicitly `extern' and
 later `static'
 md5.c:166: warning: previous declaration of `MD5Transform'
 md5.c:217: warning: type mismatch with previous implicit declaration
 md5.c:166: warning: previous implicit declaration of `MD5Transform'
 md5.c:217: warning: `MD5Transform' was previously implicitly declared to
 return `int'
 md5.c: In function `MD5Transform':
 md5.c:218: syntax error before `a'
 md5.c:220: `x' undeclared (first use in this function)
 md5.c:220: `block' undeclared (first use in this function)
 md5.c:223: `a' undeclared (first use in this function)
 md5.c:223: `b' undeclared (first use in this function)
 md5.c:223: `c' undeclared (first use in this function)
 md5.c:223: `d' undeclared (first use in this function)
 md5.c:223: `UINT4' undeclared (first use in this function)
 md5.c:295: `state' undeclared (first use in this function)
 md5.c:302: `POINTER' undeclared (first use in this function)
 md5.c:302: syntax error before `x'
 md5.c: At top level:
 md5.c:310: syntax error before `UINT4'
 md5.c:312: warning: `Encode' was declared implicitly `extern' and later
 `static'
 md5.c:193: warning: previous declaration of `Encode'
 md5.c:312: warning: type mismatch with previous implicit declaration
 md5.c:193: warning: previous implicit declaration of `Encode'
 md5.c:312: warning: `Encode' was previously implicitly declared to return
 `int'
 md5.c: In function `Encode':
 md5.c:315: `len' undeclared (first use in this function)
 md5.c:316: `output' undeclared (first use in this function)
 md5.c:316: `input' undeclared (first use in this function)
 md5.c: At top level:
 md5.c:328: syntax error before `*'
 md5.c:331: warning: `Decode' was declared implicitly `extern' and later
 `static'
 md5.c:220: warning: previous declaration of `Decode'
 md5.c:331: warning: type mismatch with previous implicit declaration
 md5.c:220: warning: previous implicit declaration of `Decode'
 md5.c:331: warning: `Decode' was previously implicitly declared to return
 `int'
 md5.c: In function `Decode':
 md5.c:334: `len' undeclared (first use in this function)
 md5.c:335: `output' undeclared (first use in this function)
 md5.c:335: `UINT4' undeclared (first use in this function)
 md5.c:335: syntax error before `input'
 md5.c