BuildingTheFactJniLibrary

From Protege Wiki
Revision as of 22:07, April 17, 2008 by Tredmond (talk | contribs) (New page: ==== Handling Problems with FaCT++ not Finding Libraries ==== '''In Progress...''' First checkout FaCT++ with the command line call: svn checkout http://factplusplus.googlecode.com/svn...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Handling Problems with FaCT++ not Finding Libraries

In Progress...


First checkout FaCT++ with the command line call:

svn checkout http://factplusplus.googlecode.com/svn/trunk/ factplusplus.

We now need to edit the Makefile.include to use the options associated with the correct version of gcc. First we find the version of gcc with the command line

gcc -v

On my linux machine the result was

Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-9)

So I modified the Makefile.include so that the GENERAL_DEFINES were

GENERAL_DEFINES = $(GCC_OPT_OPT) $(GCC_34_OPT) $(ALL_DEF)