MySQL Forums
Forum List  »  Install & Repo

Building MySQL from source on Solaris 9 sparc
Posted by: calvin.malaney
Date: February 24, 2005 07:22AM

Hello,

I have been pulling my hair out for two days, trying to get MySQL working with DBD on my fully patched Solaris 9 spac machine. I would be very grateful for any hints, suggestions or pointers!

Here goes:

Having tried and failed to get DBD to work with MySQL 4.1.10 standard binary, I decided to download MySQL source and compile it (reasoning that libraries required by DBD may not be available in the standard binary distribution).

Following instructions in the MySQL manual, I ran configure as follows:

./configure --prefix=/usr/local/mysql --with-low-memory --enable-assembler

and it appeared to go well, but with the following warnings:

configure:22606: WARNING: term.h: present but cannot be compiled
configure:22608: WARNING: term.h: check for missing prerequisite headers?
configure:22610: WARNING: term.h: see the Autoconf documentation
configure:22612: WARNING: term.h: section "Present But Cannot Be Compiled"
configure:22614: WARNING: term.h: proceeding with the preprocessor's result
configure:22616: WARNING: term.h: in the future, the compiler will take precedence
configure:22628: checking for term.h
.
.
configure:32423: WARNING: sys/ptem.h: present but cannot be compiled
configure:32425: WARNING: sys/ptem.h: check for missing prerequisite headers?
configure:32427: WARNING: sys/ptem.h: see the Autoconf documentation
configure:32429: WARNING: sys/ptem.h: section "Present But Cannot Be Compiled"
configure:32431: WARNING: sys/ptem.h: proceeding with the preprocessor's result
configure:32433: WARNING: sys/ptem.h: in the future, the compiler will take precedence
configure:32445: checking for sys/ptem.h
.
.
#endif
#ifdef __cplusplus
extern "C" void std::exit (int) throw (); using std::exit;

configure: exit 0

Not knowing if the above are significant, I ran 'make', which bombed out as shown below:
.
.
then mv -f ".deps/fgetln.Tpo" ".deps/fgetln.Po"; else rm -f ".deps/fgetln.Tpo"; exit 1; fi
rm -f libedit.a
false cru libedit.a chared.o el.o history.o map.o prompt.o readline.o search.o tokenizer.o vi.o common.o emacs.o hist.o key.o parse.o read.o refresh.o sig.o term.o tty.o help.o fcns.o unvis.o vis.o fgetln.o
make[3]: *** [libedit.a] Error 1
make[3]: Leaving directory `/export/home/malaneyc/mysql-4.1.10/cmd-line-utils/libedit'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/export/home/malaneyc/mysql-4.1.10/cmd-line-utils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/malaneyc/mysql-4.1.10'
make: *** [all] Error 2

Since then I have run 'configure' with various options - as recommended in the MySQL manual (after deleting the old directory and un-tarring again), but regardless, make has always bombed out. I have even upgraded from gcc 3.3.2 to 3.4.2, but it doesn't appear to make a difference.

Any suggestions?

Best regards,
Calvin.

Options: ReplyQuote


Subject
Written By
Posted
Building MySQL from source on Solaris 9 sparc
February 24, 2005 07:22AM


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.