Bug 144946

Summary: Cannot compile mysql v4.1.8a
Product: Red Hat Enterprise Linux 2.1 Reporter: Scott <smcneice>
Component: mysqlAssignee: Tom Lane <tgl>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1CC: hhorak
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-01-13 03:04:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Scott 2005-01-12 22:07:49 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5)
Gecko/20041107 Firefox/1.0

Description of problem:
I am trying to compile the mysql 4.1.8a source and am getting the
errors below when I run the make, the configure goes fine, I am using
redhat es 2.1 and have run all updates, the version of gcc installed
by the updates is gcc-2.96-129.7.2, the install I used is,
./configure --prefix=/usr/local/mysql --enable-assembler
--with-unix-socket-path=/tmp/mysql.sock --with-mysqld-user=mysql
--without-debug > config.log

In file included from bfill.c:32:
../include/my_global.h:491: parse error before `size_socket'
../include/my_global.h:491: warning: data definition has no type or
storage class
../include/my_global.h:742: parse error before string constant
../include/my_global.h:789: parse error before `os_off_t'
../include/my_global.h:789: warning: data definition has no type or
storage class
In file included from bfill.c:33:
../include/m_string.h:224: parse error before `strtoul'
../include/m_string.h:224: warning: data definition has no type or
storage class
make[2]: *** [bfill.o] Error 1
make[2]: Leaving directory
`/home/smcneice/lamps/mysql/v4.1.8a/source/mysql-4.1.8a/strings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/smcneice/lamps/mysql/v4.1.8a/source/mysql-4.1.8a'
make: *** [all] Error 2


Version-Release number of selected component (if applicable):
v4.1.8a

How reproducible:
Always

Steps to Reproduce:
1.Install redhat es2.1
2.update 
3../configure
4.make

    

Additional info:

Comment 1 Tom Lane 2005-01-13 03:04:56 UTC
I'm sorry, but we don't support mysql 4.* on AS 2.1.  I'd suggest
asking MySQL AB for support on this.