gnu-arch-users
[Top][All Lists]
Advanced

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

Re: [Gnu-arch-users] ViewARCH-0.0.3 set python execuable


From: Tez Kamihira
Subject: Re: [Gnu-arch-users] ViewARCH-0.0.3 set python execuable
Date: Wed, 08 Oct 2003 09:11:12 +0900 (JST)

Hi,

On Tue, 7 Oct 2003 12:50:25 -0400, "Neal D. Becker" <address@hidden> said:
>
> I am on Redhat linux 9, I have to install python2.3 as /usr/bin/python2.3 
> (not 
> /usr/bin/python).  Can I configure viewarch to accomodate this?
>

I can't confirm this situation in my box exactly, but I guess the following
steps would work well.

1.)  Edit ./viewcvs-install script's first line.

     Replace

           #!/usr/bin/env python

     To

           #!/usr/bin/env /usr/bin/python2.3

2.)  Take normal installation steps.

3.)  Check the following command
      ( I assume you installed in /usr/local/viewarch-0.0.3 )

         $ ls /usr/local/viewarch-0.0.3/ViewARCH/lib/*.py | xargs -l head -1

      and

         $ head -1 /usr/local/viewarch-0.0.3/www/cgi/viewarch.cgi


      all of the above outputs should be '#!/usr/bin/python2.3'.


4.) When you generate akasic cache, you should do

        $ /usr/bin/python2.3 gencache.py -x

    Instead of

        $ python gencache.py -x

    in the /usr/local/viewarch-0.0.3/ViewARCH/lib directory.



Gook luck !



        - Tez




reply via email to

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