David R. Morrison wrote:
[]
> There are other problems with xquartz as well.  While testing things for 
> the xmkmf update on an xquartz-only system, I ran into several fink 
> packages which wouldn't compile, including gtk+, openmotif3, and 
> t1lib5-x11.  I haven't investigated these closely -- perhaps they will 
> be easily fixed -- but the lesson I think we are learning here is that 
> supporting xquartz is going to be a major issue for fink.  I'm not sure 
> that we'll be able to do it.

I think we don't have much of a choice, unless we want to go back to the 
hellish old days when we had X11 packages in Fink.

The packages you mention are probably (I checked only t1lib5-x11, where 
this is the case) victims of autotools bugs in the psrt of the configure 
code that is supposed to provide fallback mechanisms for finding X11 
headers and libs when xmkmf is absent. This code has never been tested 
before, because mkmf was always present until now.

One manifestation of the bug is in lines like

   for ac_extension in a so sl; do

which can be patched by adding dylib to the list.

Another one, which I have seen in several gnome configure scripts (for 
example libwnck1, startup-notification, gnome-panel), is a line

   case x_libs in

which is a simple syntax error; it should be $x_libs.

All of these bugs can be worked around simply by supplying configure 
with the flags

--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib

In the case of imagemagick, there seems to be a logical error in 
configure: It assumes that if it finds rsvg and cairo, then there must 
also be rsvg-cairo somewhere. This is visibly not true for the version 
of rsvg which it accepts (>=2.9.0).

-- 
Martin




-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to