Forward to vim-dev list. See my comments at bottom.

-------- Original Message --------
Subject: Re: compiling vim7.1 (huge version) gets build with normal version
Date: Tue, 15 May 2007 08:14:28 -0700
From: Tushar Desai <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: A.J.Mechelynck <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>

HI Tony,

I tried what you suggested, but now I'm getting this really weird
compile error (I'm compiling on ubuntu 7.04 with gnome 2.0)

gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/freetype2 -I/usr/include/libpng12   -DORBIT2=1 -pthread
-I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0
-I/usr/include/libart-2.0 -I/usr/include/gconf/2
-I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1
-I/usr/include/orbit-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libbonobo-2.0
-I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12
-I/usr/include/libxml2     -O2 -fno-strength-reduce -Wall
-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/lib/perl/5.8/CORE  -I/usr/include/python2.5 -pthread
-I/usr/include/tcl8.4  -D_REENTRANT=1  -D_THREAD_SAFE=1
-D_LARGEFILE64_SOURCE=1  -I/usr/lib/ruby/1.8/i486-linux  -o
objects/gui_gtk.o gui_gtk.c
In file included from /usr/include/glib-2.0/glib/gi18n.h:23,
                from /usr/include/libbonobo-2.0/bonobo/bonobo-i18n.h:37,
                from /usr/include/libgnome-2.0/libgnome/gnome-i18n.h:41,
                from /usr/include/libgnome-2.0/libgnome/libgnome.h:30,
                from /usr/include/libgnomeui-2.0/gnome.h:5,
                from gui_gtk.c:62:
/usr/include/libintl.h:92: error: expected identifier or '(' before ';' token
make[1]: *** [objects/gui_gtk.o] Error 1
make[1]: Leaving directory `/home/tushar/vim/vim71/src'
make: *** [myself] Error 2

Regards,
-tushar.
----- End Original Message -----

This may be the problem addressed by patch 7.1.001, see http://ftp.vim.org/pub/vim/patches/7.1/

So, try the following:

cd ~/vim/vim71
mkdir -pv patches
cd patches
ftp ftp.vim.org
        Name: ftp
        Password: ftp
        cd pub/vim/patches/7.1
        mget *
        a
        bye
cd ..
patch -p0 <patches/7.1.001
patch -p0 <patches/7.1.002
# beware of "beautifying" mailers! Here comes a long line starting "rsync"
# followed by a line starting "vim"
rsync -avzcP --delete --exclude="/dos/" ftp.nluug.nl::Vim/runtime/ ./runtime/ 2>&1 | tee rsync.log
vim -es -u NONE -c '%s/^.*\r//' -cx rsync.log
echo $CONF_OPT_FEAT
        (if the reply is not --with-features=huge):
        source myconfig
make 2>&1 |tee make.log

etc. If you still get the same error, someone else will have to help you.


Best regards,
Tony.
--
                        *** NEWSFLASH ***
Russian tanks steamrolling through New Jersey!!!!  Details at eleven!

Reply via email to