[Refdb-users] Problems Compiling refdb on FreeBSD
Status: Beta
Brought to you by:
mhoenicka
From: Markus H. <mar...@mh...> - 2003-12-04 20:03:16
|
Hi Jake, on FreeBSD the expat and libdbi headers end up in /usr/local/include which is not in the default search path. Setting CFLAGS properly on the configure command line fixes this problem. This is what I use on my FreeBSD box (the -g is for debugging, you should not need it): ./configure --with-expat-lib=/usr/local/lib --with-docbook-xsl=/usr/local/share/xsl/docbook --with-tei-xsl=/usr/local/share/xsl/tei --with-classpath-root=/usr/local/share/java/classes --with-refdb-url=http://tipi.mininet/refdb --with-var-dir=/var/run --with-log-dir=/var/log --with-db-server=sqlite CFLAGS="-I/usr/local/include -g" regards Markus Jake Stride writes: > I am trying to compile refdb on freebsd but seem to be running into a few > problems, I have update my system but having configured refdb: > > ./configure --with-expat-lib=/usr/local/lib > --with-docbook-xsl=/usr/local/share/xsl/docbook > --with-classpath-root=/usr/local/share/java/classes > --with-refdb-url=http://localhost/refdb --with-db-server=pgsql > > When running make I still cannot compile, I do have expat.h on my system: > > lancelot# locate dbi.h > /usr/local/include/expat.h > > But if I change the expat path to this dir, the config script bombs out. Has > anyone else had this problem/solved it? > > Thanks > > Jake > > -- Markus Hoenicka mar...@ca... (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de |