MySQL port compile problems [was Re: rb-rubygems does not work]
[email protected] Thu, 24 Aug 2006 09:27:20 -0700
| Newsgroups | gmane.os.opendarwin.darwinports |
|---|---|
| Message-ID | <[email protected]> |
On 8/24/06, Ryan Schmidt <[email protected]> wrote: > On Aug 24, 2006, at 09:16, [email protected] wrote: [snip] > > i have used it several times and haven't had any problems (although > > this morning i found that the mysql5 port seems hosed on ppc/10.4.7 - > > didn't have that problem on intel last week). i routinely install via > > What's the matter with the mysql5 port? > > FYI I submitted a bug to request that it be updated to 5.0.24. > > http://bugzilla.opendarwin.org/show_bug.cgi?id=10534 it appears to die during compile (which is strange since i installed 5.0.22 on an intel machine recently without issue). i can put the full log somewhere if you'd like to inspect it. regards, jean-pierre % sudo port selfupdate && sudo port install mysql5 +server DarwinPorts base version 1.320 installed Downloaded MacPorts base version 1.320 The MacPorts installation is not outdated and so was not updated selfupdate done! ---> Fetching mysql5 ---> mysql-5.0.22.tar.gz doesn't seem to exist in /opt/local/var/db/dports/distfiles/mysql5 ---> Attempting to fetch mysql-5.0.22.tar.gz from http://mysql.mirrors.pair.com/Downloads/MySQL-5.0/ ---> Verifying checksum(s) for mysql5 ---> Checksumming mysql-5.0.22.tar.gz ---> Extracting mysql5 ---> Extracting mysql-5.0.22.tar.gz ---> Configuring mysql5 checking build system type... powerpc-apple-darwin8.7.0 [...] if /usr/bin/gcc-4.0 -DDEFAULT_BASEDIR=\"/opt/local\" -DDATADIR="\"/opt/local/var/db/mysql5\"" -DDEFAULT_CHARSET_HOME="\"/opt/local\"" -DSHAREDIR="\"/opt/local/share/mysql5/mysql\"" -DDEFAULT_HOME_ENV=MYSQL_HOME -DDEFAULT_GROUP_SUFFIX_ENV=MYSQL_GROUP_SUFFIX -DDEFAULT_SYSCONFDIR="\"/opt/local/etc/mysql5\"" -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I../include -I../include -I. -O -DDBUG_OFF -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -MT sha1.o -MD -MP -MF ".deps/sha1.Tpo" -c -o sha1.o sha1.c; \ then mv -f ".deps/sha1.Tpo" ".deps/sha1.Po"; else rm -f ".deps/sha1.Tpo"; exit 1; fi sha1.c:64: error: parse error before '*' token sha1.c:65: error: parse error before '*' token sha1.c:95: error: parse error before '*' token sha1.c: In function 'mysql_sha1_reset': sha1.c:102: error: 'context' undeclared (first use in this function) sha1.c:102: error: (Each undeclared identifier is reported only once sha1.c:102: error: for each function it appears in.) sha1.c:114: error: 'SHA_SUCCESS' undeclared (first use in this function) sha1.c: At top level: sha1.c:135: error: parse error before '*' token sha1.c: In function 'mysql_sha1_result': sha1.c:148: error: 'context' undeclared (first use in this function) sha1.c:157: error: 'SHA1_HASH_SIZE' undeclared (first use in this function) sha1.c:158: error: 'Message_Digest' undeclared (first use in this function) sha1.c:160: error: 'SHA_SUCCESS' undeclared (first use in this function) sha1.c: At top level: sha1.c:179: error: parse error before '*' token sha1.c: In function 'mysql_sha1_input': sha1.c:182: error: 'length' undeclared (first use in this function) sha1.c:183: error: 'SHA_SUCCESS' undeclared (first use in this function) sha1.c:197: error: 'context' undeclared (first use in this function) sha1.c:198: error: 'message_array' undeclared (first use in this function) sha1.c: At top level: sha1.c:242: error: parse error before '*' token sha1.c: In function 'SHA1ProcessMessageBlock': sha1.c:257: error: 'context' undeclared (first use in this function) sha1.c: At top level: sha1.c:345: error: parse error before '*' token sha1.c: In function 'SHA1PadMessage': sha1.c:354: error: 'context' undeclared (first use in this function) make[2]: *** [sha1.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Warning: the following items did not execute (for mysql5): com.apple.activate com.apple.build com.apple.destroot com.apple.archive com.apple.install