Notices


Reply
Thread Tools
Posts: 543 | Thanked: 181 times | Joined on Aug 2009 @ Universe,LocalCluster.MilkyWay.Sol.Earth.Europe.Slovenia.Ljubljana
#11
Ups didn't mean me... I meant you could
 
Posts: 42 | Thanked: 4 times | Joined on Oct 2009 @ Germany
#12
Can u point me to a howto?
 
Posts: 543 | Thanked: 181 times | Joined on Aug 2009 @ Universe,LocalCluster.MilkyWay.Sol.Earth.Europe.Slovenia.Ljubljana
#13
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.
 
Posts: 42 | Thanked: 4 times | Joined on Oct 2009 @ Germany
#14
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?
 
Posts: 543 | Thanked: 181 times | Joined on Aug 2009 @ Universe,LocalCluster.MilkyWay.Sol.Earth.Europe.Slovenia.Ljubljana
#15
Hmm how are you running it? can you give me the complete line please...

i.e. dpkg-build... whatever
 
Posts: 42 | Thanked: 4 times | Joined on Oct 2009 @ Germany
#16
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
 
Posts: 543 | Thanked: 181 times | Joined on Aug 2009 @ Universe,LocalCluster.MilkyWay.Sol.Earth.Europe.Slovenia.Ljubljana
#17
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.
 
Posts: 42 | Thanked: 4 times | Joined on Oct 2009 @ Germany
#18
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
 
Posts: 543 | Thanked: 181 times | Joined on Aug 2009 @ Universe,LocalCluster.MilkyWay.Sol.Earth.Europe.Slovenia.Ljubljana
#19
Hmm and you did modify the debian/control file to se a lower version of debhelper.
 
Posts: 42 | Thanked: 4 times | Joined on Oct 2009 @ Germany
#20
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
 
Reply


 
Forum Jump


All times are GMT. The time now is 14:06.