Re: Gtk Works Fine, Except when Root
- From: Sven Neumann <sven gimp org>
- To: "Charles Petersen" <mauddib hotmail com>
- Cc: gtk-list gnome org
- Subject: Re: Gtk Works Fine, Except when Root
- Date: 11 Apr 2001 02:36:19 +0200
"Charles Petersen" <mauddib hotmail com> writes:
> This one's a bit to deep for me. I finally got Glib and Gtk+ 1.2.9
> all installed using the tar.gz files. If I log in as usr, cd to the
> examples/helloworld directory, and type make, it compiles perfectly
> fine. The program works perfectly, everything is fine. However, if I
> do the same thing, but login as root, it gives me the following error:
>
> gcc 'gtk-config --cflags` helloworld.c -o helloworld `gtk-config --libs`
> helloworld.c:3: gtk/gtk.h: No Such File or directory
> make: *** [helloworld] Error 1
Most probably root finds a different gtk-config in the path. Check
that you are using the correct one (and remove the wrong one) using
'which gtk-config'.
Salut, Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]