LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Where can I fnd this and what is it? (https://www.linuxquestions.org/questions/linux-newbie-8/where-can-i-fnd-this-and-what-is-it-4175487380/)

jyunker 12-09-2013 10:24 AM

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

sag47 12-09-2013 10:35 AM

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.

jyunker 12-09-2013 12:18 PM

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

sag47 12-09-2013 01:54 PM

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?

John VV 12-09-2013 03:21 PM

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 ?????


All times are GMT -5. The time now is 06:12 AM.