problem with manual parallel installation of duplicity 0.6.21

Asked by Vera Schmidt

Hi,

as my ubuntu-duplicity-version 0.6.18 has problems with incremental backups on WEBDAV, I tried to make a parallel installation of duplicity 0.6.21 from the step by step list from here (under TIP) http://duply.net/?title=Duply-documentation into /usr/local/duplicity-0.6.21/duplicity-0.6.21.
Installation ended with an error (Python.h not found, end of
compilation). Last messages are found here: http://pastebin.com/NSaMKwkG
What's my mistake?

Would be happy somebody could help me.

Vera

Question information

Language:
English Edit question
Status:
Answered
For:
Duplicity Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
edso (ed.so) said :
#1

On 23.06.2013 12:11, Vera Schmidt wrote:
> New question #231215 on Duplicity:
> https://answers.launchpad.net/duplicity/+question/231215
>
> Hi,
>
> as my ubuntu-duplicity-version 0.6.18 has problems with incremental backups on WEBDAV, I tried to make a parallel installation of duplicity 0.6.21 from the step by step list from here (under TIP) http://duply.net/?title=Duply-documentation into /usr/local/duplicity-0.6.21/duplicity-0.6.21.
> Installation ended with an error (Python.h not found, end of
> compilation). Last messages are found here: http://pastebin.com/NSaMKwkG
> What's my mistake?
>
> Would be happy somebody could help me.
>

make sure you have the package 'python devel' or similar installed. same goes for the packages 'librsync librsync-devel'.

..ede/duply.net

Revision history for this message
Vera Schmidt (bestellung-veraschmidt) said :
#2

Found the packages and installed the missing ones, afterwards the installation worked, duplicity is to find in /usr/local/duplicity-0.6.21/duplicity-0.6.21/bin/duplicity.
Now I'am asking myselve, how to manage the wrapping for the new version. Duply and duplicity 0.6.18 are not installed in the user-context. So I find /usr/bin/duply, /var/lib/dpkg/info/duply.list, /usr/bin/duplicity + duplicity.01 + duplicity.org, a /usr/share/pyshared/duplicity-folder, a /usr/share/pyshared/duplicity-0.6.18.egg-info, a /usr/share/doc/duplicity folder, /usr/lib/python2.7/dist-packages/duplicity and duplicity-files in /var/lib/dpkg/info.
What do I have to add/change to hack/make a duply or duplicity wrapping?

Vera

Revision history for this message
edso (ed.so) said :
#3

On 30.06.2013 11:11, Vera Schmidt wrote:
> Question #231215 on Duplicity changed:
> https://answers.launchpad.net/duplicity/+question/231215
>
> Status: Answered => Open
>
> Vera Schmidt is still having a problem:
> Found the packages and installed the missing ones, afterwards the installation worked, duplicity is to find in /usr/local/duplicity-0.6.21/duplicity-0.6.21/bin/duplicity.
> Now I'am asking myselve, how to manage the wrapping for the new version. Duply and duplicity 0.6.18 are not installed in the user-context. So I find /usr/bin/duply, /var/lib/dpkg/info/duply.list, /usr/bin/duplicity + duplicity.01 + duplicity.org, a /usr/share/pyshared/duplicity-folder, a /usr/share/pyshared/duplicity-0.6.18.egg-info, a /usr/share/doc/duplicity folder, /usr/lib/python2.7/dist-packages/duplicity and duplicity-files in /var/lib/dpkg/info.
> What do I have to add/change to hack/make a duply or duplicity wrapping?
>
> Vera
>

the "linking"/"hacking" is also explained under TIP on
 http://duply.net/?title=Duply-documentation

essentially you place wrapper scripts into your PATH. make sure /usr/local/bin is in your PATH env var and placed before other path entries. to find out how to modify the PATH env var for you linux permanently you can use the internet searchengine of your choice :)

..ede/duply.net

Revision history for this message
Vera Schmidt (bestellung-veraschmidt) said :
#4

My last question resulted from the explanation of the "linking"/"hacking" under TIP on
 http://duply.net/?title=Duply-documentation. It's still not made for a windows-professional and spare time linux user ;-) So I will have to search the web for handling environment in ubuntu.

Revision history for this message
edso (ed.so) said :
#5

it's no 'brain surgery' you will come around it. if you are a primary windows fellow imagine the wrapper script files as batch files, which themselves run the real binary.

but you don't really have to put duplicity in your path .. you can as well run it directly from anywhere e.g.

/usr/local/duplicity-<version>/bin/duplicity <parameters>...

should be enough for now to just try the other version.

..ede

Revision history for this message
Vera Schmidt (bestellung-veraschmidt) said :
#6

I decided to invest in a linux book: 2 and a half kilos and 40 Euros - I hope, it will help :-)) - different to the linux courses I attended years ago: The important informations haven't been in.

Revision history for this message
edso (ed.so) said :
#7

On 10.07.2013 14:46, Vera Schmidt wrote:
> Question #231215 on Duplicity changed:
> https://answers.launchpad.net/duplicity/+question/231215
>
> Vera Schmidt posted a new comment:
> I decided to invest in a linux book: 2 and a half kilos and 40 Euros - I
> hope, it will help :-)) - different to the linux courses I attended
> years ago: The important informations haven't been in.
>

you might wanna contact via german phone 0221-7108851 during business hours.. i might be willing to tell you over the phone but writing it out will be too complex.

..ede

Revision history for this message
Vera Schmidt (bestellung-veraschmidt) said :
#8

thanks alot. Being back from 5 days away I'll call. Talking german?

Revision history for this message
edso (ed.so) said :
#9

On 17.07.2013 09:46, Vera Schmidt wrote:
> Question #231215 on Duplicity changed:
> https://answers.launchpad.net/duplicity/+question/231215
>
> Vera Schmidt posted a new comment:
> thanks alot. Being back from 5 days away I'll call. Talking german?
>

türlich türlich, die meiste zeit schon.. ede

Can you help with this problem?

Provide an answer of your own, or ask Vera Schmidt for more information if necessary.

To post a message you must log in.