Re: RFS: qtoctave
* Jordi Gutierrez Hermoso <jordigh@gmail.com> [2007-06-19 15:14:55 -0500]:
> On 19/06/07, Oleksandr Moskalenko <malex@debian.org> wrote:
> >Personally, I'd patch the upstream source at build-time to use
> >/usr/bin/qmake-qt4. There could be better ways, I suppose, but it's
> >something
> >I'd do.
>
> Done. I applied a small patch to the configure script. I uploaded the
> changes to mentors.debian.net
>
> Btw, what is the preferred way to upload small changes to
> mentors.debian.net? I used the command
>
> dupload -f -t mentors qtoctave_0.5.1-1_i386.changes
>
> but that's probably not the way to do it...
>
> - Jordi G. H.
Downloaded the current version:
Build attempt:
------------------------------
./configure --prefix=/usr
Configuring QtOctave Tools ...
Verifying Qt 4 build environment ...
make[1]: Entering directory `/home/malex/debian/sponsoring/qtoctave/qtoctave-0.5.1/install-tool'
/usr/bin/uic-qt4 install-tool.ui -o ui_install-tool.h
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I. -o install-tool.o install-tool.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I. -o install.o install.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I. -o main.o main.cpp
/usr/bin/moc-qt4 -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I. install.h -o moc_install.cpp
g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I. -o moc_install.o moc_install.cpp
g++ -o install-tool install-tool.o install.o main.o moc_install.o -L/usr/lib -lQtGui -lQtCore -lpthread
make[1]: Leaving directory `/home/malex/debian/sponsoring/qtoctave/qtoctave-0.5.1/install-tool'
install-tool: cannot connect to X server
make: *** [config.status] Error 1
debuild: fatal error at line 1228:
debian/rules build failed
--------------------------
This is weird. install-tool shouldn't need to connect to X server.
In addition, immediate rerun of debuild fails in the clean target:
___________________________
fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp
/usr/bin/make clean
make[1]: Entering directory `/home/malex/debian/sponsoring/qtoctave/qtoctave-0.5.1'
cat clean.sh >clean
chmod a+x clean
make[1]: Leaving directory `/home/malex/debian/sponsoring/qtoctave/qtoctave-0.5.1'
rm -f config.sub config.guess
rm -f qtoctave/qtoctave install-tool/install-tool \
widgetserver/widgetserver
sh clean.sh
rm: cannot remove `*~': No such file or directory
make[1]: Entering directory `/home/malex/debian/sponsoring/qtoctave/qtoctave-0.5.1/qtoctave'
make[1]: *** No rule to make target `/usr/lib/qt4/mkspecs/linux-g++/qmake.conf', needed by `Makefile'. Stop.
make[1]: Leaving directory `/home/malex/debian/sponsoring/qtoctave/qtoctave-0.5.1/qtoctave'
rm: cannot remove `qtoctave': No such file or directory
rm: cannot remove `configure.h': No such file or directory
make[1]: Entering directory `/home/malex/debian/sponsoring/qtoctave/qtoctave-0.5.1/widgetserver'
make[1]: *** No rule to make target `/usr/lib/qt4/mkspecs/linux-g++/qmake.conf', needed by `Makefile'. Stop.
make[1]: Leaving directory `/home/malex/debian/sponsoring/qtoctave/qtoctave-0.5.1/widgetserver'
rm: cannot remove `widgetserver': No such file or directory
make[1]: Entering directory `/home/malex/debian/sponsoring/qtoctave/qtoctave-0.5.1/install-tool'
rm -f moc_install.cpp
rm -f ui_install-tool.h
rm -f install-tool.o install.o main.o moc_install.o
rm -f *~ core *.core
make[1]: Leaving directory `/home/malex/debian/sponsoring/qtoctave/qtoctave-0.5.1/install-tool'
rm: cannot remove `install-tool': No such file or directory
rm: cannot remove `Makefile': No such file or directory
make: *** [clean] Error 1
debuild: fatal error at line 1228:
fakeroot debian/rules clean failed
___________________________________________
Regards,
Alex.
Reply to: