Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

gpsbabel request

For Community Repository Package Requests and Status for MX-14
Message
Author
User avatar
Gaer Boy
Forum Guide
Forum Guide
Posts: 2114
Joined: Sat Jun 06, 2009 6:06 am

gpsbabel request

#1 Post by Gaer Boy » Sun Jul 12, 2015 11:56 am

Version 1.4.3-1 of gpsbabel in the repos does not handle Garmin .fit files. The facility was added in v1.4.4 - the latest version is v1.5.2. Can this be updated.

I've bought a Garmin Edge 500 cycle computer which saves data as .fit files. Garmin software for this is not available in linux or WinXP and my various GPS/mapping programs don't handle .fit files. I'm using an online converter at gpsies.com to output .gpx files, but I would much prefer to do the conversion offline.

Phil

AsRock FM2A88X-ITX+, A8-6500, 8GB, 120GB Samsung SSD (GPT), 1TB HDD (MBR), MX-17.1
Lenovo Thinkpad X220, dual-core i5, 3MB, 320GB Hitachi HDD, Win7, MX-17.1

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 4264
Joined: Wed Jul 12, 2006 4:05 pm

Re: gpsbabel request

#2 Post by timkb4cq » Sun Jul 12, 2015 12:40 pm

I'll have a look...
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 4264
Joined: Wed Jul 12, 2006 4:05 pm

Re: gpsbabel request

#3 Post by timkb4cq » Sun Jul 12, 2015 2:56 pm

GPSBabel 1.5.0 now available in the testing Mepis 12 CR (http://main.mepis-deb.org/mepiscr/testrepo/ mepis12cr test)

This is backported from debian Jessie, and I noticed that there is a packaging error in the Jessie package that prevents the Google maps preview from working & which discards all the translations.
I haven't worked out how to repair this yet, but there will be an updated package coming when I do.
In the meantime you should be able to do your conversions.
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

User avatar
Gaer Boy
Forum Guide
Forum Guide
Posts: 2114
Joined: Sat Jun 06, 2009 6:06 am

Re: gpsbabel request

#4 Post by Gaer Boy » Sun Jul 12, 2015 4:38 pm

Thanks, Tim. That meets my needs, both CLI & GUI.

For anyone else with the same needs, the .fit format on CLI is 'garmin_fit'. In the GUI, you'll find it as an unbelievable 'Flexible and Interoperable Data Transfer (FIT) Activity file'. All the other Garmin formats start with 'Garmin'. I would have found it more easily as 'Garmin Activity (FIT) file'.

Phil

AsRock FM2A88X-ITX+, A8-6500, 8GB, 120GB Samsung SSD (GPT), 1TB HDD (MBR), MX-17.1
Lenovo Thinkpad X220, dual-core i5, 3MB, 320GB Hitachi HDD, Win7, MX-17.1

tom13
Forum Novice
Forum  Novice
Posts: 24
Joined: Thu Apr 28, 2016 11:08 am

Re: gpsbabel gui installation

#5 Post by tom13 » Tue Feb 13, 2018 11:00 am

Hi Tim,I'm trying to install gpsbabel gui version to my mx-16,but have difficulties with it

Code: Select all

tom@tom1:~/Downloads/gpsbabel/gpsbabel-1.5.4
$ ./configure && make
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=gnu++11... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for cos in -lm... yes
checking whether to support shapefiles... yes
checking whether to support Palm/OS pdb formats... yes
checking whether to support csv formats... yes
checking whether to support maximum number of formats... yes
checking whether to support filters... yes
checking whether to support zlib... using included version
checking for qmake-qt5... no
checking for qmake... qmake
checking for lupdate-qt5... no
checking for lupdate... lupdate
checking for lrelease-qt5... no
checking for lrelease... lrelease
qmake: could not exec '/usr/lib/i386-linux-gnu/qt4/bin/qmake': No such file or directory
./configure: line 5069: test: : integer expression expected
qmake: could not exec '/usr/lib/i386-linux-gnu/qt4/bin/qmake': No such file or directory
qmake: could not exec '/usr/lib/i386-linux-gnu/qt4/bin/qmake': No such file or directory
checking for libusb... checking for libusb-config... false
checking for Linux HID interface... yes
checking for reduce relocations... unknown
checking for random stuff to make you feel better... failed
checking for efence... 
checking for docdir... checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for nanosleep... yes
checking for sleep... yes
checking for uname... yes
checking for glob... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gbversion.h
config.status: creating gui/setup.iss
config.status: creating xmldoc/makedoc
config.status: creating tools/mkcapabilities
config.status: creating win32/gpsbabel.rc
config.status: creating jeeps/Makefile
config.status: creating shapelib/Makefile
config.status: creating zlib/empty
config.status: creating gui/makelinuxdist.sh
config.status: creating config.h
config.status: config.h is unchanged
g++  -g -O2 -std=gnu++11 -Wall -c   -I. -I  -DHAVE_CONFIG_H -DNEW_STRINGS main.cc -o main.o
main.cc:20:29: fatal error: QtCore/QTextCodec: No such file or directory
 #include <QtCore/QTextCodec>
                             ^
compilation terminated.
Makefile:128: recipe for target 'main.o' failed
make: *** [main.o] Error 1
Would you please take a look at my terminal output and tell me what am I doing wrong?Thank you in advance...

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 4264
Joined: Wed Jul 12, 2006 4:05 pm

Re: gpsbabel request

#6 Post by timkb4cq » Tue Feb 13, 2018 11:12 am

Code: Select all

qmake: could not exec '/usr/lib/i386-linux-gnu/qt4/bin/qmake': No such file or directory
This indicates you don't have the qt4-qmake package installed.
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 15789
Joined: Fri Dec 15, 2006 8:07 pm

Re: gpsbabel request

#7 Post by Stevo » Tue Feb 13, 2018 4:44 pm

I foresee more problems coming up with Qt 5 versus Qt 4. You should start a separate thread, too, since this is MX 14 and you're using MX 16.

And the very best solution is to try and backport a newer set of packages from upstream Debian if that's what you're aiming for, or ask us to: https://repology.org/metapackage/gpsbabel/versions

1.5.0 to 1.5.4

After some more research, gpsbabel 1.5.4 does not support Qt 4 builds at all any longer. I have built 1.5.4 packages for MX 17, and am trying to tweak it to build on MX 15/16.

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 15789
Joined: Fri Dec 15, 2006 8:07 pm

Re: gpsbabel request

#8 Post by Stevo » Tue Feb 13, 2018 11:15 pm

OK, figured out how to get 1.5.4 package builds to work on MX 15/16 Jessie base.

Do single threaded builds only for any platform, parallel builds fail.

Qt 4 is now right out.

Replace qtwebengine5-dev with libqt5webkit5-dev in the debian/control and rules files.

tom13
Forum Novice
Forum  Novice
Posts: 24
Joined: Thu Apr 28, 2016 11:08 am

Re: gpsbabel request

#9 Post by tom13 » Wed Feb 14, 2018 9:31 am

Thanks Tim,thanks Stevo,
I did install qt4-qmake,and,after it also failed,I installed qt5-qmake,stil no success

Code: Select all

tom@tom1:~/Downloads/gpsbabel
$ cd gpsbabel-1.5.4
tom@tom1:~/Downloads/gpsbabel/gpsbabel-1.5.4
$ sudo ./configure && make
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=gnu++11... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for cos in -lm... yes
checking whether to support shapefiles... yes
checking whether to support Palm/OS pdb formats... yes
checking whether to support csv formats... yes
checking whether to support maximum number of formats... yes
checking whether to support filters... yes
checking whether to support zlib... using included version
checking for qmake-qt5... no
checking for qmake... qmake
checking for lupdate-qt5... no
checking for lupdate... lupdate
checking for lrelease-qt5... no
checking for lrelease... lrelease
checking for libusb... checking for libusb-config... false
checking for Linux HID interface... yes
checking for reduce relocations... no
checking for random stuff to make you feel better... failed
checking for efence... 
checking for docdir... checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for nanosleep... yes
checking for sleep... yes
checking for uname... yes
checking for glob... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gbversion.h
config.status: creating gui/setup.iss
config.status: creating xmldoc/makedoc
config.status: creating tools/mkcapabilities
config.status: creating win32/gpsbabel.rc
config.status: creating jeeps/Makefile
config.status: creating shapelib/Makefile
config.status: creating zlib/empty
config.status: creating gui/makelinuxdist.sh
config.status: creating config.h
config.status: config.h is unchanged
g++  -g -O2 -std=gnu++11 -Wall -c   -I. -I/usr/include/qt4  -DHAVE_CONFIG_H -DNEW_STRINGS main.cc -o main.o
main.cc:256:4: error: #error This version of Qt is not supported.
   #error This version of Qt is not supported.
    ^
Makefile:128: recipe for target 'main.o' failed
make: *** [main.o] Error 1
What else do I need to install?

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 4264
Joined: Wed Jul 12, 2006 4:05 pm

Re: gpsbabel request

#10 Post by timkb4cq » Wed Feb 14, 2018 12:44 pm

Stevo has packaged gpsbabel-gui_1.5.4 for the MX-15/16 Test repository, so you can install it with the Package Installer in MX-Tools.

If you want to continue on as a learning process, you probably need to set the default Qt on your system to Qt5 with

Code: Select all

export QT_SELECT=qt5
since it looks to me as if it's still trying to build with Qt4.
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

Post Reply

Return to “Package Requests/Status - MX-14”