Re: [Merkaartor] Failed to build on Mageia 4

2015-05-03 Thread Ladislav Laska
Hi!

 
 So I downloaded a current source file from Github and tried to follow 
 instructions.
 
 It builds, but will not build the plugins.
 
 Is there a simple guide to what sort of dependencies I need to load?

The plugins should not have additional dependencies. Does it give you a
compilation error? If so, please, post what it is. If it just does not
load plugins if you run it, here is why:

There is a bug that current git version searches plugins in wrong
path if you build and install it ('make release; make install'). I'm
working on a fix, but it is a bit more complex to do it right. I'll have
to come up with some solid solution.

You can still easily run plugins if you build the debug or release
version and run it from tree, that is without make install.

I'll post more info once I've found a good solution. I will probably
hack something in qmake that will change the plugin path just before
installing, so you can run release and debug versions from source tree.
I just don't know how :-)

 
 I presume there's a rpm specfile for the Mageia 18.1 versions somewhere. 
 
 I vaguely remember that somewhere on the old wiki there was a guide to 
 compiling, which I haven't found recently. 

Although I have it somewhere, it's not up to date anyway. I made some
incompatible changes to make development easier.

 Looks like Mageia will be on the QT4 version for a little while yet (the 5 
 version that is now at RC state has default KDE 4 with option for Plasma 5).
 
 Merkaartor does fit very well within my KDE system, unlike JOSM which I can't 
 just get my head around. I originally went with Merkaartor as my system was  
 low spec and running something that had the same system libraries made sense. 
 I have run Merkaartor successfully on an eeepc netbook. 

No problem, I'm not giving up on qt4 just yet. The qt4 will stick with
us for a while.


-- 
S pozdravem Ladislav Láska  la...@kam.mff.cuni.cz
Katedra Aplikované Matematiky, MFF UK   tel.: +420 739 464 167

___
Merkaartor mailing list
Merkaartor@openstreetmap.org
https://lists.openstreetmap.org/listinfo/merkaartor


Re: [Merkaartor] Failed to build on Mageia 4

2015-05-03 Thread Ladislav Laska
... I've pushed a change into branch plugins-dir (just execute git pull;
git checkout plugins-dir in the merkaartor tree to get it).

It should fix your problem for now, but it's not a final solution, as I
feel it's a bit clumsy. It also changes the default build to release,
and I can't seem to do anything about it (it actually changes to
whatever your qt build is). This will probably be permanent change, but
needs documenting.

On Sun, May 03, 2015 at 10:27:18PM +0200, Ladislav Laska wrote:
 Hi!
 
  
  So I downloaded a current source file from Github and tried to follow 
  instructions.
  
  It builds, but will not build the plugins.
  
  Is there a simple guide to what sort of dependencies I need to load?
 
 The plugins should not have additional dependencies. Does it give you a
 compilation error? If so, please, post what it is. If it just does not
 load plugins if you run it, here is why:
 
 There is a bug that current git version searches plugins in wrong
 path if you build and install it ('make release; make install'). I'm
 working on a fix, but it is a bit more complex to do it right. I'll have
 to come up with some solid solution.
 
 You can still easily run plugins if you build the debug or release
 version and run it from tree, that is without make install.
 
 I'll post more info once I've found a good solution. I will probably
 hack something in qmake that will change the plugin path just before
 installing, so you can run release and debug versions from source tree.
 I just don't know how :-)
 
  
  I presume there's a rpm specfile for the Mageia 18.1 versions somewhere. 
  
  I vaguely remember that somewhere on the old wiki there was a guide to 
  compiling, which I haven't found recently. 
 
 Although I have it somewhere, it's not up to date anyway. I made some
 incompatible changes to make development easier.
 
  Looks like Mageia will be on the QT4 version for a little while yet (the 5 
  version that is now at RC state has default KDE 4 with option for Plasma 5).
  
  Merkaartor does fit very well within my KDE system, unlike JOSM which I 
  can't 
  just get my head around. I originally went with Merkaartor as my system was 
   
  low spec and running something that had the same system libraries made 
  sense. 
  I have run Merkaartor successfully on an eeepc netbook. 
 
 No problem, I'm not giving up on qt4 just yet. The qt4 will stick with
 us for a while.
 
 
 -- 
 S pozdravem Ladislav Láska  la...@kam.mff.cuni.cz
 Katedra Aplikované Matematiky, MFF UK   tel.: +420 739 464 167

-- 
S pozdravem Ladislav Láska  la...@kam.mff.cuni.cz
Katedra Aplikované Matematiky, MFF UK   tel.: +420 739 464 167

___
Merkaartor mailing list
Merkaartor@openstreetmap.org
https://lists.openstreetmap.org/listinfo/merkaartor


[Merkaartor] Failed to build on Mageia 4

2015-05-03 Thread Paul Bivand
Hi all

I was trying to build Merkaartor on my Mageia 4 64-bit. 

The repository version was 18.1 so presumably before the recent revival.

So I downloaded a current source file from Github and tried to follow 
instructions.

It builds, but will not build the plugins.

Is there a simple guide to what sort of dependencies I need to load?

I presume there's a rpm specfile for the Mageia 18.1 versions somewhere. 

I vaguely remember that somewhere on the old wiki there was a guide to 
compiling, which I haven't found recently. 

Looks like Mageia will be on the QT4 version for a little while yet (the 5 
version that is now at RC state has default KDE 4 with option for Plasma 5).

Merkaartor does fit very well within my KDE system, unlike JOSM which I can't 
just get my head around. I originally went with Merkaartor as my system was  
low spec and running something that had the same system libraries made sense. 
I have run Merkaartor successfully on an eeepc netbook. 

Thanks for reviving Merkaartor. 

Paul





___
Merkaartor mailing list
Merkaartor@openstreetmap.org
https://lists.openstreetmap.org/listinfo/merkaartor