[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vim
Subject:    Re: vim-5.7 win32 +perl binary site?
From:       M A Aziz Ahmed <aziz () ty ! acorn-networks ! com>
Date:       2000-10-31 22:47:29
[Download RAW message or body]

* Sven Guckes (guckes@vim.org) [31 Oct 2000 17:40]:
> Do we have any special sites for binaries
> like that (vim-5.7 win32 +perl)?
> 
> Sven
> 
Here is a mail that I got from a fellow vim user when asked for
perl-compiled vim :

-------- Mail from Rui Maximo ------------------
From ruim@microsoft.com Mon Oct 16 13:17 EDT 2000
Subject: Win32 vim-perl 5.7 
Date: Mon, 16 Oct 2000 10:16:53 -0700
X-Mailer: Internet Mail Service (5.5.2651.58)

Since all 3 of you requested the same binary, I thought I would send a
single email. :-)  Because each of you have a limit on your email, I went
out and created a quick homepage this morning so you could download it from;
although I think you would have been fine if I mailed it to you.  The site
location is:

http://communities.msn.com/SoleAlegria.

Navigate to the "File Cabinet" on the left side.  You'll see 3 files listed:
gvim.exe, vim.exe, and visvim.dll.  vim.exe is vim-perl. gvim.exe is
vim-ole, and visvim.dll is to do the "integration" w/ VC but I've not gotten
it to work properly.  I have to admit I didn't try very hard.  If any of you
know how to, please kindly let us know.  Even though you only requested
vim-perl, I thought you might be interested in vim-ole as well.

You've also asked what tweaks I did to get the compilation working.
Actually, a gentleman from Japan helped me out.  I've attached his email
below.  I installed perl from ActiveState, made a single modification to the
makefile.w32, line 264, to PERL_LIB.  Instead of pointing it to
$(PERL)\lib\Core\perl.lib, I changed it to $(PERL)\lib\Core\perl56.lib.
Then compile vim by providing it the path to your perl installation from the
vim sources directory:

nmake -f makefile.w32 PERL=<path to your perl installation>

I made mine point to a personal %work% directory for portability because I
often change computers, but the location of your perl installation doesn't
seem to be important as long as it can find it from %PATH%.

Make sure you clean build before you rebuild.  I was running into that
problem.  I don't use VC very often.


Rui Maximo

 <<Re: Compiling Vim 5.7 w/ ActiveState Perl 5.6 on VC++>> 

-----
From: Muraoka Taro <koron@tka.att.ne.jp>
To: Rui Maximo <ruim@microsoft.com>
Subject: Re: Compiling Vim 5.7 w/ ActiveState Perl 5.6 on VC++
Date: Fri, 6 Oct 2000 22:17:08 -0700 

It seems your linker said that I cannot found function win_goto_nr() used in
if_perl.obj.  But that function is in window.obj, if you compiled it
correctly (See your window.c line 1106).  If you hava once compiled without
perl option and not "clean"ed old objs, it may cause similar situation with
you.

So, try compile with below process.
    > nmake -f Makefile.w32 clean
    > nmake -f Makefile.w32 PERL=%work%\Perl
Sometimes "nmake clean" failed to delete object code and its directory.
Then you have to delete that directory (that name is Obj, ObjG or so)
manually.

Regards.
----
Muraoka Taro  <koron@tka.att.ne.jp>


----- Original Message ----- 
From: "Rui Maximo" <ruim@microsoft.com>
To: "'Muraoka Taro'" <koron@tka.att.ne.jp>
Sent: Saturday, October 07, 2000 9:49 AM
Subject: RE: Compiling Vim 5.7 w/ ActiveState Perl 5.6 on VC++


> Thanks for the info Muraoka.  I modified the PERL_LIB line in my
> makefile.w32, but when I recompiled it gave me a different error.  Do you
> know what this is?
> 
> D:\temp\vim57\src>nmake -f Makefile.w32 PERL=%work%\Perl

     :
     : (omit)
     :

>         link /RELEASE /nologo /subsystem:console /incremental:no
> -out:vim.exe .\
> ObjC\buffer.obj  .\ObjC\charset.obj  .\ObjC\digraph.obj  .\ObjC\edit.obj
> .\ObjC
> \eval.obj  .\ObjC\ex_cmds.obj  .\ObjC\ex_docmd.obj  .\ObjC\ex_getln.obj
> .\ObjC\
> fileio.obj  .\ObjC\getchar.obj  .\ObjC\main.obj  .\ObjC\mark.obj
> .\ObjC\memfile
> .obj  .\ObjC\memline.obj  .\ObjC\menu.obj  .\ObjC\message.obj
.\ObjC\misc1.
> obj
>  .\ObjC\misc2.obj  .\ObjC\multbyte.obj  .\ObjC\normal.obj
.\ObjC\option.obj
> .\
> ObjC\ops.obj  .\ObjC\os_win32.obj  .\ObjC\quickfix.obj  .\ObjC\regexp.obj
.
> \Obj
> C\screen.obj  .\ObjC\search.obj  .\ObjC\syntax.obj  .\ObjC\tag.obj
> .\ObjC\term.
> obj  .\ObjC\ui.obj  .\ObjC\undo.obj  .\ObjC\window.obj  .\ObjC\vim.res
> .\ObjC\
> if_perl.obj .\ObjC\if_perlsfio.obj     .\ObjC\version.obj libc.lib
oldnames.
> lib
> kernel32.lib  ws2_32.lib mswsock.lib advapi32.lib   user32.lib
> c:\work\Perl\Lib
> \Core\perl56.lib
> if_perl.obj : error LNK2001: unresolved external symbol _win_goto_nr
> vim.exe : fatal error LNK1120: 1 unresolved externals
> NMAKE : fatal error U1077: 'link' : return code '0x460'
> Stop.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic