On Oct 02 2015, Niklaas Baudet von Gersdorff <[email protected]> wrote:
> 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
Please post more context (or the complete Makefile if it isn't too
long).
Best,
-Nikolaus
--
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F
»Time flies like an arrow, fruit flies like a Banana.«
--
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.