Pierre Andrews wrote:
> Hello,
>
> I am having big troubles with Fink and my X11 installation. Here is
> the full story:
>
> I had a working installation of Fink, with X11.app (Apple version)
> working fine and X software installed from Fink compiling and running
> properly. I then decided to give a go to XDarwin and therefore, I
> followed the instructions in the Fink documentation to replace X11.app
> with the xorg package. That worked fine, but I had problems when
> running applications (in particular Gimp.app) with XDarwin.
> I then decided to revert back to X11.app, so I removed the xorg
> package and reinstalled X11.app from the OSX (10.4, Intel)
> installation CD as discussed in the Fink documentation. 
X11.app is just the display server.  The documentation tells you to 
install the X11User package, which installs more than just X11.app.

> The installed
> programs were working properly, but when I decided to compile new
> packages in Fink relying on X11, I got some problems:
> /usr/X11R6/include only contains a X11/bitmaps directory, no other
> headers. All the Fink packages configure scripts are looking there to
> find the compilation headers for X11.
> I tried reinstalling X11SDK.app, removing the system-xfree86 packages
> (no much luck in that)
They are autogenerated virtual packages, not subject to user manipulation.
>  and reinstalling them... and nothing seemed to
> work.
>
> I then decided to start from a clean Fink and X11 installation, so I
> removed /etc/X11R6, /usr/X11R6, X11.app and /sw completely.
>   
You really didn't need to remove /sw, for future reference.  Flushing 
out the X11 distribution files normally suffices.
> I then reinstalled X11.app and X11SDK.app from the Apple CD and
> downloaded Fink again. 
I assume you meant that you installed the X11User package.   Just 
installing X11.app would give you a totally broken X11 distribution, 
with no executables, libraries, ...
> I installed Fink, ran a selfupdate and after a
> full day of compilation and pressing 4 (to get the right mirror), I
> had a fresh installation of Fink.
>
> Now, I have the packages system-xfree86, system-xfree86-dev,
> system-xfree86-shlibs and  system-xfree86-manual-install installed
>   
The latter indicates that your X11 installation isn't fully set up. 

> (according to fink list -i system-xfree86), but the /usr/X11R6 is
> still at the same stage as before, with only includes from X11/bitmaps
> and missing libs. When I try to compile a package of Fink relying on
> X11, it still fails, not finding this or that header (depending on the
> package).
>
> I checked and I do have a directory
> /Developers/SDKs/MacOSX10.4u.sdk/usr/X11R6/ which contains all the
> missing includes and libs. However, I don't know how to tell Fink to
> use these (or how to make them go in the right place) and can't just
> symlink as /usr/X11R6 already contains "some" libs and fonts...
>
> Any help and recommendations would be great, if you have any idea?
>
> Pierre
>
>   
Try removing /Library/Receipts/X11SDK.pkg and reinstalling the X11SDK 
package.  Apple's installer has been known to drop a file here and there 
during an installation, but this is the first that I've heard of it 
dropping a big chunk of the installation.

The libraries should have been installed by the X11User package, so if 
your X11 setup is otherwise working properly, then there's probably only 
an issue with files from the X11SDK.

-- 
Alexander K. Hansen
akh AT finkproject DOT org
Fink User Liaison and Documenter


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to