Subject: can't build kde
To: None <netbsd-help@netbsd.org>
From: Rick McCombs <rick.mccombs@gmail.com>
List: netbsd-help
Date: 12/01/2007 15:27:11
NetBSD 3.1 i365

When I try to build kde3 I get what you see below.
I googled and figured out that I might need qconf
 even though I thought that should have been taken
care of automatically.  I get stuck on an error making it too (see below).
 I have installed the packages
from the i385 package iso if that matters.
I have pkgsrc-2007Q3.tar.gz  will that work with 3.1?



# cd /usr/pkgsrc/meta-pkgs/kde3
# make && make install
===> Checking for vulnerabilities in kde-3.5.7
===> Installing dependencies for kde-3.5.7
=> Full dependency kdelibs-3.5.7{,nb[0-9]*}: kdelibs-3.5.7nb3 found
=> Full dependency kdelibs-3.5.7{,nb[0-9]*}: kdelibs-3.5.7nb3 found
=> Full dependency kdeaccessibility-3.5.7{,nb[0-9]*}: NOT found
=> Verifying reinstall for ../../misc/kdeaccessibility3
=> Bootstrap dependency digest>=20010302: digest-20070803 found
===> Checking for vulnerabilities in kdeaccessibility-3.5.7nb3
=> Checksum SHA1 OK for kdeaccessibility-3.5.7.tar.bz2
=> Checksum RMD160 OK for kdeaccessibility-3.5.7.tar.bz2
===> Installing dependencies for kdeaccessibility-3.5.7nb3
==========================================================================
The supported build options for kdeaccessibility are:

        gstreamer

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

        PKG_OPTIONS.kdeaccessibility (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
kdeaccessibility-3.5.7nb3.  Their current value is shown below:

        * BDB185_DEFAULT = db1
        * BDB_DEFAULT = db4
        * KRB5_DEFAULT = heimdal
        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

Based on these variables, the following variables have been set:

        * BDBBASE = /usr
        * BDB_LIBS (defined, but empty)
        * BDB_TYPE = db1
        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = heimdal

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Build dependency libtool-base>=1.5.18nb5: libtool-base-1.5.24nb5 found
=> Build dependency xpkgwedge>=1.15: xpkgwedge-1.16 found
=> Build dependency gmake>=3.78: gmake-3.81 found
=> Build dependency perl>=5.0: perl-5.8.8nb3 found
=> Build dependency pkg-config>=0.19: pkg-config-0.21nb1 found
=> Build dependency x11-links>=0.25: x11-links-0.31 found
=> Build dependency qt3-tools>=3.3.6nb1: NOT found
=> Verifying reinstall for ../../x11/qt3-tools
=> Bootstrap dependency digest>=20010302: digest-20070803 found
===> Checking for vulnerabilities in qt3-tools-3.3.8
===> Building for qt3-tools-3.3.8
cd tools && /usr/pkg/bin/gmake
gmake[1]: Entering directory
`/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.8/tools'
qmake -spec /usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.8/mkspecs/netbsd-g++
-o Makefile tools.pro
gmake[1]: qmake: Command not found
gmake[1]: *** [Makefile] Error 127
gmake[1]: Leaving directory
`/usr/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.8/tools'
gmake: *** [sub-tools] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/x11/qt3-tools
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/qt3-tools
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/misc/kdeaccessibility3
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/meta-pkgs/kde3
#


#
# cd /usr/pkgsrc/devel/qconf/
# make && make install
=> Bootstrap dependency digest>=20010302: digest-20070803 found
===> Checking for vulnerabilities in qconf-1.3
=> Checksum SHA1 OK for qconf-1.3.tar.bz2
=> Checksum RMD160 OK for qconf-1.3.tar.bz2
===> Installing dependencies for qconf-1.3
=> Build dependency x11-links>=0.25: x11-links-0.31 found
=> Build dependency qt4-tools>=4.1.2nb1: NOT found
=> Verifying reinstall for ../../x11/qt4-tools
=> Bootstrap dependency digest>=20010302: digest-20070803 found
===> Checking for vulnerabilities in qt4-tools-4.3.1
=> Checksum SHA1 OK for qt-x11-opensource-src-4.3.1.tar.gz
=> Checksum RMD160 OK for qt-x11-opensource-src-4.3.1.tar.gz
===> Installing dependencies for qt4-tools-4.3.1
==========================================================================
The supported build options for qt4-tools are:

        cups debug

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

        PKG_OPTIONS.qt4 (not defined)

==========================================================================
=> Build dependency libtool-base>=1.5.18nb5: libtool-base-1.5.24nb5 found
=> Build dependency gmake>=3.78: gmake-3.81 found
=> Build dependency x11-links>=0.25: x11-links-0.31 found
=> Build dependency renderproto>=0.9.1: renderproto-0.9.2 found
=> Build dependency randrproto>=1.2.0: randrproto-1.2.1 found
=> Build dependency fixesproto>=3.0.0: fixesproto-4.0 found
=> Build dependency inputproto>=1.4: inputproto-1.4.2.1 found
=> Full dependency libtool-base-[0-9]*: libtool-base-1.5.24nb5 found
=> Full dependency libtool-base-[0-9]*: libtool-base-1.5.24nb5 found
=> Full dependency qt4-libs>=4.1.2nb1: NOT found
=> Verifying reinstall for ../../x11/qt4-libs
=> Bootstrap dependency digest>=20010302: digest-20070803 found
===> Checking for vulnerabilities in qt4-libs-4.3.1nb1
===> Configuring for qt4-libs-4.3.1nb1
sed     -e 's:@LOCALBASE@:/usr/pkg:g'  -e 's:@X11BASE@:/usr/X11R6:g'
-e 's:@X11PREFIX@:/usr/pkg:g'  -e 's:@LIBTOOL@:libtool:g'  -e
's:@CC@:cc:g'  -e 's:@CXX@:c++:g'  -e 's:@LDFLAGS@:\ \ -L/usr/pkg/lib\
-Wl,-R/usr/pkg/lib\ -L/usr/lib\ -Wl,-R/usr/lib\ -L/usr/X11R6/lib\
-Wl,-R/usr/X11R6/lib:g'  -e 's:@CFLAGS@:-O2\ -I/usr/pkg/include\
-DGLX_GLXEXT_LEGACY\ -I/usr/include\ -I/usr/pkg/include/freetype2\
-I/usr/X11R6/include:g'  -e 's:@CXXFLAGS@:-O2\ -I/usr/pkg/include\
-DGLX_GLXEXT_LEGACY\ -I/usr/include\ -I/usr/pkg/include/freetype2\
-I/usr/X11R6/include:g'  -e 's:@SYS_LIBS@::g'  -e 's:@LEX@:lex:g'  -e
's:@YACC@::g'  -e 's:@AR@:ar:g'  -e 's:@MKDIR@:/bin/mkdir\ -p:g'  -e
's:@LIBQT@:-lQtCore\ -lQtGui:g'  -e 's:@PTHREAD_LDFLAGS@:\ -pthread:g'
 -e 's:@PTHREAD_LIBS@::g'  -e 's:@COMPILER_RPATH_FLAG@:-Wl,-R:g'  -e
's:@QMAKE_RANLIB@:true:g'
/usr/pkgsrc/x11/qt4-libs/../../x11/qt4-libs/files/qmake.conf >
/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.3.1/qmake.conf
for dir in /usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.3.1/mkspecs/*;
do  cp /usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.3.1/qmake.conf
${dir};  rm -f ${dir}/*.orig;  done

This is the Qt/X11 Open Source Edition.

You are licensed to use this software under the terms of either
the Q Public License (QPL) or the GNU General Public License (GPL).

Type 'Q' to view the Q Public License.
Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of either license?
Creating qmake. Please wait...
c++ -c -o qscriptlexer.o -O2 -I/usr/pkg/include -DGLX_GLXEXT_LEGACY
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/X11R6/include -O2
-I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include
-I/usr/pkg/include/freetype2 -I/usr/X11R6/include -DQ_TRAILING_DIR_SEP
-DQMAKE_OPENSOURCE_EDITION -I/usr/pkg/include -DGLX_GLXEXT_LEGACY
-I/usr/include -I/usr/pkg/include/freetype2 -I/usr/X11R6/include -I.
-Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac
-I/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.3.1/src/corelib/arch/generic
-I/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.3.1/include
-I/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.3.1/include/QtCore
-I/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.3.1/include
-I/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.3.1/include/QtCore
-I/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.3.1/src/corelib/global
-I/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.3.1/src/script
-DQT_NO_PCRE -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT
-DQT_NO_STL -DQT_BUILD_QMAKE -DQT_NO_COMPRESS
-I/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.3.1/mkspecs/netbsd-g++
-DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT
 /usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.3.1/src/script/qscriptlexer.cpp
/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.3.1/src/script/qscriptlexer.cpp:
In
   member function `int QScript::Lexer::lex()':
/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.3.1/src/script/qscriptlexer.cpp:705:
error: `
   strtold' undeclared (first use this function)
/usr/pkgsrc/x11/qt4-libs/work/qt-x11-opensource-src-4.3.1/src/script/qscriptlexer.cpp:705:
error: (Each
   undeclared identifier is reported only once for each function it appears
   in.)
make: *** [qscriptlexer.o] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/x11/qt4-libs
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/qt4-libs
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/x11/qt4-tools
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/qconf
#

-- 
Email  rick.mccombs@gmail.com  If you want a gmail invitation just ask.
Amateur Radio AD5DU.
home page http://www.geocities.com/richard_mccombs/