Software :: Create A Softlink When Building An Rpm In RHEL 5.5?

Apr 18, 2011

I am trying to build an tk.8.4.19 with the rpmbuild command. In the spec file there is a make command that uses the supplied Makefile that builds tk and untars it to the build directory /usr/src/redhat/BUILD/tk_8.4.19/unix .

The issue is that /usr/bin/wish is compiled with the make command and renamed to wish8.4, , and when the rpm does build it does not contain the link /usr/bin/wish -> /usr/bin/wish8.4 and there are other custom rpms on our systems (built by other people) that call /usr/bin/wish.

I have tried adding the ldconfig ln -sf /usr/bin/wish8.4 /usr/bin/wish in the %install and %build directives, it is in the tar file. I have tested it by creating the tar with the link and creating a null file call wish but it never gets built into the rpm. Whenever I call out /usr/bin/wish in the %file directive the rpm wont build.

I believe it will install and create the link if I tell it to ignore or skip the prereq check. That requires options to the yum command but it creates a problem because I need to to work with yum -y install <tk> or yum -y upgrade <tk> through a unattended script.

Bottom line is that I need the file to exist in the rpm or after the install and yum needs to be aware that /usr/bin/wish link is there so it doesn't require an override option during install.

View 1 Replies


ADVERTISEMENT

General :: Create A Softlink To Move Some Library Folder?

Dec 2, 2010

I'm running out of disk space in root, so I decide to move /usr/lib64 directory to other partition by creating moving the whole directory to new location and create a softlink in the old location. What I'm planning to do is:

1. Copy the whole directory to new location

2. Make sure if there's no problem in the copy process

3. Create a softlink in the old location pointing to the new location.

However, when I'm comparing the old location and the new location using du command, there's some discrepancies between those two where the new location contain bigger size than the old one. How is this possible?

Is this the proper way to save disk space by creating a softlink?

View 5 Replies View Related

General :: How Create Softlink In Client (host) Computer

Sep 19, 2010

i want to know, how create softlink in client (host) computer.

View 2 Replies View Related

Red Hat :: RHEL 6 64 Bit Building 32 Bit Programs

Nov 13, 2010

I currently have an academic license of red hat enterprise linux Desktop/Workstation and red hat enterprise linux server. For those who don't know this will get me updates but no official support (the desktop/workstation costs 30 dollars and the server costs 80 dollars). Anywho i am trying to get wine to work but after strugglign with many dependency issues i tried to build it manually but it keeps telling me to install the 32 bit development libraries. how to do this (i am currently using fedora 14 having identical issues) and i cant get either crossover games to work with 3d games nor can i get wine to play any 3D related games (does regular windows programs just fine)

View 9 Replies View Related

General :: RHEL 5.3 Server - Building Customized Install DVD

Mar 13, 2010

I have 50 identical workstations that are being dropped shipped from the vendor directly to the remote locations. I need to install a identical configuration, including installed packages, scripts and customize configuration onto each of this workstations. I cannot set up a kickstart server to install from remotely because of my organizations security policies. Not to mention that it would be painfully slow. I thought about DD-ing my "Master" build and sending it to the remote sites, but some of the admins are not very Linux savvy. I would really like to build a bootable DVD that would install the cloned Master build from my server to theirs. I was looking for something that would look like Anaconda to the person installing the image. If I could get them through this base install I think it would be easy to document how to change the workstation unique parameters or value. How to accomplished this? BTW, this will be a RHEL 5.3 server install.

View 2 Replies View Related

General :: RHEL - Create Custom RPM ?

Dec 25, 2010

Create a rpm that installs a script like hello.sh into /root/bin with the permissions 755? I've tried a few ways with rpmbuild but no luck.

View 3 Replies View Related

General :: Create RAID In Rhel-5

Apr 22, 2010

how to create RAID-1 in rhel-5

View 2 Replies View Related

General :: Create A DHCP Server In RHEL 5.1?

Oct 14, 2010

commands to create a DHCP server in RHEL 5.1

View 3 Replies View Related

Server :: How To Create Kernel Dump On RHEL 4.7

Jan 11, 2011

My application team is asking me to generate the kernel-dump.

Here are details about my server.
OS: RHEL 4.7/32 Bit
Kernel Version: 2.6.9-89.0.23.ELsmp
Processor: Intel(R) Xeon(R) CPU E5520@ 2.27GHz
Hardware: HP Proliant 380G6 series server.

I am using Electric Cloud applications. Sometimes it creates some kernel panic and immediately got rebooted. Kernel-debuginfo rpm is not installed. In some thread, I read the kernel-debuginfo rpm's version should match with the kernel version. In my case I couldn't even find the exact version of kernel-debuginfo version.

View 4 Replies View Related

Red Hat :: Create Multiple User At A Time In Rhel?

Feb 21, 2011

How can i create multiple users at a time in rhel?

View 2 Replies View Related

General :: Create A New Terminal Window From The Command Line In RHEL 5.3

May 18, 2011

I use putty to get to my RHEL 5.3 workstation from my Windows laptop.

Typically, if I want a new terminal on my windows 7 workstation from another terminal or mc, I have to type start and I will see a new terminal window running the default shell.

QUESTION : What is the equivalent command in RHEL 5.3 (and or solaris) to create a new terminal window from the command line ? I will be entering this command from the shell prompt or mc's command line.

In Windows, if I want to start another terminal and in that terminal, I want to run a program, I can do "start program.exe arg1 arg2". this will create a new terminal window and runs program.exe in that terminal window. I don't have to create a terminal and then in a separate step run the program. How can I do this in Linux ?

View 3 Replies View Related

Server :: Edit The Default RHEL CD To Have It Automatically Install RHEL Based Off Of A Kickstart File

Mar 2, 2011

is possible to edited the default RHEL CD to have it automatically install RHEL based off of a kickstart file that I will store locally on the CD. My plan would be to put a cd in a server and have the OS automatically being installed.

View 3 Replies View Related

Server :: Configuration Difference Between RHEL 3 To RHEL 5 For Webserver Installations?

Feb 1, 2011

We are planning to migrate our LINUX server from RHEL 3to RHEL 5. What are the configuration difference between RHEL 3 to RHEL 5 for webserver installations?

View 1 Replies View Related

Software :: Unable To Boot To RHEL 4 32bit After Installing RHEL 64bit - Error 13: Invalid Or Unsupported Executable Format

Apr 27, 2009

I have 4 partitions in my system, out of which two(sda1, sda2) have windows on them. I have installed RHEL 4 32 - bit on sda3 and after that , installed installed RHEL 64-bit on to a partition sda 5. Now i am unable to boot into RHEL 32-bit. The error i am getting is Error 13: Invalid or unsupported executable format.

View 1 Replies View Related

General :: Cannot Ping From Host (RHEL 6) To RHEL 5 In (virtual)?

May 1, 2011

can not ping from host (RHEL 6) to RHEL 5 in (virtual)? I have stopped iptables on both machines. But still not able to ping from host machine to virtual.

View 1 Replies View Related

Software :: Uninstall RHEL 3 And Install RHEL 9 Without Affecting XP?

Jul 13, 2009

I have RHEL 3 and Win XP Installed in my P.C?I want to uninstall RHEL 3 and install RHEL 9 without affecting XP.how can i do this and also where can i download free RHEL 9 version or any other latest linux distribution for free?

View 1 Replies View Related

CentOS 5 :: Pirut/yum: RHEL 5.1 - Maintain An Unregistered RHEL Box?

Feb 16, 2010

A client has sent me an RHEL 5.1 box for me to do some work on, but it's not registered with Red Hat. This is causing me problems, because it's a minimal installation, and I need some more dev software.My immediate reaction was to install various bits (emacs, and so on) from my Centos 5(.0) DVD.The base RHEL system only had one (disabled) repo entry,so I added a yum DVD repo entry in yum.conf.d.

This looked good to start with, but it doesn't work. Something in RHEL's pirut/yum/rpm/whatever is getting confused, and can't work out what is/isn't installed.

Question - how do you maintain an unregistered RHEL box? Has RH done something to make life difficult? Is my problem simply that I'm using a Centos 5.0 DVD, instead of Centos 5.1? Am I stuck with downloading lots of rpms from the net and doing everything manually? I really don't want to do that.

View 2 Replies View Related

General :: Downloading RHEL 5.4 AS From RHEL Website?

Dec 23, 2009

I am trying to download RHEL 5.4 AS version for testing..But under [URL] There is no specific link for AS version or ES version..How can I detect which iso is for AS and which one for ES..? There are separate links for AS and ES version for RHEL 4.x version but why is it not available for RHEL 5.x versions?

View 3 Replies View Related

Server :: Major Differences Between Rhel 5.2 And Rhel 5.4?

Dec 14, 2010

what are the major differences between rhel 5.2 and rhel 5.4

View 2 Replies View Related

Red Hat :: Duplicating A RHEL 5.1 32bit Server On RHEL 5.4 64 Bit

Dec 9, 2009

I have a database server running RHEL 5.1 32 bit that suffered some catastrophic failures about 6 months ago. We were able to patch it back together and keep it running, but now the manufacturing site it supports is going to shut down for two weeks and I would like to replace it permenantly. Does anyone have any guidance for that sort of thing? I'd like to have the new server up and running before hand, basically changing the hostname/ip and restoring the databases only on conversion day. I've done this in the past with HP UX - Red Hat conversions, but this is my first red hat to red hat move. Any advice or shortcuts?I forgot to add the other wrinkle. The new server will be running 64bit linux.

View 1 Replies View Related

Red Hat :: Install Dmidecode And Procinfo In RHEL 4 / RHEL 3?

Feb 6, 2009

I have RHEL 4, RHEL 3, i need install dmidecode RPM packet and procinfo packet... exist this packets for this linux versions?

View 11 Replies View Related

Red Hat / Fedora :: Upgarde RHEL 5.2 To RHEL 5.3 (both 64 Bit)?

May 14, 2010

My current Linux Version:

#more /etc/redhat-release
Red Hat Enterprise Linux Server release 5.2 (Tikanga)

OS Bit is :

#uname -a
Linux <hostname> 2.6.18-128.1.16.el5 #1 SMP Tue Jun 30 06:45:51 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

Now i want to upgrade to RHEL 5.3 (ie)Red Hat Enterprise Linux Server release 5.3 (Tikanga).

View 1 Replies View Related

Red Hat / Fedora :: Upgrading RHEL 4.8 To RHEL 5.5?

Nov 3, 2010

Can we upgrade RHEL 4.8 to RHEL 5.5?

View 3 Replies View Related

General :: Difference Between Rhel 5 And Rhel 6?

Feb 3, 2011

difference between rhel 5 and rhel 6 - basic difference.

View 3 Replies View Related

General :: Upgrade From RHEL 3 To RHEL 5.x?

Nov 18, 2009

i have old RHEL 3 system which has kernel 2.4 installed into it. I wasnt to upgrade it to RHEL 5.x so i downloaded a kernel 2.6 package but was not able to compile it.

View 1 Replies View Related

Red Hat :: How To Dual Boot RHEL 5.2 And RHEL 5.4

Sep 25, 2009

Environment:RHEL 5.2 and 5.4 AP x86_64, 2 drives (sda, sdb), installing without optional features like clustering and virtualization. I have tried this for a couple of days now and just can't get it to work. My goal is to take the RHEL 5.2 DVD and RHEL 5.4 DVD and install them on separate drives of the same machine. I want the grub menu to give me a choice. I prefer to understand the steps and choices offered me by the install dialog to do this rather than fiddle with grub.conf. If that is not possible, I will write up the bug.

So far, I just get the the error 13 when trying to start the grub added second OS. I have read elsewhere that "Anaconda frequently recognizes the other operating system and sets up grub so you can boot from either operating system". That would be nice. The install dialog lets me choose a drive to install to. I have figured out that I need to check "review and modify partitioning layout" to enter the advanced grub choices. Do I have it install a boot loader for the 1st OS? Trying to add the 1st OS during the second OS install creates a grub conf with no kernel line in the added boot stanza.

View 3 Replies View Related

Fedora :: Building Vim With Gui On 13?

Oct 1, 2010

I am having trouble building vim with gui from source on Fedora 13. I am using

Code:

./configure --enable-gui=auto --with-features=huge --prefix=$HOME/myvim

but I get

Quote:

checking for X... (cached) no
checking if X11 header files can be found... no
checking --enable-gui argument... no GUI support.

I have installed GTK and X11 dev packages. What's missing?

[URL]

I'm building from source because the packaged Vim doesn't have all the features I want.

View 3 Replies View Related

Debian :: Building An All-around Homeserver?

Nov 26, 2010

I have been meaning to do this for awhile. I have a relatively decent machine currently running FreeNAS, a BSD based NAS system. It works great as a NAS box, but now I want it to do more. I want it to act as a file server/NAS, also as a router for my home network, so obviously I will add a second ethernet port as well as wireless "N" capability. As a router, I want to have fine control over my home computers. And, I have a multiple camera security setup, using Motion, that I want to run on this machine 24/7. I know Motion doesn't take a huge amount of horsepower, since I am currently running it on an inexpensive laptop running Squeeze.

What I would like advice on is how some other people on this forum would accomplish this. FreeNAS works great for what it was designed for, as well as IPCop, but neither will do all that I want, so I plan to run Debian on it, most likely Squeeze, as it will soon be Stable.

View 2 Replies View Related

Fedora :: Set A Different C And C++ Compiler When Building RPM's?

Jan 14, 2010

I am in the process of building some packages with the Intel compiler (icc) and was wondering how to make it the default compiler when using rpmbuild.

View 3 Replies View Related

Ubuntu :: Building New 10.04 Box (2-3 Grand)?

Jun 27, 2010

I am returning to Ubuntu as my primary OS. For this, I am building a new system (I have a beast of a Windows desktop, but retiring that as an HTPC and building a new desktop). Will be moving some items from the Windows desktop like the speakers, keyboard/mouse, monitors, etc, that will not serve with the HTPC configuration. Basically, this is what I am building (amost identical to my current Windows machine, except it's a Core2Quad and has 12GB of RAM):

i7-860
P55 chipset motherboard
8GB of RAM
system/boot volume volume 2x64GB 2nd gen 64GB SSDs in RAID0 (have hardware garbage collection so will run find in RAID)

[code]....

Video Card: with 10.04, should I go with ATI or nVidia for a card? Am running triple monitors, and will be gaming using Cross-Games and Cedega. Which drivers between the two manufacturers is performing the best and would be best for gaming/multiple monitors.

RAID Card: The 2320 says it has native support in the 2.6.25 kernel. I get good speeds (500-600 MB/sec on both the SSDs and the RAID5) and no troubles with it on the Win Desktop. Should I have any issues with it under 10.04 or would there be a suggestion in the <$350 price range to replace it with? Or, would running the ICH10R off the motherboard work with the alternate CD?

SSD Setup: What partitions would be best to keep off the SSD volume and on the RAID5? I know /tmp, /home, /var, and /swap should be kept off the SSDs to reduce the excessive writes. Any other suggestions? With a 128GB system/boot volume, what would you do for partition sizes there?

Sound Card: Is the Omega supported under 10.04? Or another suggestion for good 7.1 surround sound?

View 5 Replies View Related







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