LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-09-2013, 11:24 AM   #1
jyunker
Member
 
Registered: Aug 2009
Posts: 167

Rep: Reputation: 0
Where can I fnd this and what is it?


I am tryng to install the following files and I get to a point where I am not sure what they are speaking about:

The command sequence is:

[
Code:
james@james Desktop]$ sudo rpm -ivh OpenFOAM-thirdparty-1.7.x-1.el5.x86_64.rpm
error: Failed dependencies:
	OpenFOAM = 1.7.x is needed by OpenFOAM-thirdparty-1.7.x-1.el5.x86_64
[james@james Desktop]$ sudo rpm -ivh OpenFOAM-1.7.1-1.el5.x86_64.rpm
error: Failed dependencies:
	/usr/xpg4/bin/sh is needed by OpenFOAM-1.7.1-1.el5.x86_64
	OpenFOAM-thirdparty = 1.7.1 is needed by OpenFOAM-1.7.1-1.el5.x86_64
[james@james Desktop]$
Now I first try to install OpenFOAM-thirdparty-1.7.x-1.el5.x86_64.rpm and it says that I need
OpenFOAM = 1.7.x which I downloaded and tried to install.

Then it says that I need to files to resolve dependencies they are:

OpenFOAM-thirdparty = 1.7.1

and the other

/usr/xpg4/bin/sh

Now I have the first one

OpenFOAM-thirdparty = 1.7.1

I am at a loss to find the other one:

/usr/xpg4/bin/sh

what are they talking about and where can I download it?

I am using Centos 6.5 64 (bit) on a Xeon quad core rpocess.

Any help appreciated. Thanks in advance.

Respectfully,

jyunker
 
Old 12-09-2013, 11:35 AM   #2
sag47
Senior Member
 
Registered: Sep 2009
Location: Orange County, CA
Distribution: Kubuntu x64, Raspbian, CentOS
Posts: 1,831
Blog Entries: 36

Rep: Reputation: 451Reputation: 451Reputation: 451Reputation: 451Reputation: 451
Where did you find those files?

Looking at the downloads page for OpenFOAM I don't see a reference to the packages you're attempting to install. Additionally, a quick google search for /usr/xpg4/bin/sh yields it to be a Solaris POSIX-compliant variant of ksh88 (i.e. ksh). It's odd that an enterprise package for RHEL would be looking for a Solaris binary. I just listed the contents of the ksh package on RHEL and there's no mention of /usr/xpg4/bin/sh. Searching through all standard RHEL repositories doesn't yield a result either.

Last edited by sag47; 12-09-2013 at 11:37 AM.
 
Old 12-09-2013, 01:18 PM   #3
jyunker
Member
 
Registered: Aug 2009
Posts: 167

Original Poster
Rep: Reputation: 0
Solaris?

Yes, I noticed the Solaris connection also. I was puzzled by that.

However, after I consulted with some of our linux experts, I received assurances
that if they say during rpm install that a *.rpm file needs it, then it must exis and in a Red Hat or Centos
version.

I just do not know what to believe now. I am assumming that it exists and I just have to find it.

If you think otherwise let me know.

Respectfully,

jyunker
 
Old 12-09-2013, 02:54 PM   #4
sag47
Senior Member
 
Registered: Sep 2009
Location: Orange County, CA
Distribution: Kubuntu x64, Raspbian, CentOS
Posts: 1,831
Blog Entries: 36

Rep: Reputation: 451Reputation: 451Reputation: 451Reputation: 451Reputation: 451
I've searched my RHEL repositories and it's nowhere to be found. If you think they know better then perhaps consult with them on finding it.

Code:
rpm -q --filesbypkg ksh
yum provides /usr/xpg4/bin/sh
yum search all xpg4
None of those yields a result.

*EDIT*

I'd also like to mention I need to know the source where you obtained those packages as well as the process or tutorial you're following. Without the information an adequate answer cannot be given. Further discussion would only be grasping at straws unless you can be more forthcoming of those details.

*EDIT EDIT*

RHEL 5.x packages (i.e. el5) don't necessarily install cleanly in RHEL 6.x. You're likely fighting an uphill battle anyhow. What is your end goal? What is the overall deed you're trying to accomplish rather than trying to solve specific steps?

Last edited by sag47; 12-09-2013 at 05:01 PM.
 
Old 12-09-2013, 04:21 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,817

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
this is a old RHEL5 install ? right ( el5) with the current as RHEL5.10
and this is the OLD 1.7.1 version of openfoam and not the current 2.2.2 version

the old 1.7.1 ( from 2010 - so 3 years out of date)
http://www.openfoam.org/archive/1.7.1/download/

i would use the source build
http://www.openfoam.org/archive/1.7....oad/source.php
then make a rpm from that ( if you NEED a rpm )

as mentioned above you really should be using yum and not rpm
to install software
but as with everything there are exceptions


also as has been asked
Can you provide the location from where you got this rhel5 rpm from

sourceforge has this rpm
BUT it is 3 years DEAD
http://sourceforge.net/projects/vnos...M/rpms/CentOS/

rpmfind has it
http://rpmfind.net/linux/RPM/sourcef...l5.x86_64.html
but again it is 3 years dead
and rpm pbone also has the 3 year old version
http://rpm.pbone.net/index.php3/stat...86_64.rpm.html



Quote:
However, after I consulted with some of our linux experts, I received assurances
that if they say during rpm install that a *.rpm file needs it, then it must exis and in a Red Hat or Centos
version.
not really

if this is an OFFICIAL RHN rpm from the RHN repo them yum WILL install the needed files from RHN

but
if it is some random rpm built by some random person
and is from some random site

who knows ?????

Last edited by John VV; 12-09-2013 at 04:35 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to fnd out uclibc version knobby67 Programming 2 06-28-2011 06:42 AM
nis client login - user home dir not fnd synfield Linux - Networking 0 03-27-2003 04:51 AM


All times are GMT -5. The time now is 11:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration