14c34 can't install rpm on freebsd - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old March 4th, 2010, 09:20
utkarsh utkarsh is offline
Junior Member
 
Join Date: Feb 2010
Location: Bangalore, India
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Red face can't install rpm on freebsd

Hi All,

I have a rpm file for a commercial software which I am trying to install on FreeBSD.
I read thorough this page to get information on the porting details.
http://www.freebsd.org/doc/handbook/...c-install.html
I give the rpm2cpio command but it doesn't work for this package.
I have attached the error screenshot for reference.
What could be the possible problem with the package?
Also, I am new to FreeBSD so please bear with me if I don't get some of the basics right

Thanks,
Utkarsh
Attached Images
File Type: jpg 2.JPG (19.4 KB, 245 views)
Reply With Quote
  #2  
Old March 7th, 2010, 15:37
lyuts lyuts is offline
Member
 
Join Date: Nov 2008
Location: Kyiv, Ukraine
Posts: 182
Thanks: 6
Thanked 10 Times in 10 Posts
Default

The question is, do the developers of that software confirm that their software is installable on FreeBSD?
The best way to install it (or try to install) is to compile (or try to compile) that software from source code.

What is this software? Do you really need this proprietary software? Aren't there any opensource alternatives?
__________________
I'm a rebel in the S.D.G.
Reply With Quote
  #3  
Old March 7th, 2010, 21:02
graudeejs's Avatar
graudeejs graudeejs is offline
Style(9) Addict
 
Join Date: Nov 2008
Location: Riga, Latvia
Posts: 4,523
Thanks: 422
Thanked 607 Times in 475 Posts
Default

well, rmp aren't supported by FreeBSD, if there is some info about how to install particular Linux Package on FreeBSD, that is separate case.
FreeBSD supports FreeBSD ports and FreeBSD packages (which are recompiled FreeBSD ports)
Reply With Quote
  #4  
Old March 8th, 2010, 11:13
utkarsh utkarsh is offline
Junior Member
 
Join Date: Feb 2010
Location: Bangalore, India
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

@lyuts: The software is a proprietary data management software and is the only software available. Its called data fabric manager. No it's not made for FreeBSD at all. Infact it is configured to run on RHEL and windows only. It is difficult to compile from source as there are a bunch of platform specific things defined there. All the code is in C and C++ only.

@killasmurf: I learnt that you can run any random Linux RPM based app on FreeBSD with Linux compatibility pack ..
http://www.freebsd.org/doc/handbook/...c-install.html
That's what I was trying to attack. To compile the software from source on FreeBSD is a pain because of platform specific things.Shouldn't this emulation be good enough?? After all, that's the purpose it is there !!
Reply With Quote
  #5  
Old March 8th, 2010, 12:55
achix's Avatar
achix achix is offline
Member
 
Join Date: Nov 2008
Location: Greece, Balkan Federation
Posts: 223
Thanks: 4
Thanked 14 Times in 13 Posts
Default

Quote:
Originally Posted by killasmurf86 View Post
well, rmp aren't supported by FreeBSD, if there is some info about how to install particular Linux Package on FreeBSD, that is separate case.
FreeBSD supports FreeBSD ports and FreeBSD packages (which are recompiled FreeBSD ports)
that's not true. In FreeBSD there is the /usr/ports/archivers/rpm port, which is supposed to be used for installation of linux packages.
Someone might try and install linux RPMs by specifying --prefix <path> on the # rpm -i command.
So utkarsh could smth like:
# rpm -i --prefix /compat/linux <package_name>.rpm
Needless to say, the linux emulation should be enabled in the kernel and of course the latest linux base port should be also installed.
In my case i have chosen the fedora 10 port: linux_base-f10-10_2
Reply With Quote
  #6  
Old March 8th, 2010, 13:07
graudeejs's Avatar
graudeejs graudeejs is offline
Style(9) Addict
 
Join Date: Nov 2008
Location: Riga, Latvia
Posts: 4,523
Thanks: 422
Thanked 607 Times in 475 Posts
Default

Quote:
Originally Posted by achix View Post
that's not true. In FreeBSD there is the /usr/ports/archivers/rpm port, which is supposed to be used for installation of linux packages.
Someone might try and install linux RPMs by specifying --prefix <path> on the # rpm -i command.
So utkarsh could smth like:
# rpm -i --prefix /compat/linux <package_name>.rpm
Needless to say, the linux emulation should be enabled in the kernel and of course the latest linux base port should be also installed.
In my case i have chosen the fedora 10 port: linux_base-f10-10_2
I don't use Linux API, but:
If some linux software (no matter packaging) would be supported by FreeBSD, then that software would be available in FreeBSD ports (same way as www/linux-f10-flashplugin10

So, if it ain't in ports, it's not supported
That's how I see it
Reply With Quote
  #7  
Old March 8th, 2010, 13:19
tangram's Avatar
tangram tangram is offline
Member
 
Join Date: Nov 2008
Location: Portugal
Posts: 524
Thanks: 13
Thanked 65 Times in 56 Posts
Default

Quote:
Originally Posted by killasmurf86 View Post
So, if it ain't in ports, it's not supported
That's how I see it
If it isn't in the ports tree try to port it yourself. If you succeed submit PR so someone else doesn't re-invent the wheel .
Reply With Quote
  #8  
Old March 8th, 2010, 13:41
achix's Avatar
achix achix is offline
Member
 
Join Date: Nov 2008
Location: Greece, Balkan Federation
Posts: 223
Thanks: 4
Thanked 14 Times in 13 Posts
Default

Quote:
Originally Posted by killasmurf86 View Post
I don't use Linux API, but:
If some linux software (no matter packaging) would be supported by FreeBSD, then that software would be available in FreeBSD ports (same way as www/linux-f10-flashplugin10

So, if it ain't in ports, it's not supported
That's how I see it
There is (well there was) a huge amount of software with no source available (non-free software). Running Oracle on FreeBSD has been such a (very popular) case. In those cases of commercial-mostly software, there might be an RPM but there cannot be no FreeBSD port.
Reply With Quote
  #9  
Old March 8th, 2010, 14:20
graudeejs's Avatar
graudeejs graudeejs is offline
Style(9) Addict
 
Join Date: Nov 2008
Location: Riga, Latvia
Posts: 4,523
Thanks: 422
Thanked 607 Times in 475 Posts
Default

Quote:
Originally Posted by achix View Post
There is (well there was) a huge amount of software with no source available (non-free software). Running Oracle on FreeBSD has been such a (very popular) case. In those cases of commercial-mostly software, there might be an RPM but there cannot be no FreeBSD port.
Which leads to the fact, that this software IS NOT SUPPORTED by FreeBSD.

It is FreeBSD that should be supported by these vendors =>
Costumer gets CD [for example] with proprietary software, containing either precompiled binaries in FreeBSD packages ready to be installed, or binary modules, that needs to be linked on FreeBSD.

If software is created for Linux, then it is for Linux, FreeBSD can't be held responsible for it {again my opinion}, even if FreeBSD provides Linux Compatibility layer

FreeBSD has wine in ports, but that doesn't mean, that FreeBSD is supporting MS Office {even if you can run it successfully}, hell no

And again: all this in my posts is strictly my own opinion
Reply With Quote
  #10  
Old March 8th, 2010, 14:34
achix's Avatar
achix achix is offline
Member
 
Join Date: Nov 2008
Location: Greece, Balkan Federation
Posts: 223
Thanks: 4
Thanked 14 Times in 13 Posts
Default

Quote:
Originally Posted by killasmurf86 View Post
Which leads to the fact, that this software IS NOT SUPPORTED by FreeBSD.
Are you implying that all 21359 ports currently in the ports tree *are* supported?
Anyway the initial poster asked how can he install a linux RPM in FreeBSD, and not what is supported and what is not.
Then he can test if it works or not. If it does not work, then he may start trying to make it work, if that proved impossible then he might try yelling and cursing at the sw vendor as you seem to suggest.
Reply With Quote
  #11  
Old March 9th, 2010, 04:50
achix's Avatar
achix achix is offline
Member
 
Join Date: Nov 2008
Location: Greece, Balkan Federation
Posts: 223
Thanks: 4
Thanked 14 Times in 13 Posts
Default

Quote:
Originally Posted by utkarsh View Post
Hi All,

I have a rpm file for a commercial software which I am trying to install on FreeBSD.
I read thorough this page to get information on the porting details.
http://www.freebsd.org/doc/handbook/...c-install.html
I give the rpm2cpio command but it doesn't work for this package.
I have attached the error screenshot for reference.
What could be the possible problem with the package?
Also, I am new to FreeBSD so please bear with me if I don't get some of the basics right

Thanks,
Utkarsh
Also, run your commands as root. i see from your attachment that you try to run cpio as non-root.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
folder with 25000 rpm packages mfaridi Userland Programming & Scripting 20 March 2nd, 2010 16:16
ATI driver installation from rpm packet serdemo System Hardware 2 September 19th, 2009 00:15
i want to install freebsd dago1979 System Hardware 2 May 21st, 2009 19:42
Can't install FreeBSD moecraft Installing & Upgrading 5 April 11th, 2009 09:35
RPM error when launching (libgssapi.so.10 not found) vyrtosu Installation and Maintenance of FreeBSD Ports or Packages 7 January 28th, 2009 15:33


All times are GMT +1. The time now is 01:26.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0