MySQL Forums
Forum List  »  Source, Builds, Binaries

Compiling 5.1.72 on HPUX 11.31
Posted by: Younghoon Lim
Date: February 16, 2017 02:23AM


I was trying to compile MYSQL 5.1.72 on HP-UX 11.31, but it failed compile with

following errors on "chared.c"

"chartype.h", line 57: error #2035: #error directive: wchar_t must store ISO
10646 characters
#error wchar_t must store ISO 10646 characters

"chartype.h", line 195: error #2020: identifier "mbstate_t" is undefined
protected ssize_t ct_encode_char(char *, size_t, Char, mbstate_t *);

the command that I use for configure is

CC=cc CXX=aCC CFLAGS="+DD64 -L/usr/local/include" LDFLAGS="-L/usr/local/lib" CXXFLAGS="+DD64 -L/usr/local/include" ./configure --with-extra-charsets=all --prefix=/home/dba/mysql/test/ --localstatedir=/home/dba/mysql/test/bin/var/mysql --sbindir='/home/dba/mysql/test/bin' --libexecdir='/home/dba/mysql/test/bin'

can anyone help me out to resolve compile error?

thank you in advnace

Options: ReplyQuote

Written By
Compiling 5.1.72 on HPUX 11.31
February 16, 2017 02:23AM

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.