X11-Error installing wireshark, using Apple's X11
Dear list, I've just searched the list archives for a similar problem and came up with http://lists.macosforge.org/pipermail/macports-users/2007- April/002294.html. The error-message I receive is absolutely the same, the only difference is that I'm not actually trying to install XFree86, as I have Apples X11 already installed. I checked /Library/ Receipts, and both the X11User.pkg and the X11SDK.pkg are installed... Can anybody please give me pointer in the right direction? As a side note, I used to have Fink installed on my system, but then removed it following the provided instructions, so I think this should be OK, or is it possible that this is related? Also, I can start /Applications/ Utilities/X11.app without any problems. Thank you! Sebastian
On May 14, 2007, at 16:14, Sebastian Hahn wrote:
I've just searched the list archives for a similar problem and came up with http://lists.macosforge.org/pipermail/macports-users/2007- April/002294.html. The error-message I receive is absolutely the same, the only difference is that I'm not actually trying to install XFree86, as I have Apples X11 already installed. I checked / Library/Receipts, and both the X11User.pkg and the X11SDK.pkg are installed...
The error from the above message: On Apr 1, 2007, at 12:12, Fred Bauder wrote:
---> Installing XFree86 4.5.0_2 ---> Activating XFree86 4.5.0_2 Error: Target com.apple.activate returned: Image error: /usr/X11R6/ bin/appres already exists and does not belong to a registered port. Unable to activate port XFree86. Error: Status 1 encountered during processing.
So... you're also getting the error message that "/usr/X11R6/bin/ appres already exists and does not belong to a registered port"? What port is being activated at the time?
On May 15, 2007, at 12:44 AM, Ryan Schmidt wrote:
On May 14, 2007, at 16:14, Sebastian Hahn wrote:
I've just searched the list archives for a similar problem and came up with http://lists.macosforge.org/pipermail/macports-users/ 2007-April/002294.html. The error-message I receive is absolutely the same, the only difference is that I'm not actually trying to install XFree86, as I have Apples X11 already installed. I checked /Library/Receipts, and both the X11User.pkg and the X11SDK.pkg are installed...
The error from the above message:
On Apr 1, 2007, at 12:12, Fred Bauder wrote:
---> Installing XFree86 4.5.0_2 ---> Activating XFree86 4.5.0_2 Error: Target com.apple.activate returned: Image error: /usr/X11R6/ bin/appres already exists and does not belong to a registered port. Unable to activate port XFree86. Error: Status 1 encountered during processing.
So... you're also getting the error message that "/usr/X11R6/bin/ appres already exists and does not belong to a registered port"? What port is being activated at the time?
Thanks for the reply, I don't know exactly what you mean, this is what I did including output: port install wireshark ---> Fetching expat ---> Attempting to fetch expat-2.0.0.tar.gz from http:// downloads.sourceforge.net/expat ---> Verifying checksum(s) for expat ---> Extracting expat ---> Configuring expat ---> Building expat with target all ---> Staging expat into destroot ---> Installing expat 2.0.0_1 ---> Activating expat 2.0.0_1 ---> Cleaning expat ---> Fetching libiconv ---> Attempting to fetch libiconv-1.11.tar.gz from http:// ftp.gnu.org/gnu/libiconv ---> Verifying checksum(s) for libiconv ---> Extracting libiconv ---> Configuring libiconv ---> Building libiconv with target all ---> Staging libiconv into destroot ---> Installing libiconv 1.11_4+darwin_8 ---> Activating libiconv 1.11_4+darwin_8 ---> Cleaning libiconv ---> Fetching gettext ---> Attempting to fetch gettext-0.16.1.tar.gz from http:// ftp.gnu.org/gnu/gettext ---> Verifying checksum(s) for gettext ---> Extracting gettext ---> Applying patches to gettext ---> Configuring gettext ---> Building gettext with target all ---> Staging gettext into destroot ---> Installing gettext 0.16.1_0 ---> Activating gettext 0.16.1_0 ---> Cleaning gettext ---> Fetching pkgconfig ---> Attempting to fetch pkg-config-0.21.tar.gz from http:// mirror.opensysadmin.com/pkg-config/ ---> Verifying checksum(s) for pkgconfig ---> Extracting pkgconfig ---> Configuring pkgconfig ---> Building pkgconfig with target all ---> Staging pkgconfig into destroot ---> Installing pkgconfig 0.21_0 ---> Activating pkgconfig 0.21_0 ---> Cleaning pkgconfig ---> Fetching glib2 ---> Attempting to fetch glib-2.12.12.tar.bz2 from ftp://ftp.gtk.org/ pub/glib/2.12 ---> Verifying checksum(s) for glib2 ---> Extracting glib2 ---> Applying patches to glib2 ---> Configuring glib2 ---> Building glib2 with target all ---> Staging glib2 into destroot ---> Installing glib2 2.12.12_0 ---> Activating glib2 2.12.12_0 ---> Cleaning glib2 ---> Fetching atk ---> Attempting to fetch atk-1.18.0.tar.bz2 from http:// mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/atk/1.18 ---> Verifying checksum(s) for atk ---> Extracting atk ---> Configuring atk ---> Building atk with target all ---> Staging atk into destroot ---> Installing atk 1.18.0_0 ---> Activating atk 1.18.0_0 ---> Cleaning atk ---> Fetching zlib ---> Attempting to fetch zlib-1.2.3.tar.bz2 from http://www.zlib.net/ ---> Verifying checksum(s) for zlib ---> Extracting zlib ---> Applying patches to zlib ---> Configuring zlib ---> Building zlib with target all ---> Staging zlib into destroot ---> Installing zlib 1.2.3_1 ---> Activating zlib 1.2.3_1 ---> Cleaning zlib ---> Fetching libpng ---> Attempting to fetch libpng-1.2.16.tar.bz2 from http:// downloads.sourceforge.net/libpng ---> Verifying checksum(s) for libpng ---> Extracting libpng ---> Configuring libpng ---> Building libpng with target all ---> Staging libpng into destroot ---> Installing libpng 1.2.16_0+darwin_8 ---> Activating libpng 1.2.16_0+darwin_8 ---> Cleaning libpng ---> Fetching freetype ---> Attempting to fetch freetype-2.3.4.tar.bz2 from http:// download.savannah.gnu.org/releases/freetype/ ---> Verifying checksum(s) for freetype ---> Extracting freetype ---> Applying patches to freetype ---> Configuring freetype ---> Building freetype with target all ---> Staging freetype into destroot ---> Installing freetype 2.3.4_0 ---> Activating freetype 2.3.4_0 ---> Cleaning freetype ---> Fetching fontconfig ---> Attempting to fetch fontconfig-2.4.2.tar.gz from http:// fontconfig.org/release/ ---> Verifying checksum(s) for fontconfig ---> Extracting fontconfig ---> Configuring fontconfig ---> Building fontconfig with target all ---> Staging fontconfig into destroot ---> Installing fontconfig 2.4.2_0+macosx ---> Activating fontconfig 2.4.2_0+macosx ---> Cleaning fontconfig ---> Fetching XFree86 Error: You have an Apple X11 installation already. MacPorts will not overwrite it. If you really want to use XFree86 instead, please move it aside first : sudo mv /usr/X11R6 /usr/X11R6.apple ---> Attempting to fetch XFree86-4.6.0-src-1.tgz from http://ftp- stud.fht-esslingen.de/pub/Mirrors/ftp.xfree86.org/XFree86/4.6.0/source/ ---> Attempting to fetch XFree86-4.6.0-src-2.tgz from http://ftp- stud.fht-esslingen.de/pub/Mirrors/ftp.xfree86.org/XFree86/4.6.0/source/ ---> Attempting to fetch XFree86-4.6.0-src-3.tgz from http://ftp- stud.fht-esslingen.de/pub/Mirrors/ftp.xfree86.org/XFree86/4.6.0/source/ ---> Attempting to fetch XFree86-4.6.0-src-4.tgz from http://ftp- stud.fht-esslingen.de/pub/Mirrors/ftp.xfree86.org/XFree86/4.6.0/source/ ---> Attempting to fetch XFree86-4.6.0-src-5.tgz from http://ftp- stud.fht-esslingen.de/pub/Mirrors/ftp.xfree86.org/XFree86/4.6.0/source/ ---> Verifying checksum(s) for XFree86 ---> Extracting XFree86 ---> Applying patches to XFree86 ---> Configuring XFree86 ---> Building XFree86 with target World ---> Staging XFree86 into destroot ---> Installing XFree86 4.6.0_0+macosx ---> Activating XFree86 4.6.0_0+macosx Error: Target com.apple.activate returned: Image error: /usr/X11R6/ bin/appres already exists and does not belong to a registered port. Unable to activate port XFree86. Error: The following dependencies failed to build: gtk2 pango Xft2 xrender XFree86 render cairo tiff jpeg libpcap openssl Error: Status 1 encountered during processing. I hope this helps, as I'm kind of lost. Thanks Sebastian
On May 15, 2007, at 00:46, Sebastian Hahn wrote:
On May 15, 2007, at 12:44 AM, Ryan Schmidt wrote:
On May 14, 2007, at 16:14, Sebastian Hahn wrote:
I've just searched the list archives for a similar problem and came up with http://lists.macosforge.org/pipermail/macports-users/ 2007-April/002294.html. The error-message I receive is absolutely the same, the only difference is that I'm not actually trying to install XFree86, as I have Apples X11 already installed. I checked /Library/Receipts, and both the X11User.pkg and the X11SDK.pkg are installed...
The error from the above message:
On Apr 1, 2007, at 12:12, Fred Bauder wrote:
---> Installing XFree86 4.5.0_2 ---> Activating XFree86 4.5.0_2 Error: Target com.apple.activate returned: Image error: /usr/X11R6/ bin/appres already exists and does not belong to a registered port. Unable to activate port XFree86. Error: Status 1 encountered during processing.
So... you're also getting the error message that "/usr/X11R6/bin/ appres already exists and does not belong to a registered port"? What port is being activated at the time?
Thanks for the reply, I don't know exactly what you mean, this is what I did including output:
port install wireshark
[snip]
---> Fetching XFree86
Error: You have an Apple X11 installation already. MacPorts will not overwrite it.
If you really want to use XFree86 instead, please move it aside first :
sudo mv /usr/X11R6 /usr/X11R6.apple
---> Attempting to fetch XFree86-4.6.0-src-1.tgz from http://ftp- stud.fht-esslingen.de/pub/Mirrors/ftp.xfree86.org/XFree86/4.6.0/ source/ ---> Attempting to fetch XFree86-4.6.0-src-2.tgz from http://ftp- stud.fht-esslingen.de/pub/Mirrors/ftp.xfree86.org/XFree86/4.6.0/ source/ ---> Attempting to fetch XFree86-4.6.0-src-3.tgz from http://ftp- stud.fht-esslingen.de/pub/Mirrors/ftp.xfree86.org/XFree86/4.6.0/ source/ ---> Attempting to fetch XFree86-4.6.0-src-4.tgz from http://ftp- stud.fht-esslingen.de/pub/Mirrors/ftp.xfree86.org/XFree86/4.6.0/ source/ ---> Attempting to fetch XFree86-4.6.0-src-5.tgz from http://ftp- stud.fht-esslingen.de/pub/Mirrors/ftp.xfree86.org/XFree86/4.6.0/ source/ ---> Verifying checksum(s) for XFree86 ---> Extracting XFree86 ---> Applying patches to XFree86 ---> Configuring XFree86 ---> Building XFree86 with target World ---> Staging XFree86 into destroot ---> Installing XFree86 4.6.0_0+macosx ---> Activating XFree86 4.6.0_0+macosx Error: Target com.apple.activate returned: Image error: /usr/X11R6/ bin/appres already exists and does not belong to a registered port. Unable to activate port XFree86. Error: The following dependencies failed to build: gtk2 pango Xft2 xrender XFree86 render cairo tiff jpeg libpcap openssl Error: Status 1 encountered during processing.
Oh, so you meant you're not *intentionally* installing XFree86. You are, however, still installing XFree86, and it is the attempted activation of XFree86 that is producing the error message. Yves: It's unfortunate that it prints out a friendly message explaining why XFree86 will not work, but then proceeds to download and compile the universe anyway and finally ends with the hard-to- understand error message anyway. It would be better for it to exit after discovering and informing the user about the initial problem. Sebastian: Do you have /usr/X11R6/lib/libX11.6.dylib? I believe that's the file that's being looked for by the ports you're installing, and it should be there as part of Apple's X11. If it's not there, reinstall X11User.pkg and X11SDK.pkg. I know you said you already have them installed, but maybe the installation got damaged somehow. Reinstalling from the original packages would ensure it's working correctly. Unless you want to use XFree86 instead, which you could do. In that case, do what the message says and move /usr/X11R6 out of the way first, or delete it. If you go this route, delete the X11 receipts too, and X11.app.
On May 15, 2007, at 9:12 AM, Ryan Schmidt wrote:
On May 15, 2007, at 00:46, Sebastian Hahn wrote:
On May 15, 2007, at 12:44 AM, Ryan Schmidt wrote:
On May 14, 2007, at 16:14, Sebastian Hahn wrote:
I've just searched the list archives for a similar problem and came up with http://lists.macosforge.org/pipermail/macports- users/2007-April/002294.html. The error-message I receive is absolutely the same, the only difference is that I'm not actually trying to install XFree86, as I have Apples X11 already installed. I checked /Library/Receipts, and both the X11User.pkg and the X11SDK.pkg are installed...
The error from the above message:
On Apr 1, 2007, at 12:12, Fred Bauder wrote:
---> Installing XFree86 4.5.0_2 ---> Activating XFree86 4.5.0_2 Error: Target com.apple.activate returned: Image error: /usr/ X11R6/ bin/appres already exists and does not belong to a registered port. Unable to activate port XFree86. Error: Status 1 encountered during processing.
So... you're also getting the error message that "/usr/X11R6/bin/ appres already exists and does not belong to a registered port"? What port is being activated at the time?
Thanks for the reply, I don't know exactly what you mean, this is what I did including output:
port install wireshark
[snip]
---> Fetching XFree86
Error: You have an Apple X11 installation already. MacPorts will not overwrite it.
If you really want to use XFree86 instead, please move it aside first :
sudo mv /usr/X11R6 /usr/X11R6.apple
---> Attempting to fetch XFree86-4.6.0-src-1.tgz from http://ftp- stud.fht-esslingen.de/pub/Mirrors/ftp.xfree86.org/XFree86/4.6.0/ source/ ---> Attempting to fetch XFree86-4.6.0-src-2.tgz from http://ftp- stud.fht-esslingen.de/pub/Mirrors/ftp.xfree86.org/XFree86/4.6.0/ source/ ---> Attempting to fetch XFree86-4.6.0-src-3.tgz from http://ftp- stud.fht-esslingen.de/pub/Mirrors/ftp.xfree86.org/XFree86/4.6.0/ source/ ---> Attempting to fetch XFree86-4.6.0-src-4.tgz from http://ftp- stud.fht-esslingen.de/pub/Mirrors/ftp.xfree86.org/XFree86/4.6.0/ source/ ---> Attempting to fetch XFree86-4.6.0-src-5.tgz from http://ftp- stud.fht-esslingen.de/pub/Mirrors/ftp.xfree86.org/XFree86/4.6.0/ source/ ---> Verifying checksum(s) for XFree86 ---> Extracting XFree86 ---> Applying patches to XFree86 ---> Configuring XFree86 ---> Building XFree86 with target World ---> Staging XFree86 into destroot ---> Installing XFree86 4.6.0_0+macosx ---> Activating XFree86 4.6.0_0+macosx Error: Target com.apple.activate returned: Image error: /usr/X11R6/ bin/appres already exists and does not belong to a registered port. Unable to activate port XFree86. Error: The following dependencies failed to build: gtk2 pango Xft2 xrender XFree86 render cairo tiff jpeg libpcap openssl Error: Status 1 encountered during processing.
Oh, so you meant you're not *intentionally* installing XFree86. You are, however, still installing XFree86, and it is the attempted activation of XFree86 that is producing the error message.
Yves: It's unfortunate that it prints out a friendly message explaining why XFree86 will not work, but then proceeds to download and compile the universe anyway and finally ends with the hard-to- understand error message anyway. It would be better for it to exit after discovering and informing the user about the initial problem.
Sebastian: Do you have /usr/X11R6/lib/libX11.6.dylib? I believe that's the file that's being looked for by the ports you're installing, and it should be there as part of Apple's X11. If it's not there, reinstall X11User.pkg and X11SDK.pkg. I know you said you already have them installed, but maybe the installation got damaged somehow. Reinstalling from the original packages would ensure it's working correctly.
Unless you want to use XFree86 instead, which you could do. In that case, do what the message says and move /usr/X11R6 out of the way first, or delete it. If you go this route, delete the X11 receipts too, and X11.app.
Hi Ryan, I'd rather not install XFree86, as I'm using Apple's X11 for other things as well, and I'd hate to somehow mess that up... The libX11.6.dylib is present on my system, and it's also not zero size (I checked for the obvious "damaged file"-case)... Where can I get the most current X11User.pkg and X11SDK.pkg-files from? Thanks Sebastian
On May 15, 2007, at 12:01, Sebastian Hahn wrote:
On May 15, 2007, at 9:12 AM, Ryan Schmidt wrote:
Do you have /usr/X11R6/lib/libX11.6.dylib? I believe that's the file that's being looked for by the ports you're installing, and it should be there as part of Apple's X11. If it's not there, reinstall X11User.pkg and X11SDK.pkg. I know you said you already have them installed, but maybe the installation got damaged somehow. Reinstalling from the original packages would ensure it's working correctly.
Unless you want to use XFree86 instead, which you could do. In that case, do what the message says and move /usr/X11R6 out of the way first, or delete it. If you go this route, delete the X11 receipts too, and X11.app.
I'd rather not install XFree86, as I'm using Apple's X11 for other things as well, and I'd hate to somehow mess that up... The libX11.6.dylib is present on my system, and it's also not zero size (I checked for the obvious "damaged file"-case)... Where can I get the most current X11User.pkg and X11SDK.pkg-files from?
For Mac OS X 10.4: X11User.pkg should be here: http://www.apple.com/support/downloads/x11update2006113.html It says it requires an existing X11 install, so you may have to install X11User.pkg from your Mac OS X 10.4 install DVD/CD first. Or it may be ok with what you have on your hard drive now. X11SDK.pkg is part of Xcode 2.4.1 which you download from Apple Developer Connection. For Mac OS X 10.3: X11User.pkg is here: http://www.apple.com/support/downloads/x11formacosx.html Xcode 1.5 is the last version that works with Mac OS X 10.3 and X11SDK.pkg should be a part of that.
On May 16, 2007, at 3:56 AM, Ryan Schmidt wrote:
On May 15, 2007, at 12:01, Sebastian Hahn wrote:
On May 15, 2007, at 9:12 AM, Ryan Schmidt wrote:
Do you have /usr/X11R6/lib/libX11.6.dylib? I believe that's the file that's being looked for by the ports you're installing, and it should be there as part of Apple's X11. If it's not there, reinstall X11User.pkg and X11SDK.pkg. I know you said you already have them installed, but maybe the installation got damaged somehow. Reinstalling from the original packages would ensure it's working correctly.
Unless you want to use XFree86 instead, which you could do. In that case, do what the message says and move /usr/X11R6 out of the way first, or delete it. If you go this route, delete the X11 receipts too, and X11.app.
I'd rather not install XFree86, as I'm using Apple's X11 for other things as well, and I'd hate to somehow mess that up... The libX11.6.dylib is present on my system, and it's also not zero size (I checked for the obvious "damaged file"-case)... Where can I get the most current X11User.pkg and X11SDK.pkg-files from?
For Mac OS X 10.4:
X11User.pkg should be here:
http://www.apple.com/support/downloads/x11update2006113.html
It says it requires an existing X11 install, so you may have to install X11User.pkg from your Mac OS X 10.4 install DVD/CD first. Or it may be ok with what you have on your hard drive now.
X11SDK.pkg is part of Xcode 2.4.1 which you download from Apple Developer Connection.
For Mac OS X 10.3:
X11User.pkg is here:
http://www.apple.com/support/downloads/x11formacosx.html
Xcode 1.5 is the last version that works with Mac OS X 10.3 and X11SDK.pkg should be a part of that.
Thanks a lot, it works now! After some problems with gtk-warnings that I could solve thanks to google, wireshark actually runs :) But I still have question... I have to open Terminal, and then type "open-x11 wireshark". When I launch X11 directly, my .profile is ignored somehow... I found on Apple's website that the X11-app uses the same settings as the application that launched it, so is there a way to force it to use .profile? I hope this didn't sound totally confused... Thanks Sebastian
Sebastian Hahn <hahn.seb@web.de> on Thursday, May 17, 2007 at 3:43 AM -0800 wrote:
But I still have question... I have to open Terminal, and then type "open-x11 wireshark". When I launch X11 directly, my .profile is ignored somehow... I found on Apple's website that the X11-app uses the same settings as the application that launched it, so is there a way to force it to use .profile?
I hope this didn't sound totally confused...
See section "Options for the MacPorts' shell and X11 environment" here: http://trac.macosforge.org/projects/macports/wiki/InstallingMacPorts Mark
On May 17, 2007, at 5:27 PM, markd@macports.org wrote:
Sebastian Hahn <hahn.seb@web.de> on Thursday, May 17, 2007 at 3:43 AM -0800 wrote:
But I still have question... I have to open Terminal, and then type "open-x11 wireshark". When I launch X11 directly, my .profile is ignored somehow... I found on Apple's website that the X11-app uses the same settings as the application that launched it, so is there a way to force it to use .profile?
I hope this didn't sound totally confused...
See section "Options for the MacPorts' shell and X11 environment" here:
http://trac.macosforge.org/projects/macports/wiki/InstallingMacPorts
Mark
Thanks a lot, works for me now :) Sebastian
participants (3)
-
markd@macports.org
-
Ryan Schmidt
-
Sebastian Hahn