For rpm- basd linux systems, I took a long time in order to getting osm-gps-map working for myself...
First of all, I need to make sure that you understand that these instructions are based on Fedora 15/ 16...
In osm-gps-map-0.7.3 directory, I had to do:
2) ./configure --disable-introspection --disable-static --enable-gtk-doc
4) make install #C library
1) cd python
2) repeat configure command from above...
4) make install #Python-bindings
I know that you seem to be a power user because you seem to know your way around a terminal and in building packages from source? I outlined all steps that I had to go through to get it to work...
If you are also interested in re-building a source rpm, I am willing to share my source rpms that I have built for myself...?
I know that they are built on Fedora, but Mandriva RPMS will build on Fedora, so I am thinking that it will work the same for Mandriva...
Rob G. Healey
I second that, if Gramps is written in python , then you shouldn't needOn 07/26/2011 04:37 PM, Gordonjcp wrote:
> On Tue, 19 Jul 2011 09:49:16 -0700 (PDT)
> doug <email@example.com> wrote:
>> I'm trying to build python-osmgpsmap into the genealogy program Gramps
>> 3.3 on linux (Mandriva 2009.1) from tarball and having problems.
> Aren't there packages for osmgpsmap already, for Mandriva?
>> I've untarred osmgpsmap-0.7.3.tar.gz and python-
>> osmgpsmap-0.7.3.tar.gz, copied the folder python-osmgpsmap-0.7.3 into
>> the folder osmgpsmap-0.7.3, done a simple configure, make, make
> You shouldn't need to do that, but I can't see it making any difference.
>> install (as root) in osmgpsmap-0.7.3; then cd'd to python-
>> osmgpsmap-0.7.3 and done a simple configure, make, make install (as
>> root) there.
>> The libosmgpsmap libraries are installed in /usr/local/lib; the
>> osmgpsmap libraries in /usr/local/lib64/python2.6/site-packages/
>> The commands 'python' , 'import osmgpsmap' , 'print
>> osmgpsmap.__file__' run in /usr/local/lib64/python2.6/site-packages/
>> gtk-2.0 and anywhere else I care to link to the osmgpsmap libraries,
>> so the module itself is OK.
>> But Gramps will *not* link in the osmgpsmap module however I run './
>> configure' , 'make', make install' in the untarr'ed gramps folder.
>> Having linked the osmgpsmap libararies into /usr/local/lib I've tried
>> .configure LIBS=-losmgpsmap..................................... etc.;
>> played around with PKG_CONFIG_PATH ............... till I'm blue in
>> the face. Gramps keeps telling me the osmgpsmap module has not been
> Isn't Gramps written in Python? Why would you be linking the C libraries there? If you can import and use python-osmgpsmap (try the Python example from the osmgpsmap website) then it should work just fine in Gramps too.
anything more than 'import osmgpsmap' in the gramps code. can you import
osmgpsmap running the python shell from elsewhere on your system ?