(switching cc to the pil-py27 maintainer)

Sorry for the confusion.  I meant that the package build procedure
should set CPPFLAGS.  fink deliberately doesn't use your local
environment settings.  That's something for the maintainer to do, or to
set up as per

http://finkers.wordpress.com/2009/07/24/creating-local-packages/

On 1/11/13 6:45 AM, Josh Granek wrote:
> pil-py27 is the package that was looking for X11/Xlib.h, the dependency 
> connection to biopython is:  biopython-py27 -> reportlab-py27 -> pil-py27
> 
> I have banished the symlink from my computer, and I have tried both of the 
> following without success (relevant error message below).  I am a fairly 
> unsophisticated fink user, and its been a long time since I worked with gcc, 
> so I would appreciate suggestions about how to get this to work the "Right 
> Way"
> export CPPFLAGS="-I/opt/X11/include"; fink install pil-py27
> export CPPFLAGS="-I/usr/X11/include"; fink install pil-py27
> 
> Thanks!
> 
>               Josh
> 
> ---------------------------------------------------------
> gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall 
> -Wstrict-prototypes -IlibImaging -I/sw/include/freetype2 -I/sw/include 
> -I/usr/include -I/sw/include/python2.7 -c _imagingtk.c -o 
> build/temp.macosx-10.8-x86_64-2.7/_imagingtk.o
> In file included from _imagingtk.c:19:
> /sw/include/tk.h:76:11: fatal error: 'X11/Xlib.h' file not found
> #       include <X11/Xlib.h>
>                 ^
> 1 error generated.
> error: command 'gcc' failed with exit status 1
> ### execution of /sw/bin/python2.7 failed, exit code 1
> ### execution of /tmp/fink.ByDpK failed, exit code 1
> 
> 
> Also include the following system information:
> Package manager version: 0.34.4
> Distribution version: selfupdate-rsync Thu Jan  3 18:57:20 2013, 10.8, x86_64
> Trees: local/main stable/main
> Xcode.app: 4.5.2
> Xcode command-line tools: 4.5.0.0.1.1249367152
> Max. Fink build jobs:  4
> ---------------------------------------------------------
> 
> 
> 
> On Jan 9, 2013, at 6:50 PM, Alexander Hansen <[email protected]> 
> wrote:
> 
>> On 1/9/13 1:19 AM, Josh Granek wrote:
>>>
>>> P.S. Another problem I encountered when installing biopython-py27 is the 
>>> need to deal with the fact that X11/Xlib.h is not where it used to be 
>>> (since XQuartz puts it in a different place than Apple X11 had it).  
>>> Unfortunately I didn't think to save the error message.  This URL explains 
>>> the problem and gives several solutions 
>>> <http://stackoverflow.com/questions/11465258/xlib-h-not-found-when-building-graphviz-on-mac-os-x-10-8-mountain-lion>.
>>>   Creating a symlink as follows worked for me:
>>>
>>> sudo ln -s /opt/X11/include/X11 /usr/local/include/X11
>>>
>>>
>>
>> The error must have been in some other package.  I don't see this with
>> biopython-py* on 10.8.
>>
>> -- 
>> Alexander Hansen, Ph.D.
>> Fink User Liaison
>> My package updates: http://finkakh.wordpress.com/
> 


-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to