SOrry to bug you. I hope you can help with this irksome problem.
I'm a developer at Lindows.com. I'm on the team responsible for integrating
KDE 3.0 with LindowsOS. I can build KDE3.0 fine using the 'configure, make,
make install' approach, but have not had any luck building the Debain
packages using 'dpkg-buildpackage'. I am using the latest KDE3.0 source from
the KDE FTP mirrors.
Are you building KDE3.0 Debian packages?
Do you have a different 'debian' sub-tree than KDE's?
If so, is the debian package build hierarchy you are using available on the
Debian site? If so, where? If not, do you have a feeling when
it will be available.
I have made some progress building Qt. I have made about 10 changes to the
'rules' file and have gotten through to the 'binary-arch' rule, where the
build ends because the '.../usr/bin' tools are not there for the
'dh_movefiles -pqt3-tools --sourcedir=debian/tmp-install' command.
I have attached my hacked up copy of the 'rules' file. I added the
'../bld/startlog' and '../bld/endlog' lines, which are invocations of simple
scripts for logging and are not important to the build.
Thank you in advance for your time and consideration.
Nick Garnett#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# This is the debhelper compatability version to use.
export DH_COMPAT=3
export QTDIR=$(shell pwd)
export AR=ar cr
old_libpath := $(LD_LIBRARY_PATH)
export LD_LIBRARY_PATH = $(QTDIR)/lib:$(old_libpath)
YACC="byacc -d"
ARCH = $(shell dpkg-architecture -qDEB_BUILD_ARCH)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
ifeq ($(DEB_BUILD_GNU_TYPE),i386-linux)
XINERAMA=-xinerama
else
XINERAMA=-no-xinerama
endif
PREFIXDIR=$(KDEDIR)/usr
package = qt-x11
p = $(shell pwd)/debian
p_libs = $(p)/libqt3
p_doc = $(p)/qt3-doc
p_dev = $(p)/libqt3-dev
p_tools = $(p)/qt3-tools
tmp_shared = $(shell pwd)/debian/build-shared
tmp_install = $(shell pwd)/debian/tmp-install
configopts = -prefix $(PREFIXDIR) -docdir $(PREFIXDIR)/share/doc/qt3-doc
-headerdir $(PREFIXDIR)/include/qt -datadir $(PREFIXDIR)/share/qt -qt-gif
-system-zlib -system-libpng -system-libjpeg -system-libmng -qt-imgfmt-jpeg
-qt-imgfmt-png -qt-imgfmt-mng -plugin-sql-mysql -plugin-sql-odbc
-plugin-style-windows -qt-style-motif -plugin-style-compact
-plugin-style-platinum -plugin-style-sgi -plugin-style-cde
-plugin-style-motifplus -stl $(XINERAMA) -enable-opengl -sm -no-g++-exceptions
-platform linux-g++ -I/usr/include/mysql
build: thread-stamp build-stamp
thread-stamp:
../bld/startlog thread-stamp
../bld/startlog "thread-stamp dh_testdir"
dh_testdir
ifeq ($(ARCH),alpha)
cp debian/qmake-alpha.conf mkspecs/linux-g++/qmake.conf
endif
../bld/startlog "thread-stamp make"
make -f Makefile.cvs
../bld/startlog "thread-stamp configure"
echo yes | ./configure $(configopts) -thread -plugindir
$(PREFIXDIR)/lib/qt3/plugins-mt
../bld/startlog "thread-stamp make"
make symlinks
../bld/startlog "thread-stamp make"
make src-qmake
../bld/startlog "thread-stamp make"
make src-moc
../bld/startlog "thread-stamp make"
make sub-src
../bld/startlog "thread-stamp make"
make sub-tools
../bld/startlog "thread-stamp make"
make sub-plugins
../bld/startlog "thread-stamp make"
make -C extensions/xt/src/
../bld/startlog "thread-stamp make"
make -C tools/designer/tools/createcw
../bld/startlog "thread-stamp make"
make INSTALL_ROOT=$(tmp_shared) install
../bld/startlog "thread-stamp make"
make -C extensions/xt/src/ INSTALL_ROOT=$(tmp_shared) install
../bld/startlog "thread-stamp install"
install -d $(tmp_shared)/usr/share/doc/
../bld/startlog "thread-stamp"
mkdir -p $(tmp_shared)/usr/bin/
cp bin/qtrename140 $(tmp_shared)/usr/bin/
../bld/startlog "thread-stamp"
cp bin/qt20fix $(tmp_shared)/usr/bin/
../bld/startlog "thread-stamp"
cp bin/findtr $(tmp_shared)/usr/bin/
../bld/startlog "thread-stamp"
mkdir -p $(tmp_shared)/usr/share/doc/qt3-doc/
cp .qmake.cache $(tmp_shared)/usr/share/doc/qt3-doc/
../bld/startlog "thread-stamp"
touch thread-stamp
../bld/endlog
build-stamp:
../bld/startlog build-stamp
../bld/startlog "build-stamp dh_testdir"
dh_testdir
../bld/startlog "build-stamp clean"
-make clean
../bld/startlog "build-stamp rm lib/*"
-rm lib/*
../bld/startlog "build-stamp configure"
echo yes | ./configure $(configopts) -plugindir
$(PREFIXDIR)/lib/qt3/plugins
../bld/startlog "build-stamp ld-stamp make symlinks src-qmake src-moc
sub-src sub-plugins"
make symlinks src-qmake