[Xastir] Undoing get-maptools

Tom Russo russo at bogodyn.org
Wed Mar 16 22:31:37 EDT 2016


On Wed, Mar 16, 2016 at 08:25:23PM -0600, we recorded a bogon-computron collision of the <russo at bogodyn.org> flavor, containing:
> The easy answer to this is not to run get-maptools.sh.

And as for undoing the effects of running the script, you'll probably have
to uninstall each of the ancient versions it installed by hand.

The script goes through each of these packages, and untars them under
your $HOME/src/xastir directory, in a tmp subdirectory.  Each of these
packages has had a make and make install done, and some done in nonstandard
ways.  Some of these packages can be removed by doing "make uninstall" in 
their directories, but some packages (e.g. gdal) don't provide an uninstall
target and will have to have their droppings removed manually.

Fortunately, most install by default into /usr/local instead of /usr, and 
the mess they create should be easy to locate.

This kind of thing is why I typically frown on scripts like this being
added to the Xastir script base --- they're a great convenience when they're
created, but when they stop being maintained they can be a huge headache.

> We need to get rid of get-maptools.sh.  It is an ancient relic of the days
> when few Linux systems provided libraries that Xastir needs, and those days
> are long gone.
> 
> It tries to download and install from source several libraries that are years
> out of date.
> 
> These versions are:
> 
> http://internap.dl.sourceforge.net/sourceforge/pcre/pcre-6.3.tar.gz
> http://dl.maptools.org/dl/shapelib/shapelib-1.2.10.tar.gz
> http://dl.maptools.org/dl/proj/proj-4.4.9.tar.gz
> http://dl.maptools.org/dl/geotiff/libgeotiff/libgeotiff-1.2.3.tar.gz
> http://dl.maptools.org/dl/gdal/gdal-1.3.2.tar.gz
> 
> 
> All of these have much more recent versions in package managers.  pcre is
> past version 8.37 now, shapelib is at 1.3.0, libgeotiff is 1.4.1, and gdal is 
> already at version 2.0.x.  Proj is at 4.9.1 now.
> 
> All references to get-maptools.sh need to be expunged from the docs.  
> Right now, telling people to run get-maptools.sh is a bum steer that
> is likely to be getting them into trouble.  It is very likely that these
> old versions (which are surprisingly still downloadable) are interfering
> with installed versions, or requiring old dependencies that are no longer
> there.
> 
> 
> On Wed, Mar 16, 2016 at 08:59:35AM -0700, we recorded a bogon-computron collision of the <curt.we7u at gmail.com> flavor, containing:
> > Did you look here for clues?
> > 
> > https://xastir.org/index.php/Installation_Notes#Debian
> > 
> > On Wed, Mar 16, 2016 at 8:56 AM, Eric Christensen <eric at christensenplace.us>
> > wrote:
> > 
> > > I was using the packaged version in Debian...  uninstalled that and
> > > decided to go with the development version (from source).  Now I've lost
> > > ImageMagick capabilities.  *sigh*
> > >
> > > I continue to work...
> > >
> > > On 03/16/2016 10:19 AM, Curt Mills wrote:
> > > > Have you tried a "make clean" and "make" "make install" for Xastir? When
> > > > you switch libraries out from underneath it, you often need to recompile.
> > > >
> > > > On Wed, Mar 16, 2016 at 6:48 AM, Eric Christensen <
> > > eric at christensenplace.us>
> > > > wrote:
> > > >
> > > > Is there an easy way to undo 'get-maptools'?  I ran it yesterday and
> > > > this morning I cannot start xastir because:
> > > >
> > > > xastir: symbol lookup error: /usr/lib/libgdal.so.1: undefined symbol:
> > > > pj_ctx_alloc
> > > >
> > > > Thanks,
> > > > Eric
> > > >
> > > >> _______________________________________________
> > > >> Xastir mailing list
> > > >> Xastir at lists.xastir.org
> > > >> http://xastir.org/mailman/listinfo/xastir
> > > >>
> > > >
> > > >
> > > >
> > > _______________________________________________
> > > Xastir mailing list
> > > Xastir at lists.xastir.org
> > > http://xastir.org/mailman/listinfo/xastir
> > >
> > 
> > 
> > 
> > -- 
> > Curt, WE7U
> > http://wetnet.net/~we7u
> > http://www.sarguydigital.com
> > _______________________________________________
> > Xastir mailing list
> > Xastir at lists.xastir.org
> > http://xastir.org/mailman/listinfo/xastir
> 
> -- 
> Tom Russo    KM5VY   SAR502   DM64ux          http://www.swcp.com/~russo/
> Tijeras, NM  QRPL#1592 K2#398  SOC#236        http://kevan.org/brain.cgi?DDTNM
>  echo "prpv_a'rfg_cnf_har_cvcr" | sed -e 's/_/ /g' | tr [a-m][n-z] [n-z][a-m]
> 
>  
> 
> 
> _______________________________________________
> Xastir mailing list
> Xastir at lists.xastir.org
> http://xastir.org/mailman/listinfo/xastir

-- 
Tom Russo    KM5VY   SAR502   DM64ux          http://www.swcp.com/~russo/
Tijeras, NM  QRPL#1592 K2#398  SOC#236        http://kevan.org/brain.cgi?DDTNM
 echo "prpv_a'rfg_cnf_har_cvcr" | sed -e 's/_/ /g' | tr [a-m][n-z] [n-z][a-m]

 




More information about the Xastir mailing list