You are not logged in.
Pages: 1
How do I set
DEPS_CFLAGS DEPS_LIBS
I am trying to build gnome-color-chooser.
Last edited by addr (2009-11-22 22:14:17)
x86_64 Arch Openbox, Debian PEKwm
Offline
i prefer to set the env variable limited in scope to exactly the command that needs it. something like
ENVAR="some_value" command_that_uses_it
if you need to use the env variable for multiple commands, i believe you need to export it but i don't know exactly how wide-reaching / permanent / undoable that action is (or if you care).
export ENVAR="some_value"
commands_that_use_it
other_commands_will_use_it
...
this is how things like PATH and EDITOR get set in bashrc.
//github/
Offline
I'm still doing something wrong. Here is the error message:-
checking for DEPS... configure: error: in `/tmp/yaourt-tmp-sandy/aur-gnome-color-chooser/gnome-color-chooser/src/gnome-color-chooser-0.2.5':
configure: error: The pkg-config script could not be found or is too old. Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config
Alternatively, you may set the environment variables DEPS_CFLAGS
and DEPS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details..
x86_64 Arch Openbox, Debian PEKwm
Offline
To me it looks like you're overlooking the real problem. Is pkgconfig installed, like the configure script complains about?
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
If you're building packages, make sure the base-devel package group is installed - it includes pkgconfig and all the other good stuff you need to compile things.
Offline
I didn't have base-devel.
All OK now. Thanks
x86_64 Arch Openbox, Debian PEKwm
Offline
Pages: 1