Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Dec 2009 12:25:06 +0200
From:      "Sergey V. Dyatko" <sergey.dyatko@gmail.com>
To:        Dima Panov <fluffy@fluffy.khv.ru>
Cc:        fjoe@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: configure failed on misc/mc
Message-ID:  <20091215122506.0a1b08a7@tiger.minsk.domain>
In-Reply-To: <200912152008.40572.fluffy@fluffy.khv.ru>
References:  <20091215110430.56ffc19b@notebook> <200912151927.52138.fluffy@fluffy.khv.ru> <20091215115525.778d9f39@tiger.minsk.domain> <200912152008.40572.fluffy@fluffy.khv.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
В Tue, 15 Dec 2009 20:08:40 +1000
Dima Panov <fluffy@fluffy.khv.ru> пишет:

DP> On Tuesday 15 December 2009 19:55:25 Sergey V. Dyatko wrote:
DP> > On Tue, 15 Dec 2009 19:27:51 +1000
DP> > Dima Panov <fluffy@fluffy.khv.ru> wrote:
DP> > 
DP> > DP> On Tuesday 15 December 2009 19:04:30 Sergey V. Dyatko wrote:
DP> > DP> > Hi,
DP> > DP> >
DP> > DP> > I have same error as
DP> > DP> > http://forums.freebsd.org/showthread.php?p=55865 on my
DP> > DP> > laptop, but on my desktop mc-4.7.0-pre4 build and works
DP> > DP> > fine.
DP> > DP> >
DP> > DP> > desktop# make showconfig
DP> > DP> > ===> The following configuration options are available for
DP> > DP> > mc-4.7.0pre4: SLANG=on "Build with SLang library"
DP> > DP> >      ICONV=on "Build with iconv recoding"
DP> > DP> >      NLS=on "Build with NLS support"
DP> > DP> >      EDIT=on "Build with internal editor"
DP> > DP> >      X11=on "Build with X11 library"
DP> > DP> >      SUBSHELL=on "Build with subshell support"
DP> > DP> >      SAMBA=off "Build with Samba support"
DP> > DP> > ===> Use 'make config' to modify these settings
DP> > DP> >
DP> > DP> > On laptop I have same config
DP> > DP> >
DP> > DP> > config.log:
DP> > DP> > http://tiger.ipfw.ru/files/config.log
DP> > DP> >
DP> > DP>
DP> > DP> Index:
DP> > DP> Makefile
DP> > DP> ===================================================================
DP> > DP> RCS file: /home/ncvs/ports/misc/mc/Makefile,v retrieving
DP> > DP> revision 1.120 diff -u -r1.120
DP> > DP> Makefile --- Makefile    14 Dec 2009 18:54:05 -0000      1.120
DP> > DP> +++ Makefile    15 Dec 2009 09:26:38 -0000
DP> > DP> @@ -76,6 +76,7 @@
DP> > DP>  .if defined(WITH_UTF8)
DP> > DP>  LIB_DEPENDS+=  slang.2:${PORTSDIR}/devel/libslang2
DP> > DP>  CONFIGURE_ARGS+=--with-screen=slang
DP> > DP> +CONFIGURE_ENV+=        LDFLAGS=-L${LOCALBASE}/lib
DP> > DP> CFLAGS+=-I${LOCALBASE}/include .elif !defined(WITH_SLANG) &&
DP> > DP> (defined(WITHOUT_SLANG) || defined(MINIMAL))
DP> > DP> CONFIGURE_ARGS+=--with-screen=ncurses .else
DP> > DP>
DP> > 
DP> > same error.
DP> > 
DP> 
DP> Oops, was wrong patch. Now it should be fine
DP> 
DP> Index:
DP> Makefile
DP> ===================================================================
DP> RCS file: /home/ncvs/ports/misc/mc/Makefile,v retrieving revision
DP> 1.120 diff -u -r1.120
DP> Makefile --- Makefile    14 Dec 2009 18:54:05 -0000
DP> 1.120 +++ Makefile    15 Dec 2009 10:04:35
DP> -0000 @@ -73,13 +73,12 @@
DP>  PLIST_SUB+=    EDITOR=""
DP>  .endif
DP> 
DP> -.if defined(WITH_UTF8)
DP> +.if defined(WITH_SLANG)&& !defined(MINIMAL)
DP>  LIB_DEPENDS+=  slang.2:${PORTSDIR}/devel/libslang2
DP>  CONFIGURE_ARGS+=--with-screen=slang
DP> -.elif !defined(WITH_SLANG) && (defined(WITHOUT_SLANG) ||
DP> defined(MINIMAL)) -CONFIGURE_ARGS+=--with-screen=ncurses
DP> +CONFIGURE_ENV+=        LDFLAGS=-L${LOCALBASE}/lib
DP> CFLAGS+=-I${LOCALBASE}/include .else
DP> -CONFIGURE_ARGS+=--with-screen=mcslang
DP> +CONFIGURE_ARGS+=--with-screen=ncurses
DP>  .endif
DP> 
DP>  .if !defined(WITH_SUBSHELL) && (defined(WITHOUT_SUBSHELL) ||
DP> defined(MINIMAL))
DP> 

now it build and works fine on laptop too, but strange that on the
desktop `make configure` works w/o errors:-/


--
wbr, tiger



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091215122506.0a1b08a7>