Re: Problems with --install vim

Johan Svedberg <[email protected]>
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
* Sep 28 18:12 Bram Moolenaar <[email protected]>:

[...]

> > The patch fixed it. However I still have the earlier reported problem
> > with supplying a PREFIX. :-( Is aap --install vim PREFIX=$HOME/tmp a
> > correct syntax? When I tried the PREFIX Recipe Examples on the webpage I
> > didn't have any problems though, so it feels related to the Vim-recipe.
>
> Could you please explain what the probem with PREFIX is?  The command
> you give looks OK to me.

Well, it seems like it still aiming at /usr/local/, this is the output I'm
getting:

[...]

link.sh: The file 'auto/link.sed' exists, which is going to be used now.
link.sh: If linking fails, try deleting the auto/link.sed file.
link.sh: If this fails too, try creating an empty auto/link.sed file.
link.sh: Using auto/link.sed file to remove a few libraries
  gcc -L/usr/X11R6/lib -L/usr/local/lib                 -o vim build-Linux2_4_21_acc_k7_smp-GTK/buffer.o build-Linux2_4_21_acc_k7_smp-GTK/charset.o build-Linux2_4_21_acc_k7_smp-GTK/diff.o build-Linux2_4_21_acc_k7_smp-GTK/digraph.o build-Linux2_4_21_acc_k7_smp-GTK/edit.o build-Linux2_4_21_acc_k7_smp-GTK/eval.o build-Linux2_4_21_acc_k7_smp-GTK/ex_cmds.o build-Linux2_4_21_acc_k7_smp-GTK/ex_cmds2.o build-Linux2_4_21_acc_k7_smp-GTK/ex_docmd.o build-Linux2_4_21_acc_k7_smp-GTK/ex_eval.o build-Linux2_4_21_acc_k7_smp-GTK/ex_getln.o build-Linux2_4_21_acc_k7_smp-GTK/fileio.o build-Linux2_4_21_acc_k7_smp-GTK/fold.o build-Linux2_4_21_acc_k7_smp-GTK/getchar.o build-Linux2_4_21_acc_k7_smp-GTK/if_cscope.o build-Linux2_4_21_acc_k7_smp-GTK/if_xcmdsrv.o build-Linux2_4_21_acc_k7_smp-GTK/main.o build-Linux2_4_21_acc_k7_smp-GTK/mark.o build-Linux2_4_21_acc_k7_smp-GTK/memfile.o build-Linux2_4_21_acc_k7_smp-GTK/memline.o build-Linux2_4_21_acc_k7_smp-GTK/menu.o build-Linux2_4_21_acc_k7_smp-GTK/message.o build-Linux2_4_21_acc_k7_smp-GTK/misc1.o build-Linux2_4_21_acc_k7_smp-GTK/misc2.o build-Linux2_4_21_acc_k7_smp-GTK/move.o build-Linux2_4_21_acc_k7_smp-GTK/mbyte.o build-Linux2_4_21_acc_k7_smp-GTK/normal.o build-Linux2_4_21_acc_k7_smp-GTK/ops.o build-Linux2_4_21_acc_k7_smp-GTK/option.o build-Linux2_4_21_acc_k7_smp-GTK/os_unix.o build-Linux2_4_21_acc_k7_smp-GTK/auto/pathdef.o build-Linux2_4_21_acc_k7_smp-GTK/quickfix.o build-Linux2_4_21_acc_k7_smp-GTK/regexp.o build-Linux2_4_21_acc_k7_smp-GTK/screen.o build-Linux2_4_21_acc_k7_smp-GTK/search.o build-Linux2_4_21_acc_k7_smp-GTK/syntax.o build-Linux2_4_21_acc_k7_smp-GTK/tag.o build-Linux2_4_21_acc_k7_smp-GTK/term.o build-Linux2_4_21_acc_k7_smp-GTK/ui.o build-Linux2_4_21_acc_k7_smp-GTK/undo.o build-Linux2_4_21_acc_k7_smp-GTK/window.o build-Linux2_4_21_acc_k7_smp-GTK/gui.o build-Linux2_4_21_acc_k7_smp-GTK/gui_gtk.o build-Linux2_4_21_acc_k7_smp-GTK/gui_gtk_x11.o build-Linux2_4_21_acc_k7_smp-GTK/pty.o build-Linux2_4_21_acc_k7_smp-GTK/gui_beval.o build-Linux2_4_21_acc_k7_smp-GTK/gui_gtk_f.o build-Linux2_4_21_acc_k7_smp-GTK/netbeans.o build-Linux2_4_21_acc_k7_smp-GTK/version.o -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lm -lXt -lncurses -ldl
link.sh: Linked fine with a few libraries removed
Aap: Copied "auto/link.sed" to "build-Linux2_4_21_acc_k7_smp-GTK/link.sed"
Aap: Error in recipe "/home/w/winkle/.aap/packages/vim/vim/src/main.aap" line 618: Cannot copy "vim" to "/usr/local/bin/vim": [Errno 13] Permission denied: '/usr/local/bin/vim'
included from "/home/w/winkle/.aap/packages/vim/vim/main.aap" line 23
included from "/home/w/winkle/.aap/packages/vim/main.aap" line 83
winkle@mao:~/tmp $

[...]

-- 
Johan Svedberg, [email protected], http://johan.svedberg.pp.se/


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.