Re: [A-A-P-develop] aap build problem
Brought to you by:
vimboss
From: Jacob L. <jil...@ya...> - 2004-03-04 13:55:13
|
--- Bram Moolenaar <Br...@mo...> 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: 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 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 ? Yakov > > > aap installation fails (aap 1.0.57). > > Compiling /usr/local/lib/aap/Exec-1.057/aapre.py > ... > > File "/usr/local/lib/aap/Exec-1.057/aapre.py", > > line 513 > > self.code = pcre_compile(*statetuple) > > > ^ > > SyntaxError: invalid syntax > > > > aap download/install page has no mention of python > version required. > > You can ignore this error. The aapre.py module is > only used for Python > 2.3. This is a trick: we need the old pre.py module > (it's twenty times > faster than the new one) but the Python 2.3 version > gives a warning > message. Thus I made a copy with the warning > message removed. > > > Is it possible that aap be fixed to work around > python > > differences and to install/work with pythoin 1.5.2 > ? > > It appears that installing continued after the error > message. Did you > try running Aap? I would guess it just works. > > Anyway, this change to Exec/main.aap should fix the > problem: > > RCS file: /cvsroot/a-a-p/Exec/main.aap,v > retrieving revision 1.29 > diff -u -r1.29 main.aap > --- main.aap 1 Feb 2004 15:30:54 -0000 1.29 > +++ main.aap 4 Mar 2004 10:17:50 -0000 > @@ -103,9 +103,15 @@ __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html |