Thanks for your suggestion Ernie, but I need MySQL for webpage
development. I fixed my problem anyway. The problem does have to do
with glibc and can be fixed (or at least bypassed) by adding the
following lines to the mysql ebuild, located at
/usr/portage/devel-db/mysql/mysql-3.23.54a.ebuild (or 3.23.55 depending
on which version you're installing). The two lines are:
export CFLAGS="${CFLAGS} -DHAVE_ERRNO_AS_DEFINE=1"
export CXXFLAGS="${CXXFLAGS} -DHAVE_ERRNO_AS_DEFINE=1"
Note: 3.23.55 already has the first line just add the second. See this
bug report for more details.
http://bugs.gentoo.org/show_bug.cgi?id=16767
Jason
On Tue, 2003-03-11 at 20:05, Ernie Schroder wrote:
> On Tuesday 11 March 2003 19:39, Jason Giangrande wrote:
> > When I try to install MySQL, I get the following error.
> >
> > > mysql.o(.text+0x1cbd): In function `com_source(String*, char*)':
> > > : undefined reference to `errno'
> > >
> > > collect2: ld returned 1 exit status
> > > make[2]: *** [mysql] Error 1
> > > make[2]: Leaving directory
> > > `/var/tmp/portage/mysql-3.23.54a/work/mysql-3.23.54a/client'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory
> > > `/var/tmp/portage/mysql-3.23.54a/work/mysql-3.23.54a'
> > > make: *** [all] Error 2
> > >
> > > !!! ERROR: dev-db/mysql-3.23.54a failed.
> > > !!! Function src_compile, Line 100, Exitcode 2
> > > !!! compile problem
> >
> > On the Gentoo Forums there's a post about this same problem that says
> > the this error happens when glibc 2.3.2 is installed, which I do
> > have installed. My question is can I safely go back to an early
> > version of glibc without breaking anything? I believe I installed
> > glibc 2.3.2 in the first place for the latest Nvidia drivers, but I
> > don't remember now.
> >
> > Thanks,
> > Jason
>
> Jason,
> Do you actually need mysql or is it a dependancy for something else? If
> you don't really need to use mysql, you can add -mysql to your USE
> variables and continue without it. Other that that, I can't help you
> out. This is just my workaround for building kde the other night.
--
[EMAIL PROTECTED] mailing list