You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2014/01/31 18:28:20 UTC

[Bug 124156] New: Python is not correctly detected by configure on OS X

https://issues.apache.org/ooo/show_bug.cgi?id=124156

            Bug ID: 124156
        Issue Type: DEFECT
           Summary: Python is not correctly detected by configure on OS X
           Product: Build Tools
           Version: 4.1.0-dev
          Hardware: Mac
                OS: Mac OSX, 10.9
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: configure
          Assignee: issues@openoffice.apache.org
          Reporter: tkralphs@gmail.com
                CC: issues@openoffice.apache.org

Created attachment 82456
  --> https://issues.apache.org/ooo/attachment.cgi?id=82456&action=edit
Patch for configure.in

Python headers are not in a standard system directory on OS X and the variable
$python_include is not set correctly due to the interaction of what appear to
me to be two different bugs:

1. The path to the python interpreter is stored in the variable $_python, but
the command for getting the include directory calls $PYTHON instead, which is
not set (at least in some cases).

2. The value of $python_include is only set if

test -n "$with_system_python" -o -n "$with_system_libs" && \
        test "$with_system_python" != "no"

evaluates to true, which requires $with_system_libs to also be set, which it is
not (at least in my use case). 

The fix is to set $python_include inside the following if block, which only
tests

test "$with_system_python" = "yes"

A patch is attached that allowed Open Office to build on OS X. The configure
command I used is

./configure
--with-dmake-url=http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2
--with-epm-url=http://www.msweet.org/files/project2/epm-3.7-source.tar.gz
--with-macosx-sdk-version=10.9 --without-junit

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124156] Python is not correctly detected by configure on OS X

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124156

Ted Ralphs <tk...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tkralphs@gmail.com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124156] Python is not correctly detected by configure on OS X

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124156

jsc@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jsc@apache.org
           Severity|blocker                     |normal

--- Comment #1 from jsc@apache.org ---
remove the blocker flag and change back to normal.

Build issues are serious and we work on it asap but if we can build on our
release build systems it is not blocker but a normal issue.

Nevertheless thank you for the patch. We will take care of it asap or latest
after 4.1.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.