bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: automake-1.11 test failure on darwin9 - instmany-python.test


From: Peter O'Gorman
Subject: Re: automake-1.11 test failure on darwin9 - instmany-python.test
Date: Tue, 19 May 2009 22:19:20 -0500
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

Ralf Wildenhues wrote:

> Can you check whether the patch I pointed out exposes the problem, or
> whether it existed before?  From the ed script above I can't tell, and
> the instmany-python.test is new in this release.

Removing the patch still gives
 /usr/bin/install -c -m 644
../../long_subdir_name_with_many_characters/npython81.py
'/Library/Python/2.5/site-packages/.'
install: ../../long_subdir_name_with_many_characters/npython81.py:
Permission denied
gnumake[1]: *** [install-nobase_pythonPYTHON] Error 71


> 
> Any suggestions for a good workaround?  Like, honor the suggestion from
> python only if $prefix was NONE, /usr/local or /usr, and $host_os =
> darwin?  (Even that sounds ugly as it requires AC_CANONICAL_HOST.)

Hmm, good idea, there is already

     case $am_cv_python_pythondir in
     $am_py_prefix*)
       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed
"s,^$am__strip_prefix,$PYTHON_PREFIX,"`
       ;;

So maybe add something like:
      *)
        case $am_py_prefix in
        /usr|/usr/local|/System/Library*) ;;
        *)
am_cv_python_pythondir="$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"
;;

        esac
        ;;

?

Also, I didn't see you in AUTHORS, you should correct that :)

Peter
-- 
Peter O'Gorman
http://pogma.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]