[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#540090: gnat-4.4: gnatmake fails to generate shared libraries (gcc not found)



Package: gnat-4.4
Version: 4.4.1-1
Severity: normal

When trying to build Ahven library from the source code, I get following error:
> building dynamic library for project ahven_lib
> gnatmake: gcc not found in path
> make: *** [build_lib] Error 4
> tkoskine@perula:~/code/ahven$


Steps to repeat this:
 apt-get install make
 apt-get install gnat-4.4
 apt-get install mercurial
 hg clone http://bitbucket.org/tkoskine/ahven
 cd ahven
 make

(tested revision was 4f5484cdce12)

Work-around is to build a static library.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnat-4.4 depends on:
ii  gcc-4.4                   4.4.1-1        The GNU C compiler
ii  gnat-4.4-base             4.4.1-1        The GNU Compiler Collection (gnat 
ii  libc6                     2.9-23         GNU C Library: Shared libraries
ii  libc6-dev                 2.9-23         GNU C Library: Development Librari
ii  libcloog-ppl0             0.15-1         the Chunky Loop Generator (runtime
ii  libgcc1                   1:4.4.1-1      GCC support library
ii  libgmp3c2                 2:4.3.1+dfsg-3 Multiprecision arithmetic library
ii  libgmpxx4ldbl             2:4.3.1+dfsg-3 Multiprecision arithmetic library 
ii  libgnat-4.4               4.4.1-1        Runtime library for GNU Ada applic
ii  libgnatprj4.4             4.4.1-1        GNU Ada Project Manager
ii  libgnatvsn4.4             4.4.1-1        GNU Ada compiler version library
ii  libmpfr1ldbl              2.4.1-2        multiple precision floating-point 
ii  libppl-c2                 0.10.2-2       Parma Polyhedra Library (C interfa
ii  libppl7                   0.10.2-2       Parma Polyhedra Library (runtime l

gnat-4.4 recommends no packages.

Versions of packages gnat-4.4 suggests:
pn  ada-reference-manual          <none>     (no description available)
pn  gnat-4.4-doc                  <none>     (no description available)

-- no debconf information



Reply to: