pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Unable to build devel/pkg-config



I am trying to do a pkg_rolling-replace and am stuck on devel/pkg-config.

NetBSD version is HEAD (6.99.23) amd64. 

This is a USB-stick installation, and an internal media reader alters the 
dev/sd* numbering, so I use NAME= in /etc/fstab which I believe is available 
only for HEAD, not for <= 6.x.

I have autoconf installed, and found the file /usr/pkg/bin/autom4te which the 
log file says is missing.

I know pkg-config proved too buggy or problematic for FreeBSD, which switched 
to pkgconf (in ports collection) and no longer uses pkg-config.

Latter part of log file is

config.status: executing libtool commands
rm: libtoolT: No such file or directory
config.status: executing glib/glibconfig.h commands
=> Modifying libtool scripts to use pkgsrc libtool
cd /BETA1/pkgsrc/devel/pkg-config/work699.amd64/pkg-config-0.28/glib;  
/usr/bin/grep -v HAVE_DTRACE config.h >config.h.new;  /bin/mv config.h.new 
config.h
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package 
Makefile.
WARNING: Please add USE_TOOLS+=perl to the package Makefile.
===> Building for pkg-config-0.28
/usr/bin/make  all-recursive
Making all in glib
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh 
/BETA1/pkgsrc/devel/pkg-config/work699.amd64/pkg-config-0.28/glib/missing --run 
aclocal-1.12 -I m4macros 
WARNING: `autom4te' is needed, but is missing on your system.
         You might have modified some files without having the
         proper tools for further handling them.
         You can get `autom4te' as part of `Autoconf' from any GNU
         archive site.
Use of uninitialized value $macro in exists at /usr/pkg/bin/aclocal-1.12 line 
746, <GEN70> line 1.
Use of uninitialized value $macro in string eq at /usr/pkg/bin/aclocal-1.12 
line 748, <GEN70> line 1.
Usage: chmod [-R [-H | -L | -P]] [-fh] mode file ...
        chmod [-R [-H | -L | -P]] [-fh] --reference=rfile file ...
Use of uninitialized value $macro in string eq at /usr/pkg/bin/aclocal-1.12 
line 748, <GEN70> line 1.
Use of uninitialized value $macro in string eq at /usr/pkg/bin/aclocal-1.12 
line 748, <GEN70> line 1.
Use of uninitialized value $macro in string eq at /usr/pkg/bin/aclocal-1.12 
line 753, <GEN70> line 1.
Use of uninitialized value $macro in exists at /usr/pkg/bin/aclocal-1.12 line 
746, <GEN70> line 2.
Use of uninitialized value $macro in string eq at /usr/pkg/bin/aclocal-1.12 
line 748, <GEN70> line 2.
Use of uninitialized value $macro in string eq at /usr/pkg/bin/aclocal-1.12 
line 748, <GEN70> line 2.
Use of uninitialized value $macro in string eq at /usr/pkg/bin/aclocal-1.12 
line 748, <GEN70> line 2.
Use of uninitialized value $macro in string eq at /usr/pkg/bin/aclocal-1.12 
line 753, <GEN70> line 2.
Use of uninitialized value $macro in exists at /usr/pkg/bin/aclocal-1.12 line 
746, <GEN70> line 3.
Use of uninitialized value $macro in string eq at /usr/pkg/bin/aclocal-1.12 
line 748, <GEN70> line 3.
Use of uninitialized value $macro in string eq at /usr/pkg/bin/aclocal-1.12 
line 748, <GEN70> line 3.
Use of uninitialized value $macro in string eq at /usr/pkg/bin/aclocal-1.12 
line 748, <GEN70> line 3.
Use of uninitialized value $macro in string eq at /usr/pkg/bin/aclocal-1.12 
line 753, <GEN70> line 3.
Use of uninitialized value $macro in exists at /usr/pkg/bin/aclocal-1.12 line 
746, <GEN70> line 4.
Use of uninitialized value $macro in string eq at /usr/pkg/bin/aclocal-1.12 
line 748, <GEN70> line 4.
Use of uninitialized value $macro in string eq at /usr/pkg/bin/aclocal-1.12 
line 748, <GEN70> line 4.
Use of uninitialized value $macro in string eq at /usr/pkg/bin/aclocal-1.12 
line 748, <GEN70> line 4.
Use of uninitialized value $macro in string eq at /usr/pkg/bin/aclocal-1.12 
line 753, <GEN70> line 4.
aclocal-1.12: error: autom4te failed with exit status: 1
*** Error code 1

Stop.
make[2]: stopped in 
/BETA1/pkgsrc/devel/pkg-config/work699.amd64/pkg-config-0.28/glib
*** Error code 1

Stop.
make[1]: stopped in /BETA1/pkgsrc/devel/pkg-config/work699.amd64/pkg-config-0.28
*** Error code 1

Stop.
make: stopped in /BETA1/pkgsrc/devel/pkg-config/work699.amd64/pkg-config-0.28
*** Error code 1

Stop.
make[1]: stopped in /BETA1/pkgsrc/devel/pkg-config
*** Error code 1

Stop.
make: stopped in /BETA1/pkgsrc/devel/pkg-config

(end)

I would like to continue with pkg_rolling-replace, though really the most 
important package may be subversion.

I tried making suggested changes in Makefile,

USE_LANGUAGES+= c c++
USE_TOOLS+= perl

doing "make clean" before "make build",
but this did no good.

Tom



Home | Main Index | Thread Index | Old Index