Subject: Re: pkg/14181: qt2-libs make install fails
To: None <quadreverb@yahoo.com>
From: Bernd Ernesti <netbsd@arresum.inka.de>
List: tech-pkg
Date: 10/09/2001 00:22:42
On Sun, Oct 07, 2001 at 06:32:47AM -0700, quadreverb@yahoo.com wrote:
> >Description:
> qt2-libs fails on make install as a dependency of kde2.1. Here is the output:
> 
> gcc  -O2 -fPIC -I/usr/pkgsrc/x11/qt2-libs/work/qt-2.3.1/src/3rdparty/zlib -I/usr/pkgsrc/x11/qt2-libs/work/qt-2.3.1/src/3rdparty/libpng -I/usr/X11R6/include -I/usr/pkgsrc/x11/qt2-libs/work/.buildlink/include -I/usr/pkgsrc/x11/qt2-libs/work/.buildlink/include  -I/usr/pkg/share/x11-links/include -I/usr/pkg/share/x11-links/include  -c -o 3rdparty/zlib/zutil.o 3rdparty/zlib/zutil.c
> -c: not found
> gmake[1]: *** [tools/qdir_unix.o] Error 127
> gmake[1]: Leaving directory `/usr/pkgsrc/x11/qt2-libs/work/qt-2.3.1/src'
> gmake: *** [sub-src] Error 2
> *** Error code 2

Ok, I see the same problem and we get that, because there is no longer a c++ or g++
in front of the -c.

I don't understand the patch-ae file for this package:

-CXX    =       $(SYSCONF_CXX) $(QT_CXX_MT)
+CXX    =       $(SYSCONF_CXX_LIB) $(QT_CXX_MT)

Now, SYSCONF_CXX_LIB is empty and thats why we get this error.
Was CXX defined before, so this never happend?

Bernd