Title: RE: [gtk-list] Re: gtk compile errors

which gtk-config: /usr/bin/gtk-config
gtk-config -cflags:  -I/usr/X11R6/include -I/usr/lib/glib/include
gtk-config -libs:  -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXext -lX11 -lm

I guess to say that I compiled Gimp is inaccurate it installed itself (and compiled) I watched it call gcc and gtk+ Gimp apparently was happy with the setup.

Aaron O'Brien


    -----Original Message-----
    From:   Silviu Minut
    Sent:   Monday, January 17, 2000 10:54 AM
    To:     '[EMAIL PROTECTED]'
    Subject:        [gtk-list] Re: gtk compile errors

    Well...do you have gtk-config? Do a

    which gtk-config

    Then

    gtk-config --cflags
    gtk-config --libs

    You compiled gimp? Much easier if you install everything from rpms. It
    installs in the right places and can be updated easily.


    On Mon, 17 Jan 2000, Aaron O'Brien wrote:

    > Hello, I'm new to this e-mail list so please forgive any toes I may step on.
    >
    > I'm running a version RedHat 6.0 and have gtk+, glib, gimp, and gdk
    > installed when I installed the system.  Gimp compiled and runs so I'm
    > assuming everything is installed correctly.  Anyway, I'm working through
    > Eric Harlow's book "Developing Linux Applications with GTK+ and GDK".  When
    > I try to compile my code with the following command I get the following
    > errors:
    >
    > Command:
    > gcc -Wall -g gtk1.c -o gtk1 'gtk-config -cflags' 'gtk-config - libs'
    >
    > Errors:
    > gcc: gtk-config -cflags: No such file or directory
    > gcc: gtk-config -libs: No such file or directory
    >
    > Any help would be truly appreciated, I've been banging my head on this for
    > about 4 days now.
    >
    > Thanks in advance,
    > Aaron O'Brien
    >
    > --
    > To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
    >
    >

    --
    To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to