Subject: pkg/27052: mc: installation from pkgsrc fails
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <siflfran@hawo.stw.uni-erlangen.de>
List: pkgsrc-bugs
Date: 09/27/2004 13:15:09
>Number:         27052
>Category:       pkg
>Synopsis:       mc: installation from pkgsrc fails
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 27 13:16:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Florian Franzmann
>Release:        NetBSD 2.0G
>Organization:
>Environment:
NetBSD chimaera 2.0G NetBSD 2.0G (CHIMAERA-current-2) #0: Sun Aug  8 22:11:48 CEST 2004  root@chimaera:/usr/src/sys/arch/i386/compile/CHIMAERA-current-2 i386
>Description:
the mc pkgsrc compiles fine but fails during 'make install':

gmake[1]: Entering directory `/usr/pkgsrc/sysutils/mc/work.i386/mc-4.5.51/src'
gcc -c -I.. -Dunix -I/usr/pkg/include -DNO_INFOMOUNT -I../slang  -I./../vfs -I./../slang -I.. -DBINDIR=\""/usr/pkg/bin/"\" -DLIBDIR=\""/usr/pkg/lib/mc/"\" -DICONDIR=\""/usr/pkg/share/pixmaps/mc/"\"  -DLOCALEDIR=\""/usr/pkg/share/locale/"\" -DCONFDIR=\""/usr/pkg/etc/"\" -DDESKTOP_INIT_DIR=\""/usr/pkg/lib/mc/desktop-scripts/"\" -DREGEX_MALLOC -DHAVE_CONFIG_H -O3 -march=athlon-xp -mmmx -mfpmath=sse -msse -m3dnow -pipe -I/usr/pkg/include -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include  subshell.c                                                  subshell.c:66:65: stropts.h: No such file or directory

Why does mc compile anything at all during install? Shouldn't this have happened during build?
>How-To-Repeat:
cd /usr/pkgsrc/sysutils/mc
make
make install
>Fix:
unknown
>Release-Note:
>Audit-Trail:
>Unformatted: