Comments (30)
Hey Jonathan,
I found this on the http://sourceforge.net/projects/openambit/:
"For *buntu users:
sudo apt-add-repository ppa:openambit/ppa
sudo apt-get update
sudo apt-get install openambit"
I don1t know if this pppa repo is still working or not, but you can give a
try.
Best regards,
Attila
On Wed, Mar 19, 2014 at 6:48 AM, Jonathan Bell [email protected]:
Thought that I was getting really close to running open ambit on Ubuntu
12.04. Now it looks like all I need is QJSON 0.8.0:jonathan@Jimmy:~/openambit$ sudo ./install.sh
------building libambit------
-- Configuring done
-- Generating done
-- Build files have been written to:
/home/jonathan/openambit/libambit-build
[100%] Built target ambit
./build.sh: 13: [: 1: unexpected operator
------building openambit------
-- Found libambit: /usr/local/include, /usr/local/lib/libambit.so
CMake Error at CMakeLists.txt:15 (find_package):
Could not find a configuration file for package "QJSON" that is compatible
with requested version "0.8.0".The following configuration files were considered but not accepted:
/usr/lib/x86_64-linux-gnu/cmake/qjson/qjson-config.cmake, version: 0.7.1
-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found. Stop.
./build.sh: 24: [: 1: unexpected operator
jonathan@Jimmy:~/openambit$Any way around this? I can only find packages for libqjson 0.7.1-6 for my
version of Ubuntu. I've spent a good hour getting other dependencies in
order, like QT4.Reply to this email directly or view it on GitHubhttps://github.com//issues/32
.
from openambit.
Hi guys, @battila we are moving from source forge to github, the ppa should still work.
@jonathanbell probably you have to build your own qjson https://github.com/flavio/qjson
from openambit.
Hey Marco,
I noticed that;) I tried to use the ppa on linux mint, but it was not
working here.
If you need help to create packages for every kind of linux, then I can
help.
Best regards,
On Wed, Mar 19, 2014 at 10:40 AM, Marco Bernasocchi <
[email protected]> wrote:
Hi guys, @battila https://github.com/battila we are moving from source
forge to github, the ppa should still work.
@jonathanbell https://github.com/jonathanbell probably you have to
build your own qjson https://github.com/flavio/qjsonReply to this email directly or view it on GitHubhttps://github.com//issues/32#issuecomment-38032170
.
from openambit.
And I have not found this info on github. That is the reason I mentioned
the sourcefourge.
Best regards,
Attila
On Wed, Mar 19, 2014 at 11:05 AM, Attila Bárdi [email protected]:
Hey Marco,
I noticed that;) I tried to use the ppa on linux mint, but it was not
working here.
If you need help to create packages for every kind of linux, then I can
help.Best regards,
On Wed, Mar 19, 2014 at 10:40 AM, Marco Bernasocchi <
[email protected]> wrote:Hi guys, @battila https://github.com/battila we are moving from source
forge to github, the ppa should still work.
@jonathanbell https://github.com/jonathanbell probably you have to
build your own qjson https://github.com/flavio/qjsonReply to this email directly or view it on GitHubhttps://github.com//issues/32#issuecomment-38032170
.
from openambit.
And I have not found this info on github. That is the reason I mentioned
the sourcefourge.
added to the wiki thanks
from openambit.
If you need help to create packages for every kind of linux, then I can
help.
yes please, anything you can I assigned you #33
thanks a lot
from openambit.
Ok. I'm on it.
On Wed, Mar 19, 2014 at 11:39 AM, Marco Bernasocchi <
[email protected]> wrote:
If you need help to create packages for every kind of linux, then I can
help.yes please, anything you can I assigned you #33#33
thanks a lotReply to this email directly or view it on GitHubhttps://github.com//issues/32#issuecomment-38036775
.
from openambit.
Hi all - thanks for the quick response! :)
I found this on the http://sourceforge.net/projects/openambit/:
"For *buntu users:
sudo apt-add-repository ppa:openambit/ppa
sudo apt-get update
sudo apt-get install openambit"
@battila + @mbernasocchi, I tried this (above) and had the same experience as user "uhuuu" commented on the Sourceforge page:
On Ubuntu 13:10 itworks, great! But still work to be done .. differences on .log files compared with the same from moveslink2! On Ubuntu 12.04 it could not be installed:
$ sudo apt-add-repository ppa:openambit/ppa
$ sudo apt-get update $ sudo apt-get install openambit E: Unable to locate package openambit
I try to compile the package myself, but there are incompatibilties with QJson installed on 12.04: I tried to install backport of libqjson-dev for Ubuntu 12.04 but this is not available:
$ sudo apt-get install libqjson-dev/precise-backports E: Release 'precise-backports' for 'libqjson-dev' was not found
I don't know if supporting openambit on Ubuntu 12.04 Long Term Service for average users (ppa install) is a feasible request, as I haven't had much luck with the dependencies but @mbernasocchi, I will try building my own qjson and report back.
from openambit.
I installed the qjson .deb from:
- http://packages.ubuntu.com/fr/saucy/amd64/libqjson-dev/download
- http://packages.ubuntu.com/fr/saucy/amd64/libqjson0/download
and it runs! Still, would be nice if the process was easier for Ubuntu 12.04 users.
If you are no longer using Sourceforge, suggest changing the link to "file a bug" in the beta check at startup and the sourceforge link in the about openambit window. Also, may I humbly suggest displaying the most recent moves at the top of the list in the left side of the main window? Or a user option to switch the order?
from openambit.
@jonathanbell coul your add your ideas to #19?
thanks
from openambit.
coul your add your ideas to #19?
Done. :) Thanks for the great software! I'm just trying it out now. Should I add the edits to the links in a new issue for you? Or, is that already noted? Again, thanks!
from openambit.
FYI, I have adjusted the package from https://launchpad.net/~openambit/+archive/ppa to use better dependencies so the package can also be built on other versions of Debian/Ubuntu, binaries for precise are availble from https://launchpad.net/~dominik-stadler/+archive/ppa/
See below for the actual changes, by relying on misc:Depends et.al. for the dev-dependencies we do not depend on libudev1 which is still libudev0 in older versions of Ubuntu/Debian.
libambit:
diff --git a/debian/control b/debian/control
index c58ec14..7e65aed 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Homepage: https://sourceforge.net/projects/openambit/
Package: libambit-dev
Section: libdevel
Architecture: any
-Depends: libambit0 (= ${binary:Version})
+Depends: libambit0 (= ${binary:Version}), ${misc:Depends}
Description: Communication library for Suunto Ambit series
Libambit is the driver library to communicate with the Suunto Ambit series
of sport watches. This is the -dev version of the package container
@@ -20,7 +20,7 @@ Description: Communication library for Suunto Ambit series
Package: libambit0
Section: libs
Architecture: any
-Depends: libudev1, libusb-1.0-0, ${shlibs:Depends}, ${misc:Pre-Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends}, ${misc:Pre-Depends}, ${misc:Depends}
Description: Communication library for Suunto Ambit series
Libambit is the driver library to communicate with the Suunto Ambit series
of sport watches.
openambit:
diff --git a/debian/control b/debian/control
index e3994f6..1665187 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: openambit
Priority: extra
Maintainer: Emil Ljungdahl <[email protected]>
Build-Depends: debhelper (>= 9), cmake (>= 2.8.5), libudev-dev, libqjson-dev, zlib1g-dev,
- libambit-dev (= 0.2-1), libqt4-dev
+ libambit-dev (>= 0.2), libqt4-dev
Standards-Version: 3.9.4
Section: utils
Homepage: https://sourceforge.net/projects/openambit/
@@ -11,8 +11,7 @@ Homepage: https://sourceforge.net/projects/openambit/
Package: openambit
Architecture: any
-Depends: libudev1, libqjson0, zlib1g, libambit0 (= 0.2-1),
- libqt4-core, libqt4-gui, libqt4-network, ${shlibs:Depends}, ${misc:Depends}
+Depends: libqt4-core, libqt4-gui, libqt4-network, ${shlibs:Depends}, ${misc:Depends}
Description: Synchronize your Suunto Ambit series device
Openambit is GUI application for synchronizing the Suunto Ambit series
of devices with your PC and Suuntos cloudservice movescount.com
from openambit.
That's excellent news! I will try installing with the PPAs soon, when I have a moment and report back.
On May 11, 2014, at 11:41, Dominik Stadler [email protected] wrote:
FYI, I have adjusted the package from https://launchpad.net/~openambit/+archive/ppa to use better dependencies so the package can also be built on other versions of Debian/Ubuntu, binaries for precise are availble from https://launchpad.net/~dominik-stadler/+archive/ppa/
See below for the actual changes, by relying on misc:Depends et.al. for the dev-dependencies we do not depend on libudev1 which is still libudev0 in older versions of Ubuntu/Debian.
libambit:
diff --git a/debian/control b/debian/control
index c58ec14..7e65aed 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Homepage: https://sourceforge.net/projects/openambit/
Package: libambit-dev
Section: libdevel
Architecture: any
-Depends: libambit0 (= ${binary:Version})
+Depends: libambit0 (= ${binary:Version}), ${misc:Depends}
Description: Communication library for Suunto Ambit series
Libambit is the driver library to communicate with the Suunto Ambit series
of sport watches. This is the -dev version of the package container
@@ -20,7 +20,7 @@ Description: Communication library for Suunto Ambit series
Package: libambit0
Section: libs
Architecture: any
-Depends: libudev1, libusb-1.0-0, ${shlibs:Depends}, ${misc:Pre-Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends}, ${misc:Pre-Depends}, ${misc:Depends}
Description: Communication library for Suunto Ambit series
Libambit is the driver library to communicate with the Suunto Ambit series
of sport watches.
openambit:diff --git a/debian/control b/debian/control
index e3994f6..1665187 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: openambit
Priority: extra
Maintainer: Emil Ljungdahl [email protected]
Build-Depends: debhelper (>= 9), cmake (>= 2.8.5), libudev-dev, libqjson-dev, zlib1g-dev,
libambit-dev (= 0.2-1), libqt4-dev
libambit-dev (>= 0.2), libqt4-dev
Standards-Version: 3.9.4
Section: utils
Homepage: https://sourceforge.net/projects/openambit/
@@ -11,8 +11,7 @@ Homepage: https://sourceforge.net/projects/openambit/Package: openambit
Architecture: any
-Depends: libudev1, libqjson0, zlib1g, libambit0 (= 0.2-1),libqt4-core, libqt4-gui, libqt4-network, ${shlibs:Depends}, ${misc:Depends}
+Depends: libqt4-core, libqt4-gui, libqt4-network, ${shlibs:Depends}, ${misc:Depends}
Description: Synchronize your Suunto Ambit series device
Openambit is GUI application for synchronizing the Suunto Ambit series
of devices with your PC and Suuntos cloudservice movescount.com
—
Reply to this email directly or view it on GitHub.
from openambit.
FYI, in the meantime building a test-set of binaries for Trusty 14.04 also finished, it can be found at https://launchpad.net/~dominik-stadler/+archive/dsta-trusty-ppa for now, however I could not test them yet as I don't have Trusty installed anywhere (yet).
from openambit.
i might end up installing thrusty tonite
Marco Bernasocchi (mobile)
http://opengis.ch
On 12 May 2014 21:11, "Dominik Stadler" [email protected] wrote:
FYI, in the meantime building a test-set of binaries for Trusty 14.04 also
finished, it can be found at
https://launchpad.net/~dominik-stadler/+archive/dsta-trusty-ppahttps://launchpad.net/%7Edominik-stadler/+archive/dsta-trusty-ppafor now, however I could not test them yet as I don't have Trusty installed
anywhere (yet).—
Reply to this email directly or view it on GitHubhttps://github.com//issues/32#issuecomment-42874678
.
from openambit.
Is there an apt-get'able repository for the source package of the unofficial package built for Ubuntu (sorry, I haven't understood who is currently doing that work)?
My plan is to merge the work done there with the work I did for building OpenAmbit for Debian unstable....which package is currently awaiting for Debian ftpmasters approval before entering Debian unstable.
Once this is done, my plan is to backport the package for Debian stable (wheezy) and upload it to backports.debian.org. That also should help those of you folks who insist on using Ubuntu to get something working on older version of the distro (in the Ubuntu world, old means "over 6 months old, doh).
from openambit.
OK, I found the information:
deb-src http://ppa.launchpad.net/dominik-stadler/dsta-trusty-ppa/ubuntu trusty main
from openambit.
Using ppa:dominik-stadler/ppa openambit installs with apt-get install on precise. : ) Thanks!
from openambit.
sudo add-apt-repository ppa:dominik-stadler/dsta-trusty-ppa
does install in Trusty
from openambit.
After updating libqjson as suggested by @jonathanbell, cmake worked perfectly for openambit-build. Make however, is returning an error:
/home/user/suunto/src/openambit/logstore.cpp: In member function ‘void LogStore::XMLReader::readLogHeader()’:
/home/user/suunto/src/openambit/logstore.cpp:568:48: error: ‘ambit_log_header_t’ has no member named ‘cadence_avg’
/home/user/suunto/src/openambit/logstore.cpp:571:48: error: ‘ambit_log_header_t’ has no member named ‘cadence_max’
/home/user/suunto/src/openambit/logstore.cpp:574:48: error: ‘ambit_log_header_t’ has no member named ‘cadence_max_time’
/home/user/suunto/src/openambit/logstore.cpp:692:68: error: ‘ambit_log_header_t’ has no member named ‘cadence_max’
/home/user/suunto/src/openambit/logstore.cpp:694:68: error: ‘ambit_log_header_t’ has no member named ‘cadence_avg’
/home/user/suunto/src/openambit/logstore.cpp:714:44: error: ‘ambit_log_header_t’ has no member named ‘cadence_max_time’
/home/user/suunto/src/openambit/logstore.cpp: In member function ‘bool LogStore::XMLWriter::writeLogEntry()’:
/home/user/suunto/src/openambit/logstore.cpp:1355:68: error: ‘ambit_log_header_t’ has no member named ‘cadence_avg’
/home/user/suunto/src/openambit/logstore.cpp:1356:68: error: ‘ambit_log_header_t’ has no member named ‘cadence_max’
/home/user/suunto/src/openambit/logstore.cpp:1357:72: error: ‘ambit_log_header_t’ has no member named ‘cadence_max_time’
make[2]: *** [CMakeFiles/openambit.dir/logstore.cpp.o] Error 1
make[1]: *** [CMakeFiles/openambit.dir/all] Error 2
make: *** [all] Error 2
Any ideas?
from openambit.
Sorry the same for me
from openambit.
Please git pull --rebase
. On Debian testing (amd64), I just did
git clone https://github.com/openambitproject/openambit.git
cd openambit
./build.sh
and that worked fine for me. Further checking src/libambit/libambit.h
showed that 02d1cc7 adds these member variables.
from openambit.
@centic9 I have seen that there's already a openambit_0.2-1ubuntu0~ppa4_amd64.deb
in your ubuntu12.04 repo but my apt does only install the ...ppa3...
version. On inspection of the ...ppa4...
package it turned out to have an unsatisfied dependency for libudev1
which is not available, as you state in a comment further above in this thread.
Does the ppa4
package really depend on libudev1 now or is this just a thing that you forgot to change in the package dependency list?
from openambit.
The ppa4 version is for Ubuntu trusty and there a different version of libudev is used. The packages are identical otherwise. You can also use https://launchpad.net/%7Edominik-stadler/+archive/dsta-precise-ppa to just see versions for precise.
from openambit.
@centic9 Ah, OK, that explains it. I'm fine with the standard ppa and that there are seemingly newer packages in there, I just feared I had screwed up my apt configuration as I was playing a bit with the repo priorities recently.
from openambit.
@centic9 Since you obviously have some deb packaging skills, would you be interested in helping out with managing the "official" packages? Or any other debian / ubuntu users for that matter, all help we can get is very much appreciated!
from openambit.
Since this discussion started, I included OpenAmbit in Debian unstable, so I wonder if the issue is still worth it. Maybe some Ubuntu 12.04 or Debian "stable" users might want to easily have OpenAmbit but that can indeed be solved if I (as the official Debian package maintainer for openambit in Debian, now, as part of the Debian "pkg-running" team) work on a "backport" of the package. A "backport" is indeed recompiling the package for an older version of Debian. In that case, it would be Debian "wheezy", the stable Debian release. Such package would probably be suitable for Ubuntu 12.04 too
from openambit.
Yes, I think this one can be closed, there are official Debian packages that will land in Ubuntu at some point. Additionally over time some newer versions may be available via my PPAs for people wanting to use more up-to-date stuff.
I plan to continue to package newer versions for my own usage in my PPA, where others can use them as well easily. Just ping me if you would like to get some fix or version made available.
from openambit.
Just a small "up" on this issue....which can IMHO be closed, as suggested above
from openambit.
Yep, closing. For the latest version (0.3) there are also packages for 12.04 in the official openambit PPA.
from openambit.
Related Issues (20)
- strava_uploader.py HOT 6
- Maybe it depends on what you are using to sync your moves. My latest move (~8km walk) appears in MovesCount. HOT 1
- Not able to connect to movescount on fresh install HOT 9
- wrong read if memory is near limit HOT 10
- Some specs for the "custom JSON config file"? HOT 2
- Add a option to totally skip any try to communicate with movescount.
- Upload a GPX to a Suunto watch directly?
- Compilation issue on master: this_thread::sleep_for HOT 2
- suuntolink HOT 3
- No instructions for updating tools/stravauploader/config.py
- double free or corruption HOT 1
- Suuntolink working with Wine HOT 15
- Wireshark dissector usage HOT 1
- ambit_device_driver_ambit3: ambit_navigation_read / write HOT 8
- Sample files with USB HID report descriptor
- Add a license file to the project
- Convert GPX to JSON route HOT 3
- suunto apps support HOT 2
- suunto ambit 3 sport not updating firmware
- Installation problem Xubuntu 22.04 - problem with cmake
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openambit.