Should I uninstall? If not, how to fix major dependency issues?

Robin Wilson robin at rtwilson.com
Fri Jan 4 14:49:01 PST 2013


Hi,

According to the macports documentation, I should ask here if I think I might need to uninstall. Well, I think I might need to!

I seem to have major dependency issues - possibly due to something I remember doing ages ago to do with different versions of GCC (yes, sounds stupid doesn't it!). Trying to install GTK+ gave an error about needing libpng, so I tried to install it and got this:

~$ sudo port install libpng
Password:
--->  Cleaning zlib
--->  Unable to uninstall zlib @1.2.7_0+universal, the following ports depend on it:
--->  	freetype @2.4.8_0
--->  	tiff @3.9.5_0
--->  	lcms2 @2.3_0
--->  	libpng @1.4.9_0
--->  	glib2 @2.30.2_2
--->  	openssl @1.0.0g_0
--->  	python27 @2.7.2_4
--->  	libxml2 @2.7.8_0
--->  	ghostscript @9.05_0
--->  	webp @0.1.3_0
--->  	imagemagick @6.7.5-3_1+q16
--->  	libmng @1.0.10_2
--->  	libpng @1.4.9_0+universal
--->  	tiff @3.9.5_0+universal
--->  	libmng @1.0.10_2+universal
--->  	Xft2 @2.3.0_0
--->  	glib2 @2.30.3_0
--->  	freetype @2.4.9_0+universal
--->  	libxml2 @2.7.8_0+universal
--->  	openssl @1.0.1_0+universal
--->  	glib2 @2.30.3_0+universal
--->  	python27 @2.7.2_4+universal
--->  	libxslt @1.1.26_0+universal
--->  	Xft2 @2.3.0_0+universal
--->  	cairo @1.10.2_4+universal+x11
--->  	wine @1.4_2
--->  	libextractor @0.6.2_0
--->  	qt4-mac-devel @4.8.0_0+quartz
--->  	boost @1.49.0_0
--->  	libpng @1.4.12_0+universal
--->  	glpk @4.47_0
--->  	curl @7.26.0_0+ssl
--->  	hdf5-18 @1.8.9_0
--->  	python27 @2.7.3_0+universal
--->  	glib2 @2.32.3_1+universal
--->  	openjpeg @1.5.0_2
--->  	ffmpeg @0.7.11_1+mmx
--->  	opencv @2.4.2_0
--->  	cairo @1.12.2_0+universal+x11
--->  	libxml2 @2.8.0_0+universal
--->  	libxslt @1.1.27_0+universal
--->  	glib2 @2.34.3_0+universal
--->  	cairo @1.12.8_2+universal+x11
--->  	Xft2 @2.3.1_0+universal
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating zlib @1.2.7_0+universal
--->  Unable to deactivate zlib @1.2.7_0+universal, the following ports depend on it:
--->  	lcms2 @2.3_0
--->  	ghostscript @9.05_0
--->  	webp @0.1.3_0
--->  	imagemagick @6.7.5-3_1+q16
--->  	tiff @3.9.5_0+universal
--->  	libmng @1.0.10_2+universal
--->  	freetype @2.4.9_0+universal
--->  	openssl @1.0.1_0+universal
--->  	wine @1.4_2
--->  	libextractor @0.6.2_0
--->  	qt4-mac-devel @4.8.0_0+quartz
--->  	boost @1.49.0_0
--->  	libpng @1.4.12_0+universal
--->  	glpk @4.47_0
--->  	curl @7.26.0_0+ssl
--->  	hdf5-18 @1.8.9_0
--->  	python27 @2.7.3_0+universal
--->  	openjpeg @1.5.0_2
--->  	ffmpeg @0.7.11_1+mmx
--->  	opencv @2.4.2_0
--->  	libxml2 @2.8.0_0+universal
--->  	libxslt @1.1.27_0+universal
--->  	glib2 @2.34.3_0+universal
--->  	cairo @1.12.8_2+universal+x11
--->  	Xft2 @2.3.1_0+universal
Warning: Deactivate forced.  Proceeding despite dependencies.
--->  Cleaning zlib
--->  Uninstalling zlib @1.2.7_0+universal
--->  Cleaning zlib
--->  Fetching archive for zlib
--->  Attempting to fetch zlib-1.2.7_0+universal.darwin_12.i386-x86_64.tbz2 from http://lil.fr.packages.macports.org/zlib
--->  Attempting to fetch zlib-1.2.7_0+universal.darwin_12.i386-x86_64.tbz2.rmd160 from http://lil.fr.packages.macports.org/zlib
--->  Installing zlib @1.2.7_0+universal

Could I have some advice on what is best to do please? I am happy to uninstall and reinstall if necessary, but from the documentation it sounds like that can be a dangerous thing to do…

Any views?

Best regards,

Robin


More information about the macports-users mailing list