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

List:       openpkg-users
Subject:    vim with_perl spec problem and possible solution
From:       Scott Cruzen <sic () lerp ! com>
Date:       2005-03-25 11:17:37
Message-ID: 20050325111737.GA22961 () blkwidow ! internal
[Download RAW message or body]

I tried to build a perl enabled vim with

    openpkg rpm --define 'with_perl yes'     --rebuild vim-6.3.62-2.3.0.src.rpm

but the resulting rpm claims that with_perl is yes, but executing vim
--version shows, "-perl".

I edited the spec file as follows:
--- /openpkg/RPM/SRC/vim/vim.spec~      2005-02-21 09:02:33.000000000
-0800
+++ vim.spec    2005-03-25 03:16:15.208929000 -0800
@@ -245,7 +245,7 @@
         --enable-multibyte  %endif
 %if "%{with_perl}" == "yes"
-        --enable-perlinterp=%{l_prefix}/bin/perl +        --enable-perlinterp  %endif
 %if "%{with_python}" == "yes"
         --enable-pythoninterp=%{l_prefix}/bin/python 
And it builds with perl enabled afterwards.
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org
[prev in list] [next in list] [prev in thread] [next in thread] 

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