Re: [gtk-list] Can't compile GLib in Mac OS X



Configure still complains about gettext. Perhaps it will help if I
show you what is in the gettext directories.
chtw16-142176057172:~ donhumphrey$ find /usr/local/lib/gettext
/usr/local/lib/gettext
/usr/local/lib/gettext/hostname
/usr/local/lib/gettext/project-id
/usr/local/lib/gettext/urlget
/usr/local/lib/gettext/user-email

chtw16-142176057172:~ donhumphrey$ find /usr/local/share/gettext
/usr/local/share/gettext
/usr/local/share/gettext/ABOUT-NLS
/usr/local/share/gettext/archive.tar.gz
/usr/local/share/gettext/config.rpath
/usr/local/share/gettext/gettext.h
/usr/local/share/gettext/gettext.jar
/usr/local/share/gettext/intl
/usr/local/share/gettext/intl/bindtextdom.c
/usr/local/share/gettext/intl/ChangeLog
/usr/local/share/gettext/intl/config.charset
/usr/local/share/gettext/intl/COPYING.LIB-2.0
/usr/local/share/gettext/intl/COPYING.LIB-2.1
/usr/local/share/gettext/intl/dcgettext.c
/usr/local/share/gettext/intl/dcigettext.c
/usr/local/share/gettext/intl/dcngettext.c
/usr/local/share/gettext/intl/dgettext.c
/usr/local/share/gettext/intl/dngettext.c
/usr/local/share/gettext/intl/eval-plural.h
/usr/local/share/gettext/intl/explodename.c
/usr/local/share/gettext/intl/export.h
/usr/local/share/gettext/intl/finddomain.c
/usr/local/share/gettext/intl/gettext.c
/usr/local/share/gettext/intl/gettextP.h
/usr/local/share/gettext/intl/gmo.h
/usr/local/share/gettext/intl/hash-string.c
/usr/local/share/gettext/intl/hash-string.h
/usr/local/share/gettext/intl/intl-compat.c
/usr/local/share/gettext/intl/intl-exports.c
/usr/local/share/gettext/intl/l10nflist.c
/usr/local/share/gettext/intl/langprefs.c
/usr/local/share/gettext/intl/libgnuintl.h.in
/usr/local/share/gettext/intl/libintl.rc
/usr/local/share/gettext/intl/loadinfo.h
/usr/local/share/gettext/intl/loadmsgcat.c
/usr/local/share/gettext/intl/localcharset.c
/usr/local/share/gettext/intl/localcharset.h
/usr/local/share/gettext/intl/locale.alias
/usr/local/share/gettext/intl/localealias.c
/usr/local/share/gettext/intl/localename.c
/usr/local/share/gettext/intl/lock.c
/usr/local/share/gettext/intl/lock.h
/usr/local/share/gettext/intl/log.c
/usr/local/share/gettext/intl/Makefile.in
/usr/local/share/gettext/intl/ngettext.c
/usr/local/share/gettext/intl/os2compat.c
/usr/local/share/gettext/intl/os2compat.h
/usr/local/share/gettext/intl/osdep.c
/usr/local/share/gettext/intl/plural-exp.c
/usr/local/share/gettext/intl/plural-exp.h
/usr/local/share/gettext/intl/plural.c
/usr/local/share/gettext/intl/plural.y
/usr/local/share/gettext/intl/printf-args.c
/usr/local/share/gettext/intl/printf-args.h
/usr/local/share/gettext/intl/printf-parse.c
/usr/local/share/gettext/intl/printf-parse.h
/usr/local/share/gettext/intl/printf.c
/usr/local/share/gettext/intl/ref-add.sin
/usr/local/share/gettext/intl/ref-del.sin
/usr/local/share/gettext/intl/relocatable.c
/usr/local/share/gettext/intl/relocatable.h
/usr/local/share/gettext/intl/textdomain.c
/usr/local/share/gettext/intl/tsearch.c
/usr/local/share/gettext/intl/tsearch.h
/usr/local/share/gettext/intl/vasnprintf.c
/usr/local/share/gettext/intl/vasnprintf.h
/usr/local/share/gettext/intl/vasnwprintf.h
/usr/local/share/gettext/intl/VERSION
/usr/local/share/gettext/intl/version.c
/usr/local/share/gettext/intl/wprintf-parse.h
/usr/local/share/gettext/intl/xsize.h
/usr/local/share/gettext/javaversion.class
/usr/local/share/gettext/libintl.jar
/usr/local/share/gettext/msgunfmt.tcl
/usr/local/share/gettext/po
/usr/local/share/gettext/po/boldquot.sed
/usr/local/share/gettext/po/en boldquot header
/usr/local/share/gettext/po/en quot header
/usr/local/share/gettext/po/insert-header.sin
/usr/local/share/gettext/po/Makefile.in.in
/usr/local/share/gettext/po/Makevars.template
/usr/local/share/gettext/po/quot.sed
/usr/local/share/gettext/po/remove-potcdate.sin
/usr/local/share/gettext/po/Rules-quot
/usr/local/share/gettext/projects
/usr/local/share/gettext/projects/GNOME
/usr/local/share/gettext/projects/GNOME/team-address
/usr/local/share/gettext/projects/GNOME/teams.html
/usr/local/share/gettext/projects/GNOME/teams.url
/usr/local/share/gettext/projects/GNOME/trigger
/usr/local/share/gettext/projects/index
/usr/local/share/gettext/projects/KDE
/usr/local/share/gettext/projects/KDE/team-address
/usr/local/share/gettext/projects/KDE/teams.html
/usr/local/share/gettext/projects/KDE/teams.url
/usr/local/share/gettext/projects/KDE/trigger
/usr/local/share/gettext/projects/team-address
/usr/local/share/gettext/projects/TP
/usr/local/share/gettext/projects/TP/team-address
/usr/local/share/gettext/projects/TP/teams.html
/usr/local/share/gettext/projects/TP/teams.url
/usr/local/share/gettext/projects/TP/trigger
/usr/local/share/gettext/styles
/usr/local/share/gettext/styles/po-default.css
/usr/local/share/gettext/styles/po-emacs-x.css
/usr/local/share/gettext/styles/po-emacs-xterm.css
/usr/local/share/gettext/styles/po-emacs-xterm16.css
/usr/local/share/gettext/styles/po-emacs-xterm256.css
/usr/local/share/gettext/styles/po-vim.css

It seems all the stuff confiigure is looking ofor is is
/usr/local/share/gettext/intl.

- Bob
On Mon, Aug 11, 2008 at 3:54 AM, Michael Tüxen
<Michael Tuexen lurchi franken de> wrote:
> On Aug 11, 2008, at 1:22 AM, Serge Humphrey wrote:
>
>> But I don't understand. The first thing
>> (CPPFLAGS="-l/usr/local/include") is exactly the same as the second.
>
> It is not. The correct one uses a capital I. The one you used used
> a small L, which is not correct.
>>
>>
>> -Confused Bob
>>
>>
>> On Sun, Aug 10, 2008 at 5:48 PM, Michael Tüxen
>> <Michael Tuexen lurchi franken de> wrote:
>>>
>>> I guess CPPFLAGS="-l/usr/local/include" should read
>>> CPPFLAGS="-I/usr/local/include"
>>>
>>> Best regards
>>> Michael
>>> On Aug 10, 2008, at 9:51 PM, Serge Humphrey wrote:
>>>
>>>> When I add 'CPPFLAGS="-l/usr/local/include"' to the configure
>>>> arguments, so it is like './configure CFLAGS="-I/usr/local/include
>>>> -L/usr/local/lib" CPPFLAGS="-l/usr/local/include"
>>>> LDFLAGS="-L/usr/local/lib"', it starts configuring and spits out the
>>>> following error message:
>>>>>>
>>>>>> configure: error: C compiler cannot create executables
>>>>>> See `config.log' for more details.
>>>>
>>>> then terminates.
>>>> And then in config.log the problem seems to be occurring here:
>>>>>>
>>>>>> configure:3253: gcc -I/usr/local/include -L/usr/local/lib
>>>>>> -l/usr/local/include -L/usr/local/lib conftest.c  >&5
>>>>>> /usr/bin/ld: can't locate file for: -l/usr/local/include
>>>>>> collect2: ld returned 1 exit status
>>>>
>>>> Bob.
>>>>
>>>>
>>>> On Sun, Aug 10, 2008 at 2:57 AM,  <mpsuzuki hiroshima-u ac jp> wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> I remember, configure of glib has no option to specify
>>>>> the location of gettext explicitly. Thus, the developer
>>>>> with gettext in /usr/local should modify CFLAGS-families
>>>>> aslike
>>>>>
>>>>>    CFLAGS="-I/usr/local/include -L/usr/local/lib"
>>>>>    CPPFLAGS="-I/usr/local/include"
>>>>>    LDFLAGS="-L/usr/local/lib"
>>>>>
>>>>> please try. But I have to notice that it can make
>>>>> other unexpected libraries exposed to glib configure.
>>>>>
>>>>> To glib developers - is it bad idea that the addition
>>>>> of an option to specify the location of gettext to
>>>>> glib configure? Please let me know.
>>>>>
>>>>> Regards,
>>>>> mpsuzuki
>>>>>
>>>>>
>>>>> On Sat, 9 Aug 2008 21:01:37 -0300
>>>>> "Serge Humphrey" <bobtheblueberry gmail com> wrote:
>>>>>
>>>>>> Hi. I have installed all of the GLib dependencies, but configure isn't
>>>>>> looking in the right place for gettext, and so it spits out something
>>>>>> like this:
>>>>>>
>>>>>> chtw16-142176058023:~/Bob/glib-2.15.4 donhumphrey$ ./configure
>>>>>> checking for a BSD-compatible install... /usr/bin/install -c
>>>>>> checking whether build environment is sane... yes
>>>>>> checking for a thread-safe mkdir -p... ./install-sh -c -d
>>>>>> checking for gawk... no
>>>>>> checking for mawk... no
>>>>>> checking for nawk... no
>>>>>> checking for awk... awk
>>>>>> checking whether make sets $(MAKE)... yes
>>>>>> checking whether to enable maintainer-specific portions of
>>>>>> Makefiles...
>>>>>> no
>>>>>> checking build system type... powerpc-apple-darwin8.2.1
>>>>>> checking host system type... powerpc-apple-darwin8.2.1
>>>>>> ...
>>>>>> checking for dgettext in -lintl... yes
>>>>>> checking for bind_textdomain_codeset... yes
>>>>>> checking for msgfmt... no
>>>>>> configure: error:
>>>>>> *** You must have either have gettext support in your C library, or
>>>>>> use
>>>>>> the
>>>>>> *** GNU gettext library.
>>>>>> (http://www.gnu.org/software/gettext/gettext.html
>>>>>>
>>>>>> See it doesn't look for gettext in the right place. (It is in
>>>>>> /usr/local/share/gettext and /usr/local/lib/gettext)
>>>>>> I think all I need to do is get configure to look in the right place.
>>>>>>
>>>>>>
>>>>>> Not that I'm using Mac OS X 10.42 (PowerPC).
>>>>>>
>>>>>> Thanks to anyone who can help me
>>>>>> Bob
>>>>>> _______________________________________________
>>>>>> gtk-list mailing list
>>>>>> gtk-list gnome org
>>>>>> http://mail.gnome.org/mailman/listinfo/gtk-list
>>>>>
>>>> _______________________________________________
>>>> gtk-list mailing list
>>>> gtk-list gnome org
>>>> http://mail.gnome.org/mailman/listinfo/gtk-list
>>>>
>>>
>>>
>> _______________________________________________
>> gtk-list mailing list
>> gtk-list gnome org
>> http://mail.gnome.org/mailman/listinfo/gtk-list
>>
>
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]