Software :: Dependency - Set The GTK_CFLAGS And GTK_LIBS Environment Variables To Avoid The Need To Call Pkg-config

Jan 29, 2011

I'm trying to install ettercap from source on my clearos box (centos based) and I'm running into an issue with a GTK dependency. When I run ./configure for ettercap, it tells me I need to install GTK, Pango, or ATK. But, I've installed them all with yum, and the -devel versions of them too. For example I did "yum install gtk+" and "yum install gtk+-devel" for GTK, Pango, and ATK.

But even though I installed all these dependencies, I'm still getting this error. I'm thinking the problem is that it's looking for gtk, atk, or pango in the wrong place. A copy of the relevant error section produced by running ./configure is below:


Alternatively you may set the GTK_CFLAGS and GTK_LIBS environment variables to avoid the need to call pkg-config. See the pkg-config man page for

View 2 Replies


Debian :: How To Avoid Unwanted Dependency During .deb Build

Aug 14, 2011

I have successfully build .deb im my box and it is running well. But during the debuild process I got followingdpkg-shlibdeps: warning: dependency on could be avoided if "debian/retrovol/usr/bin/retrovol" were not uselessly linked against it (they use none of its symbols).

dpkg-shlibdeps: warning: dependency on could be avoided if "debian/retrovol/usr/bin/retrovol" were


View 1 Replies View Related

Red Hat :: Call CGI W/POST Variables From Shell?

Jun 16, 2009

I've got a CGI that I'm trying to debug. Apache gives me an ambiguous 500 error; it would be nice to see the raw output via the shell. I've got the POST request w/headers as follows. What's the best way to troubleshoot this?

POST /cgi/packBoxes.cgi HTTP/1.1
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8


View 1 Replies View Related

Ubuntu :: C++ - Use System To Call Echo And Pass Variables?

Sep 7, 2010

I'm trying to use system to call echo and pass variables to it. That was a success. The problem is the variables inside the while-loop i wrote cannot be manipulated. what I'm doing wrong here? here's the code:

#include <iostream>
#include <stdlib.h>
#include <string>
#include <sstream>


View 7 Replies View Related

Fedora :: How To Set Environment Variables

May 18, 2010

I just installed valgrind on my Fedora12 machine.

$ valgrind // 1
$ valgrind: Command not found. //error
$ /usr/local/bin/valgrind // 2 works fine


View 3 Replies View Related

Software :: Environment Variables And Konsole In KDE?

Apr 27, 2011

I have installed jdk in my pc, and i've set up the environment variable on the .bashrc file in my home directory although i can use java's compiler and interpreter in terminal (xfce) if i try to use these commands in konsole (kde) for some reason they don't work. do i need to edit other file?

Nevermind, i found out that konsole was being executed with -e $SHELL -l parameters, once i took them out, and just ran konsole everything worked.

View 6 Replies View Related

Programming :: Using Environment Variables In Scripts?

Jun 19, 2010

Trying to mounts three cifs shares at boot up. I want to mount the shares under three different sub directories in the user's home directory:

share 1 mounted to /home/(insert username here)/movies
share 2 mounted to /home/(insert username here)/music
share 3 mounted to home/(insert username here)/software

I would like to use the environment variable HOME to dynamically build the mount point parameter. I've tried:

View 14 Replies View Related

Fedora :: Changing Environment Variables?

Oct 11, 2009

How do I edit my .bash_profile so recursive directories are on my path without manually typing all the directories? For example, I want to have /home/woodenbox/SU, /home/woodenbox/SU/bin, /home/woodenbox/SU/bin/src, etc on my path without actually having to write the paths for all the subdirectories

View 3 Replies View Related

General :: Environment Variables Not Being Set Correctly?

Jun 21, 2010

he $g09root is picked up ( in both the csh and the bash), but not the $GV_DIR or the $GAUSS_SCRDIR. I guess it's some stupid error, but it is highly frustrating.Here is the .profile file:Quote:

# To make use of this feature, simply uncomment one of the lines below or
# add your own one (see /usr/share/locale/locale.alias for more codes)


View 9 Replies View Related

Fedora :: How To Set Environment Variables Permenently

May 3, 2011

How to set JAVA_HOME environment variables permanently such that it will not have to be set each time it has to be used.

View 5 Replies View Related

Software :: Set Environment Variables That Don't Need Terminal ?

Jun 12, 2011

I've added an export command to /etc/profile, but the environment variables don't show up when not using a terminal.

For example: when I add:


To my /etc/profile (then open a new terminal so it registers) and run a graphical program from that terminal, the graphical program can see see the environment variable A.

However if I add the export command to my /etc/profile, then reboot so everything registers, then run that same graphical program from a menu (such as Applications->Accessories->Myprogram), it can't see the environment variable.

What I'm trying to say is basically, my environment variables only show up if I run a program in a shell. Is there a way to set environment variables that will show even without a shell?

View 2 Replies View Related

General :: Any Other Ways To Set Environment Variables

May 20, 2010

I am running Red Hat Linux Enterprise 5; I am always using the export command to set environment variables.Are there any other ways to set environment variables and what are the advantages/disadvantages of them?

View 4 Replies View Related

Programming :: Use Environment Variables That Are Defined Outside Of The Script?

Feb 8, 2011

I am writing an expect script and I wish to use environment variables that are defined outside of the script.

View 6 Replies View Related

General :: Concatenate Two Environment Variables In Bash?

Nov 9, 2010

How do I concatenate two environment variables in bash?

View 3 Replies View Related

General :: Set Environment Variables That Use Everyday Permanently ?

Jul 13, 2010

I have bunch of environment variables that i have to set always for my work.Someone mentioned i can write a script to dp this and i googled it but haven't been successful so far and have to manually do them every time. I have a tcsh shell.I read that i need to change the .login or .tcshrc files but havent been successful in finding these.

View 15 Replies View Related

Fedora :: Script Unable To Set Environment Variables

Nov 24, 2010

I've never done much scripting myself and I'm quite unused to the bash as well, but anyway, Here's my problem.

I've a script which is supposed to set some environment variables, using export. However, if I check those variables using echo, they appear not to be set (they are empty). If I set the same variables manually, everything is fine, of course, but I don't want to set them each time manually.

View 6 Replies View Related

Slackware :: SU Command - Environment Variables Missing

Jun 30, 2010

I've just noticed something odd with 'su'. When you run 'su' with both the '-' (aka -l) and -c command options like this: "su -l user -c command" it doesn't appear to run /etc/profile before running the specified command even though the -l option is specified. If you run "su -l user" without the -c it does run /etc/profile.

Now, on other linux such as fedora it works as expected and runs both /etc/profile followed by the command specified on the '-c'. I'm fairly sure it used to work this way on Slackware (and every other UNIX I've ever used) too. "su -l root -c env" is a good way to see, as you'll find most the environment variables are missing.

View 6 Replies View Related

General :: To Export Environment Variables In A File?

Oct 27, 2010

I want to export the env variables in a file using a script,i tried using the below:for var in 'env'

var2=env|awk -F '=' '{print$1}'
echo "$var;export $var2">file.txt


View 9 Replies View Related

Software :: Dchroot Environment Variables Not Consistent?

Feb 20, 2011

I've created a 32-bit chroot on my AMD64 installation. It works pretty well when I just type 'dchroot' but if I try to execute a 32-bit program from 64-bit land using 'dchroot <command>', the environment variables are all screwed up. I know I can use -d or --preserve-environment to keep my 64-bit environment but I don't want to do that because I want my PATH to change when I go into 32-bit land. Here's an example of what I am talking about:

me@box:~$ dchroot "echo $PATH"
I: [x86 chroot] Running command: ?echo $PATH?


View 1 Replies View Related

Ubuntu :: Modify To Set The Environment Variables For FSCK?

May 9, 2011

Does anyone know what file I have to modify to set the environment variables for FSCK? I can't run FSCK on my file system because it runs out of memory after about 10 minutes. This variable sounds like it will solve all of my problems but I can't find the file to modify to set the variable or what parameters it takes (number? yes/no?, etc).I'm trying to recover has a lot of information on it that I would really like to get back.

View 4 Replies View Related

Ubuntu :: Update Environment Variables Forever?

Apr 7, 2010

I've created a new environment variable and updated another one (PATH). I just want to save this changes once after reboot and forever. This is because I want to run a program (tecplot) just typing 'tec360' in the command line. If I create those new variable ( TEC_360_2008=/usr/tec360_2008 ) and update the PATH variable ( export PATH=$PATH:$TEC_360_2008/bin ) then bash detect the command 'tec360' and it runs my program. The problem is that this changes are not saved after rebooting.

According to the manual, I have to update the .bash_profile in my home directory but I don't have this file in this directory (neither in other directory). I only have .bash_history, .bash_logout and .bashrc in the home directory. I have updated .bashrc (typing . ./.bashrc) but it is not working.

View 5 Replies View Related

General :: Use Environment Variables In The .bashrc File?

Apr 16, 2011

I am trying to include my directory /usr/sbin in it's serch path for executable files using an environment variable. Would the input be: PATH="/usr/sbin"? And also upon start up, my shell should create the PRINTER environment variable which should resolve to the word sales...would that input be: PRINTER="sales"? If someone could help me with these two questions,

View 3 Replies View Related

General :: Setup Environment Variables For Groups?

Jun 15, 2010

I can setup variables in ~/.bashrc for my own shells. I can also setup variables globally in /etc/bashrc.but then how do I setup variables for a group in Linux? So that users who belong to this group will see the variables, but not others?

View 2 Replies View Related

General :: Setting (permenant) Environment Variables In 10.0.4

Sep 4, 2010

I am running an application which requires setting environment variables to be set.At the moment, the way I am achieving this is by exporting the EV at the command line, and then running the app from the command line.I want to be able to run the app from my menu (it is already a menu item after I installed it).How may I set the env var so that it is always available, so I can just run the app from the menu instead of from the CLI?

View 1 Replies View Related

Ubuntu :: Setting Environment Variables In Server 10.04

Jul 4, 2011

I always have to google about setting environment path variables when I install new software. My basic problem is that I dont know whether these variables need to be set globally or not. I have read a number of mails/tutorials which say that Environment variables should be set by simply doing an export EDITOR=nano export EDITOR

additionally I have read that it should be written into /etc/bash.bashrc

But are these really global variables or local? I want the variables to be set
even after I have logged out.

so I could also write the variable here...


or here


View 1 Replies View Related

Ubuntu Installation :: Set Some Custom Environment Variables

May 13, 2010

I need to set some custom environment variables.

View 6 Replies View Related

General :: Exporting Environment Variables In Ubuntu?

Jun 2, 2010

I know many people have asked about environment variables before, but I am having a hard time dealing with these paths while ensuring I don't mess around with the original settings. How would you go about executing these commands in Ubuntu in terms of environment variables?

put /home/stanley/Downloads/ns-allinone-2.34/bin:/home/stanley/Downloads ns-allinone-2.34/tcl8.4.18/unix:/home/stanley/Downloads/ns-allinone-2.34/tk8.4.18/unixinto your PATH environment; so that you'll be able to run itm/tclsh wish/xgraph.


(1) You MUST put
into your LD_LIBRARY_PATH environment variable.


View 1 Replies View Related

Ubuntu :: Cannot Save Environment Variables In Terminal?

Feb 12, 2010

In terminal, I use the command " export XXX="xxx" " to create a new environment variable, and then " env | grep XXX " to check if it is existed. But when I run the terminal again, the variable I created is disappeared. I've found it just can't save the variables I created..

View 3 Replies View Related

Ubuntu :: Sudo Doesn't Keep Environment Variables

Jul 19, 2010

When I execute something with sudo, the environment that it executes in doesn't have all the environment variables from /etc/profile{,.d/} defined. I googled around and found that there is a way to get the environment variables from the calling environment to be carried over to sudo's own environment, but that's not exactly what I want. I just want sudo to read the /etc/profile and /etc/profile.d/ before executing commands.

View 2 Replies View Related

Programming :: Sudo Perl Script With Environment Variables?

Apr 22, 2009

How to use sudo to run a perl script with the environment variable JAVA_HOME on linux?
Running as sudo do not pickup the environment variable JAVA_HOME
value. code...

View 1 Replies View Related

Debian Configuration :: Setup PATH Environment Variables?

Jan 8, 2011

I edited /etc/profile to look like:

# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
if [ "`id -u`" -eq 0 ]; then


When i type env, it just shows: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin It also shows JAVA_HOME, CLASSPATH and others were set up. Trying to get updatetool in glassfish usable for any user and during any session. I did the export command in a shell, and it worked, but not after closing the session. how to do environment variables.

View 3 Replies View Related

General :: Which Environment Variables Not Inherited By Bash Shells

Jan 2, 2011

I am using Linux some years, but since I built a LFS, I feel noobish again. Now with the help of BLFS I am setting up my environment and somewhere I incidentally read, that not every variable is inherited by a child Bash shell. As for the $PS1 and $PS2 variables I know, that they are not inherited by non-interactive Bash shells (and there is no reason why they should in my opinion). Well, as for my first thread I hope the title gives enough information on what I want to know. But anyways: Which environment variables are not inherited by Bash shells?

View 1 Replies View Related

Slackware :: Standard Location For Defining Environment Variables

Jan 4, 2011

I'm setting up Tomcat right now, and I've been directed to create a tomcat_home (catalina_home as of writing) environment variable.

Where is the default location for env variables in Slackware? My current inclination is to create a new script /etc/profile.d/

View 1 Replies View Related

Fedora Installation :: Blueman 1.21 - Adjust Environment Variables

Mar 24, 2010

I am trying to install blueman on fedora 12. I am compiling it from source. Because their is no rpm file for this. In configuration their is error

bluez is not find..but I have installed bluez-4.57...
Error is:-
Consider adjusting PKG_CONFIG_PATH environment variables if you installed software in non standard prefix.. set evn variables BLUEZ_CFLAGS and BLUEZ_LIBS...

How can I set these get rid of this error. I want to connect to internet through GPRS enabled phone through bluetooth. Any other way to connect to internet through bluetooth. I am using fedora 12.

View 3 Replies View Related

OpenSUSE Install :: Set Custom Environment Variables During Boot ?

Mar 14, 2010

I'm doing a multiboot system where I need one of the boot options ( using Grub ) to set a number of custom environment variables e.g. "distro".

View 5 Replies View Related

OpenSUSE Install :: Set System-Wise Environment Variables ?

Sep 9, 2010

I just recently reinstalled openSUSE 11.3 last night with the GNOME desktop. Since I'm starting fresh again, I'd like to set up my System as flawless as possible.

So, my question is stated in the Title. How do you set System-Wide environment variables on OpenSUSE 11.3 // GNOME? I usually set them by adding an export to my ~/.bashrc, but I remember in Ubuntu that I could add them to /etc/environment. I checked that file out on my system, and it has a the default comment on it stating:

"This file is parsed by pam_env module...Syntax: simple "KEY=VAL" pairs on seperate lines"

This seems to be the spot to add my "export JAVA_HOME=/usr/java/..etc", etc. but I wanted to clarify before I went ahead and made any changes.

View 9 Replies View Related

Programming :: Exporting Makefile Variables To $(shell) Environment?

May 12, 2010

I'm aware that one can export make variables to other makefiles; however, how does one export them to the environment of $(shell)? Take the example below:

export TEST
VARIABLE=$(shell echo $$TEST)
.PHONY: all

In this example, I might call make TEST=test. The goal is for $TEST to be available to the environment of the shell escape. This is because I need its value in a script which is called. For example:

VARIABLE=$(shell current solution is the following:VARIABLE=$(shell export TEST="$(TEST)"; but this only works if I know all if the variables needed at that point (as opposed to being able to export variables in included makefiles.) Is there an easy solution?

View 4 Replies View Related

Ubuntu Installation :: Glib-2.0 And PKG_CONFIG_PATH Environment Variables?

Jul 29, 2010

I'm trying to install the latest version of tracker - 0.8.15. When I run ./configure, I come up with an error like this:

checking for getline... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB2... configure: error: Package requirements (glib-2.0 >= 2.24.0) were not met:
No package 'glib-2.0' found


Surely the libglib2.0-0 package is some kind of replacement for glib-2.0? My understanding from the man page is that PKG_CONFIG_PATH is some way of linking to and checking requested packages... is this right? Can I change it to point at the libglib package instead?

View 1 Replies View Related

CentOS 5 :: Java Environment Variables Setup With Newest JDK

Jun 4, 2010

OS: Centos 5.5_x86
I've searched quite a bit for how to set up Java environment variables with the newest java JDK. I installed java using the following commands:
yum groupinstall "java development" (I need it for the application I am trying to run)
yum install "java"
I have them both installed however I can't seem to get java to function. The application I am trying to run requires that I set java environment variables any solutions?

View 1 Replies View Related

Fedora Servers :: How To Set Tomcat Environment Variables Permanently

Dec 24, 2009

I am new to Linux. I installed JDK and Apache Tomcat recently but the problem is every time I want to work with them, I have to set the environment variables. I want to run tomcat as a service so that I don't have to set those system variables every time.Can it be done in any way? I am using Tomcat 5.5 and my Kernel version is 2.6.21-1.3194.fc7.

View 3 Replies View Related

Copyrights 2005-15, All rights reserved