devel/glib12 and devel/glib20

Gary Palmer gpalmer at freebsd.org
Sat Sep 6 01:00:09 UTC 2014


On Sat, Sep 06, 2014 at 02:49:14AM +0200, Baptiste Daroussin wrote:
> On Sat, Sep 06, 2014 at 01:36:11AM +0100, Gary Palmer wrote:
> > On Sat, Sep 06, 2014 at 02:34:17AM +0200, Baptiste Daroussin wrote:
> > > On Sat, Sep 06, 2014 at 01:21:25AM +0100, Gary Palmer wrote:
> > > > Hi,
> > > > 
> > > > I upgraded to pkgng recently, and prior to this I had both devel/glib12 
> > > > and devel/glib20 happily co-existing.  Now I am told that I can't
> > > > have both installed at the same time.  This was fine with both
> > > > glib-2.36.3_3 and glib-1.2.10_13 until this last updated to glib-2.36.3_4
> > > > which svn log shows as "Change PYTHON_FEATURES to USE_PYTHON"
> > > > 
> > > > Is this correct?  Can I only have one or the other now?
> > > 
> > > What tell you you can't have both?
> > > 
> > > $ pkg info -x glib
> > > glib-2.36.3_3
> > > glib12-1.2.10_13
> > > 
> > > regards,
> > > Bapt
> > 
> > root at host:/usr/ports/devel/glib20> make install
> > ===>  Installing for glib-2.36.3_4
> > ===>   glib-2.36.3_4 depends on file: /usr/local/bin/python2.7 - found
> > ===>   glib-2.36.3_4 depends on file: /usr/local/bin/perl5.14.4 - found
> > ===>   glib-2.36.3_4 depends on shared library: libpcre.so - found (/usr/local/lib/libpcre.so.3)
> > ===>   glib-2.36.3_4 depends on shared library: libffi.so - found (/usr/local/lib/libffi.so.6.0.1)
> > ===>   glib-2.36.3_4 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so.9)
> > ===>   glib-2.36.3_4 depends on shared library: libiconv.so.3 - found (/usr/local/lib/libiconv.so.3)
> > ===>   glib-2.36.3_4 depends on shared library: libicui18n.so - found (/usr/local/lib/libicui18n.so.53.1)
> > ===>  Checking if glib already installed
> > ===>   An older version of glib is already installed (glib-1.2.10_13)
> >       You may wish to ``make deinstall'' and install this port again
> >       by ``make reinstall'' to upgrade it properly.
> >       If you really wish to overwrite the old port of glib
> >       without deleting it first, set the variable "FORCE_PKG_REGISTER"
> >       in your environment or the "make install" command line.
> > *** [check-already-installed] Error code 1
> > 
> > Stop in /usr/ports/devel/glib20.
> > *** [install] Error code 1
> > 
> > Stop in /usr/ports/devel/glib20.
> > 
> 
> Right this is because you have installed glib-1.2 long ago since it has been
> renamed glib12, just deinstall glib reinstall both glib12 and glib20 and it will
> work, I'm bumping portrevision users will catch up this change has they should
> have.

Thanks.  I ran

portmaster devel/glib12
portmaster devel/glib20

and that seems to have fixed it.  Had the same problem with math/eigen2 and
math/eigen3, fixed the same way.

Thanks,

Gary


More information about the freebsd-ports mailing list