Opened 16 years ago

Last modified 15 years ago

#191 closed defect

Failure to find libpython during darwin (Mac OS) install — at Version 1

Reported by: harveyjeffries Owned by:
Priority: major Milestone: 3.1.0
Component: Build/Install Version: main
Severity: Unassigned Keywords: macos darwin
Cc:

Description (last modified by mloskot)

GEOS-3.0.0 At lines 24411 to 24420 in configure:

        # Check for Python library path
        { echo "$as_me:$LINENO: checking for Python library path" >&5
echo "checking for Python library path... " >&6; }
       for i in "$base_python_path/lib/python$PYTHON_VERSION/config/" "$base_python_path/lib/python$PYTHON_VERSION/" "$base_python_path/lib/python/config/" "$base_python_path/lib/python/" "$base_python_path/" "$base_python_path/lib/" ; do
#                python_path=`find $i -type f -name libpython$PYTHON_VERSION.* -print 2> /dev/null | sed "1q"`
                python_path=`find $i -name libpython$PYTHON_VERSION.* -print 2> /dev/null | sed "1q"`
                if test -n "$python_path" ; then
                        break
                fi
        done

The use of -type f in the commented out line prevents file 'libpython*.*' from being found. Installation works when -type omitted.

Change History (1)

comment:1 by mloskot, 16 years ago

Description: modified (diff)
Keywords: macos darwin added
Note: See TracTickets for help on using tickets.