Re: aap build problem

Bram Moolenaar <[email protected]> Thu, 04 Mar 2004 15:59:59 +0100
Newsgroups gmane.comp.tools.aap.devel
Message-ID <[email protected]>
Jacob Lerner wrote:

> --- Bram Moolenaar <[email protected]> wrote:
> > 
> > Jacob Lerner wrote:
> > 
> > > I have lots of computers (Linux) with python 1.5.2
> > installed.
> > > I cannot upgrade python or OS because this may
> > conflict with other
> > > uses of pyhton on these computers.
> > 
> > No problem, Aap should work with Python 1.5.2.
> 
> I applied the patch. Building vim with aap does not
> work (with or without the patch).  I do:

You appear to obtain the Vim runtime files, not build Vim.

>         vim
>         :cd $VIMRUNTIME
>         :!aap -f ftp://ftp.vim.org/pub/vim/runtime/main.aap fetch
> I get:
> "main.aap" exists, overwrite? (y/n) y
> Aap: Attempting download of
> "ftp://ftp.vim.org/pub/vim/runtime/main.aap"
> Aap: Error in recipe: Cannot download
> "ftp://ftp.vim.org/pub/vim/runtime/main.aap" to
> "main.aap": [Errno ftp error] [Errno ftp error] 502
> Illegal PORT Command
> 
> shell returned 1

You should not add "fetch" in that command.

Does your system use a proxy perhaps?  Another possibility is that it
tries to setup an ipv6 connection, but that fails.  I get a warning
message for that (my system and the ftp server support ipv6, but some
server in between doesn't).  But it should automatically retry with an
old fashioned IP address then.

It works fine for me with Python 2.x, but when I try Python 1.5 it
appears to hang.  I don't know why, there is no error message...

> But internet is OK, and this command works in shell:
> 
>       wget ftp://ftp.vim.org/pub/vim/runtime/main.aap
> 
> What do I do next ?

You can try downloading that "main.aap" recipe into $VIMRUNTIME and then
run "aap" there.  But it's very likely that the first attempt to
download a file will fail again.

-- 
LAUNCELOT: Isn't there a St. Aaaaarrrrrrggghhh's in Cornwall?
ARTHUR:    No, that's Saint Ives.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
 \\\  Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click