[kde-freebsd] qt4-moc update fails to build

Lars Segelken lars.segelken at web.de
Sun Aug 10 16:14:28 CEST 2008


On Sonntag, 10. August 2008, Max Brazhnikov wrote:
> On Sun, 10 Aug 2008 00:05:23 +0200, Lars Segelken wrote:
> > On Samstag, 9. August 2008, Max Brazhnikov wrote:
> > > On Sat, 9 Aug 2008 12:57:28 +0200, Lars Segelken wrote:
> > > > I'm not realy into the ports-system, but i think QMAKESPEC should be
> > > > set by the file /usr/ports/Mk/bsd.qt.mk for there is a line
> > > > QMAKESPEC?=     ${QT_PREFIX}/share/qt4/mkspecs/freebsd-g++
> > > >
> > > > Any idea why that doesn't work?
> > >
> > > It works. The question is why it doesn't work for you.
> >
> > Indeed.
> >
> > It works, if i change this line
> > QMAKESPEC?=     ${QT_PREFIX}/share/qt4/mkspecs/freebsd-g++
> > to
> > QMAKESPEC=     ${QT_PREFIX}/share/qt4/mkspecs/freebsd-g++
> >
> > But i haven't found where my QMAKESPEC is set to a wrong value.
>
> Have you got the same error when rebuilding qt4-moc? Could you please show
> the output 'make -VQMAKESPEC -VCONFIGURE_ARGS' from devel/qt4-moc directory
> and environment setting?
I changed back the file /usr/ports/Mk/bsd.qt.mk to orignial.
make -VQMAKESPEC -VCONFIGURE_ARGS now says:

./qt4-moc>make -VQMAKESPEC -VCONFIGURE_ARGS
freebsd-g++
-fast  -platform freebsd-g++  -L/usr/local/lib/qt4  
-qt-gif -system-libjpeg -system-libpng  -system-libmng -system-libtiff 
-system-zlib  -confirm-license  -prefix /usr/local  -bindir /usr/local/bin  -libdir /usr/local/lib/qt4  
-docdir /usr/local/share/doc/qt4  -headerdir /usr/local/include/qt4  -plugindir /usr/local/lib/qt4/plugins  
-datadir /usr/local/share/qt4  -translationdir /usr/local/share/qt4/translations  -sysconfdir /usr/local/etc/xdg  
-examplesdir /usr/local/share/examples/qt4/examples  -demosdir /usr/local/share/examples/qt4/demos -no-exceptions 
-release -no-separate-debug-info

But qt4-moc builds now.

An other ports i havend jet updated to 4.4.1, qt4-svg give the same output 
of 'make -VQMAKESPEC -VCONFIGURE_ARGS' but fails to build with the error:
   
The specified system/compiler is not supported:

      /usr/ports/graphics/qt4-svg/work/qt-x11-opensource-src-4.4.1/mkspecs/freebsd-g++


> Max

Lars



More information about the kde-freebsd mailing list