Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#191 closed defect (fixed)

Failure to find libpython during darwin (Mac OS) install

Reported by: harveyjeffries Owned by: mloskot
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 (8)

comment:1 by mloskot, 16 years ago

Description: modified (diff)
Keywords: macos darwin added

comment:2 by mloskot, 16 years ago

Description: modified (diff)

comment:3 by mloskot, 16 years ago

Owner: set to mloskot
Status: newassigned

comment:4 by mloskot, 16 years ago

Resolution: fixed
Status: assignedclosed

Harvey,

Thanks for this report. I've applied your fix to the trunk (r2140).

I tested it on Mac OS X 10.5 and Linux Ubuntu 7.04. Closing.

comment:5 by mloskot, 16 years ago

Milestone: 3.0.1
Version: svn-trunk

comment:6 by mloskot, 16 years ago

Milestone: 3.0.13.1

comment:7 by (none), 15 years ago

Milestone: 3.1.0

Milestone 3.1.0 deleted

comment:8 by pramsey, 15 years ago

Milestone: 3.1.0
Note: See TracTickets for help on using tickets.