Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 2008 22:34:01 +0300
From:      Boris Samorodov <bsam@ipt.ru>
To:        Drew Tomlinson <drew@mykitchentable.net>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: Trouble With Linux Compatibility
Message-ID:  <71745446@bs1.sp34.ru>
In-Reply-To: <4919C9BA.3070903@mykitchentable.net> (Drew Tomlinson's message of "Tue\, 11 Nov 2008 10\:06\:50 -0800")
References:  <49174AF8.50201@mykitchentable.net> <57511736@bb.ipt.ru> <4919C9BA.3070903@mykitchentable.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Drew Tomlinson <drew@mykitchentable.net> writes:
> Boris Samorodov wrote:
>> Drew Tomlinson <drew@mykitchentable.net> writes:

>>> I am trying to install a linux rpm of Legato Networker Backup Client.
>>
>> It is not supposed to work (installing via rpm). You may try to do like
>> this:
>> -----
>> # cd $LINUX_BASE
>> # rpm2cpio -q < $directory_with_rpm_package/$rpm_package | cpio -id
>> -----
>> Then find any new binary executable files and brandelf(1) them (only
>> executables, not libraries).
>
> Thank you!  I think I have it working.

Good to know.

>  Will have to test to be sure
> it's working OK.  I'm just curious...in two guides, written in 2006, I
> found on the net use rpm to install.  Did this change recently?

Seems that it has changed two years ago when I began to maintain
linux ports. ;-) The problem was that rpm used it's own database
of installed files/packages. The native FreeBSD database was used
as well. It was a nightmare to keep then in sync. One of them
should die. Guess which one? ;-)

BTW, what about creating patches/followups/etc to those guides you
have seen?

>> Well, a better way may be to create a port. You'll get at least a clean
>> deinstall possibility then. And use send-pr(1). ;-)
>
> Yes, I tried creating a port once before for a new version of bacula
> client.  However I could never get it to work.  That was a few years
> ago.  Maybe I need to try again. ;)

Good luck.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?71745446>