Dan Sharp wrote: > Cesar Romani wrote: >> I'm using the Ming compiler on Win XP Pro. >> Compiling vim 7.2 with perl 5.8 works, >> but when I try to compile vim 7.2 with perl 5.10 it fails: >> >> --------- >> ... >> Can't locate ExtUtils/ParseXS.pm in @INC (@INC contains: >> /usr/lib/perl5/5.6.1/msys /usr/lib/perl5/5.6.1 >> /usr/lib/perl5/site_perl/5.6.1/msys /usr/lib/perl5/site_perl/5.6.1 >> /usr/lib/perl5/site_perl .) at C:/perl/lib/ExtUtils/xsubpp line 4. >> BEGIN failed--compilation aborted at C:/perl/lib/ExtUtils/xsubpp line 4. >> make: *** [if_perl.c] Error 2 >> --------- >> > Looks like your compile process is using the perl executable in the > MSYS-DTK package, which is version 5.6.1. I assume your perl 5.10 is > installed in c:\perl, so you need to make sure c:\perl\bin comes before > c:\msys\1.0\bin (or wherever you installed msys) in your %PATH% variable. > > Dan
Thanks a lot for your answer. I changed the order as you indicated but I'm getting the following error: --------- ... gcc -Iproto -DWIN32 -DWINVER=0x0400 -D_WIN32_WINNT=0x0400 -DHAVE_PATHDEF -DFEAT_BIG -DHAVE_GETTEXT -DHAVE_LOCALE_H -DDYNAMIC_GETTEXT -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_GUI_W32 -DFEAT_CLIPBOARD -DFEAT_MBYTE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DDYNAMIC_ICONV -pipe -w -march=i386 -Wall -IC:/perl/lib/Core -DFEAT_PERL -LC:/perl/lib/Core -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"perl510.dll\" -DFEAT_PYTHON -I c:/python25/include -DDYNAMIC_PYTHON -DDYNAMIC_PYTHON_DLL=\"python25.dll\" -O3 -fomit-frame-pointer -freg-struct-return -s -mwindows -o gvim.exe gobj/buffer.o gobj/charset.o gobj/diff.o gobj/digraph.o gobj/edit.o gobj/eval.o gobj/ex_cmds.o gobj/ex_cmds2.o gobj/ex_docmd.o gobj/ex_eval.o gobj/ex_getln.o gobj/fileio.o gobj/fold.o gobj/getchar.o gobj/hardcopy.o gobj/hashtab.o gobj/main.o gobj/mark.o gobj/memfile.o gobj/memline.o gobj/menu.o gobj/message.o gobj/misc1.o gobj/misc2.o gobj/move.o gobj/mbyte.o gobj/normal.o gobj/ops.o gobj/option.o gobj/os_win32.o gobj/os_mswin.o gobj/pathdef.o gobj/popupmnu.o gobj/quickfix.o gobj/regexp.o gobj/screen.o gobj/search.o gobj/spell.o gobj/syntax.o gobj/tag.o gobj/term.o gobj/ui.o gobj/undo.o gobj/version.o gobj/vimrc.o gobj/window.o gobj/if_perl.o gobj/if_python.o gobj/if_cscope.o gobj/netbeans.o gobj/gui.o gobj/gui_w32.o gobj/gui_beval.o gobj/os_w32exe.o -lkernel32 -luser32 -lgdi32 -ladvapi32 -lcomdlg32 -lcomctl32 -lversion -lwsock32 -lole32 -luuid gobj/if_perl.o:if_perl.c:(.text+0x8ff): undefined reference to `Perl_sv_free2' gobj/if_perl.o:if_perl.c:(.text+0x1106): undefined reference to `Perl_sv_free2' collect2: ld returned 1 exit status make: *** [gvim.exe] Error 1 --------- With Perl 5.8 I don't get any errors and the compiling is flawless. Many thanks in advance, Cesar --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
