Debian :: Force A Program To Use A Specific Version Of GTK When Compiling

Jul 15, 2010

I decided I was going to compile XChat from source today for "fun." What I ended up doing was spending a few hours getting it to compile, then find out everything didn't work the way I thought it did. I was under the impression that after I ran "sudo make install" I was "upgrading", when in reality I'm just installing a seperate version alongside the old one. Apparently I have to keep the old version so every program that was compiled with it will continue to work, so how do I:

1) Force a program to use a specific version of GTK when compiling.
2) Find where my version of GTK installed to.

I've asked some people and I've just been told to "learn LD_PRELOAD". I've googled and can't figure how I could even apply that to my current problem

View 3 Replies


ADVERTISEMENT

CentOS 5 :: Yum - Force Specific Version To Be Installed?

Jun 25, 2011

I run a bunch of CentOS 5.6 servers, where we continuously deploy our software. Our software comes in self-made rpm packages from a network-local yum repository. As bugs happen in software development, I sometimes want to downgrade to the previous release, so force the installation of a specific version of the package.I tried the allow-downgrade plugin, but so far no luck. Neither yum update nor yum install seem to work with allow-downgrade. (It does not seem to do anything?). Does anyone have a working example for yum --allow-downgrade?

This is what I tried:
1) Show current yum version
[root]# yum --version

[code]....

View 5 Replies View Related

Ubuntu :: Force Grub To Ignore Specific Kernel Version?

Feb 7, 2011

I just upgraded my storage server to maverick and it seems the 2.6.35-25 kernel doestn like the hardware im using
since im pretty sure its a hardware related problem and the previous kernel hastn the issue im currently booting this old kernel everytime i need the server by hand (using Shift during boot for the grub menu to appear)

well, it narrows down to the following question:
how can i exclude a specific grub entry - in my case the current kernel 2.6.35-25 - so only previous kernels OR future kernels from the next updates will have a chance to boot?

View 4 Replies View Related

Ubuntu :: Install A Specific Version Of JRE Which Is Required By A Program Called Glucofacts?

Apr 21, 2011

I am trying to install a specific version of JRE which is required by a program called Glucofacts. this is a diabetes program which is used for recording blood sugar readings on a computer. would someone care to give me some advice on the below error?

larry@ubuntu:~$ sudo apt-get install jre 1.6.0_07
[sudo] password for larry:
Reading package lists... Done
Building dependency tree
Reading state information... Done

[Code]...

View 1 Replies View Related

Debian :: Possible To Install Specific Version Of Package With Apt-Get

Nov 19, 2010

I am trying to install asterisk on my box. When I use "apt-get install asterisk", version 1.6.29 is installed. Is there a way I can install 1.4 instead?

View 3 Replies View Related

OpenSUSE :: Force An Application To Appear On Specific Virtual Desktop?

Jul 11, 2011

concerning controlling the windows in virtual desktop.

a) Say to a application to be launched to virtual desktop 2 for example.

b) How can you ask from a virtual application to be only visible at one virtual desktop. For example I work on virtual desktop 6 and I want to start skype that should be on virtual desktop 2. Right now If I launch the app on virtual desktop 6 it will appear on the same one. Would it be possible to ask for an applicaiton to be launched on an other virtual desktop. If yew how?

View 7 Replies View Related

Ubuntu Networking :: 9.10 - Force Eth1 Eth0 On Specific Hardware?

Mar 4, 2010

I've got a machine running 9.10 with two network interfaces, one being motherboard based (atl1) and the other in a PCI slot (e100). By default at boot the interfaces come up in the wrong order. I'd prefer to have the e100 come up as eth0 instead of eth1. And then have the atl1 come up on eth1 instead of eth0. Both interfaces use static addresses and IP4 routing should be active across them. Where do I configure things to force the specific settings?

View 2 Replies View Related

Ubuntu :: Using /etc/crontab To Force Chown And Chmod In Specific Directory?

Feb 9, 2011

I need to actively make sure some files, in a specific directory, are chmod 750 and owned by transmission:media-daemons. Other users will save to this directory, with other permissions and UID/GID but I must make sureto reinforce this default.

So I have this on my /etc/crontab:

Code:

# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.

[Code]....

View 1 Replies View Related

Networking :: Force TCP Traffic Out Over Specific Interface / When IP Is Bound To Another Local NIC

Aug 12, 2010

I'm hoping some of the Linux network experts can help me with this problem.

Situation: I have a technology which is a WebLogic JEE application that communicates to an Oracle database. Everything is installed in a single Linux virtual machine running in VirtualBox. Traffic from the JEE application goes via JDBC over TCP to the local running database. What I want to do is test a new database firewall server that wants all traffic destined for the database to flow via another virtual machine running the DB Firewall software.So therefore want I need to do is have DB traffic forced out over one interface only to return on another interface on the same VM listening on a different address.

JEE application running in WebLogic bound to 192.168.111.12 (eth1 a VirtualBox hostonly interface). Makes a request for 10.0.111.12 (eth2 a VirtualBox internal interface) which the database is listening on. Because both IPs are on local interfaces, Linux is going to handle the traffic and not route the 10.x traffic via the 192.x interface.I also have running the database firewall server which has a bridge (br0) between the HostOnly network and the Internal network.Both systems are running Oracle Enterprise Linux R5U4, which is basically the same as RedHat.What I want to do is have the request for 10.0.111.12 forced out via 192.168.111.12, bridged over the br0 connection and back into 10.0.111.12 and to the database. My networking knowledge is pretty good, but i'm stuck right now on the right way to do this. I'm pretty sure it is possible, I just need clear advice.

Reason for setup: Ideally I would build the system with the database on a separate machine so that I can easily route the traffic. Unfortunately we have many VirtualBox based demonstration systems with both the application and database installed on the same VM and therefore the amount of work to migrate these two dual VMs is going to be significant, also many of these VMs are demonstrated from laptops which have limited resources and creating a new database VM reduces overall performance. If I can create a way to force the traffic in this manner off and back onto the same VM via the other VM bridge, it would be fantastic.

View 7 Replies View Related

Debian :: Compiling Kernel - 2.6.26 Version Of Kernel Doesn't Longer Exist In Kernel.org Website

Sep 16, 2010

i'm using this guide videos - howto: debian linux kernel compilation, part 1 and the author says i need kernel 2.6.26 this version of kernel doesnt longer exist in kernel.org website and the only 2.6.26 i found is a patch here. should i use the patch? or download another version of kernel?

View 2 Replies View Related

General :: Run A Program For A Specific Amount Of Time Starting At A Specific Time?

May 18, 2010

I want to record an internet radio station starting at 2:00am tomorrow morning. The specific program on the radio station lasts until 6:00am. The command I need to run to record the station is: Code:mplayer http://wjcu.jcu.edu:8001/listen.pls -ao pcm:file=indie_heat_of_the_night.wav -vc dummy -vo nullI'd use cron, but 1. I'm not sure how to and 2. it seems unnecessarily complicated for something that I only want to run once. If cron is the only/easiest solution, I guess I'll just have to resort to that, but I'd rather not.

View 12 Replies View Related

Ubuntu :: 11.04 - Force Version Install Gives Error

May 12, 2011

Added software from a PPA I use to get up to date programs, during the update empathy was deleted. I went back and deleted the new software causing the conflict but empathy still won't install. I see there are two versions, 3.1.1.1 and the ubuntu 11.04 2.3.4 I think. I want to install the natty version but whenever I try force version it gives me an error. Is the solution removing the ppa? or is there a work around like downgrading back to the original software?

View 2 Replies View Related

Ubuntu :: Force Install Libre On The 10.10 Version Vs OpenOffice?

Apr 29, 2011

I have to go back to 10.10 for a while until the bugs are worked out. Can I force install Libre on the 10.10 version of Ubuntu?

View 3 Replies View Related

General :: Can't Force Reboot From Program?

Jul 7, 2011

running Linux release 2.4.19-uc0, build #511 embedded on a device. It is stripped down to a very minimal configuration and so many of the normal commands are not present.I'm trying to force a reboot from an application I've got running. I've tried the following:

system("shutdown -r");
or
sync();

[code]....

View 4 Replies View Related

Software :: How To Force Program To Uninstall

Mar 9, 2010

Code:
johnh@tux:~$ sudo -i
root@tux:~# apt-get purge webmin-bind
Reading package lists... Done
Building dependency tree
Reading state information... Done

The following packages were automatically installed and are no longer required:
linux-headers-2.6.31-14 linux-headers-2.6.31-14-generic
Use 'apt-get autoremove' to remove them.

The following packages will be removed:
webmin-bind*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 1,339kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 180904 files and directories currently installed.)
Removing webmin-bind ...
/var/lib/dpkg/info/webmin-bind.prerm: 6: /usr/sbin/update-webmin: not found
dpkg: error processing webmin-bind (--purge):
subprocess installed pre-removal script returned error exit status 127

Errors were encountered while processing:
webmin-bind
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@tux:~#

View 3 Replies View Related

Ubuntu Installation :: Force A Package Version Via Command Line?

May 19, 2010

I have the suspicion that the latest gdm update (2.28.1-0ubuntu2.2) broke something because the login screen isn't displayed anymore on my desktop. My question is the following:How can I revert an update or force a package version via command line? It's pretty straight forward via Synaptic but I only have access to the recovery command line so that is not really an option.

View 1 Replies View Related

Ubuntu :: Compiling Old Version Of Avidemux?

Nov 20, 2010

I'll try to make this short, esp because I don't know if this is the right place to discuss a 3rd party program like "Avidemux" I'm running the latest version "2.5.4" or so. It started giving me this problem where no matter what settings I give it, the resulting files are so small it results in an error after almost a day of encoding. ( "XYZ" was NOT saved correctly , for example.) One day I noticed the quantisizer was at max, peaking at 48-50...which made the files tiny. So, I can avoid this sort of, by limiting the maximum and minimum quantisizer in the configurations. Problem is, I have no control over target size or bitrate this way..and sometimes the results are still unplayable.

Naturally I've uninstalled and re-installed several times, and recompiled the x264 codecs using this guide: [URL]... So, I downloaded the Tar.gz of the previous version i was using (Avidemux 2.5.3), the last known thing I know that worked for me...but I have no idea how to install it. I've tried running "Make" / "Cmake" In which I was told that an "in-tree-build" was detected. And trying to run the included "bootStrap.sh" results in : "Permission denied" or file/command not found. I don't think their old releases come in the default Ubuntu/Unix package "deb" right?

All these could be small errors on my end, but It urks me. In between reading up, and everything else that needs to be done in a day, I could have been done by now... Does anyone know where i could be going wrong?

View 6 Replies View Related

General :: Compiling Old Version Of GCC With Newer One

Jul 1, 2011

I am working on a university workstation and need to use an old version of gcc (either 4.0 or 4.1) and am currently using 4.4.2. I do not have admin rights nor can I get them so using aptitude is out of the question. I was told I should compile the old version with the current one. I am very new to this sort of thing and haven't a clue what to do or how to go about compiling my program once I have gotten the older version.

View 2 Replies View Related

Ubuntu Security :: Brute Force Program With Gui?

Nov 8, 2010

im looking for a good brute force program that has i gui. i used to use brutus on windows but now im only running ubuntu so i need to find one.

View 3 Replies View Related

Ubuntu Servers :: Force Java Program To Use More CPU

Mar 23, 2011

I have ubunto 10_4 X86-64 (I use putty to connect)
installed apps
screen
mysql server-client
my java program
open jdk* 64bit
apanche2 (the web server stuff)
and its aVPS machine
Xeon 2.0 64bit 4 GB ram

How can I make (or force) my java program to use more then 1 core? I would like it to be using just 5 of the 6 that I have. I use a .sh to run it this is the code for it.
Code:
#!/bin/bash
cd "${0%/*}"; java -Xshare:auto -Xmx2662M -jar craft.jar

View 5 Replies View Related

Software :: Force Program To Run Totally From RAM/swap

Feb 4, 2011

At the moment im using a live linux distribution and running a program to test the security of my website. Unfortunatly this program is running from, and seems to fill up rootfs, at which point the program crashes and dissapears.

Is there any way to force a program to run totally from RAM, which i would presume would automatically use a swap file because of the in built memory management in linux, of which is a 30GB partiton.

I know i could just install the distribution to the partition instead, however it has peaqued my interest in just how much control linux has over the programs running on it.

So the question is - Is it possible to run a program totally from RAM, forcing all inputs/outputs to be re-directed to/from RAM to keep the rootfs clear whilst the application does what it needs to?

View 9 Replies View Related

OpenSUSE :: Force KDE To Behave Way Wanted - Revert To Earlier Version With KDE3.5?

Sep 13, 2011

I've recently installed openSuse 11.4 64bit with KDE 4.6 and that's when the trouble started. If I put a data or mp3 cd in the drive it can be mounted. Simple audio cds refuse to mount, giving me only the option to play on one of the audio players. Since I wanted to move some music to the computer I've had to resort to windows to copy files then transfer them. How can I force KDE/Suse to behave the way I want or do I have to revert to an earlier version with KDE3.5? I suspected that System Settings/Removable Devices was where I needed to be but nothing I did worked. So then I tried playing with System Settings/Device Actions and again nothing seemed to work. I can't mount the CD manually,I get this (using su -c "mount etc"

mount: block device /dev/sr0 is write-protected, mounting read-only
mount: /dev/sr0: can't read superblock

View 9 Replies View Related

Ubuntu :: Patched Version Of Tomboy Not Compiling?

Mar 11, 2011

I grabbed a pacthed version of tomboy from this in order to use tomboy Task manager addin created by the same developers I guess. Well I managed with the

Code:
./autogen.sh
and
Code:
./configure
scripts until I came up with a valid make file. I later ran
Code:

[Code]...

View 5 Replies View Related

Ubuntu :: What The Shortcut Keys Are To Force Quit A Program

May 15, 2010

what the shortcut keys are to force quit a program that has frozen up in Ubuntu 10.04? I use to know it, but can't remember

View 4 Replies View Related

OpenSUSE :: Compiling First Program In 11.3?

Dec 6, 2010

I was reading the following forum guide:openSUSE software installation hints So I decide to install from the souce code the following webcam application:

GTK+ UVC Viewer In order to avoid problems ( it is my first installation from souce code) I downloaded and unpacked everything in an USB key and I worked from, as the guide said, from the Linux terminal. Once I was in the right directory and I compute the command:

[code]..

View 9 Replies View Related

Ubuntu / Apple :: Compiling Newer Version Of Synergy For PPC

May 23, 2011

I would like to know how or given directions how to compile a newer version of synergy for PPC. Or it would be nice if someone could compile it though I want to learn how to do these things. Synergy is available for download from: [URL].

View 2 Replies View Related

Fedora :: Compiling A Program Using WxWidgets?

May 28, 2010

Code:

g++ hworld.cpp `wx-config --libs` `wx-config --cxxflags` -o hworld
hworld.cpp:5:20: error: wx/wx.h: No such file or directory
(snip)

I looked at other topics with similar problems and I have both wxGTK and wxGTK-devel installed. I'm pretty sure the method of compiling is correct.

View 4 Replies View Related

Ubuntu :: Getting Error In Compiling RPC Program

Mar 22, 2010

I am trying to compile a simple remote procedure call program. I am getting an error:
/tmp/ccy0M5rT.o: In function 'main':
rpchighlayer.c.text+0x5c): undefined reference to 'rnusers'
collect2: ld returned 1 exit status

Code:
#include <stdio.h>
#include<stdlib.h>
main(argc, argv)
int argc;
char **argv; {
int num;if (argc != 2) {
fprintf(stderr, "usage: rnusers hostname ");
exit(1);
} if ((num = rnusers(argv[1])) < 0)
{fprintf(stderr, "error: rnusers ");
exit(-1);
} printf("%d users on %s
", num, argv[1]);
exit(0); }

View 2 Replies View Related

Red Hat :: C Program Not Compiling In Fedora 13 / Solution For This?

Feb 5, 2011

Recently i have installed fedora 13 my laptop but when i try to compile a c program it says that gcc command not found.

i think repo file must be created first but i dont know how to create a repo file in fedora 13
or is there any other solution.

View 2 Replies View Related

Programming :: Meaning Of Compiling A Program?

Aug 17, 2010

I have been using gcc to compile C programs.
I want to know what exactly is the meaning of Compiling a C program.
I checked
cc -S prog.c
will give an .S file and if you analyze the hexdump I saw some assembly instructions.
So what does the compiler do which is not required in case of interpreted languages?

View 13 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved