1753637 Members
5768 Online
108798 Solutions
New Discussion юеВ

Re: mysql

 
SOLVED
Go to solution
Jean-Fran├зois Pi├йronne
Trusted Contributor

Re: mysql

Bojan,

what problems do you have ?

I was able to rebuild from sources without any problem.


JF
Bojan Nemec
Honored Contributor

Re: mysql

JF,

I attach the errors from the build procedure.
The build procedure (in this case) was:

$ @logicals
$ @symbols
$ @build_all JFP_SSL ZLIB SERVER LONG MIXED

But I have try also with:

$ @build_all VMS_SSL ZLIB SERVER SHORT MIXED
$ @build_all JFP_SSL ZLIB SERVER SHORT MIXED

I hae also tried to exclude the ha_example from the final link. But it seems that most of objects located in MYSQL051_ROOT:[vms.mysql.o_alpha.sql] are missing (there are only two my_lock.OBJ and net_serv.OBJ).

Bojan

PS
Maybe my compilers versions are to old?

$ cxx/version
Compaq C++ V6.5-004 for OpenVMS Alpha V7.3-2
$ cc/version
Compaq C V6.5-001 on OpenVMS Alpha V7.3-2
labadie_1
Honored Contributor

Re: mysql

I think you should get C and C++ 7.1 or 7.2, earlier versions fail.
Jean-Fran├зois Pi├йronne
Trusted Contributor

Re: mysql

Bojan,

To build the server you have to run
1. logicals.com
2. build_server.com, you may have to update this procedure which contains
$ @python_vms:setup
$ set def mysql051_root:[vms.mysql]
$ python genbuild_mms.py server 32 mixed
$ set def mysql051_root:[vms]
$ @build_all JFP_SSL ZLIB SERVER SHORT MIXED


You need to execute the python script to generate the correct mms files.

Sometimes I will build a separate tree for the server and all the clients but, currently, this share the same tree structure, so it is necessary to clean all object and libraries (olb) before the build.

I have somewhere a procedure which do all the job (build the server and the various clients).
But to only build the server you just need the 2 procedures logicals.com and build_server.com

JF
Bojan Nemec
Honored Contributor

Re: mysql

JF,

I will try to generate mms files but first I have to install Python (it seems that the installation needs some time).

Thanks
Bojan
Jean-Fran├зois Pi├йronne
Trusted Contributor

Re: mysql

Bojan,

Install python is very easy, you just have to download and mount 2 ld images, you probably can probably install Python in a couple of minutes.
More informations:
http://vmspython.dyndns.org/DownloadAndInstallationPython

JF
Bojan Nemec
Honored Contributor

Re: mysql

JF,

Just in the process of downloading the ld images. When I try to install python from PCSI it seems to go in an infinite loop after the line:
Compiling /python_root/local/rpdb2.py ...

Thanks

Bojan
labadie_1
Honored Contributor

Re: mysql

If you just want to use Movable Python, once you have the two .dsk files

1) if you want Python just for your process

$ ld connect jfppy0006/symbol
$ mount $1$lda'ld_unit' jfppy0006
$ @ $1$lda'ld_unit':[000000]python_logicals
$ ld connect jfplib0001/symbol
$ mount $1$lda'ld_unit' jfplib0001
$ @ $1$lda'ld_unit':[000000]lib_logicals
$ @python_vms:setup
$ python python_root:beer.py


2) if you want Python available for all processes


$ ld connect jfppy0006/symbol
$ mount/system $1$lda'ld_unit' jfppy0006
$ @ $1$lda'ld_unit':[000000]python_logicals
$ ld connect jfplib0001/symbol
$ mount/system $1$lda'ld_unit' jfplib0001
$ @ $1$lda'ld_unit':[000000]lib_logicals
$ @python_vms:setup
$ python python_root:beer.py


labadie_1
Honored Contributor

Re: mysql

Sorry, I made a mistake, the second part should be

2) if you want Python available for all processes


$ ld connect jfppy0006/symbol
$ mount/system $1$lda'ld_unit' jfppy0006
$ @ $1$lda'ld_unit':[000000]python_logicals
$ ld connect jfplib0001/symbol
$ mount/system $1$lda'ld_unit' jfplib0001
$ @ $1$lda'ld_unit':[000000]lib_startup
$ @python_vms:setup
$ python python_root:beer.py
Bojan Nemec
Honored Contributor

Re: mysql

I succesfuly installed the movable ld images and executed the mms file creation.
Now the build_all command procedure is building the server image. I work on a slow alpha workstation 600au and this will take time. For now only a few informationals and two warnings.

Thanks
Bojan