Hi,

I'm trying to port this to FreeBSD (it's my first FreeBSD port). I was
able to successfully port two of the dependencies that also were not  in
the port system of FreeBSD yet, the dugong module and llfuse. These work
fine now but I keep on struggling with S3QL itself.

When manually compiling the port I had to patch `deltadump.c` because I
got the following error:

> src/s3ql/deltadump.c:253:10: fatal error: 'sqlite3.h' file not found
> #include "sqlite3.h"
>          ^
> 1 error generated.
> error: command 'cc' failed with exit status 1
> *** Error code 1

Changing the line in question to

> #include "/usr/local/lib/sqlite3.h

I could compile S3QL successfully (it also passed the tests).

Hardcoding this patch into the port doesn't work though. I get a similar
error as the one above (just with the new location).

When putting this in the Makefile of the port

> CPPFLAGS+=-I${LOCALBASE}/include LDFLAGS+=-L${LOCALBASE}/lib

I get an error which reads as follows

> cc: error: no such file or directory: 'LDFLAGS+=-L/usr/local/lib'
> error: command 'cc' failed with exit status 1
> *** Error code 1

To be honest, I'm not very much into all of this but at least I know
that I somehow have to tell make where it can find `sqlite3.h`. Normally
I'd do this through configure but the instructions at

http://www.rath.org/s3ql-docs/installation.html

do not mention configure at all.

Maybe someone who knows the S3QL code better can tell me when/where it's
best to tell make where to find `sqlite.h`. Or maybe I'm lucky and
someone who runs this on FreeBSD and knows more about the topic reads this?

It would be great to make this available on FreeBSD easily.

Best,

Niklaas

-- 
You received this message because you are subscribed to the Google Groups 
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to