Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Linux


Advertisements:










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


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:

[Code]....

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 (Posted: 01-29-2011, 11:18 AM)

Sponsored Links:

Related Forum Messages For Linux category:
Debian :: How To Avoid Unwanted Dependency During .deb Build
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 libatk-1.0.so.0 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 libdl.so.2 could be avoided if "debian/retrovol/usr/bin/retrovol" were

[code]....

Posted: 2011-08-14 03:55

View 1 Replies!   View Related
Red Hat :: Call CGI W/POST Variables From Shell?
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
Host: 70.87.60.214
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) 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

[code].....

Posted: 06-16-2009, 10:50 AM

View 1 Replies!   View Related
Ubuntu :: C++ - Use System To Call Echo And Pass Variables?
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:

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

[Code]....

Posted: September 7th, 2010

View 7 Replies!   View Related
Fedora :: How To Set Environment Variables
I just installed valgrind on my Fedora12 machine.

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

[code]...

Posted: 18th May 2010, 08:53 PM

View 3 Replies!   View Related
Software :: Environment Variables And Konsole In KDE?
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.

Posted: 04-27-2011, 11:43 PM

View 6 Replies!   View Related
Programming :: Using Environment Variables In Scripts?
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:

Posted: 06-19-2010, 03:42 PM

View 14 Replies!   View Related
Fedora :: Changing Environment Variables?
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

Posted: 11th October 2009, 05:59 AM

View 3 Replies!   View Related
General :: Environment Variables Not Being Set Correctly?
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)
#

[code]...

Posted: 06-21-2010, 11:27 AM

View 9 Replies!   View Related
Fedora :: How To Set Environment Variables Permenently
How to set JAVA_HOME environment variables permanently such that it will not have to be set each time it has to be used.

Posted: 3rd May 2011, 06:48 PM

View 5 Replies!   View Related
Software :: Set Environment Variables That Don't Need Terminal ?
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:

Code:

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?

Posted: 06-12-2011, 11:03 AM

View 2 Replies!   View Related
General :: Any Other Ways To Set Environment Variables
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?

Posted: May 20 10 at 17:08

View 4 Replies!   View Related
Programming :: Use Environment Variables That Are Defined Outside Of The Script?
I am writing an expect script and I wish to use environment variables that are defined outside of the script.

Posted: 02-08-2011

View 6 Replies!   View Related
General :: Concatenate Two Environment Variables In Bash?
How do I concatenate two environment variables in bash?

Posted: 11-09-2010, 08:16 PM

View 3 Replies!   View Related
General :: Set Environment Variables That Use Everyday Permanently ?
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.

Posted: 07-13-2010, 10:08 AM

View 15 Replies!   View Related
Fedora :: Script Unable To Set Environment Variables
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.

Posted: 24th November 2010, 09:05 PM

View 6 Replies!   View Related
Slackware :: SU Command - Environment Variables Missing
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.

Posted: 06-30-2010, 07:20 AM

View 6 Replies!   View Related
General :: To Export Environment Variables In A File?
I want to export the env variables in a file using a script,i tried using the below:for var in 'env'

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

[code]...

Posted: 10-27-2010, 05:11 AM

View 9 Replies!   View Related
Software :: Dchroot Environment Variables Not Consistent?
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:

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

[code]...

Posted: 02-20-2011, 12:00 AM

View 1 Replies!   View Related
Ubuntu :: Modify To Set The Environment Variables For FSCK?
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.

Posted: May 9th, 2011

View 4 Replies!   View Related
Ubuntu :: Update Environment Variables Forever?
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.

Posted: April 7th, 2010

View 5 Replies!   View Related
General :: Use Environment Variables In The .bashrc File?
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,

Posted: 04-16-2011, 06:30 PM

View 3 Replies!   View Related
General :: Setup Environment Variables For Groups?
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?

Posted: 06-15-2010, 01:37 AM

View 2 Replies!   View Related
General :: Setting (permenant) Environment Variables In 10.0.4
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?

Posted: Sep 4 10 at 10:40

View 1 Replies!   View Related
Ubuntu :: Setting Environment Variables In Server 10.04
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 ..eg 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...

/etc/environment

or here

/etc/profile

Posted: July 4th, 2011

View 1 Replies!   View Related
Copyright 2005-08 www.BigResource.com, All rights reserved