![]() |
shrew vpn client
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 |
Re: shrew vpn client
Setup a scratchbox(SDK), add deb-src for it... apt-get source ike cd ike-* ; dpkg-buildpackage :) install the built package :)
|
Re: shrew vpn client
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 |
Re: shrew vpn client
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... |
Re: shrew vpn client
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 Code:
apt-get source ike Code:
[sbox-FREMANTLE_ARMEL: ~/ike-2.1.4+dfsg] > fakeroot dpkg-buildpackage -r //Edit: this is with parameter -d: Code:
[sbox-FREMANTLE_ARMEL: ~/ike-2.1.4+dfsg] > fakeroot dpkg-buildpackage -r -d |
Re: shrew vpn client
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 ?
|
Re: shrew vpn client
|
Re: shrew vpn client
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 |
Re: shrew vpn client
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.
|
Re: shrew vpn client
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 |
Re: shrew vpn client
Ups didn't mean me... I meant you could ;)
|
Re: shrew vpn client
Can u point me to a howto?
|
Re: shrew vpn client
Not really... what I usually do is:
edit debian/compat and debian/control files and modify the versions there.. compat probably has 6 you want 5 and control has a version entry next to debhelper which you want to move to 5 as well. Sometimes it will just work with those changes sometimes not. |
Re: shrew vpn client
So, i have done that, but anoter error occured.
Code:
CMake Error at CMakeLists.txt:385 (message): |
Re: shrew vpn client
Hmm how are you running it? can you give me the complete line please...
i.e. dpkg-build... whatever |
Re: shrew vpn client
here it is:
Code:
[sbox-FREMANTLE_ARMEL: ~/ike-2.1.4+dfsg] > fakeroot dpkg-buildpackage -r -d |
Re: shrew vpn client
Ok do not use -d... also try:
apt-get build-dep shrew That should ask for all the dependencies to install. Note you might neet to generate some yourself. |
Re: shrew vpn client
thats the reply:
Code:
[sbox-FREMANTLE_ARMEL: ~/ike-2.1.4+dfsg] > apt-get build-dep ike |
Re: shrew vpn client
Hmm and you did modify the debian/control file to se a lower version of debhelper.
|
Re: shrew vpn client
Yes, in compat i wrote "5" and in control now it says (just the beginning):
Code:
Source: ike |
Re: shrew vpn client
Hmm try just 5 nothing else for the version.
|
Re: shrew vpn client
didn't make a change
|
Re: shrew vpn client
Hmm you'll need to build:
flex libqt3-mt-dev cmake As well apparently. |
Re: shrew vpn client
I got:
cmake version 2.6-patch 3 flex-2.5.35 2.5.35 I can't install libqt3-mt-dev, recieving this error: Couldn't find package libqt3-mt-dev. But it is listed in http://packages.debian.org/en/squeeze/libqt3-mt-dev and I have the squeeze repository in the sources.list libqt3-compat-headers isn't available, too |
Re: shrew vpn client
You'll need to build it as well and install the built deb afterwards.
|
Re: shrew vpn client
damn, im running the sdk in a vm. there scratchbox couldn't access the internet, whereas firefox in the vm can accsess it...
it's all up to date.... |
Re: shrew vpn client
my dns makes problems
entered the ip of ftp.de.debian.org , now i can download the source |
Re: shrew vpn client
next problem:
Code:
[sbox-FREMANTLE_ARMEL: ~] > apt-get build-dep libqt3-mt-dev |
Re: shrew vpn client
Try to build it maybe?
|
Re: shrew vpn client
mmm...
I don't know what to do: Code:
[sbox-FREMANTLE_ARMEL: ~/x11proto-xinerama-1.1.2] > ls |
Re: shrew vpn client
Maybe a soluition is here:
Quote:
I couldn't find the libqtmt.so |
Re: shrew vpn client
I meant buld qt3 :)
The thing is you don't have packages yet for all the optional stuff. This is one of the reasons cmake is unable to find QT. You need to build and install qt3 stuff. |
Re: shrew vpn client
Sorry, I have no idea which package source I should download to build qt3.
I tried some, but all weren't found. Can U help me with that? Is there a metapackage? |
Re: shrew vpn client
I'd just do:
apt-get source libqt3-mt-dev That should grab the right one. |
Re: shrew vpn client
Sorry I give up.
I solved this problem by flashing my fritzbox with freetz and integrated openvpn. Now it runs. Thanks ruskie for ur help! |
Re: shrew vpn client
Sorry we couldn't get it working better. Yeah it does tend to take a while to get all the bits working.
In this case it would include building QT3 for the N900. |
All times are GMT. The time now is 18:58. |
vBulletin® Version 3.8.8