Date: Fri, 11 May 2007 21:13:10 +0100 From: RW <fbsd06@mlists.homeunix.com> To: freebsd-questions@freebsd.org Subject: Re: How to recompile the VIM port for GUI Message-ID: <20070511211310.61e84935@gumby.homeunix.com.> In-Reply-To: <340a29540705111201v32ccd135u1f9fccfcf2fc21d4@mail.gmail.com> References: <340a29540705102053k4365b00bua92b56ed194bbf05@mail.gmail.com> <46444AC8.5090401@gahr.ch> <340a29540705110648v62ee41fej24737dadf9697f5d@mail.gmail.com> <20070511171837.306763a3@gumby.homeunix.com.> <340a29540705111201v32ccd135u1f9fccfcf2fc21d4@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 11 May 2007 13:01:39 -0600
"Andrew Falanga" <af300wsm@gmail.com> wrote:
> On 5/11/07, RW <fbsd06@mlists.homeunix.com> wrote:
> > On Fri, 11 May 2007 07:48:16 -0600
> > "Andrew Falanga" <af300wsm@gmail.com> wrote:
> >
> > > On 5/11/07, Pietro Cerutti <gahr@gahr.ch> wrote:
> > > > Andrew Falanga wrote:
> > > > > Hi,
> > > > Hello,
> > > > > So, how do I modify the build environment properly to allow
> > > > > for the building of the GUI? There are several variables
> > > > > referenced in the Makefile in /usr/ports/editors/vim, but I'm
> > > > > not sure what to make of them.
> > > >
> > > > cd /usr/ports/editors/vim
> > > > make WITH_GTK2=yes
> > > > make install
> > > >
> > >
> > > Thanks, I'll give that a try tonight.
> >
> >
> > I don't think this should be needed. Setting WITH_GTK2=yes makes it
> > use gtk 2.x instead of gtk 1.x. I have it working and up-to-date
> > with the latter.
> >
> > Check that you don't have NO_GUI or WITHOUT_X11 defined somewhere.
>
> I saw both of those in the make file. Would I want to do the same
> thing as was suggested above, but with those variables; e.g. make
> NO_GUI=no?
Don't do that.
I'm wondering if this is due to the prefix change. Look at the output
of:
pkg_info -px "^gtk-"
If you don't see
CWD to /usr/local
for your GTK ports, you'll need the rebuild some stuff:
pkgdb -Ff
portupgrade -rf pkg-config\*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070511211310.61e84935>
