Active Topics

 



Notices


Reply
Thread Tools
Posts: 42 | Thanked: 4 times | Joined on Oct 2009 @ Germany
#1
Hi
I wanted to install shrew to connect to my fritzbox at home.
I downloaded the armel version for debian squeez and while trying to install I got this error:

Nokia-N900-42-11:/home/user/MyDocs# dpkg -i ike_2.1.4\+dfsg-4_armel.deb
Selecting previously deselected package ike.
(Reading database ... 28533 files and directories currently installed.)
Unpacking ike (from ike_2.1.4+dfsg-4_armel.deb) ...
dpkg: dependency problems prevent configuration of ike:
ike depends on libgcc1 (>= 1:4.4.0); however:
Version of libgcc1 on system is 1:4.2.1-4maemo9+0m5.
ike depends on libstdc++6 (>= 4.4.0); however:
Version of libstdc++6 on system is 4.2.1-4maemo9+0m5.
dpkg: error processing ike (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
ike

I think it might not the best solution to install the newer versions of above mentioned software.
What do u think, should I try it installing debian in a chroot and start shrew from there.
And i need version 2.1.4

thanks for helping

dabozz
 
Posts: 543 | Thanked: 181 times | Joined on Aug 2009 @ Universe,LocalCluster.MilkyWay.Sol.Earth.Europe.Slovenia.Ljubljana
#2
Setup a scratchbox(SDK), add deb-src for it... apt-get source ike cd ike-* ; dpkg-buildpackage install the built package
 
Posts: 42 | Thanked: 4 times | Joined on Oct 2009 @ Germany
#3
that means I should build the deb package on my pc and install it then on the n900?
do u have a more detailled explanasion for it?
thx
 
Posts: 543 | Thanked: 181 times | Joined on Aug 2009 @ Universe,LocalCluster.MilkyWay.Sol.Earth.Europe.Slovenia.Ljubljana
#4
Step one: install the SDK on your system
Step two: add deb-src deb-src http://http.XX.debian.org/debian/ etch main contrib
into /etc/apt/sources.list.d/debian.list replacing XX with your closest mirror.
Step three: apt-get update
Step three and a half: cd $HOME
Step four: apt-get source shrew
Step five: cd shrew-* && dpkg-buildpackage -rfakeroot
Step six: if everything went wel you should have gotten a shrev_$version*_armel.deb in $HOME which you can now install on the N900
Step seven: copy the deb over to your device
Step eight: dpkg -i $DEB

done...
 
Posts: 42 | Thanked: 4 times | Joined on Oct 2009 @ Germany
#5
Hi,
I tried to follow your instructions but I have still some problems:
I need the debian squeeze version, because I need shrew in version 2.1.4, which isn't contained in etch.
So I added this to my sources
Code:
deb-src http://ftp.de.debian.org/debian/ squeeze main contrib
then:
Code:
apt-get source ike
and
Code:
[sbox-FREMANTLE_ARMEL: ~/ike-2.1.4+dfsg] > fakeroot dpkg-buildpackage -r
dpkg-buildpackage: source package is ike
dpkg-buildpackage: source version is 2.1.4+dfsg-4
dpkg-buildpackage: source changed by Philipp Matthias Hahn <pmhahn@debian.org>
dpkg-buildpackage: host architecture armel
dpkg-buildpackage: source version without epoch 2.1.4+dfsg-4
: Using Scratchbox tools to satisfy builddeps
: Scratchbox has unsatisfying version: debhelper 5.0.42
: Dependency provided by Scratchbox: bison (>= 2.3)
dpkg-checkbuilddeps: Unmet build dependencies: debhelper (>= 6.0.7~) flex libqt3-mt-dev (>= 3.3) cmake (>= 2.4)
dpkg-buildpackage: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: (Use -d flag to override.)
[sbox-FREMANTLE_ARMEL: ~/ike-2.1.4+dfsg] >
Is there a possibility to remove these errors?

//Edit:
this is with parameter -d:
Code:
[sbox-FREMANTLE_ARMEL: ~/ike-2.1.4+dfsg] > fakeroot dpkg-buildpackage -r -d
dpkg-buildpackage: source package is ike
dpkg-buildpackage: source version is 2.1.4+dfsg-4
dpkg-buildpackage: source changed by Philipp Matthias Hahn <pmhahn@debian.org>
dpkg-buildpackage: host architecture armel
dpkg-buildpackage: source version without epoch 2.1.4+dfsg-4
 debian/rules clean
dh_testdir
dh_testroot
rm -f build-arch-stamp configure-stamp
rm -f CMakeCache.txt cmake.check_cache CMakeOutput.log config.log install_manifest.txt warning.log source/ikea/about.h source/ikea/conflict.h source/ikea/ikea source/ikea/root.h source/ikea/site.h source/ikea/topology.h source/ikec/banner.h source/ikec/filepass.h source/ikec/ikec source/ikec/root.h source/iked/conf.parse.cpp source/iked/conf.parse.hpp source/iked/conf.token.cpp source/iked/etkey source/iked/iked
rm -f -R                  
dh_clean
dh_clean: Sorry, but 5 is the highest compatibility level supported by this debhelper.
make: *** [clean] Error 1
[sbox-FREMANTLE_ARMEL: ~/ike-2.1.4+dfsg] >

Last edited by dabozz; 2009-12-14 at 20:18.
 
Posts: 543 | Thanked: 181 times | Joined on Aug 2009 @ Universe,LocalCluster.MilkyWay.Sol.Earth.Europe.Slovenia.Ljubljana
#6
IIRC cmake isn't yet supported and the debhelper is at a higher version... Have you tried sid maybe that has a more compatible version? also maybe etch-backports ?
 
Posts: 543 | Thanked: 181 times | Joined on Aug 2009 @ Universe,LocalCluster.MilkyWay.Sol.Earth.Europe.Slovenia.Ljubljana
#7
deb-src http://www.backports.org/debian etch-backports main contrib

For the backports
 

The Following User Says Thank You to ruskie For This Useful Post:
Posts: 42 | Thanked: 4 times | Joined on Oct 2009 @ Germany
#8
Hi,
etch-backports don't lead to a solution, ike isn't included.
as far as I can see, ike is contained in lenny, squeeze and sid.
In lenny the version is to old for my purpose http://packages.debian.org/search?su...s&keywords=ike
Sid leads to the same error mentioned above with squeeze.
Is there a other way to build a package without debhelper or can I do something with the files from http://www.shrew.net/download/ike? They offer a svn, too.

thanks
dabozz
 
Posts: 543 | Thanked: 181 times | Joined on Aug 2009 @ Universe,LocalCluster.MilkyWay.Sol.Earth.Europe.Slovenia.Ljubljana
#9
I can downport from deb 6 to deb 5... it could work by simply modifying the compat file in debian and maybe change the control file as well to point to a lower version of debhelper. It worked for me in a case or two.
 
Posts: 42 | Thanked: 4 times | Joined on Oct 2009 @ Germany
#10
hi ruskie,
are u going to downport to deb 5 in near future, or how are ur plans?
Or have u done it already?

dabozz
 
Reply


 
Forum Jump


All times are GMT. The time now is 11:58.