Subject: pkg/34800: vim-share doesn't compile
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <briangbaguidi@gmail.com>
List: pkgsrc-bugs
Date: 10/12/2006 21:20:00
>Number: 34800
>Category: pkg
>Synopsis: vim-share doesn't compile
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Oct 12 21:20:00 +0000 2006
>Originator: Brian Gbaguidi
>Release: 3.0.1
>Organization:
none
>Environment:
NetBSD 3.0.1 NetBSD 3.0.1 (GENERIC) #0: Thu Jul 13 23:43:47 UTC 2006 builds@b3.netbsd.org:/home/builds/ab/netbsd-3-0-1-RELEASE/i386/200607131826Z-obj/home/builds/ab/netbsd-3-0-1-RELEASE/src/sys/arch/i386/compile/GENERIC i386
>Description:
i use pkgsrc 2006Q3. After a cvs update -Pd on it, i have tried to compile vim-share. It ends after the configure by saying:
===> Building for vim-share-7.0.91
GUI_INC_LOC="" GUI_LIB_LOC="" CC="cc" CPPFLAGS="" CFLAGS="-O2" LDFLAGS="-Wl,-R/usr
/pkg/lib" srcdir="." ./configure
configure: loading cache auto/config.cache
configure: error: `CPP' was not set in the previous run
configure: error: `host_alias' was set to `i386--netbsdelf' in the previous run
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm auto/config.cache' and start over
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/editors/vim-share/work/vim70/src
I also have tried to run ./configure in vim-share/work/vim70 and it ends with:
configure: loading cache auto/config.cache
configure: error: `CC' was set to `cc' in the previous run
configure: error: `CFLAGS' was set to `-O2' in the previous run
configure: error: `CPPFLAGS' was set to `' in the previous run
configure: error: `LDFLAGS' was set to `-Wl,-R/usr/pkg/lib' in the previous run
configure: error: `host_alias' was set to `i386--netbsdelf' in the previous run
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm auto/config.cache' and start over
I also tried to comment the lines in src/auto/configure where these FLAGS where set and after running ./configure again and "make" it ends by mbyte.c by saying that some variables are not declared.
>How-To-Repeat:
By trying to install vim-share
>Fix: