List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:September 28 1999 10:21pm
Subject:RE: Installation Problem(s) on AIX 4.2.1-04
View as plain text  
>>>>> "Mark" == Mark Chesterfield <mark@stripped> writes:

>> -----Original Message-----
>> From: Michael Widenius [mailto:monty@stripped]
>> Sent: Sunday, September 26, 1999 10:37 PM
>> >>>>> "Mark" == Mark Chesterfield <mark@stripped>
> writes:

Mark> Another interesting point from the manual page is:
Mark> "All applications containing the getservbyname subroutine must be
Mark> compiled
Mark> with _BSD set to a specific value. Acceptable values are 43 and 44. In
Mark> addition, all socket applications must include the BSD libbsd.a
Mark> library."

Mark> I haven't found my way thru the code yet to check to see if _BSD is
Mark> defined
Mark> correctly, but libbsd.a doesn't appear to be in the above link
Mark> statemtent.
Mark> (unless its been prelinked somewhere)

Mark> You can fix this by doing:

Mark> CFLAGS=-D_BSD=44
Mark> CXXFLAGS=-D_BSD=44  --with-client-ldflags=-lbsd --with-mysqld-ldflags=-lbsd

Mark> Tried this and got a clean compile but still failed in getservbyname.

Mark> I've just noticed that there has been a new message title
Mark> "Newer versions of mysql not functioning under AIX 4.1.5" posted to the
Mark> mailing list by a.phillips@stripped which looks as if it could be the same
Mark> problem as i'm having on AIX 4.2.1

One weird thing is that I have test-compiled MySQL 3.23.4 on AIX 4.2.1
powerpc and I didn't have any problems with this!

I just used:  CC=gcc CXX=gcc  ./configure --prefix=/usr/local/mysql

Regards,
Monty

Thread
Installation Problem(s) on AIX 4.2.1-04Mark Chesterfield24 Sep
  • Installation Problem(s) on AIX 4.2.1-04Michael Widenius25 Sep
    • RE: Installation Problem(s) on AIX 4.2.1-04Mark Chesterfield26 Sep
      • RE: Installation Problem(s) on AIX 4.2.1-04Mark Chesterfield26 Sep
      • RE: Installation Problem(s) on AIX 4.2.1-04Michael Widenius26 Sep
        • RE: Installation Problem(s) on AIX 4.2.1-04Mark Chesterfield28 Sep
          • RE: Installation Problem(s) on AIX 4.2.1-04Michael Widenius29 Sep
        • Re: Installation Problem(s) on AIX 4.2.1-04Adrian Phillips29 Sep
        • Re: Installation Problem(s) on AIX 4.2.1-04Adrian Phillips29 Sep
    • RE: Installation Problem(s) on AIX 4.2.1-04Mark Chesterfield28 Sep
      • RE: Installation Problem(s) on AIX 4.2.1-04Michael Widenius29 Sep