Brian Postow wrote:

<moved to bottom>
>
> On Fri, Feb 20, 2009 at 11:08 AM, Alexander Hansen
> <[email protected] <mailto:[email protected]>> wrote:
>
>     Brian Postow wrote:
>     > I'm trying to install OPAL, which requires pwlib, which for some
>     > reason requires xwindows, which requires fontconfig.
>     >
>     > When I try to finx Opal, I get:
>     >
>     > Can't resolve dependency "system-xfree86-dev (>= 2:7.2-1)" for
>     package
>     > "fontconfig2-dev-2.4.1-104" (no matching packages/versions found)
>     > Exiting with failure.
>     >
>     > I'm running on a 10.5 i386, using fink commander, but I get the same
>     > thing at the command line...
>     Fink Commander runs the command-line utilities, so that's no surprise.
>     >
>     > has anyone succeeded in installing this? and what am I doing wrong?
>     >
>     > thanks
>     >
>     > Brian Postow
>     Your problem has nothing to do with opal2, since you're not even
>     working
>     on that package yet.  The x11 dependency in pwlib1 looks to be via a
>     build dependency of one of its (build) dependencies.
>
>     Do you have the X11 SDK package from Xcode installed?  That's what is
>     supposed to give you system-xfree86-dev.
>
>
> Errr, where would I get that? I have xcode 3 installed, but I wouldn't
> have installed it separately if it didn't just come with everything
> else...
>
> Brian
>
"
> Information about 4009 packages read in 1 seconds.
>  i     system-xfree86    2:7.2-2    [placeholder for user installed x11]
>        system-xfree86-dev    0-0    [virtual package representing
> Apple's install of X11]
>        system-xfree86-manual-install    0-0    Manually installed X11
> components
>  i     system-xfree86-shlibs    2:7.2-2    [placeholder for user
> installed x11 shared libraries]
>  p     xfree86-base-threaded        [virtual package]
>        xfree86-base-threaded-dev        [virtual package]
>  p     xfree86-base-threaded-shlibs        [virtual package]
> *i*    xfree86-shlibs    4.5.0-1040    Free X11 implementation for
> Darwin and Mac OS X
>
>

"

The X11SDK _does_ come with Xcode, and it's nominally installed by
default.  However, your output above indicates that something else is
happening here.  The xfree86-shlibs package (presumably left over from
Tiger, as we don't provide that on Leopard) can produce interference in
these cases.

Try running "sudo dpkg --remove --force-depends xfree86-shlibs". 
However, unfortunately, the post-removal script for that seems not to
work properly (after updating to Leopard, anyway).  If indeed you get
complaints other than the dependency warnings, then try the following
(from Martin in November, but not sent to the list):

"
Your problem is that you still have (or Fink thinks you still have) the
old xfree86 package installed. Even the dpkg -r --force-depends did not
manage to remove it, because there appeared an error in the post-removal
script.

What I would suggest now is to use some brute-force method to fix this
once and for all:

Edit the file /sw/var/lib/dpkg/status by hand.
If you know how to use vi, run

  sudo vi /sw/var/lib/dpkg/status

If you know another text editor that does not damage files, use it
(nano, pico, with some care also emacs or bbedit, with extreme care even
 TextEdit).
Look for a line

Package: xfree86

Then remove the whole paragraph (this line and all lines up to the next
"Package:" line).

If there is still a line "Package: xfree86-shlibs", do the same for this.

Save the file and then remove all files in /sw/var/lib/dpkg/info/ whose
name begins with "xfree86".
"

I'll add TextWrangler to the list of free editors that can edit the file
"with some care", meaning make sure to save with Unix line endings.

After you're done editing stuff, then reinstall X11 and its SDK.  Or
install the unofficial updated version from

http://xquartz.macosforge.org/trac/wiki

which gloms the functionality of Apple's X11User and X11SDK packages
into one.

-- 
Alexander Hansen
Fink User Liaison


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to