Compiling 5.0.3-alpha for windows from source
am 21.01.2005 19:23:05 von Alan YuHi all,
=20
First time sending to this lists, so please forgive and correct any bad
etiquettes and such...
=20
Need to compile the 5 version of mySQL because we need stored
procedures. The 5.0.2 Win32 installer version had problems, so did the
source of 5.0.2 Win32 source package download.
=20
So I got bitkeeper and a Linux machine and the 5.0.3 source and tried to
compile the latest version. However there was a bit of problem,
compiling the server builds on Linux using BUILD/compile-pentium-max
fails with:
=20
gcc -DMYSQL_INSTANCE_MANAGER -DMYSQL_SERVER -I. -I. -I../..
-I../../include -I..
/../extra -O3 -DDBUG_OFF -Wimplicit -Wreturn-type -Wswitch
-Wtrigraphs -Wcomm
ent -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare
-Wwrite-strings -
Woverloaded-virtual -Wsign-promo -Wreorder -Wctor-dtor-privacy
-Wnon-virtual-dto
r -felide-constructors -fno-exceptions -fno-rtti -mcpu=3Dpentiumpro -O3
-fno-omit-
frame-pointer -g -fno-implicit-templates -fno-exceptions -fno-rtti
-DUSE_MYSY
S_NEW -DDEFINE_CXA_PURE_VIRTUAL -c -o mysqlmanager.o `test -f
mysqlmanager.cc |
| echo './'`mysqlmanager.cc
priv.cc:27: error: `PROTOCOL_VERSION' was not declared in this scope
gmake[3]: *** [priv.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
options.cc:41: error: `DEFAULT_MONITORING_INTERVAL' was not declared in
this
scope
options.cc:42: error: `DEFAULT_PORT' was not declared in this scope
gmake[3]: *** [options.o] Error 1
gmake[3]: Leaving directory
`/home/alan/mysql-5.0/server-tools/instance-manager'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/alan/mysql-5.0/server-tools'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/alan/mysql-5.0'
gmake: *** [all] Error 2
=20
I've had a look at the bugs and mailing list and haven't ran across this
error, so I'm suspecting that it is a problem with the
setup/configuration of my GNU building tools (gmake, automake, etc).
I've checked that they are the version are the one requested in the
documentation.
=20
Any hints or ideas would be greatly appreciated.
=20
Cheers,
Alan=20
=20
=20
This electronic message transmission, including attachments, is for the =
exclusive use of the individuals to which this e-mail is addressed and =
is to be reviewed and used exclusively for authorized company purposes. =
This transmission may contain proprietary, confidential or privileged =
information. If you are not the intended recipient of this =
transmission, you are hereby notified that any use, copying, disclosure, =
dissemination, distribution or taking of any action in reliance upon the =
contents of this transmission is strictly prohibited. If you believe =
you may have received this electronic message in error, please notify =
the sender immediately by return email and delete or destroy the =
original message and/or any copy of it from your computer system and/or =
your files. Thank you.=20
--
MySQL Windows Mailing List
For list archives: http://lists.mysql.com/win32
To unsubscribe: http://lists.mysql.com/win32?unsub=3Dgcdmw-win32@m.gmane.org