Bug #27

OpenKC doesn`t find FRI headers

Added by Arne Nordmann over 12 years ago. Updated over 12 years ago.

Status:In ProgressStart date:2012-01-06
Priority:LowDue date:
Assignee:Matthias Schöpfer% Done:


Category:-Spent time:-
Target version:-


OpenKC doesn`t find FRI headers in given $includedir or in ${prefix}/include.
Tried by passing the includedir to bootstrap.sh and additionally to ./configure.

OpenKC seems to only look into the default system paths, e.g. FRI headers are found if copied to /usr/include.


#1 Updated by Arne Nordmann over 12 years ago


CPPFLAGS="$CPPFLAGS -I$includedir"

to configure.ac did the trick for me, because it tells AC_CHECK_HEADER to also search inside $includedir.

#2 Updated by Matthias Schöpfer over 12 years ago

  • Status changed from New to In Progress
  • Priority changed from Normal to Low

Hi Arne!


"Remember to export CPPFLAGS=-I/path/to/fricomm.h. This file comes as
part of FRI and cannot be included into OpenKC because of copyright

Did this not do the job for you?! If so, please respond and I will see if I can add an option to configure, where the location of fricomm.h can be passed to the autotools-chain.


#3 Updated by Arne Nordmann over 12 years ago

Yes, that works! Sorry, that I missed this hint in the README.txt.

Maybe it is more convenient though, If you add

CPPFLAGS="$CPPFLAGS -I$includedir"

to the configure.ac file, so that you can just type

./configure --includedir=/path/to/fricomm.h

and the CPPFLAGS stuff is done for you (and this is a more common command line argument I guess).
Anyway ... it works. Thanks very much.

Also available in: Atom PDF