On 9/7/12 1:55 PM, Engin Ozkan wrote:
> Alexander Hansen <alexanderk.hansen <at> gmail.com> writes:
> 
>>
>> On 9/7/12 1:38 PM, Engin Ozkan wrote:
>>> I am having trouble installing gtk+2 on my 10.6 machine with stock X11 
>>> 2.3.6 and
>>> Xcode 3.2.6. I saw the recent discussions on another failed gtk+2 
>>> installation,
>>> but am not sure they are related.
>>>
>>
>> They are exactly the same.
>>
>>> Below is where the error that pops up:
>>>
> ...
>>> gtkimmulticontext.c  -fno-common -DPIC -o .libs/gtkimmulticontext.o
>>> In file included from /sw/include/glib-2.0/glib/gi18n-lib.h:25,
>>>                  from gtkintl.h:4,
>>>                  from gtkimmulticontext.c:33:
>>> /sw/include/libintl.h:440: error: expected '=', ',', ';', 'asm' or
>>> '__attribute__' before 'libintl_newlocale'
>>> make[4]: *** [gtkimmulticontext.lo] Error 1
>>> make[3]: *** [all-recursive] Error 1
>>> make[2]: *** [all] Error 2
>>> make[1]: *** [all-recursive] Error 1
>>> make: *** [all] Error 2
>>> ### execution of /tmp/fink.9r2dt failed, exit code 2
>>> ### execution of /tmp/fink.4TXe1 failed, exit code 2
>>> Removing runtime build-lock...
>>> Removing build-lock package...
>>> /sw/bin/dpkg-lockwait -r fink-buildlock-gtk+2-2.18.9-10
>>> (Reading database ... 47034 files and directories currently installed.)
>>> Removing fink-buildlock-gtk+2-2.18.9-10 ...
>>> Failed: phase compiling: gtk+2-2.18.9-10 failed
>>>
>>> Before reporting any errors, please run "fink selfupdate" and try again.
>>>
>>> If you continue to have issues, please check to see if the FAQ on Fink's 
>>> website solves the problem.  If not, ask on one (not both, please) of
>>> these mailing lists:
>>>
>>>         The Fink Users List <fink-users <at> lists.sourceforge.net>
>>>         The Fink Beginners List <fink-beginners <at> lists.sourceforge.net>.
>>>
>>> Please try to include the complete error message in your report.  This
>>> generally consists of a compiler line starting with e.g. "gcc" or "g++"
>>> followed by the actual error output from the compiler.
>>>
>>> Also include the following system information:
>>> Package manager version: 0.34.3
>>> Distribution version: selfupdate-rsync Fri Sep  7 13:14:01 2012, 10.6, i386
>>> Trees: local/main stable/main unstable/main
>>> Xcode.app: 3.2.6
>>> Xcode command-line tools: 3.2.6
>>> Max. Fink build jobs:  1
>>>
>>> Thanks,
>>> Engin
>>>
>>>
>>
>> Do you have any other instances of locale.h or xlocale.h other than in
>> /usr/include?
>>
>> It's probably worth using "dpkg -S locale.h" to make sure that an update
>> to a Fink package hasn't accidentally put an incompatible locale.h in a
>> place where it can be picked up easily.
>>
> 
> I have locale.h under /usr/include and that's it.
> 
> [MacBook-Pro:~] eozkan% dpkg -S locale.h
> libxslt: /sw/share/doc/libxslt/html/libxslt-xsltlocale.html
> python27: /sw/share/doc/python27/html/library/locale.html
> gcc46-compiler:
> /sw/lib/gcc4.6/include/c++/4.6.3/i386-apple-darwin10.8.0/x86_64/bits/c++locale.h
> gcc47-compiler:
> /sw/lib/gcc4.7/include/c++/4.7.1/i386-apple-darwin10.8.0/x86_64/bits/c++locale.h
> gcc46-compiler:
> /sw/lib/gcc4.6/include/c++/4.6.3/i386-apple-darwin10.8.0/bits/c++locale.h
> gcc47-compiler:
> /sw/lib/gcc4.7/include/c++/4.7.1/i386-apple-darwin10.8.0/bits/c++locale.h
> libxslt: /sw/include/libxslt/xsltlocale.h
> 
> [MacBook-Pro:~] eozkan% dpkg -S xlocale.h
> dpkg: *xlocale.h* not found.
> 
> [MacBook-Pro:~] eozkan% ls /usr/include/*locale.h
> /usr/include/_locale.h  /usr/include/_xlocale.h /usr/include/locale.h
>  /usr/include/xlocale.h
> 
> Yes, I see that they are the same problem.
> 
> Thanks,
> Engin
> 
> 

Thanks.

One of our maintainers has also been able to reproduce the issue, so
hopefully a fix can be rolled out soon.

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

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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

Reply via email to