Install to FreeNAS

Asked by A.M.

Hi
I'm trying to install the latest version to my FreeNAS, but it isn't working. I installed all the dependencies except "librsync-dev" and "python-dev" because I cannot find those. Maybe they're included in librsync/python? I get this error when doing python setup.py install:

http://pastebin.com/vK47iksH

And this when I try to build it:

http://pastebin.com/pSi87RTt

Has anyone any idea how I can fix this? :/

Question information

Language:
English Edit question
Status:
Solved
For:
Duplicity Edit question
Assignee:
No assignee Edit question
Solved by:
A.M.
Solved:
Last query:
Last reply:
Revision history for this message
Kenneth Loafman (kenneth-loafman) said :
#1

The -dev suffix means the development files you will need to link to these
packages. That differs between releases. Perhaps the FreeNAS group could
help?

On Sat, Apr 11, 2015 at 9:26 PM, A.M. <email address hidden>
wrote:

> New question #265025 on Duplicity:
> https://answers.launchpad.net/duplicity/+question/265025
>
> Hi
> I'm trying to install the latest version to my FreeNAS, but it isn't
> working. I installed all the dependencies except "librsync-dev" and
> "python-dev" because I cannot find those. Maybe they're included in
> librsync/python? I get this error when doing python setup.py install:
>
> http://pastebin.com/vK47iksH
>
> And this when I try to build it:
>
> http://pastebin.com/pSi87RTt
>
> Has anyone any idea how I can fix this? :/
>
> --
> You received this question notification because you are a member of
> duplicity-team, which is an answer contact for Duplicity.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~duplicity-team
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~duplicity-team
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
A.M. (a25) said :
#2

Okay I fixed it. The problem was that the build script did not tell the compiler to add /usr/local/include to its include path, so the header from librsync wasn't found (thanks to cbreak from FreeNAS for this).

I fixed it by using this command:

setenv CFLAGS -I/usr/local/include

Make sure your "librsync.h" is in /usr/local/include/. You can search with:

find / -name "librsync.h"

to verify. then just install it.