Compile Line for GnomeVFS Programs.



I believe I'm missing some development libraries, namely gnome-2.8. What
would be the name of the development packages that I would need to
install?  My distribution is Debian, so I've looked all over Synaptic
for development libraries and I've installed a bunch of "dev" packages
that seem to fit the bill ... but I think I'm somehow still missing out
on the development packages for gnome-2.8

Every time I try to compile a program that has a "#include <gnome.h>" I
run into problems.  For example:  I have just finished typing in the
sample program located at:

http://developer.gnome.org/doc/API/2.0/gnome-vfs-2.0/gnome-vfs-first-steps.html

Now I want to compile.  I finally got the program to compile with this
line:

gcc `pkg-config --cflags --libs gnome libgnomevfs` gnome-vfs.c -o test

.... but I don't want to compile with OLD gnome and OLD gnome-vfs ... I
want the 2.0 or 2.8 versions ... I want to compile with the NEW stuff.
After all, isn't the above tutorial for the 2.0 development tree?

pkg-config bombs out when I type:  pkg-config --list-all  ... however if
I type "pkg-config --libs gnome-vfs-2.0" I get some results.  I get junk
if I try to have pkg-config show something about gnome-2.0 or gnome2 or
gnome2.0 or gnome-2.8, etc.

I'd really appreciate some help

--Tony





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