incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tsutomu Uchino <hanya.r...@gmail.com>
Subject Re: trunk build fails, likely in python
Date Tue, 31 Jul 2012 13:57:21 GMT
Hi,

2012/7/31 Regina Henschel <rb.henschel@t-online.de>:
> Hi Pedro,
>
> I still cannot build Python.
>
> Messages are:
> dmake:  Warning: -- Found file corresponding to virtual target
> [./wntmsci12/misc/build/Python-2.7.3/PC/pyconfig.h].
>
>
> Build started: Project: _ssl, Configuration: Release|Win32
> Performing Pre-Build Event...
> Can not find a suitable PERL:
>  the following perl interpreters were found:
>   C:\cygwin\bin\perl.exe
>  None of these versions appear suitable for building OpenSSL
>  Please install ActivePerl and ensure it appears on your path
> No Perl installation was found. Existing Makefiles are used.
> Could not find an SSL directory in '('..\\..',)'
> Project : error PRJ0019: A tool returned an error code from "Performing
> Pre-Build Event..."
>
> Project : warning PRJ0018 : The following environment variables were not
> found:
> $(UPDMINOREXT)
>
> Kind regards
> Regina
>
>
> Pedro Giffuni schrieb:
>
>> Committed as Revision 1367398 . Please test.
>>
>> Hopefully I learned from the error that Regina reported to
>> cleanup better the code.
>>
>> Pedro.
>>
>>
>>
>>> ________________________________
>>> From: Pedro Giffuni <pfg@apache.org>
>>> To: "ooo-dev@incubator.apache.org" <ooo-dev@incubator.apache.org>
>>> Sent: Monday, July 30, 2012 8:34 PM
>>> Subject: Re: trunk build fails, likely in python
>>>
>>> Thank you.
>>>
>>> I will use this as an opportunity to do some further cleanup
>>>
>>> Pedro.
>>>
>>>
>>>
>>>> ________________________________
>>>> From: Lin Yuan <yuanlin.ibm@gmail.com>
>>>> To: ooo-dev@incubator.apache.org
>>>> Sent: Monday, July 30, 2012 8:26 PM
>>>> Subject: Re: trunk build fails, likely in python
>>>>
>>>> I can reproduce this issue on my Win 7.
>>>> In Python-2.7.3\PCbuild\pcbuild.sln, there are two projects related to
>>>> sqlite3. One named "sqlite3". Another named "_sqlite3".  Both of them
>>>> need
>>>> to be remarked. But in python-2.7.3.patch, it only remark project
>>>> "sqlite3". Need also remark project "_sqlite3" in pcbuild.sln.
>>>>
>>>> 2012/7/31 Regina Henschel <rb.henschel@t-online.de>
>>>>
>>>>> Hi Armin,
>>>>>
>>>>> I have rebased and deleted all the wbtmsci12*, then started a new
>>>>> build. I
>>>>> now get the same error as you.
>>>>>
>>>>> Kind regards
>>>>> Regina
>>>>>
>>>>> Armin Le Grand schrieb:
>>>>>
>>>>>    Hi,
>>>>>>
>>>>>>
>>>>>> just checked out current version and build stopped in python (win7).
>>>>>> Message is as follows.
>>>>>>
>>>>>> Where does sqlite3.h come from? There is a folder
>>>>>> main\python\wntmsci12\misc\**build\Python-2.7.3\Doc\**includes\sqlite3
>>>>>> but
>>>>>> no sqlite3.h in there. Should it be there...?
>>>>>>
>>>>>> Can someone help please?
>>>>>>
>>>>>> ------8<-----
>>>>>>
>>>>>> c:\aoo\svn_trunk13\main\**python\wntmsci12\misc\build\**
>>>>>> python-2.7.3\modules\_sqlite\**connection.h(33)
>>>>>> : fatal error C1083: Cannot open include file: 'sqlite3.h': No such
>>>>>> file
>>>>>> or directory
>>>>>> statement.c
>>>>>> c:\aoo\svn_trunk13\main\**python\wntmsci12\misc\build\**
>>>>>> python-2.7.3\modules\_sqlite\**connection.h(33)
>>>>>> : fatal error C1083: Cannot open include file: 'sqlite3.h': No such
>>>>>> file
>>>>>> or directory
>>>>>> row.c
>>>>>> c:\aoo\svn_trunk13\main\**python\wntmsci12\misc\build\**
>>>>>> python-2.7.3\modules\_sqlite\**connection.h(33)
>>>>>> : fatal error C1083: Cannot open include file: 'sqlite3.h': No such
>>>>>> file
>>>>>> or directory
>>>>>> module.c
>>>>>> c:\aoo\svn_trunk13\main\**python\wntmsci12\misc\build\**
>>>>>> python-2.7.3\modules\_sqlite\**connection.h(33)
>>>>>> : fatal error C1083: Cannot open include file: 'sqlite3.h': No such
>>>>>> file
>>>>>> or directory
>>>>>> microprotocols.c
>>>>>> c:\aoo\svn_trunk13\main\**python\wntmsci12\misc\build\**
>>>>>> python-2.7.3\modules\_sqlite\**connection.h(33)
>>>>>> : fatal error C1083: Cannot open include file: 'sqlite3.h': No such
>>>>>> file
>>>>>> or directory
>>>>>> cursor.c
>>>>>> c:\aoo\svn_trunk13\main\**python\wntmsci12\misc\build\**
>>>>>> python-2.7.3\modules\_sqlite\**connection.h(33)
>>>>>> : fatal error C1083: Cannot open include file: 'sqlite3.h': No such
>>>>>> file
>>>>>> or directory
>>>>>> connection.c
>>>>>> c:\aoo\svn_trunk13\main\**python\wntmsci12\misc\build\**
>>>>>> python-2.7.3\modules\_sqlite\**connection.h(33)
>>>>>> : fatal error C1083: Cannot open include file: 'sqlite3.h': No such
>>>>>> file
>>>>>> or directory
>>>>>> Build log was saved at
>>>>>> "file://C:\aoo\svn_trunk13\**main\python\wntmsci12\misc\**
>>>>>>
>>>>>> build\Python-2.7.3\PCbuild\**Win32-temp-Release\_sqlite3\**BuildLog.htm"
>>>>>>
>>>>>> _sqlite3 - 7 error(s), 0 warning(s)
>>>>>> Build started: Project: _testcapi, Configuration: Release|Win32
>>>>>> _testcapi - up-to-date
>>>>>> Build started: Project: select, Configuration: Release|Win32
>>>>>> select - up-to-date
>>>>>> Build started: Project: unicodedata, Configuration: Release|Win32
>>>>>> unicodedata - up-to-date
>>>>>> Build started: Project: pyexpat, Configuration: Release|Win32
>>>>>> pyexpat - up-to-date
>>>>>> Build started: Project: _multiprocessing, Configuration: Release|Win32
>>>>>> _multiprocessing - up-to-date
>>>>>> Build started: Project: _ssl, Configuration: Release|Win32
>>>>>> Project : warning PRJ0018 : The following environment variables were
>>>>>> not
>>>>>> found:
>>>>>> $(UPDMINOREXT)
>>>>>> _ssl - up-to-date
>>>>>>
>>>>>> Build complete: 18 Projects succeeded, 1 Projects failed, 1 Projects
>>>>>> skipped
>>>>>> dmake:  Error code 1, while making
>>>>>> './wntmsci12/misc/build/so_**built_so_python'
>>>>>> ERROR: error 65280 occurred while making
>>>>>> /cygdrive/c/aoo/svn_trunk13/**main/python
>>>>>>
>>>>>> ------8<-----
>>>>>>
>>>>>> On 28.07.2012 01:33, Regina Henschel wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I start a build on WinXP with MSVC Express. It fails with error
>>>>>>> message
>>>>>>> dmake:  Error: -- `./Python-2.7.3-vc.patch' not found, and can't
be
>>>>>>> made
>>>>>>>
>>>>>>> What do I miss?
>>>>>>>
>>>>>>> Kind regards
>>>>>>> Regina
python-ssl.patch should be applied on PCbuild, something like:
I can not make patch by svn because of my local repository has been broken.

--- /cygdrive/g/makefile.mk	2012-07-31 22:53:42.814651800 +0900
+++ makefile.mk	2012-07-31 22:50:48.200806800 +0900
@@ -109,7 +109,9 @@

 BUILD_DIR=PCbuild

-PATCH_FILES=python-$(PYVERSION)-pcbuild.patch
+PATCH_FILES=\
+	python-$(PYVERSION)-pcbuild.patch \
+	python-ssl.patch

 # Build python executable and then runs a minimal script. Running the
minimal script
 # ensures that certain *.pyc files are generated which would
otherwise be created on

Regards
- Tsutomu

Mime
View raw message