From: Sam L. <sa...@li...> - 2012-12-13 22:02:10
|
So much for that! It builds, but the built files somehow "miss" being put in the packages, which are almost empty. ha hah! I'll see why... On Thu, Dec 13, 2012 at 9:40 PM, Sam Liddicott <sa...@li...> wrote: > I'm trying to build from source the debs at > https://launchpad.net/~stk/+archive/dev > > The first fix I made was to debian/rules > > override_dh_auto_build: > + cd lib/irrlicht/source/Irrlicht && NDEBUG=1 make > > that deals with getting the compile to work. > > Then the install phase fails with: > > install -m 644 > /tmp/supertuxkart-0.8.0~8440/debian/tmp/usr/share/games/supertuxkart/data/gui/karts.png > \ > /tmp/supertuxkart-0.8.0~8440/debian/tmp/usr/share/pixmaps/supertuxkart.png > install: cannot stat > `/tmp/supertuxkart-0.8.0~8440/debian/tmp/usr/share/games/supertuxkart/data/gui/karts.png': > No such file or directory > make[1]: *** [override_dh_install] Error 1 > > The graphic is in: > > /tmp/supertuxkart-0.8.0~8440/debian/tmp/usr/share/supertuxkart/data/gui/karts.png > not: > /tmp/supertuxkart-0.8.0~8440/debian/tmp/usr/share/*games/* > supertuxkart/data/gui/karts.png > > So for hackyness I fix that with a symlink, > > After failing on usr/share/games we get: > > dh_install > cp: cannot stat `debian/tmp/debian/tmp/usr/games': No such file or > directory > > so now usr/games too, so more symlink hackery > > I attach a patch for debian/rules which makes the package build for me on > Mint Maya (equivalent to Ubuntu Precise) > > > |