![]() |
2007-11-19
, 14:46
|
Posts: 2,102 |
Thanked: 1,309 times |
Joined on Sep 2006
|
#2
|
trying to lie to dpkg-buildpackage doesn't work
![]() |
2007-11-19
, 15:33
|
|
Posts: 696 |
Thanked: 1,012 times |
Joined on Mar 2006
@ Asturies, Spain
|
#3
|
![]() |
2007-11-19
, 16:22
|
Posts: 2,102 |
Thanked: 1,309 times |
Joined on Sep 2006
|
#4
|
![]() |
2007-11-20
, 11:20
|
|
Posts: 739 |
Thanked: 159 times |
Joined on Sep 2007
@ Germany - Munich
|
#5
|
[sbox-SDK_ARMEL: ~/src/qt-x11-opensource-src-4.3.1] > fakeroot dpkg-buildpackage -d -us -uc dpkg-buildpackage: source package is qt4-x11 dpkg-buildpackage: source version is 4.3.1-2 dpkg-buildpackage: source changed by Sune Vuorela <debian@pusling.com> dpkg-buildpackage: host architecture armel dpkg-buildpackage: source version without epoch 4.3.1-2 debian/rules clean test -x debian/rules make: *** [testdir] Error 1
1)on my linux pc: #Create a file of 100Meg dd if=/dev/zero of=qt.img bs=1k count=100000 #Assign the file to a partition (the magic of linux) losetup /dev/loop0 qt.img #Format it as ext2 mkfs.ext2 /dev/loop0 # Mount the loopback mkdir /mnt/x ; mount /dev/loop0 /mnt/x # Copy my tar inside cd /mnt/x tar xvzf ~/qt4.tgz # Umount, copy to the n800 umount /mnt/x scp qt.img user@n800:/media/mmc2/ 2) On the n800 sudo gainroot #mkdir /mnt/lo #mount /media/mmc2/qt.img /mnt/lo -o loop Now /mnt/lo is an ext2 partition containing my extracted tar 3) Running qt4.3.2 demo: $export LD_LIBRARY_PATH=/mnt/lo/TrollTech/qt4.3.2/lib $/mnt/lo/TrollTech/qt4.3.2/demos/spreadsheet/spreadsheet (takes 3 seconds to start, dynamic version, no prelinking yet)
I'm trying to package qt4.3.1.
It really needs deb-helper version 5, trying to lie to dpkg-buildpackage doesn't work
So I have several choices..
* Do it the clean way and then I need deb-helper 5 (and a lot of other things btw..). That would be perfect.
* DIM (Do It Myself doh!) in a more dirty way.
-> Would mud-builder be helpful?
-> Checkinstall?
-> pypackager?
-> tar+ ar ?
It builds well under scratchbox with standard ./configure, make, make install.
Any idea appreciated..
Meanwhile I'll try the second choice...
Last edited by free; 2007-11-20 at 19:47.