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
<[EMAIL PROTECTED]> 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, <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]> 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


_______________________________________________
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to