[Bram at moolenaar.net: Re: patch 7.1.036]

James Vega jamessan at debian.org
Thu Aug 2 15:37:40 UTC 2007


----- Forwarded message from Bram Moolenaar <Bram at moolenaar.net> -----
Elimar Riesebieter wrote:

> On Fri, 27 Jul 2007 the mental interface of
> Bram Moolenaar told:
> 
> [...]
> > I test with about 30 different configurations, and they all work fine.
> > I suspect you build with some specific features enabled or disabled.
> > You'll have to tell use exactly how you build to be able to understand
> > what is going on.
> 
> The Debian "Tiny Version":
> 
> CFLAGS="-O2 -Wno-strict-aliasing -Wno-pointer-sign -g -Wall \
> -DFEAT_AUTOCMD -DFEAT_BYTEOFF -DFEAT_CMDL_COMPL -DFEAT_CMDHIST \
> -DFEAT_CMDL_INFO -DFEAT_COMMENTS -DFEAT_DIFF -DFEAT_DIGRAPHS \
> -DFEAT_EVAL -DFEAT_EX_EXTRA -DFEAT_SEARCH_EXTRA -DFEAT_SEARCHPATH \
> -DFEAT_FOLDING -DFEAT_INS_EXPAND -DFEAT_LISTCMDS -DFEAT_QUICKFIX \
> -DFEAT_SCROLLBIND -DFEAT_SMARTINDENT -DFEAT_TEXTOBJ -DFEAT_USR_CMDS \
> -DFEAT_VERTSPLIT -DFEAT_VIMINFO -DFEAT_VISUALEXTRA" \
> ./configure \
> --prefix=/usr --mandir='${prefix}'/share/man \
> --with-compiledby="riesebie at aragorn.home.lxtec.de" \
> --with-features=small --disable-syntax --disable-gui --disable-xsmp \
> --disable-xsmp-interact --disable-netbeans --disable-acl \
> --disable-gpm --enable-nls --enable-multibyte --enable-multilang
> 
> Do you need more info`s?

No, this is sufficient to see that the problem is that someone tries to
mess with the way Vim selects features.   This is not a supported way to
compile Vim, you'll have to fix the command until it works.  And repeat
changing it every time src/feature.h changes, it will probably break
again.

Anyway, you should not pass feature arguments when running configure.
Configure is supposed to find out what features will work and disable
the ones that don't work.
----- End forwarded message -----

As I hinted in a previous commit, we need to rework how we build the
vim-tiny package.  Post patch 36, our package will not build without
tweaking the -DFEAT_* arguments we pass to configure/make.  I'm going to
look into achieving the same effect as our current process but purely by
using the --with-$feature flag that configure understands.  If anyone
has other ideas or suggestions, I'm all ears.

Also, did we specifically choose to use --with-features=small over
--with-features=tiny because of the inclusion of +visual and +windows?
Do we want to stick with small?

James
-- 
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20070802/8ba64c81/attachment.pgp 


More information about the pkg-vim-maintainers mailing list