Opened 19 years ago

Closed 18 years ago

Last modified 16 years ago

#6188 closed defect (fixed)

BUG: XFree86 fails to activate

Reported by: martinhess@… Owned by: macports-tickets@…
Priority: High Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

---> Fetching XFree86 ---> Attempting to fetch XFree86-4.5.0-src-1.tgz from http://distfiles-od.opendarwin.org/ ---> Attempting to fetch XFree86-4.5.0-src-2.tgz from http://distfiles-od.opendarwin.org/ ---> Attempting to fetch XFree86-4.5.0-src-3.tgz from http://distfiles-od.opendarwin.org/ ---> Attempting to fetch XFree86-4.5.0-src-4.tgz from http://distfiles-od.opendarwin.org/ ---> Attempting to fetch XFree86-4.5.0-src-5.tgz from http://distfiles-od.opendarwin.org/ ---> Verifying checksum(s) for XFree86 ---> Extracting XFree86 ---> Applying patches to XFree86 ---> Configuring XFree86 ---> Building XFree86 with target World ---> Staging XFree86 into destroot ---> Packaging tgz archive for XFree86 4.5.0_2 ---> Installing XFree86 4.5.0_2 ---> Activating XFree86 4.5.0_2 Error: Target com.apple.activate returned: Image error: /usr/X11R6/include/DPS/ColorSB.h already exists and does not belong to a registered port. Unable to activate port XFree86.

Is there a work around for this? Is this from a conflict with built-in X11? Should darwinports be pulling in its own version of X11 if the Apple version is already installed?

Change History (17)

comment:1 Changed 19 years ago by mww@…

Summary: XFree86 fails to activateBUG: XFree86 fails to activate

comment:2 Changed 19 years ago by blb@…

If you have Apple's X11 installed, make sure you also have X11SDK installed. Was this being built as a dependency for something?

comment:3 Changed 19 years ago by martinhess@…

Apple X11SDK is installed as part of the xcode 2.2 install. X11 was built as a dependency of freeride. Is there something one needs to do to use apples x11 instead of pulling in the darwin version? Is the darwin version better?

(In reply to comment #1)

If you have Apple's X11 installed, make sure you also have X11SDK installed. Was this being built as a dependency for something?

comment:4 Changed 19 years ago by blb@…

(In reply to comment #2)

Apple X11SDK is installed as part of the xcode 2.2 install. X11 was built as a dependency of freeride.

Is

there something one needs to do to use apples x11 instead of pulling in the darwin version? Is the

darwin

version better?

Looks like the X11 dependency is through the path freeride->rb-fxruby->fox where fox has the dependency 'lib:libX11.6:XFree86' which should work fine with the Apple X11.

Does 'ls -l /usr/X11R6/lib/libX11.6*' show the libraries exist?

comment:5 Changed 19 years ago by martinhess@…

There is nothing that matches the pattern libX11.6* however there is one library that matches libX11.*

-rw-r--r-- 1 root wheel 17000 Nov 1 18:10 libAppleWM.a -rw-r--r-- 1 root wheel 144236 Nov 1 18:10 libFS.a -rw-r--r-- 1 root wheel 1834956 Nov 1 18:10 libGL.a -rw-r--r-- 1 root wheel 1635896 Nov 1 18:10 libGLU.a -rw-r--r-- 1 root wheel 58564 Nov 1 18:10 libGLw.a -rw-r--r-- 1 root wheel 251228 Nov 1 18:10 libICE.a -rw-r--r-- 1 root wheel 3816484 Nov 1 18:10 libOSMesa.a -rw-r--r-- 1 root wheel 83604 Nov 1 18:10 libSM.a -rw-r--r-- 1 root wheel 2827396 Nov 1 18:10 libX11.a -rw-r--r-- 1 root wheel 9120 Nov 1 18:10 libXRes.a -rw-r--r-- 1 root wheel 74980 Nov 1 18:10 libXTrap.a -rw-r--r-- 1 root wheel 22492 Nov 1 18:10 libXau.a -rw-r--r-- 1 root wheel 1090092 Nov 1 18:10 libXaw.a -rw-r--r-- 1 root wheel 82548 Nov 1 18:10 libXcursor.a -rw-r--r-- 1 root wheel 54936 Nov 1 18:10 libXdmcp.a -rw-r--r-- 1 root wheel 174788 Nov 1 18:10 libXext.a -rw-r--r-- 1 root wheel 1360540 Nov 1 18:10 libXfont.a -rw-r--r-- 1 root wheel 8160 Nov 1 18:10 libXfontcache.a -rw-r--r-- 1 root wheel 187932 Nov 1 18:10 libXft.a -rw-r--r-- 1 root wheel 120244 Nov 1 18:10 libXi.a -rw-r--r-- 1 root wheel 11272 Nov 1 18:10 libXinerama.a -rw-r--r-- 1 root wheel 279044 Nov 1 18:10 libXmu.a -rw-r--r-- 1 root wheel 23372 Nov 1 18:10 libXmuu.a -rw-r--r-- 1 root wheel 89092 Nov 1 18:10 libXp.a -rw-r--r-- 1 root wheel 65016 Oct 19 15:07 libXpm.4.11.dylib -rw-r--r-- 1 root wheel 183548 Nov 1 18:10 libXpm.a lrwxr-xr-x 1 root wheel 17 Nov 29 16:45 libXpm.dylib -> libXpm.4.11.dylib -rw-r--r-- 1 root wheel 18192 Nov 1 18:10 libXrandr.a -rw-r--r-- 1 root wheel 78620 Nov 1 18:10 libXrender.a -rw-r--r-- 1 root wheel 13976 Nov 1 18:10 libXss.a -rw-r--r-- 1 root wheel 1012636 Nov 1 18:10 libXt.a -rw-r--r-- 1 root wheel 41588 Nov 1 18:10 libXtst.a -rw-r--r-- 1 root wheel 29552 Nov 1 18:10 libXv.a -rw-r--r-- 1 root wheel 16144 Nov 1 18:10 libXvMC.a -rw-r--r-- 1 root wheel 17296 Nov 1 18:10 libXxf86misc.a -rw-r--r-- 1 root wheel 35720 Nov 1 18:10 libXxf86vm.a -rw-r--r-- 1 root wheel 936260 Nov 1 18:10 libdps.a -rw-r--r-- 1 root wheel 71572 Nov 1 18:10 libdpstk.a -rw-r--r-- 1 root wheel 538852 Nov 1 18:10 libexpat.a -rw-r--r-- 1 root wheel 15616 Nov 1 18:10 libfntstubs.a -rw-r--r-- 1 root wheel 433684 Nov 1 18:10 libfontconfig.a -rw-r--r-- 1 root wheel 55588 Nov 1 18:10 libfontenc.a -rw-r--r-- 1 root wheel 830004 Nov 1 18:10 libfreetype.a -rw-r--r-- 1 root wheel 16952 Nov 1 18:10 liboldX.a -rw-r--r-- 1 root wheel 48088 Nov 1 18:10 libpsres.a -rw-r--r-- 1 root wheel 375124 Nov 1 18:10 libxkbfile.a -rw-r--r-- 1 root wheel 19424 Nov 1 18:10 libxkbui.a

(In reply to comment #3)

Looks like the X11 dependency is through the path freeride->rb-fxruby->fox where fox has the dependency 'lib:libX11.6:XFree86' which should work fine with the Apple X11.

Does 'ls -l /usr/X11R6/lib/libX11.6*' show the libraries exist?

comment:6 Changed 19 years ago by blb@…

(In reply to comment #4)

There is nothing that matches the pattern libX11.6* however there is one library that matches

libX11.*

Those are from the X11SDK package, so that's definitely there, but only one dylib, so I'm guessing you missed X11User?

comment:7 Changed 19 years ago by martinhess@…

I don't know anything about X11 but it sounds from your question that X11User is a required library that I'm missing. Which installer should of installed it? Apple X11 installer? Apple XCode 2.2 X11 SDK installer? Darwin ports?

comment:8 Changed 19 years ago by blb@…

X11User (like X11SDK) is a package, but this one isn't with Xcode but the OS itself. It should be somewhere amidst the other OS packages on the install DVD/CDs. It's an optional install, hence not being there by default.

comment:9 Changed 19 years ago by martinhess@…

Just to verify that before installing a DarwinPort that relies on X11 one should a) Install X11 sdk from XCode (which happens by default when you install XCode) b) Install Apple's X11 package from the Tiger install CD. If I follow these steps then a DarwinPort that needs X11 will use Apple's and everything will be copacetic!

comment:10 Changed 19 years ago by blb@…

Right; basically, if you will use any X11-dependent ports, youl need some form of X11 server and associated development bits. This is either handled by Apple's X11 (where you'll need both X11User and X11SDK) or by letting DP build and install a different one.

comment:11 Changed 19 years ago by martinhess@…

Still no go...

1) I verified the Apple X11 sdk was installed 2) Installed the Apple X11 package from the OSX10.4 DVD 3) Deleted the entire Darwin ports installation 4) Reinstalled Darwin ports 5) Attempted to install freeride darwin port

sudo port install freeride

Password: ---> Fetching expat ---> Attempting to fetch expat-1.95.8.tar.gz from http://easynews.dl.sourceforg e.net/sourceforge/expat/ ---> Verifying checksum(s) for expat ---> Extracting expat ---> Configuring expat ---> Building expat with target all ---> Staging expat into destroot ---> Packaging tgz archive for expat 1.95.8_1 ---> Installing expat 1.95.8_1 ---> Activating expat 1.95.8_1 ---> Cleaning expat ---> Fetching zlib ---> Attempting to fetch zlib-1.2.3.tar.bz2 from http://www.zlib.net/ ---> Verifying checksum(s) for zlib ---> Extracting zlib ---> Configuring zlib ---> Building zlib with target all ---> Staging zlib into destroot ---> Packaging tgz archive for zlib 1.2.3_0 ---> Installing zlib 1.2.3_0 ---> Activating zlib 1.2.3_0 ---> Cleaning zlib ---> Fetching freetype ---> Attempting to fetch freetype-2.1.9.tar.bz2 from http://puzzle.dl.sourceforge.net/freetype ---> Verifying checksum(s) for freetype ---> Extracting freetype ---> Applying patches to freetype ---> Configuring freetype ---> Building freetype with target all ---> Staging freetype into destroot ---> Packaging tgz archive for freetype 2.1.9_1 ---> Installing freetype 2.1.9_1 ---> Activating freetype 2.1.9_1 ---> Cleaning freetype ---> Fetching fontconfig ---> Attempting to fetch fontconfig-2.3.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 ---> Packaging tgz archive for fontconfig 2.3.2_0 ---> Installing fontconfig 2.3.2_0 ---> Activating fontconfig 2.3.2_0 ---> Cleaning fontconfig ---> Fetching libiconv ---> Attempting to fetch libiconv-1.10.tar.gz from ftp://ftp.gnu.org/gnu/libiconv ---> Verifying checksum(s) for libiconv ---> Extracting libiconv ---> Configuring libiconv ---> Building libiconv with target all ---> Staging libiconv into destroot ---> Packaging tgz archive for libiconv 1.10_1+darwin_8 ---> Installing libiconv 1.10_1+darwin_8 ---> Activating libiconv 1.10_1+darwin_8 ---> Cleaning libiconv ---> Fetching openssl ---> Attempting to fetch openssl-0.9.8a.tar.gz from http://www.openssl.org/source/ ---> Verifying checksum(s) for openssl ---> Extracting openssl ---> Applying patches to openssl ---> Configuring openssl ---> Building openssl with target all ---> Staging openssl into destroot ---> Packaging tgz archive for openssl 0.9.8a_0+darwin_8 ---> Installing openssl 0.9.8a_0+darwin_8 ---> Activating openssl 0.9.8a_0+darwin_8 ---> Cleaning openssl ---> Fetching readline ---> Attempting to fetch readline50-001 from ftp://ftp.cwru.edu/pub/bash/readline-5.0-patches/ ---> Attempting to fetch readline50-002 from ftp://ftp.cwru.edu/pub/bash/readline-5.0-patches/ ---> Attempting to fetch readline50-003 from ftp://ftp.cwru.edu/pub/bash/readline-5.0-patches/ ---> Attempting to fetch readline50-004 from ftp://ftp.cwru.edu/pub/bash/readline-5.0-patches/ ---> Attempting to fetch readline50-005 from ftp://ftp.cwru.edu/pub/bash/readline-5.0-patches/ ---> Attempting to fetch readline-5.0.tar.gz from ftp://ftp.gnu.org/gnu/readline ---> Verifying checksum(s) for readline ---> Extracting readline ---> Applying patches to readline ---> Configuring readline ---> Building readline with target all ---> Staging readline into destroot ---> Packaging tgz archive for readline 5.0.005_0+darwin_8 ---> Installing readline 5.0.005_0+darwin_8 ---> Activating readline 5.0.005_0+darwin_8 ---> Cleaning readline ---> Fetching ruby ---> Attempting to fetch ruby-1.8.2.tar.gz from ftp://xyz.lcs.mit.edu/pub/ruby/1.8 ---> Verifying checksum(s) for ruby ---> Extracting ruby ---> Applying patches to ruby ---> Configuring ruby ---> Building ruby with target all ---> Staging ruby into destroot ---> Packaging tgz archive for ruby 1.8.2_6 ---> Installing ruby 1.8.2_6 ---> Activating ruby 1.8.2_6 ---> Cleaning ruby ---> Fetching rb-acl ---> Attempting to fetch acl-1.0.1.tar.gz from http://www2a.biglobe.ne.jp/~seki/ruby/ ---> Verifying checksum(s) for rb-acl ---> Extracting rb-acl ---> Applying patches to rb-acl ---> Configuring rb-acl ---> Building rb-acl with target all ---> Staging rb-acl into destroot ---> Packaging tgz archive for rb-acl 1.0.1_1 ---> Installing rb-acl 1.0.1_1 ---> Activating rb-acl 1.0.1_1 ---> Cleaning rb-acl ---> Fetching rb-drb ---> Attempting to fetch drb-2.0.4.tar.gz from http://www2a.biglobe.ne.jp/~seki/ruby/ ---> Verifying checksum(s) for rb-drb ---> Extracting rb-drb ---> Configuring rb-drb ---> Building rb-drb with target all ---> Staging rb-drb into destroot ---> Packaging tgz archive for rb-drb 2.0.4_1 ---> Installing rb-drb 2.0.4_1 ---> Activating rb-drb 2.0.4_1 ---> Cleaning rb-drb ---> Fetching XFree86 ---> Attempting to fetch XFree86-4.5.0-src-1.tgz from http://distfiles-od.opendarwin.org/ ---> Attempting to fetch XFree86-4.5.0-src-2.tgz from http://distfiles-od.opendarwin.org/ ---> Attempting to fetch XFree86-4.5.0-src-3.tgz from http://distfiles-od.opendarwin.org/ ---> Attempting to fetch XFree86-4.5.0-src-4.tgz from http://distfiles-od.opendarwin.org/ ---> Attempting to fetch XFree86-4.5.0-src-5.tgz from http://distfiles-od.opendarwin.org/ ---> Verifying checksum(s) for XFree86 ---> Extracting XFree86 ---> Applying patches to XFree86 ---> Configuring XFree86 ---> Building XFree86 with target World ---> Staging XFree86 into destroot ---> Packaging tgz archive for XFree86 4.5.0_2 ---> Installing XFree86 4.5.0_2 ---> Activating XFree86 4.5.0_2 Error: Target com.apple.activate returned: Image error: /usr/X11R6/include/DPS/ColorSB.h already exists and does not belong to a registered port. Unable to activate port XFree86. Error: The following dependencies failed to build: rb-fxruby fox XFree86 jpeg libpng tiff fxscintilla rb- rexml rb-ripper rb-rrb Error: /opt/local/bin/port: Status 1 encountered during processing.

comment:12 Changed 19 years ago by blb@…

That's really strange. Does the test from comment 3 (ls -l /usr/X11R6/lib/libX11.6*) show the libraries at least?

comment:13 Changed 19 years ago by bugzilla.20.mahajivana@…

Hm. I encountered the same problem. try: port -f install XFree86. Maybe you'll need to uninstall it first and then install it using -f on the first attempt. (Before I uninstalled, it told me, it couldn't register XFree86 because it was already registered as active. No idea how the programm got that idea. ;-) But after I uninstalled and installed with -f it worked. If port complains, that other ports depend on XFree86, uninstall it with -f as well, since you'll be installing it again right after uninstallation there shouldn't be any problems with these dependent ports.)

comment:14 Changed 18 years ago by kballard (Lily Ballard)

Milestone: Available Ports

comment:15 Changed 18 years ago by pipping@…

Milestone: Available PortsPort Bugs

comment:16 Changed 18 years ago by yves@…

Resolution: fixed
Status: newclosed

fixed with changeset:23516

comment:17 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.