Re: Problems building kdebase from source using Potato
On Sat, Dec 30, 2000 at 08:57:56PM +0000, David Morgan wrote:
> I haven't built any debian packages from source before so this may be
> something I'm doing wrong, but I've checked the Debian FAQ on buidling from
> source and I've built the test package "hello" successfully so I think I've
> got the basics all in place.
>
> Now I want to build kdebase from source as I want to get a version with the
> Kamera patch applied (see http://www.thekompany.com/projects/gphoto/ for
> details). I used apt to get the source files and unpack them. But I couldn't
> build the binary deb from this cleanly as after the long compile phase I got
> the following errors:
> dh_movefiles -pkonqueror
> find: usr/bin/nspluginviewer: No such file or directory
> find: usr/bin/nspluginscan: No such file or directory
> find: usr/bin/nspluginviewer: No such file or directory
> find: usr/bin/nspluginscan: No such file or directory
> make: *** [binary-arch] Error 1
>
Not positive here why this happened, but make sure you have kdelibs3-dev
installed prior to even attempting to build kdebase from source. Also
ensure you use $(OPTION TO GETROOT) debian/rules binary.
> I'm running Potato with the latest updates applied.
>
I have Sid/unstable here, but am tracking CVS for kde somewhat.
> I edited debian/konqueror.files and removed the four lines for nspluginviewer
> and nspluginscan and their associated info files. Then I tried to build the
> binary deb with:
> debian/rules binary
>
> This seemed to work but I ended up with twelve deb files not the one I was
> expecting:
> kdebase-dev_2.0.1-0.potato5_i386.deb
> kdebase-doc_2.0.1-0.potato5_all.deb
> kdebase-libs_2.0.1-0.potato5_i386.deb
> kdebase_2.0.1-0.potato5_i386.deb
> kdewallpapers_2.0.1-0.potato5_all.deb
> kdm_2.0.1-0.potato5_i386.deb
> konqueror_2.0.1-0.potato5_i386.deb
> konsole_2.0.1-0.potato5_i386.deb
> libkonq-dev_2.0.1-0.potato5_i386.deb
> libkonq3_2.0.1-0.potato5_i386.deb
> task-kde-devel_2.0.1-0.potato5_all.deb
> task-kde_2.0.1-0.potato5_all.deb
>
> So although I only downloaded one source package I seem to have got twelve
> binaries. I wasn't expecting this. What is happening here?
>
This is expected, when you download the source you got kdebase, which
is the source for a multi-binary package. One of the binaries it will
produce is konqueror. Right now it isn't very feasible to try to break
konqueror out of the and build it by itself.
> Am I going about things in the right way? The Kamera build instructions just
> say to apply over clean kdebase source and ./configure && make && make
> install but this doesn't seem right for debian packaged source.
>
Make sure you use the debian/rules binary target, if not you will not
have the proper environment set prior to build. As far as patching the
source goes, I haven't tried myself, but if it continues to give you
problems I suggest you attempt to build it without patching first.
If that works then debian/rules clean, patch, debian/rules binary
again.
Good luck
Gordon Sadler
Reply to: