Hi Alexander,
There is no X11 or X11R6 under /usr/ dir.
Strangely, Xlib.h is in the correct place I.e.
/sw/src/fink.build/tcltk-8.6.4-100/tk8.6.4/xlib/X11/Xlib.h so I am not sure
what the problem is.
Reggie.
-----------
Dept. of Molecular Microbiology and Immunology
Saint Louis University School of Medicine
1100 South Grand Blvd. DRC605
St. Louis, MO 63104
Voice: (314) 977-8891
Fax: (314) 977-8717
Web: http://macro.slu.edu
From: Alexander Hansen <alexanderk.han...@gmail.com>
Reply-To: The Fink Beginners List <fink-beginners@lists.sourceforge.net>
Date: Tuesday, March 24, 2015 at 1:56 PM
To: Rajeev Aurora <auro...@slu.edu>
Cc: The Fink Beginners List <fink-beginners@lists.sourceforge.net>, Daniel
Macks <dma...@netspace.org>
Subject: Re: [Fink-beginners] Error in installing tcltk
>
>> On Mar 24, 2015, at 9:23 AM, Rajeev Aurora <auro...@slu.edu> wrote:
>>
>> Dear Experts,
>> I am trying to install numpy-py27 using Fink. I am using a late 2013 Mac
>> BookPro running Mac OS 10.10.2. One of the dependencies of Numb appears to
>> be tcltk. Compilation of tcltk ends with the following error. I am unable
>> to find any fix through Google, so I assume it¹s because there is a simple
>> fix that I am overlooking. Any suggestions would be appreciated. I did a
>> fink self-update etc. but this did not resolve the problem.
>>
>> Reggie.
>>
>> gcc -c -Os -pipe -Wall -fno-common -DBUILD_tk
>> -I/sw/src/fink.build/tcltk-8.6.4-100/tk8.6.4/unix/../unix
>> -I/sw/src/fink.build/tcltk-8.6.4-100/tk8.6.4/unix/../generic
>> -I/sw/src/fink.build/tcltk-8.6.4-100/tk8.6.4/unix/../bitmaps
>> -I/sw/src/fink.build/tcltk-8.6.4-100/tcl8.6.4/generic
>> -I/sw/src/fink.build/tcltk-8.6.4-100/tcl8.6.4/unix -DPACKAGE_NAME=\"tk\"
>> -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.6\" -DPACKAGE_STRING=\"tk\
>> 8.6\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
>> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
>> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
>> -DHAVE_LIMITS_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1
>> -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=1
>> -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\)
>> -DHAVE_HIDDEN=1 -DMAC_OSX_TCL=1 -DHAVE_CAST_TO_UNION=1
>> -DTCL_SHLIB_EXT=\".dylib\" -DNDEBUG=1 -DTCL_CFG_OPTIMIZED=1
>> -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_SYS_TIME_H=1
>> -DTIME_WITH_SYS_TIME=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1
>> -DHAVE_AVAILABILITYMACROS_H=1 -DHAVE_WEAK_IMPORT=1 -D_DARWIN_C_SOURCE=1
>> -DXKEYCODETOKEYSYM_IS_DEPRECATED=1 -DTCL_NO_DEPRECATED -MD -g
>> -I/sw/include -DUSE_TCL_STUBS
>> /sw/src/fink.build/tcltk-8.6.4-100/tk8.6.4/unix/../generic/tk3d.c
>> gcc -c -Os -pipe -Wall -fno-common -DBUILD_tk
>> -I/sw/src/fink.build/tcltk-8.6.4-100/tk8.6.4/unix/../unix
>> -I/sw/src/fink.build/tcltk-8.6.4-100/tk8.6.4/unix/../generic
>> -I/sw/src/fink.build/tcltk-8.6.4-100/tk8.6.4/unix/../bitmaps
>> -I/sw/src/fink.build/tcltk-8.6.4-100/tcl8.6.4/generic
>> -I/sw/src/fink.build/tcltk-8.6.4-100/tcl8.6.4/unix -DPACKAGE_NAME=\"tk\"
>> -DPACKAGE_TARNAME=\"tk\" -DPACKAGE_VERSION=\"8.6\" -DPACKAGE_STRING=\"tk\
>> 8.6\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
>> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
>> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
>> -DHAVE_LIMITS_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1
>> -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=1
>> -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\)
>> -DHAVE_HIDDEN=1 -DMAC_OSX_TCL=1 -DHAVE_CAST_TO_UNION=1
>> -DTCL_SHLIB_EXT=\".dylib\" -DNDEBUG=1 -DTCL_CFG_OPTIMIZED=1
>> -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1 -DHAVE_SYS_TIME_H=1
>> -DTIME_WITH_SYS_TIME=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DHAVE_PW_GECOS=1
>> -DHAVE_AVAILABILITYMACROS_H=1 -DHAVE_WEAK_IMPORT=1 -D_DARWIN_C_SOURCE=1
>> -DXKEYCODETOKEYSYM_IS_DEPRECATED=1 -DTCL_NO_DEPRECATED -MD -g
>> -I/sw/include -DUSE_TCL_STUBS
>> /sw/src/fink.build/tcltk-8.6.4-100/tk8.6.4/unix/../generic/tkArgv.c
>> In file included from
>> /sw/src/fink.build/tcltk-8.6.4-100/tk8.6.4/unix/../generic/tkStubLib.c:14:
>> In file included from
>> /sw/src/fink.build/tcltk-8.6.4-100/tk8.6.4/unix/../generic/tkInt.h:19:
>> In file included from
>> /sw/src/fink.build/tcltk-8.6.4-100/tk8.6.4/unix/../generic/tkPort.h:21:
>> /sw/src/fink.build/tcltk-8.6.4-100/tk8.6.4/unix/../generic/tk.h:96:13: fatal
>> error: 'X11/Xlib.h' file not found
>> # include <X11/Xlib.h>
>> ^
>> In file included from
>> /sw/src/fink.build/tcltk-8.6.4-100/tk8.6.4/unix/../generic/tkArgv.c:14:
>> In file included from
>> /sw/src/fink.build/tcltk-8.6.4-100/tk8.6.4/unix/../generic/tkInt.h:19:
>> In file included from
>> /sw/src/fink.build/tcltk-8.6.4-100/tk8.6.4/unix/../generic/tkPort.h:21:
>> /sw/src/fink.build/tcltk-8.6.4-100/tk8.6.4/unix/../generic/tk.h:96:13: fatal
>> error: 'X11/Xlib.h' file not found
>> 1 error generated.
>> make: *** [ttkStubLib.o] Error 1
>> make: *** Waiting for unfinished jobs....
>> 1 error generated.
>> 1 error generated.
>> make: *** [tkArgv.o] Error 1
>> make: *** [tkStubLib.o] Error 1
>> 1 error generated.
>> make: *** [tk3d.o] Error 1
>> ### execution of /tmp/fink.bR2GS failed, exit code 2
>> ### execution of /tmp/fink.TsG3z failed, exit code 2
>> Removing runtime build-lock...
>> Removing build-lock package...
>> /sw/bin/dpkg-lockwait -r fink-buildlock-tcltk-8.6.4-100
>> (Reading database ... 18710 files and directories currently installed.)
>> Removing fink-buildlock-tcltk-8.6.4-100 ...
>> Failed: phase compiling: tcltk-8.6.4-100 failed
>>
>>
>>
>> -----------
>> Dept. of Molecular Microbiology and Immunology
>> Saint Louis University School of Medicine
>> 1100 South Grand Blvd. DRC605
>> St. Louis, MO 63104
>> Voice: (314) 977-8891
>> Fax: (314) 977-8717
>> Web: http://macro.slu.edu
>
> What do you get from running ³ls -l /usr/X11 /usr/X11R6² in a terminal window?
> My guess is that the tcltk build is relying on one of those convenience
> symlinks.
>
> --
> Alexander Hansen, Ph.D.
> Fink User Liaison
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners