From: Alder [ue191@victoria.tc.ca] Sent: Tuesday, October 22, 2002 12:14 AM To: Info-VAX@Mvb.Saic.Com Subject: Re: Build trouble: Python 2.1.3 on VMS 7.2 Jean-François PIÉRONNE wrote: > > You will probably need also the logical SSLINCLUDE. > Indeed. Thanks for pointing that out. My latest build seems to have completed without any serious complaints from the compiler, though there are a few hiccups which I hope you can shed some light on, mostly connected with the mxDateTime module. I've included the last part of the build output below. I'd also appreciate any advice you'd have regarding runtime logicals that need to be set. When I first ran PYTHON it complained that $PYTHONHOME was missing, so I set the PYTHONHOME logical to the same value as my second parameter of the PYTHON_INSTALL command. That seemed to clear that up, but a second message about 'missing site' remains. It seems to be trying to run a default .py file or something. Did I do something wrong (again :-)) ? $ python 'import site' failed; use -v for traceback Python 2.1.3 (V001, Mon Oct 21 11:21:53 2002) [DECC] on OpenVMS Alpha (G_float) Type "copyright", "credits" or "license" for more information. >>> Thanks, Jean-Francois Alder Here's the output from PYTHON_INSTALL: $ @PYTHON_INSTALL DISK$NET:[PYLIB] DISK$NET:[PYTHON] 7.0 ... Building zlib module (YES/NO) [Y]? register zlib Building mxDateTime module (YES/NO) [Y]? PyMethodDef mxDateTime_Methods[] = ............^ %CC-W-MIXLINKAGE, In this declaration, "mxDateTime_Methods" is declared with bot h internal and external linkage. The previous declaration is at line number 163 in file PYTHON_ROOT:[LOCAL.EGENIX-MX-BASE-2_0_3.MX.DATETIME.MXDATETIME]MXDATETI ME.C;1. at line number 2295 in file PYTHON_ROOT:[LOCAL.EGENIX-MX-BASE-2_0_3.MX.DATETIME. MXDATETIME]MXDATETIME.C;1 PyTypeObject mxDateTime_Type = { .............^ %CC-W-MIXLINKAGE, In this declaration, "mxDateTime_Type" is declared with both i nternal and external linkage. The previous declaration is at line number 162 in file PYTHON_ROOT:[LOCAL.EGENIX-MX-BASE-2_0_3.MX.DATETIME.MXDATETIME]MXDATETIME. C;1. at line number 2991 in file PYTHON_ROOT:[LOCAL.EGENIX-MX-BASE-2_0_3.MX.DATETIME. MXDATETIME]MXDATETIME.C;1 PyObject *mxDateTimeDelta_FromDaysEx(long days, .........^ %CC-W-MIXLINKAGE, In this declaration, "mxDateTimeDelta_FromDaysEx" is declared with both internal and external linkage. The previous declaration is at line nu mber 169 in file PYTHON_ROOT:[LOCAL.EGENIX-MX-BASE-2_0_3.MX.DATETIME.MXDATETIME] MXDATETIME.C;1. at line number 3185 in file PYTHON_ROOT:[LOCAL.EGENIX-MX-BASE-2_0_3.MX.DATETIME. MXDATETIME]MXDATETIME.C;1 PyObject *mxDateTimeDelta_FromSeconds(double seconds) .........^ %CC-W-MIXLINKAGE, In this declaration, "mxDateTimeDelta_FromSeconds" is declared with both internal and external linkage. The previous declaration is at line n umber 173 in file PYTHON_ROOT:[LOCAL.EGENIX-MX-BASE-2_0_3.MX.DATETIME.MXDATETIME ]MXDATETIME.C;1 . at line number 3204 in file PYTHON_ROOT:[LOCAL.EGENIX-MX-BASE-2_0_3.MX.DATETIME. MXDATETIME]MXDATETIME.C;1 PyTypeObject mxDateTimeDelta_Type = { .............^ %CC-W-MIXLINKAGE, In this declaration, "mxDateTimeDelta_Type" is declared with b oth internal and external linkage. The previous declaration is at line number 1 65 in file PYTHON_ROOT:[LOCAL.EGENIX-MX-BASE-2_0_3.MX.DATETIME.MXDATETIME]MXDATE TIME.C;1. at line number 3932 in file PYTHON_ROOT:[LOCAL.EGENIX-MX-BASE-2_0_3.MX.DATETIME. MXDATETIME]MXDATETIME.C;1 PyMethodDef mxDateTimeDelta_Methods[] = ............^ %CC-W-MIXLINKAGE, In this declaration, "mxDateTimeDelta_Methods" is declared wit h both internal and external linkage. The previous declaration is at line numbe r 166 in file PYTHON_ROOT:[LOCAL.EGENIX-MX-BASE-2_0_3.MX.DATETIME.MXDATETIME]MXD ATETIME.C;1. at line number 3961 in file PYTHON_ROOT:[LOCAL.EGENIX-MX-BASE-2_0_3.MX.DATETIME. MXDATETIME]MXDATETIME.C;1 %LIBRAR-W-COMCOD, compilation warnings in module MXDATETIME file PYTHON_ROOT:[LO CAL.EGENIX-MX-BASE-2_0_3.MX.DATETIME.MXDATETIME]MXDATETIME.OBJ;4 register mxDateTime Building RDB module (YES/NO) [Y]? register _rdb Enter MULTIVERSION version number (n.n) or S (for STANDARD) : 7.0 Current PROCESS Oracle Rdb environment is version V7.0-6 (MULTIVERSION) Current SYSTEM Oracle Rdb environment is version V7.0-6 (MULTIVERSION) Current PROCESS SQL environment is version V7.0-6 (MULTIVERSION) Current PROCESS Rdb/Dispatch environment is version V7.0-6 (MULTIVERSION) Current SYSTEM SQL environment is version V7.0-6 (MULTIVERSION) Current SYSTEM Rdb/Dispatch environment is version V7.0-6 (MULTIVERSION) Library already register Building WASD module (YES/NO) [Y]? register _wasd Building Python Library Imaging Library module (YES/NO) [Y]? register _imaging Building gdchart module (YES/NO) [Y]? register gdchart %COPY-W-INCOMPAT, PYTHON_ROOT:[VMS]CONFIG_OPTIONAL_MODULES.TXT;7 (input) and PYT HON_ROOT:[VMS]CONFIG.DAT;3 (output) have incompatible attributes Library already register Library already register Library already register Library already register Library already register Library already register Library already register Library already register %LINK-W-WRNERS, compilation warnings in module MXDATETIME file PYTHON_ROOT:[VMS.O_ALPHA]LOCAL_MODULES.OLB;1 %LINK-W-MULDEF, symbol DECC$PUTCHAR multiply defined in module DECC$SHR file SYS$COMMON:[SYSLIB]DECC$SHR.EXE;1