Active Topics

 


Reply
Thread Tools
Posts: 74 | Thanked: 45 times | Joined on Dec 2010
#11
By the way, Ive seen you have also dupplicity compiled!! Thanks I will also get it (its the tool i use for cron backups!!)
 
Posts: 121 | Thanked: 231 times | Joined on Oct 2013
#12
Originally Posted by antviro View Post
Ill test it and tell you, but it will have to be tomorrow . I use computers that have 2.40 (jessie) and also 2.48 (stretch), so I can try both versions.

By the way i was replying an older version of your poast (before you succeded to build it), and so, i will copy here what i modified in the makefile. I used NATIVE=false and UISTYLE=text
Did you have to do the same (i mean about NATIVE). I will also read your spec to see what I was doing wrong while trying to produce a rpm
package.
I did have NATIVE=true. If you have NATIVE=false you also have to install ocaml to the device, right?

The problem was some stupid linker flags the build environment set automatically. I had to clear them in the spec file.
 
Posts: 121 | Thanked: 231 times | Joined on Oct 2013
#13
Originally Posted by antviro View Post
By the way, Ive seen you have also dupplicity compiled!! Thanks I will also get it (its the tool i use for cron backups!!)
Don't bother with it (yet). It is missing some run time dependencies still.
 
Posts: 74 | Thanked: 45 times | Joined on Dec 2010
#14
Originally Posted by TemeV View Post
I did have NATIVE=true. If you have NATIVE=false you also have to install ocaml to the device, right?

The problem was some stupid linker flags the build environment set automatically. I had to clear them in the spec file.
No, I have it working in the device just copying unison binary to my $HOME/bin without moving anything of ocalm.
 
Posts: 74 | Thanked: 45 times | Joined on Dec 2010
#15
Originally Posted by TemeV View Post
That doesn't help on building in OBS. I can't install the files there like that.

But I figured out the problem, I just had to tell it to install files to /usr/ instead of /usr/local which is the default.

Binary available here: http://repo.merproject.org/obs/home:...mv7hl/armv7hl/

After all this effort I of course realize that this version is not compatible with the one on my server and other devices... So I didn't really test this one. Please tell me if it works

Spec files for building it can be found in https://build.merproject.org/project...e:temev:unison I copied the spec files from Fedora and modified to fit this purpose.
I have checked it, and it works fine. I will use your spec to see if i can build rpms hehehe. I will do the test with 2.40 for the people you have previous version on desktop. By the way i am playing with a very rude gui i will upload in some days/weeks, at present state seems a 5 min app even though it took me some hours (im not a programmer and i am inexperienced in gui devel. (and actually i always use it in text mode in desktop... but in case someone makes use of it)
 
Posts: 121 | Thanked: 231 times | Joined on Oct 2013
#16
Originally Posted by antviro View Post
I have checked it, and it works fine. I will use your spec to see if i can build rpms hehehe. I will do the test with 2.40 for the people you have previous version on desktop. By the way i am playing with a very rude gui i will upload in some days/weeks, at present state seems a 5 min app even though it took me some hours (im not a programmer and i am inexperienced in gui devel. (and actually i always use it in text mode in desktop... but in case someone makes use of it)
I quickly tried to build 2.40, but it segfaulted instantly when running it. Which version did you build actually? And which ocaml?

I often use Fedora's spec files as a starting point for building something for Sailfish. Usually there is some Fedora specific stuff that needs to be ripped off from the files though. You can find those from http://koji.fedoraproject.org/koji/
 

The Following User Says Thank You to TemeV For This Useful Post:
Posts: 74 | Thanked: 45 times | Joined on Dec 2010
#17
Originally Posted by TemeV View Post
I quickly tried to build 2.40, but it segfaulted instantly when running it. Which version did you build actually? And which ocaml?

I often use Fedora's spec files as a starting point for building something for Sailfish. Usually there is some Fedora specific stuff that needs to be ripped off from the files though. You can find those from http://koji.fedoraproject.org/koji/
For the 2.48 i have binaries compiled with ocalm 4.02 and ocalm 4.01.

I would try to use the second one for 2.40 but in case it segfaults, we can try with 3.10 that is actually used for building it in debian jessie https://packages.debian.org/source/jessie/unison
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 04:30.