MySQL Forums
Forum List  »  Source, Builds, Binaries

compile mysql-5.1.42 on openbsd 4.6 fault.
Posted by: patrick ru
Date: January 06, 2010 04:03AM

# uname -a
OpenBSD ob46.my.domain 4.6 GENERIC#53 amd64

# gcc -v
Reading specs from /usr/lib/gcc-lib/amd64-unknown-openbsd4.6/3.3.5/specs
Configured with:
Thread model: single
gcc version 3.3.5 (propolice)

groupadd mysql
useradd -g mysql mysql
cd /tmp
ftp http://dev.mysql.com/get/Downloads/MySQL-5.1/mysql-5.1.42.tar.gz/from/http://ftp.jaist.ac.jp/pub/mysql/
tar zxvf mysql-5.1.42.tar.gz
cd mysql-5.1.42
CFLAGS="-O3" \
CXX=gcc \
CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti" \
./configure --prefix=/usr/local/mysql --with-charset=utf8
make

np/unvis.c:76: error: syntax error before "int"
np/unvis.c:81: error: syntax error before '{' token
np/unvis.c:56:1: unterminated #if
*** Error code 1

Stop in /root/mysql-5.1.42/cmd-line-utils/libedit (line 515 of Makefile).
*** Error code 1

Stop in /root/mysql-5.1.42/cmd-line-utils (line 458 of Makefile).
*** Error code 1

Stop in /root/mysql-5.1.42 (line 517 of Makefile).

Options: ReplyQuote


Subject
Views
Written By
Posted
compile mysql-5.1.42 on openbsd 4.6 fault.
4107
January 06, 2010 04:03AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.