maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   shrew vpn client (https://talk.maemo.org/showthread.php?t=37144)

ruskie 2009-12-16 16:51

Re: shrew vpn client
 
Ups didn't mean me... I meant you could ;)

dabozz 2009-12-16 17:35

Re: shrew vpn client
 
Can u point me to a howto?

ruskie 2009-12-17 08:34

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.

dabozz 2009-12-17 19:20

Re: shrew vpn client
 
So, i have done that, but anoter error occured.

Code:

CMake Error at CMakeLists.txt:385 (message):
  Unable to locate required package : QT


-- Configuring incomplete, errors occurred!
make: *** [configure-stamp] Error 1

I don't know what QT he needs, u have an idea?

ruskie 2009-12-17 20:46

Re: shrew vpn client
 
Hmm how are you running it? can you give me the complete line please...

i.e. dpkg-build... whatever

dabozz 2009-12-17 21:52

Re: shrew vpn client
 
here it is:
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                ./source/iked/CMakeFiles ./source/libpfk/CMakeFiles ./source/liblog/CMakeFiles ./source/libidb/CMakeFiles ./source/libith/CMakeFiles ./source/libip/CMakeFiles ./source/libike/CMakeFiles ./CMakeFiles ./CMakeFiles/CMakeTmp/CMakeFiles 
dh_clean
 dpkg-source -b ike-2.1.4+dfsg
dpkg-source: warning: unknown information field `Homepage' in input data in general section of control info file
dpkg-source: building ike using existing ike_2.1.4+dfsg.orig.tar.gz
dpkg-source: building ike in ike_2.1.4+dfsg-4.diff.gz
dpkg-source: building ike in ike_2.1.4+dfsg-4.dsc
 debian/rules build
dh_testdir
cmake -DQTGUI=YES -DNATT=YES -DCMAKE_INSTALL_PREFIX:PATH=/usr -DETCDIR:PATH=/etc -DMANDIR:PATH=/usr/share/man -DDEBUG=YES
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /scratchbox/compilers/bin/gcc
-- Check for working C compiler: /scratchbox/compilers/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /scratchbox/compilers/bin/c++
-- Check for working CXX compiler: /scratchbox/compilers/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Using install prefix /usr ...
-- Using etc path /etc ...
-- Using man path /usr/share/man ...
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Looking for pthread_mutex_timedlock in -lpthread
-- Looking for pthread_mutex_timedlock in -lpthread - found
-- Using binary /scratchbox/tools/bin/flex ...
-- Using binary /scratchbox/tools/bin/bison ...
-- Performing Test NATT_FOUND
-- Performing Test NATT_FOUND - Success
-- Enabled NAT Traversal support ...
CMake Error at CMakeLists.txt:385 (message):
  Unable to locate required package : QT


-- Configuring incomplete, errors occurred!
make: *** [configure-stamp] Error 1


ruskie 2009-12-18 07:15

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.

dabozz 2009-12-18 17:25

Re: shrew vpn client
 
thats the reply:
Code:

[sbox-FREMANTLE_ARMEL: ~/ike-2.1.4+dfsg] >  apt-get build-dep ike
Reading package lists... Done
Building dependency tree... Done
E: Build-Depends dependency for ike cannot be satisfied because no available versions of package debhelper can satisfy version requirements

vicious circle

ruskie 2009-12-18 18:13

Re: shrew vpn client
 
Hmm and you did modify the debian/control file to se a lower version of debhelper.

dabozz 2009-12-22 18:19

Re: shrew vpn client
 
Yes, in compat i wrote "5" and in control now it says (just the beginning):
Code:

Source: ike
Section: net
Priority: extra
Maintainer: Philipp Matthias Hahn <pmhahn@debian.org>
Build-Depends: debhelper (>= 5.0.7~), flex, bison (>= 0.3), libqt3-mt-dev (>= 0.3), libssl-dev (>= 0.9), cmake (>= 0.4)
Standards-Version: 3.8.3
Homepage: http://www.shrew.net/

I lowered the numbers randomly


All times are GMT. The time now is 20:23.

vBulletin® Version 3.8.8