[NTLUG:Discuss] mysql configure/make head-banger
Dennis Daupert
ddaupert at csc.com
Tue Jul 30 10:00:48 CDT 2002
> From: Kelledin <kelledin+NTLUG at skarpsey.dyndns.org>
> Ok, after you do the ./configure for mysql, edit config.h and
> search for a line containing HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE.
> Make sure that line says "#define
> HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE 1", save the file, and then
> try to do a make.
I should probably be slapped. I got excited, cuz after doing the edit you
suggested
I got another error msg (progress!):
gcc: installation problem, cannot exec `cc1plus': No such file or directory
Based on that, I did a google search on cc1plus, saw some references to
c++, gpp, and so on, and installed C++ and libraries from SuSE's cds.
Then I got a complaint from make that "/usr/lib/curses: file not
recognized: Is a directory"
so I took out the configure flag pointing there, and now configure nags:
checking for tgetent in -lncurses... no
checking for tgetent in -lcurses... no
checking for tgetent in -ltermcap... no
checking for termcap functions library... configure: error: No
curses/termcap library found
At this point, I'm not sure whether to crap or go blind. Do you have some
advice?
/dennis
> Kelledin
> "If a server crashes in a server farm and no one pings it, does
> it still cost four figures to fix?"
It certainly would after *I* got my hands on it.
More information about the Discuss
mailing list