Can't build python-osmgpsmap 0.7.3?

58 views
Skip to first unread message

Gordon JC Pearce

unread,
May 2, 2011, 3:25:30 PM5/2/11
to osm-g...@googlegroups.com
Just as the subject line says, with the most recent python-osmgpsmap it
bails at ./configure with:

configure: error: cannot find install-sh, install.sh, or shtool in "."
"./.." "./../.."

So, copy in /usr/share/automake-1.11/install-sh and...

configure: error: cannot run /bin/sh ./config.sub

which sure enough is missing.


What have I got wrong here?

Gordon MM0YEQ

John Stowers

unread,
May 2, 2011, 5:04:21 PM5/2/11
to osm-g...@googlegroups.com

I presume this is building from tarballs. What is your build environment?

can you call

autoreconf -fvi

or

./autogen.sh

and then ./configure?

John

>
> Gordon MM0YEQ
>
>

Gordon JC Pearce

unread,
May 2, 2011, 5:15:27 PM5/2/11
to osm-g...@googlegroups.com
On Tue, 2011-05-03 at 09:04 +1200, John Stowers wrote:
> On Tue, May 3, 2011 at 7:25 AM, Gordon JC Pearce <gord...@gjcp.net> wrote:
> > Just as the subject line says, with the most recent python-osmgpsmap it
> > bails at ./configure with:
> >
> > configure: error: cannot find install-sh, install.sh, or shtool in "."
> > "./.." "./../.."
> >
> > So, copy in /usr/share/automake-1.11/install-sh and...
> >
> > configure: error: cannot run /bin/sh ./config.sub
> >
> > which sure enough is missing.
> >
> >
> > What have I got wrong here?
>
> I presume this is building from tarballs. What is your build environment?

I'm building in Arch Linux, which uses gcc 4.6.0 (and indeed pretty much
the newest versions of everything).


> can you call
>
> autoreconf -fvi

That allows me to run configure, and now it bails because it detects
python 3 instead of python 2.

I don't understand autotools well enough to know how to fix that.

Gordon MM0YEQ

John Stowers

unread,
May 2, 2011, 5:23:21 PM5/2/11
to osm-g...@googlegroups.com

Ok good.

>
> I don't understand autotools well enough to know how to fix that.

yeah, python3 not supported (by pygtk either). Python3 support will
come in the next year as GNOME moves from pygtk to PyGObject + GObject
introspecton + gtk+-3

Does anyone here use arch and know how to force python2?

John

>
> Gordon MM0YEQ
>
>

Gordon JC Pearce

unread,
May 3, 2011, 4:03:39 PM5/3/11
to osm-g...@googlegroups.com
It all works now; I just used "python2 setup.py install" with --root set
appropriately, and I have a nice shiny working python-osmgpsmap.

For those of you using Arch, the packages are in AUR and can be
installed either "by hand" or with the AUR helper of your choice. They
are called:

osm-gps-map
python-osmgpsmap

Why doesn't the second one have hyphens in osm-gps-map? No idea, that's
how it is on John's server ;-)

Gordon MM0YEQ

Rob Healey

unread,
May 4, 2011, 2:23:06 AM5/4/11
to osm-g...@googlegroups.com
Dear Gordon:

Can you give a url to the sources, so that I may download and build it too?

I am excited to be able to get my hands upon it!  Even if it is just a : git clone access to the sources...

Just to make sure, are you talking about the gtk3 branch?

Sincerely yours,
Rob G. Healey
--
Sincerely yours,
Rob G. Healey

"Always surround yourself with people that inspire you to
greatness!"

Gordon JC Pearce

unread,
May 4, 2011, 2:42:46 AM5/4/11
to osm-g...@googlegroups.com
On Tue, 2011-05-03 at 23:23 -0700, Rob Healey wrote:
> Dear Gordon:
>
> Can you give a url to the sources, so that I may download and build it
> too?
>
> I am excited to be able to get my hands upon it! Even if it is just
> a : git clone access to the sources...
>
> Just to make sure, are you talking about the gtk3 branch?
>
> Sincerely yours,
> Rob G. Healey

No, this is the Gtk2 version. I should probably start looking at the
Gtk3 version, because it looks like I'm going to have to write my own
object rendering code at some stage and Gtk3 is the way the world is
going.

Gordon MM0YEQ

Rob Healey

unread,
May 4, 2011, 7:33:44 AM5/4/11
to osm-g...@googlegroups.com
Dear Gordon:

I just barely know a little bit of python, HTML, and CSS, so if there is anything that I can do in testing it, please let me know what I can do?

I am more than willing to test and try out alpha/ beta code to test and figure out the bugs...

I am working with the Gramps project and we know would love to get a package for OsmGpsMap3 and OsmGpsMap2 for those not ready for gtk3 yet!

Please let me know what I can do?


Sincerely yours,
Rob G. Healey


--
Sincerely yours,
Rob G. Healey

Reply all
Reply to author
Forward
0 new messages