Re: How to recompile the VIM port for GUI

2007-05-12 Thread Andrew Falanga

On 5/11/07, RW <[EMAIL PROTECTED]> wrote:


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\*



What is the pkg-config* package anyway?  When you said here that I'd
have to rebuild some stuff, I didn't think you meant every single port
in the system.

I finally got the pkgdb -Ff to work, but I had to remove a couple of
packages that kept kicking it out because two packages placed files in
the same place.  I don't recall the packages now, but it the pkgdb did
finally work.  Then I did the portupgrade -rf pkg-config\*.  That was
last night (Friday) @ ~10.  It's probably taken longer than it should
have because I went to bed at 12 and got up through the night to
answer the prompts.  However, here it is 8:34 on Saturday night (MST)
and it's still building KDE.

I think that there was some things that hadn't upgraded before even
though I thought that they had.  I have a very serious question now.
How am I supposed to know to check that stuff you said to with
"pkg_info -px "^gtk-" and look for "CWD /usr/local" instead of what I
had for everything "CWD /usr/X11"?  How did you know that?  Would that
all have been in that /usr/ports/UPDATING?

Thanks for the help.

Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to recompile the VIM port for GUI

2007-05-11 Thread RW
On Fri, 11 May 2007 13:01:39 -0600
"Andrew Falanga" <[EMAIL PROTECTED]> wrote:

> On 5/11/07, RW <[EMAIL PROTECTED]> wrote:
> > On Fri, 11 May 2007 07:48:16 -0600
> > "Andrew Falanga" <[EMAIL PROTECTED]> wrote:
> >
> > > On 5/11/07, Pietro Cerutti <[EMAIL PROTECTED]> 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\*

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to recompile the VIM port for GUI

2007-05-11 Thread Andrew Falanga

On 5/11/07, RW <[EMAIL PROTECTED]> wrote:

On Fri, 11 May 2007 07:48:16 -0600
"Andrew Falanga" <[EMAIL PROTECTED]> wrote:

> On 5/11/07, Pietro Cerutti <[EMAIL PROTECTED]> 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?

It's for this reason that I asked about this here.  Where would they
be defined?  All I did, if I recall, was install the vim port from
using sysinstall when I originally installed FreeBSD.  After that, I
installed cvsup-without-gui, updated my ports tree and then used
portupgrade to upgrade the vim port (after installing portupgrade of
course).  I didn't actually define NO_GUI or WITHOUT_X11 anywhere when
I originally did the install, and when I had originally installed the
vim port it did work with the GUI.

Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to recompile the VIM port for GUI

2007-05-11 Thread RW
On Fri, 11 May 2007 07:48:16 -0600
"Andrew Falanga" <[EMAIL PROTECTED]> wrote:

> On 5/11/07, Pietro Cerutti <[EMAIL PROTECTED]> 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.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to recompile the VIM port for GUI

2007-05-11 Thread Andrew Falanga

On 5/11/07, Pietro Cerutti <[EMAIL PROTECTED]> 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.

Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to recompile the VIM port for GUI

2007-05-11 Thread Pietro Cerutti
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,
> Andy

-- 
Pietro Cerutti

PGP Public Key ID:
http://gahr.ch/pgp



signature.asc
Description: OpenPGP digital signature


Re: How to recompile the VIM port for GUI

2007-05-10 Thread Bill Campbell
On Thu, May 10, 2007, Andrew Falanga wrote:
>Hi,
>
>As I'd mentioned before, I upgraded my vim installation using
>portupgrade.  However, when the upgrade completed, I could no longer
>start vim in the GUI.  I get an error saying that GUI stuff wasn't
>compiled.  I asked here at that time and was told to check up with the
>port maintainer.  I've done this, but to no avail.  I've heard nary a
>peep from the maintainer.

The way I run xterm as a GUI is:

xterm -e vim

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

More laws, less justice.  -- Marcus Tulius Ciceroca (42 BD)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"