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

Bug#523869: libffi-dev: gcc doesn't find ffi.h



Package: libffi-dev
Version: 3.0.7-1
Severity: important

It seems that libffi-dev puts ffi.h in a target-specific directory on each
platform. For example, on my system it's in /usr/include/i486-linux-gnu/ which
is a directory that is used by absolutely no other package in Debian.

Notably, gcc doesn't look there. As such, the program "#include <ffi.h>"
doesn't compile. I'm an author for an upstream program that uses libffi, and
I can't write a autoconf script to detect ffi.h if it's not in some sort of
standard place.

Please remove the target specific part of the path, and just drop ffi.h and
ffitarget.h into /usr/include, or if you must, /usr/include/ffi. Either way
is fine with me.

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

Kernel: Linux 2.6.25.9 (PREEMPT)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libffi-dev depends on:
ii  libffi5                       3.0.7-1    Foreign Function Interface library

libffi-dev recommends no packages.

libffi-dev suggests no packages.

-- debconf-show failed



Reply to: