Red Hat :: Distinguish Between Gdbm 64b To Gdbm 32b In Rpm Spec File?

Oct 13, 2010

In my rpm I need gdbm 32b.when installing on RHEL x86_64 the Reqires section passes with no error since gdbm 64b was found.I need to distinguish between gdbm 64b to gdbm 32b in my spec file.In my spec I use the following :Requires: gdbm = 1.8.0

View 1 Replies


ADVERTISEMENT

General :: Distinguish Between Tab And Space In A File?

Mar 22, 2011

suppose in tab separated file with n columns and if in a column i put a value which is space separated .how can i able to find out a specific column..ie

NAME<TAB>ADDRESS<TAB>AGE
akhand jyoti<TAB>banglore<TAB>21
vijay<TAB>new delhi<TAB>22
ram kumar verma<TAB>ram nagar<TAB>43
..
..

now i want to print NAME column(or any column). how can i do that?

View 3 Replies View Related

Software :: How To Get Spec File From Existing Rpm?

Jan 10, 2009

I want to change some thing inside the post install script of an existing rpm.there is any way to create a nearest spec file of this rpm, in order to change a bit the post install script inside this spec and then create again the rpm with the fixed spec file? no body wrote any program that can create spec file(99% identical from the orig spec file?)?

View 4 Replies View Related

Fedora :: Building A Rpm From A Tarball Not Containing The Spec File?

Jun 29, 2011

I found that "autospec" can construct a spec file. But autospec-0.8-1 is not compatible with python 2.7.1 Moreover autospec seems to be considered as deprecated. Is there a more recent version or some other equivalent utility?

View 3 Replies View Related

General :: RPM + Writing Script In The Spec File?

Feb 23, 2011

is it possible to write ksh script in the spec file? the target is after I perform rpm -i my_rpm.rpm according to the spec file , ksh script will do some installation & configuration for example run other script and edit some files

View 5 Replies View Related

Software :: Rpmbuild A Spec File When A BuildRequires Is Not Installed

Dec 8, 2008

I'm trying to create a set of rpm files to install the requirements for a program.I found a great utility named cpanspec that will create a spec file for perl modules and have started building rpm files. I was able to create an rpm file for Business::CreditCard as a regular user. Now I'm trying to build another module that requires B::CC, and rpmbuild -ba fails saying that I am missing B::CC. I don't want to install it just to create another rpm file.Is there a way to make rpmbuild "think" that B::CC is installed in the build environment without installing it on the system?

View 1 Replies View Related

Programming :: Rpm Spec File To Overwrite Service Script?

May 5, 2010

I have written a spec file for packaging my application in an rpm, but it reports a conflict when I am trying to update my service script in /etc/init.d/. This is a file that I do need to update/replace so how might I force the rpm to do that?

Code:

Summary: A program that increases WAN performance.
Name: packetsqueezer
Version: 0.3.05
Release: 1

[code]...

View 3 Replies View Related

Software :: How To Force Required 32bit Library On Spec File?

Apr 8, 2010

is there a way to specify that I need a 32bit version of a certain library on the "Requires" line of a SPEC file?Since my software contain (a lot of) binaries from other sources (not always RPM compatible) I had to do "AutoReqProv: No" so I can do it manually.Is there a way to explicid say that I need the 32bit version of some library?

View 1 Replies View Related

General :: Rpm Spec File Conflicts Syntax Query - Not Keeping The Package Name

Mar 9, 2011

I have inherited our Linux packaging and as the number of versions increase, the number of conflicts is starting to get a bit unmanageable. I believe the easiest way would have been to keep the package names the same and just change the release in the spec file but unfortunately I am past that as a lot of these packages are rolled out to our estate. (I am told there were reasons for not keeping the package name the same and incrementing the version/release)

Is it possible to wildcard conflicts so I don't need to keep adding as new versions are created. For example, instead of using all the conflicts below, have something along the lines of AAtest45* <= 1.4 & BBtest45* <= 1.4 Meaning that all I would need to do was change this to 1.5 at the next release (the packages below version matched the release in the spec file)

[Code]....

View 2 Replies View Related

Fedora :: Find Kernel.spec File For Compile Vanilla Kernel?

Nov 29, 2010

i want to compile the vanilla kernel 2.6.37-rc3, but i want to obtain a .rpm file. I found this guide long time ago (i used it many times) but it use src.rpm package and the contained kernel.spec file have many lines for adding patches. Someone know where can i download a kernel.spec for vanilla kernel or a guide to obtain an rpm file

View 4 Replies View Related

Ubuntu Servers :: Compile Samba 4.0.0 Alpha 7 In Ubuntu Using The Spec File Provided In The Samba Packages?

Nov 26, 2010

this is my output when I try to compile samba 4.0.0 alpha 7 in Ubuntu using the spec file provided in the samba packages:

bin/mergedobj/samba-util.o: In function `file_lines_parse':
(.text+0x595c): undefined reference to `_talloc_steal'
bin/mergedobj/samba-util.o: In function `data_blob_talloc_named':[code]....

View 1 Replies View Related

General :: Distinguish Between SATA And ESATA?

Jul 20, 2011

In Linux is there a way to distinguish between two connected hard drives and tell which one is eSATA through shell or anyother way?

View 2 Replies View Related

Ubuntu :: Distinguish Between Tabs On Taskbar?

Oct 2, 2010

Currently the way tabs on the taskbar look (the bar at the bottom) make it a bit hard to distinguish between them. sometimes they all look like one big clump of text. its quite messy. when you look at something like the windows xp taskbar [URL] its much easier to see between them. I guess its also because the buttons look 3D in that they stick out a bit. Plus the choice of colours used for when you are on a tab helps.

How do I change/find a theme for this?

View 1 Replies View Related

General :: Distinguish Different Processes Of The Same Program?

May 22, 2010

First I create a named pipe at /tmp/.pipe by

Code:
mkfifo /tmp/.pipe
which is then used in a shell script called A.sh like this

[code]....

View 1 Replies View Related

CentOS 5 :: Distinguish Between What Caused A Shutdown?

May 8, 2010

I am running a server at home, and on rare occasion my server will shut down. Is there a logfile I can check to determine whether the server was shutdown due to a script on the computer, a power loss, or someone hitting the power button? I am not by any means a linux guru, but I know enough to get around.

View 9 Replies View Related

Software :: Application Doesn't Distinguish Between Different Input Ports

Feb 26, 2010

I working on a project, where a central unit (we call it System Controller ) should talk to several peripheral units on different input ports. The system controller have 4 RS485 ports, 1 RS232, 1 USB A, 1 USB B and a switch with 2 TCP/IP ports. The problem is that when the peripheral unit that is supposed to be connected to one of the two TCP/IP inputs isn't connected (which the system should be able to handle), the software thinks that data from the unit connected to the RS232 port is from the unit that should be connected to the TCP/IP.

The input peripherals are defined as:
#define CR_DEVICE "/dev/ttyS1" // ttyS1
#define SL_PORT "/dev/ttyUSB0"
#define BO_PORT ""

It is the last one which are supposed to receive from the TCP/IP port, and of course the first one which should receive data from the RS232 port.

View 6 Replies View Related

Slackware :: Make A Browser Distinguish Between Files And Folders?

Oct 22, 2010

I'm playing with apache (and to be quite honest have no idea what I'm doing at this stage!) and currently have a large number of files and folders on the sad little site. One thing that is really bothering me is that files and folders both appear the same. I'm not looking for anything fancy. Something like this is more than adequate. Right now there is simply a dot next to each item.

View 2 Replies View Related

General :: Ubuntu - Automatically Distinguish Difference Between Multiple HDDs ?

Feb 14, 2010

I'm running Ubuntu Server 9.10. I have two external USB HDDs. I use them each for different backup reasons. So certain data gets stored on one HDD, and different information gets stored on the other HDD.

I want to make a script that can look at the external HDD can determine which HDD it is, so that it can copy the proper information to it. Is there a way for Linux to determine this? Like if I see one HDD as /dev/sdc1, then unplug it and plug in the other HDD, should Linux see it as /dev/sdd1 or will it be /dev/sdc1?

I don't quite understand how it determines the /dev/sdxx values that it assigns to drives.

View 3 Replies View Related

Ubuntu Servers :: Unable To Distinguish Which Service To Use By The Protocol Information?

Mar 30, 2011

Just wondering, what happens when you have multiple server softwares listening to the same port? will it be able to distinguish which service to use by the protocol information, or is it setting it up for failure?

IE: http and ssh both listening to port 80.

View 2 Replies View Related

Red Hat / Fedora :: RPM SPEC Files ?

Jul 21, 2010

I'm trying to install radare and under the binary section for fedora it has a .spec file. It this a sort of script for the rpm command? I found a lot of info on how to make spec files but nothing on what they are or how to use them. So I have a radare.spec file, how can I use it to install the program?

View 1 Replies View Related

General :: RPM + Rpm Installation (not Create Directory According To SPEC)?

Apr 17, 2011

I build simple spec file and build rpmI transfer the new rpm to other Linux machine in order to install the new rpmaccording to the spec file the new rpm -> test.sh-6.2-2.i386.rpm should create the /tmp/MY_RPM_TESTS directory , but this rpm not create the MY_RPM_TESTS and sub directoriesplease advice why , what I need to fix in the spec file? RPM installation:

[root@linux1 rpm -Uvh /root/rpmbuild/RPMS/i386/test.sh-6.2-2.i386.rpm
Preparing... ########################################### [100%]
This is preinstall script

[code]....

View 1 Replies View Related

Ubuntu :: Pbnj 2.0 Error In Option Spec

Jul 28, 2010

I've installed pbnj 2.0 with the command "sudo apt-get install pbnj" on ubuntu 10.04 I can successfully scan hosts with the command scanpbnj

[Code]...

View 1 Replies View Related

Ubuntu :: Monitor Sync Out Of Spec On Loading?

Feb 21, 2011

when i try to load ubunto after a few moments i get a message on the screen saying "sync out of spec". I have looked for a fix for this problem and it is suggested that i run a X86config file. Where do i get this file and how do i run it if i cant see anything on the screen.

View 1 Replies View Related

Software :: Package Building Spec Files?

Jan 12, 2011

I am interested in package building rpms, just stumped on how packagers such as remi and atomic rocket get their spec files. Are these written from other packagers or do you need to write each spec file yourself to be considered as a "packager".

View 1 Replies View Related

Red Hat :: Yum Install Kernel Doesn't Show In BUILD Or SPEC?

Mar 12, 2011

This is from Centos 5.5 so I apologize to anyone who may be offended.I installed my system and it came with kernel 2.6.18-194.el5. I installed the src.rpm of this kernel with rpm, patched, and built it. Then I did a yum -y install kernel.i686 which installed kernel-2.6.18-194.32.1.el5.centos.plus.src.rpm. Since this was a yum install, why doesn't this new kernel version show in the BUILD and SPEC directory?

View 1 Replies View Related

Ubuntu :: Alien Converting RPM With %defattr In Spec And Maintaining Permissions?

Nov 10, 2010

Just joined the group to post this question as I can't find a good answer for it.I have an RPM that has the following in the spec:

%defattr(-,someuser,someuser)
/opt/myapplication

When I go to install the RPM, the file permissions for everything in /opt/myapplication are set to root:root. This RPM installs properly in RPM based distros and maintains the correct permissions.

When I run alien -i --scripts --veryverbose myapplication.rpm as root, I can see it chmod'ing everything to 755. Has anyone else had this problem? I tried --fixperms as well and that did nothing.

View 1 Replies View Related

Ubuntu Installation :: Kernel For Support For The Aes-xts-plain64 Cipher Spec?

Jun 13, 2011

I have had for a test installed Feodora but was so silly checking the box for encryption the HD. Now I tested all for removing Feodora (no data anymore on the disc) but even the test unlocking this from my ubuntu system failed with the following error:Error unlocking device: cryptsetup exited with exit code 251: Command failed: Failed to setup dm-crypt key mapping.Check kernel for support for the aes-xts-plain64 cipher spec and verify that /dev/sdb2 contains at least 508 sectorsI installed some encryption packages in the meantime - but non was helpful.Would some kind person - who understands this better than I - please provide the detailed steps needed to mount and unlock the encrypted Feodora installed hard disc. Maybe one of you know which packege I have to install.

View 2 Replies View Related

Programming :: Spec Files To Create RPM Packages For The Target System?

Jun 10, 2010

I'm trying to debug a program that I crosscompiled on a arm9. The crosscompiler uses . spec files to create RPM packages for the target system. The program compiles and runs correctly except when i run the program with gdb and then type list I get this message: Code: 1 main.c: No such file or directory. in main.c I made sure I compiled the program with CFLAGS=-g by putting this in the .spec file. when the application crosscompiles (I believe) it shows it compiled succesfully with the -g flags: Code: checking whether gcc accepts -g... (cached) yes

[Code]...

View 2 Replies View Related

Security :: PDFs Are AES Cipher-able As Of The Acrobat 7 Spec- Any GNU Tools To Handle It?

Jun 6, 2011

I've been using pdfTk to encrypt PDFs for distribution to unsophisticated users (that is, users without PGP keys or the will to get one). RC4 encryption, although reasonably adequate for my use, is relatively insecure. I would be more comfortable with AES. Have any gnu tools emerged that implement AES within a PDF container?

View 2 Replies View Related

Ubuntu :: Computer Spec To Play 1080p Flash Files Via Browser

Nov 11, 2010

What is the minimum computer spec for playing 1080p flash files via a web browser smoothly at least 25fps? We all know that flash is not very good on Linux. On my old computer, I can play 720p flash files in the browser at arount 25fps on Windows, but on Ubuntu on the same computer via dual OS installation, it struggles to play 420p flash files in the browser. So basically, I want to build a new computer and have Ubuntu as the only OS, but this computer needs to be able to play 1080p flash files via the browser (not by downloading and converting them), but straight from the browser smoothly. Is this possible and what would the minimum computer spec need to be to achieve this?

View 8 Replies View Related







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