Re: configure failed on misc/mc

2009-12-15 Thread Dima Panov
On Tuesday 15 December 2009 19:04:30 Sergey V. Dyatko wrote:
 Hi,
 
 I have same error as http://forums.freebsd.org/showthread.php?p=55865 on
 my laptop, but on my desktop mc-4.7.0-pre4 build and works fine.
 
 desktop# make showconfig
 === The following configuration options are available for mc-4.7.0pre4:
  SLANG=on Build with SLang library
  ICONV=on Build with iconv recoding
  NLS=on Build with NLS support
  EDIT=on Build with internal editor
  X11=on Build with X11 library
  SUBSHELL=on Build with subshell support
  SAMBA=off Build with Samba support
 === Use 'make config' to modify these settings
 
 On laptop I have same config
 
 config.log:
 http://tiger.ipfw.ru/files/config.log
 

Index: Makefile 
 
=== 
 
RCS file: /home/ncvs/ports/misc/mc/Makefile,v   
 
retrieving revision 1.120   
 
diff -u -r1.120 Makefile
 
--- Makefile14 Dec 2009 18:54:05 -  1.120
+++ Makefile15 Dec 2009 09:26:38 -
@@ -76,6 +76,7 @@
 .if defined(WITH_UTF8)
 LIB_DEPENDS+=  slang.2:${PORTSDIR}/devel/libslang2
 CONFIGURE_ARGS+=--with-screen=slang
+CONFIGURE_ENV+=LDFLAGS=-L${LOCALBASE}/lib 
CFLAGS+=-I${LOCALBASE}/include
 .elif !defined(WITH_SLANG)  (defined(WITHOUT_SLANG) || defined(MINIMAL))
 CONFIGURE_ARGS+=--with-screen=ncurses
 .else

-- 
Dima Red Fox Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 B018
Khabarovsk, Russia  | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 8F29
k...@freebsd Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept 1995
Twitter.com:fluffy_khv | Skype:dima.panov | Jabber.org:fluffy.khv | ICQ:1745024
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: configure failed on misc/mc

2009-12-15 Thread Sergey V. Dyatko
On Tue, 15 Dec 2009 19:27:51 +1000
Dima Panov flu...@fluffy.khv.ru wrote:

DP On Tuesday 15 December 2009 19:04:30 Sergey V. Dyatko wrote:
DP  Hi,
DP  
DP  I have same error as
DP  http://forums.freebsd.org/showthread.php?p=55865 on my laptop,
DP  but on my desktop mc-4.7.0-pre4 build and works fine.
DP  
DP  desktop# make showconfig
DP  === The following configuration options are available for
DP  mc-4.7.0pre4: SLANG=on Build with SLang library
DP   ICONV=on Build with iconv recoding
DP   NLS=on Build with NLS support
DP   EDIT=on Build with internal editor
DP   X11=on Build with X11 library
DP   SUBSHELL=on Build with subshell support
DP   SAMBA=off Build with Samba support
DP  === Use 'make config' to modify these settings
DP  
DP  On laptop I have same config
DP  
DP  config.log:
DP  http://tiger.ipfw.ru/files/config.log
DP  
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 --- Makefile14 Dec 2009 18:54:05 -  1.120
DP +++ Makefile15 Dec 2009 09:26:38 -
DP @@ -76,6 +76,7 @@
DP  .if defined(WITH_UTF8)
DP  LIB_DEPENDS+=  slang.2:${PORTSDIR}/devel/libslang2
DP  CONFIGURE_ARGS+=--with-screen=slang
DP +CONFIGURE_ENV+=LDFLAGS=-L${LOCALBASE}/lib
DP CFLAGS+=-I${LOCALBASE}/include .elif !defined(WITH_SLANG) 
DP (defined(WITHOUT_SLANG) || defined(MINIMAL))
DP CONFIGURE_ARGS+=--with-screen=ncurses .else
DP 

same error.

--
wbr, tiger
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: configure failed on misc/mc

2009-12-15 Thread Dima Panov
On Tuesday 15 December 2009 19:55:25 Sergey V. Dyatko wrote:
 On Tue, 15 Dec 2009 19:27:51 +1000
 Dima Panov flu...@fluffy.khv.ru wrote:
 
 DP On Tuesday 15 December 2009 19:04:30 Sergey V. Dyatko wrote:
 DP  Hi,
 DP 
 DP  I have same error as
 DP  http://forums.freebsd.org/showthread.php?p=55865 on my laptop,
 DP  but on my desktop mc-4.7.0-pre4 build and works fine.
 DP 
 DP  desktop# make showconfig
 DP  === The following configuration options are available for
 DP  mc-4.7.0pre4: SLANG=on Build with SLang library
 DP   ICONV=on Build with iconv recoding
 DP   NLS=on Build with NLS support
 DP   EDIT=on Build with internal editor
 DP   X11=on Build with X11 library
 DP   SUBSHELL=on Build with subshell support
 DP   SAMBA=off Build with Samba support
 DP  === Use 'make config' to modify these settings
 DP 
 DP  On laptop I have same config
 DP 
 DP  config.log:
 DP  http://tiger.ipfw.ru/files/config.log
 DP 
 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 --- Makefile14 Dec 2009 18:54:05 -  1.120
 DP +++ Makefile15 Dec 2009 09:26:38 -
 DP @@ -76,6 +76,7 @@
 DP  .if defined(WITH_UTF8)
 DP  LIB_DEPENDS+=  slang.2:${PORTSDIR}/devel/libslang2
 DP  CONFIGURE_ARGS+=--with-screen=slang
 DP +CONFIGURE_ENV+=LDFLAGS=-L${LOCALBASE}/lib
 DP CFLAGS+=-I${LOCALBASE}/include .elif !defined(WITH_SLANG) 
 DP (defined(WITHOUT_SLANG) || defined(MINIMAL))
 DP CONFIGURE_ARGS+=--with-screen=ncurses .else
 DP
 
 same error.
 

Oops, was wrong patch. Now it should be fine

Index: Makefile 
 
=== 
 
RCS file: /home/ncvs/ports/misc/mc/Makefile,v   
 
retrieving revision 1.120   
 
diff -u -r1.120 Makefile
 
--- Makefile14 Dec 2009 18:54:05 -  1.120   
 
+++ Makefile15 Dec 2009 10:04:35 -  
 
@@ -73,13 +73,12 @@
 PLIST_SUB+=EDITOR=
 .endif

-.if defined(WITH_UTF8)
+.if defined(WITH_SLANG) !defined(MINIMAL)
 LIB_DEPENDS+=  slang.2:${PORTSDIR}/devel/libslang2
 CONFIGURE_ARGS+=--with-screen=slang
-.elif !defined(WITH_SLANG)  (defined(WITHOUT_SLANG) || defined(MINIMAL))
-CONFIGURE_ARGS+=--with-screen=ncurses
+CONFIGURE_ENV+=LDFLAGS=-L${LOCALBASE}/lib 
CFLAGS+=-I${LOCALBASE}/include
 .else
-CONFIGURE_ARGS+=--with-screen=mcslang
+CONFIGURE_ARGS+=--with-screen=ncurses
 .endif

 .if !defined(WITH_SUBSHELL)  (defined(WITHOUT_SUBSHELL) || defined(MINIMAL))

-- 
Dima Red Fox Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 B018
Khabarovsk, Russia  | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 8F29
k...@freebsd Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept 1995
Twitter.com:fluffy_khv | Skype:dima.panov | Jabber.org:fluffy.khv | ICQ:1745024
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: configure failed on misc/mc

2009-12-15 Thread Sergey V. Dyatko
В Tue, 15 Dec 2009 20:08:40 +1000
Dima Panov flu...@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 flu...@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 --- Makefile14 Dec 2009 18:54:05 -  1.120
DP  DP +++ Makefile15 Dec 2009 09:26:38 -
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 --- Makefile14 Dec 2009 18:54:05 -
DP 1.120 +++ Makefile15 Dec 2009 10:04:35
DP - @@ -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
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org