Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm working my way through the documentation on how to build a .deb package and I've hit something of a snag. When I need to spell out the dependencies for the package (dillo right now, just for a trial run), I enter in dpkg-depcheck -d ./configure. The documentation, found here, says that the result should be a nice little list of packages, like so:

Packages needed:
libc6-i686
libldap-2.4-2
libsasl2-2
libtasn1-3
yasm
libgpg-error0
libgcrypt11
libkeyutils1
libidn11
libgnutls26
libk5crypto3
locales
libcurl3-gnutls
libkrb5support0
libkrb5-3
libgssapi-krb5-2
gawk

however I get the following monstrosity:

sam@bitey0desktop:~/Temporary/debtest/dillo-3.0.4$ dpkg-depcheck -d ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of char... 1
checking size of short... 2
checking size of long... 8
checking size of int... 4
checking size of void *... 8
checking for int16_t... yes
checking for uint16_t... yes
checking for int32_t... yes
checking for uint32_t... yes
checking for gethostbyname... yes
checking for setsockopt... yes
checking for socklen_t... socklen_t
checking FLTK 1.3... no
configure: error: FLTK 1.3 required; fltk-config not found
Running strace failed (command line:
strace -e trace=open,execve -f -q -o /tmp/depchCRKAQl ./configure

I'm thinking the errors at the bottom have something to do with it but I haven't found a way to resolve them.

share|improve this question
    
It doesn't look like your dpkg-depcheck -d command is doing anything. YOur output there looks like what you'd expect to see if you'd just typed in ./configure. Try typing in whereis dpkg-depcheck to see if it was properly installed. –  amanthethy Jul 22 at 1:42
    
@amanthethy Thanks for the response! I entered the whereis command and was given this: dpkg-depcheck: /usr/bin/dpkg-depcheck /usr/bin/X11/dpkg-depcheck /usr/share/man/man1/dpkg-depcheck.1.gz What do you think? –  neanderslob Jul 22 at 5:33
1  
Looks like it installed properly. Can you run ./configure on its own and see if it spits out any errors? –  amanthethy Jul 22 at 7:15
1  
Looks like FLTK 1.3 is a dependacy for this package. Make sure you have it installed and then run the script again. Shouyld be something like apt-get install libfltk1.3 –  amanthethy Jul 22 at 7:21
1  
What it looks like is you've got dependencies missing, so the ./configure script can't run to completion. That's why dpkg-depcheck throws the error. It needs ./configure to complete successfully –  amanthethy Jul 22 at 7:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.