Re: Getting try-ark to work (python: A file or directory in the path name does not exist.)

Will Partain <[email protected]> Sun, 04 May 2003 16:02:45 +0100
Newsgroups gmane.comp.sysutils.ark.devel
Message-ID <[email protected]>
> I'm trying to try-ark under AIX 4.3.1. ...

(Hey, that's great.  I'm sure there will be a few gremlins...)

> ./ark-site-gen < Makefile.in > Makefile || { /bin/rm -f Makefile ; exit 1; }
> python: A file or directory in the path name does not exist.
> make: *** [Makefile] Error 1

I don't know the answer, but my suspicion is right at first
line of ./ark-site-gen, namely:

#! /usr/bin/env python

I assume that it really will start up python, it doesn't
care about the space after #!, etc.?

> I can't reproduce the problem by running the listed commands:
> 
> # cd $HOME/try-ark/ark-builds/ark-site-gen/ALL
> # /usr/local/bin/make -f Makefile.boot Makefile
> /bin/rm -f Makefile
> ./ark-site-gen < Makefile.in > Makefile || { /bin/rm -f Makefile ; exit
> 1; }
> /bin/chmod 444 Makefile

If it works in your personal env, but not the one the ARK
stuff is being run in, maybe they're different in some
unpleasant way?  PATH setting, in particular.

Perhaps you could stick in an 'env' just before the ark-site-gen
just to let it show you what's what?

If the PATH is wrong, try editing <ARK-BUILDING-PATH> in
your team's host/ALL.xml.

Once we find out what the real problem is, perhaps we can
fix it properly...  Thanks for your mail,

Will


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf