Updating glib from 2.24.2 to 2.26.1_1 fails

Peter Boosten peter at boosten.org
Mon Jan 17 20:07:18 UTC 2011


On 17 jan 2011, at 19:59, Michael Powell wrote:

>  don't think I have any magic answer here. Just did a 'make' for this port 
> on a 8.1-Release box and it built just fine. Only a couple of things come to 
> mind for me. Take out the -march=pentiumpro from your make.conf, and any 
> other compiler optimizations. Whenever I experience a problem in portupgrade 
> my standard first thing to try is to build the port manually, outside of 
> portupgrade. Just for the purpose of simplification and to eliminate 
> portupgrade as a variable. 

Michael,

Thanks for your answer.

I don't have a -march=pentiumpro in my make.conf (or maybe it's the cpu=i686?) Anyway, removed that.

I did a search for zlib.h on my machine, and found actually another (older) one, in /usr/local/include.
After removing that, I got a bit further, but now it stops with:

./.libs/libgio-2.0.so: undefined reference to `deflateSetHeader'
./.libs/libgio-2.0.so: undefined reference to `inflateGetHeader'
gmake[4]: *** [gio-querymodules] Error 1
gmake[4]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.26.1/gio'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.26.1/gio'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.26.1/gio'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.26.1'
gmake: *** [all] Error 2
*** Error code 1

Looks like there's some junk on my machine. I'm going to search for other duplicates...

-- 
Peter Boosten
http://www.boosten.org





More information about the freebsd-questions mailing list