Re: gvim GUI cannot be used
On Fri, Jul 05, 2013 at 05:41:11PM +0200, Raphael Ahrens wrote: > Ahh, thank you. > ke...@kpa.biglobe.ne.jp wrote on Sat, 06.Jul.13 00:03: > > Hi, > > > > On Fri, 5 Jul 2013 14:11:41 +0200 > > Raphael Ahrens wrote: > > > > > When I execute "cd /usr/ports/editors/vim; make config" I get > > > ===> No options to configure > > > > try: setenv WITH_OPTIONS=yes > that did the trick, but I assume this is not the way it is supposed > to happen. The port maintainer has made it so, for reasons unknown. This is a marked deviation from basically all other ports; the vim port is the only port that uses WITH_OPTIONS. The switch was dropped in r314778 of the ports tree: http://svnweb.freebsd.org/ports/head/editors/vim/Makefile?revision=314778&view=markup but it was brought back in r322016: http://svnweb.freebsd.org/ports/head/editors/vim/Makefile?revision=322016&view=markup I ran into the same issue because I installed vim when WITH_OPTIONS was absent. The best way to get around this issue once and for all is to add the following to /etc/make.conf: - /etc/make.conf excerpt - .if ${.CURDIR:M*/editors/vim} WITH_OPTIONS=YES .endif - /etc/make.conf excerpt - Roland -- R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpKN6I2ZAyTU.pgp Description: PGP signature
Re: gvim GUI cannot be used
Hi, Jens Jahnke wrote on Fri, 05.Jul.13 18:49: > Hi, > > On Fri, 5 Jul 2013 17:52:59 +0200 > Raphael Ahrens wrote: > > RA> To get to the bottom of the problem here my make.conf received with > RA> my now again working gvim, thanks to the remark of Kent. :) > RA> > RA> WITH_X11=YES > RA> OPTIMZED_CFLAGS=YES > RA> MAKE_JOBS_NUMBER=2 > RA> BUILD_OPTIMIZED=YES > RA> WITH_CPUFLAGS=YES > RA> > RA> WITH_PKGNG=yes > RA> WITHOUT_PROFILE=yes > RA> TEX_DEFAULT=texlive > RA> # added by use.perl 2013-07-05 12:03:07 > RA> PERL_VERSION=5.12.5 > RA> > RA> Greetings, > RA> Raphael > > that doesn't work on my system. However if I use > # setenv WITH_OPTIONS=yes > # make install > everything works and I get options again. ;-) Sorry I should rephrase that. The option with "setenv WITH_OPTIONS=yes" from Kent worked for me. But I added the make.conf so I could get a more permanent solution, because this is more a hot fix in my opinion. > > Regards, > > Jens > > -- > 05. Heuert 2013, 18:44 > Homepage : http://www.jan0sch.de > > You will win success in whatever calling you adopt. Regards, Raphael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: gvim GUI cannot be used
Hi, On Fri, 5 Jul 2013 17:52:59 +0200 Raphael Ahrens wrote: RA> To get to the bottom of the problem here my make.conf received with RA> my now again working gvim, thanks to the remark of Kent. :) RA> RA> WITH_X11=YES RA> OPTIMZED_CFLAGS=YES RA> MAKE_JOBS_NUMBER=2 RA> BUILD_OPTIMIZED=YES RA> WITH_CPUFLAGS=YES RA> RA> WITH_PKGNG=yes RA> WITHOUT_PROFILE=yes RA> TEX_DEFAULT=texlive RA> # added by use.perl 2013-07-05 12:03:07 RA> PERL_VERSION=5.12.5 RA> RA> Greetings, RA> Raphael that doesn't work on my system. However if I use # setenv WITH_OPTIONS=yes # make install everything works and I get options again. ;-) Regards, Jens -- 05. Heuert 2013, 18:44 Homepage : http://www.jan0sch.de You will win success in whatever calling you adopt. pgpc971uTJ0zm.pgp Description: PGP signature
Re: gvim GUI cannot be used
Jens Jahnke writes: > Hi, > > On Fri, 5 Jul 2013 12:56:32 +0200 > CeDeROM wrote: > > C> Hey Raphael :-) Go to /usr/ports/editors/vim and make deinstall > C> reinstall it, that works for me, and it helps with dialogs in texmode > C> as well :-) > > for me this does not work. Unless I hack the Makefile and force it to > enable gui mode it just isn't compiled in. Try running 'make show-options' and see what you get. Mine shows that virtually everything is disabled. If I run 'make showconfig' then it shows no configurable options. -- Carl Johnsonca...@peak.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: gvim GUI cannot be used
Polytropon wrote on Fri, 05.Jul.13 15:34: > On Fri, 5 Jul 2013 13:51:08 +0200, Fernando Apesteguía wrote: > > El 05/07/2013 13:20, "Jens Jahnke" escribió: > > > > > > Hi, > > > > > > On Fri, 5 Jul 2013 12:56:32 +0200 > > > CeDeROM wrote: > > > > > > C> Hey Raphael :-) Go to /usr/ports/editors/vim and make deinstall > > > C> reinstall it, that works for me, and it helps with dialogs in texmode > > > C> as well :-) > > > > > > for me this does not work. Unless I hack the Makefile and force it to > > > enable gui mode it just isn't compiled in. > > > > Try a make rmconfig first and then make install. > > And make sure /etc/make.conf does not contain any "offending" > settings that might suggest you do not have or want X11. > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... To get to the bottom of the problem here my make.conf received with my now again working gvim, thanks to the remark of Kent. :) WITH_X11=YES OPTIMZED_CFLAGS=YES MAKE_JOBS_NUMBER=2 BUILD_OPTIMIZED=YES WITH_CPUFLAGS=YES WITH_PKGNG=yes WITHOUT_PROFILE=yes TEX_DEFAULT=texlive # added by use.perl 2013-07-05 12:03:07 PERL_VERSION=5.12.5 Greetings, Raphael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: gvim GUI cannot be used
Ahh, thank you. ke...@kpa.biglobe.ne.jp wrote on Sat, 06.Jul.13 00:03: > Hi, > > On Fri, 5 Jul 2013 14:11:41 +0200 > Raphael Ahrens wrote: > > > When I execute "cd /usr/ports/editors/vim; make config" I get > > ===> No options to configure > > try: setenv WITH_OPTIONS=yes that did the trick, but I assume this is not the way it is supposed to happen. > > -- > Kent.N > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: gvim GUI cannot be used
Polytropon wrote: > On Fri, 5 Jul 2013 13:51:08 +0200, Fernando Apesteguía wrote: > > El 05/07/2013 13:20, "Jens Jahnke" escribió: > > > > > > Hi, > > > > > > On Fri, 5 Jul 2013 12:56:32 +0200 > > > CeDeROM wrote: > > > > > > C> Hey Raphael :-) Go to /usr/ports/editors/vim and make deinstall > > > C> reinstall it, that works for me, and it helps with dialogs in texmode > > > C> as well :-) > > > > > > for me this does not work. Unless I hack the Makefile and force it to > > > enable gui mode it just isn't compiled in. > > > > Try a make rmconfig first and then make install. > > And make sure /etc/make.conf does not contain any "offending" > settings that might suggest you do not have or want X11. (Half off topic, but I have too many X things on remote servers, so to reduce that in future I thought I 'd set the same things Raphael is being reccomended to Unset :-) I searched on 8.2-RELEASE & just found /usr/ports/Mk/bsd.port.mk: 1 x .if defined(_USE_GHOSTSCRIPT) . if !defined(WITHOUT_X11) 1 x _USE_GHOSTSCRIPT_PKGNAME_SUFFIX=-nox11 Any others ? Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Reply below not above, like a play script. Indent old text with "> ". Send plain text. No quoted-printable, HTML, base64, multipart/alternative. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: gvim GUI cannot be used
Hi, On Fri, 5 Jul 2013 14:11:41 +0200 Raphael Ahrens wrote: > When I execute "cd /usr/ports/editors/vim; make config" I get > ===> No options to configure try: setenv WITH_OPTIONS=yes -- Kent.N ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: gvim GUI cannot be used
On Fri, Jul 5, 2013 at 2:11 PM, Raphael Ahrens wrote: >> Have you tried "make config" (as root) select X11 and graphical > When I execute "cd /usr/ports/editors/vim; make config" I get > ===> No options to configure No options? Are you root? I have those http://justpaste.it/30li Try: sudo csh portsnap fetch update cd /usr/ports/editors/vim make rmconfig make config -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: gvim GUI cannot be used
Well, On Fri, 5 Jul 2013 15:34:59 +0200 Polytropon wrote: P> > Try a make rmconfig first and then make install. P> P> And make sure /etc/make.conf does not contain any "offending" P> settings that might suggest you do not have or want X11. if I do make rmconfig it tells me that there was no user config. To be sure I deleted the /var/db/ports/vim/options file. Here is my /etc/make.conf: WITH_PKGNG=yes # Ruby RUBY_DEFAULT_VER=2.0 # TeX TEX_DEFAULT=texlive # QT QT4_OPTIONS=CUPS QGTKSTYLE # added by use.perl 2013-07-02 07:31:18 PERL_VERSION=5.14.4 However vim is still build without x11 support. The only thing working right now is manually tweaking the Makefile. Otherwise I always end up with a ./configure --enable-gui=no ... Regards, Jens -- 05. Heuert 2013, 15:47 Homepage : http://www.jan0sch.de Antique fairy tale: Little Red Riding Hood. Modern fairy tale: Oswald, acting alone, shot Kennedy. pgpdfrNcHOGGm.pgp Description: PGP signature
Re: gvim GUI cannot be used
On Fri, 5 Jul 2013 13:51:08 +0200, Fernando Apesteguía wrote: > El 05/07/2013 13:20, "Jens Jahnke" escribió: > > > > Hi, > > > > On Fri, 5 Jul 2013 12:56:32 +0200 > > CeDeROM wrote: > > > > C> Hey Raphael :-) Go to /usr/ports/editors/vim and make deinstall > > C> reinstall it, that works for me, and it helps with dialogs in texmode > > C> as well :-) > > > > for me this does not work. Unless I hack the Makefile and force it to > > enable gui mode it just isn't compiled in. > > Try a make rmconfig first and then make install. And make sure /etc/make.conf does not contain any "offending" settings that might suggest you do not have or want X11. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: gvim GUI cannot be used
CeDeROM wrote on Fri, 05.Jul.13 13:47: > On Fri, Jul 5, 2013 at 1:15 PM, Raphael Ahrens > wrote: > > I tried this, but I get the same result. > > The thing is in the make prozess it prints > > defaulting to: don't HAVE_X11 > > checking --enable-gui argument... no GUI support > > checking X11/SM/SMlib.h usability... yes > > checking X11/SM/SMlib.h presence... yes > > checking for X11/SM/SMlib.h... yes > > no GUI selected; xim has been disabled > > no GUI selected; fontset has been disabled > > Have you tried "make config" (as root) select X11 and graphical When I execute "cd /usr/ports/editors/vim; make config" I get ===> No options to configure > toolkit, or "make -DHAVE_X11" . Maybe you have no x11/toolkit > dependencies installed.. but if you select them in config make should > build them for you? The question is which x11/toolkit. I can't remember deleting any before updating. > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: gvim GUI cannot be used
El 05/07/2013 13:20, "Jens Jahnke" escribió: > > Hi, > > On Fri, 5 Jul 2013 12:56:32 +0200 > CeDeROM wrote: > > C> Hey Raphael :-) Go to /usr/ports/editors/vim and make deinstall > C> reinstall it, that works for me, and it helps with dialogs in texmode > C> as well :-) > > for me this does not work. Unless I hack the Makefile and force it to > enable gui mode it just isn't compiled in. Try a make rmconfig first and then make install. > > Regards, > > Jens > > -- > 05. Heuert 2013, 13:19 > Homepage : http://www.jan0sch.de > > SAFETY > I can live without > Someone I love > But not without > Someone I need. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: gvim GUI cannot be used
On Fri, Jul 5, 2013 at 1:15 PM, Raphael Ahrens wrote: > I tried this, but I get the same result. > The thing is in the make prozess it prints > defaulting to: don't HAVE_X11 > checking --enable-gui argument... no GUI support > checking X11/SM/SMlib.h usability... yes > checking X11/SM/SMlib.h presence... yes > checking for X11/SM/SMlib.h... yes > no GUI selected; xim has been disabled > no GUI selected; fontset has been disabled Have you tried "make config" (as root) select X11 and graphical toolkit, or "make -DHAVE_X11" . Maybe you have no x11/toolkit dependencies installed.. but if you select them in config make should build them for you? -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: gvim GUI cannot be used
Hi, On Fri, 5 Jul 2013 12:56:32 +0200 CeDeROM wrote: C> Hey Raphael :-) Go to /usr/ports/editors/vim and make deinstall C> reinstall it, that works for me, and it helps with dialogs in texmode C> as well :-) for me this does not work. Unless I hack the Makefile and force it to enable gui mode it just isn't compiled in. Regards, Jens -- 05. Heuert 2013, 13:19 Homepage : http://www.jan0sch.de SAFETY I can live without Someone I love But not without Someone I need. pgp6lPZC5JzKA.pgp Description: PGP signature
Re: gvim GUI cannot be used
Hi Tomek, I tried this, but I get the same result. The thing is in the make prozess it prints defaulting to: don't HAVE_X11 checking --enable-gui argument... no GUI support checking X11/SM/SMlib.h usability... yes checking X11/SM/SMlib.h presence... yes checking for X11/SM/SMlib.h... yes no GUI selected; xim has been disabled no GUI selected; fontset has been disabled So I think my system is missing some library or configuration. At first I thought that I just need to execute "make config" in editor/vim, but it has no configurations. I am actually little bit puzzled. Best regards, Raphael CeDeROM wrote on Fri, 05.Jul.13 12:56: > On Fri, Jul 5, 2013 at 12:43 PM, Raphael Ahrens > wrote: > > After my last update of vim I can't use gvim anymore. > > If fails with the following message > > E25: GUI cannot be used: Not enabled at compile time > > Now what do I have to do to compile vim with GUI support? > > Hey Raphael :-) Go to /usr/ports/editors/vim and make deinstall > reinstall it, that works for me, and it helps with dialogs in texmode > as well :-) > > Best regards :-) > Tomek Cedro > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: gvim GUI cannot be used
On Fri, Jul 5, 2013 at 12:43 PM, Raphael Ahrens wrote: > After my last update of vim I can't use gvim anymore. > If fails with the following message > E25: GUI cannot be used: Not enabled at compile time > Now what do I have to do to compile vim with GUI support? Hey Raphael :-) Go to /usr/ports/editors/vim and make deinstall reinstall it, that works for me, and it helps with dialogs in texmode as well :-) Best regards :-) Tomek Cedro -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"