Date: Wed, 28 Mar 2007 09:05:45 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: Steve Franks <stevefranks@ieee.org> Cc: freebsd-emulation@freebsd.org Subject: Re: linux-compat: problems installing rpm, bunch of .so's missing Message-ID: <20070328090545.41b114xc4go8c408@webmail.leidinger.net> In-Reply-To: <34942765@bsam.ru> References: <539c60b90703271556j707383c6pe509ee27c20a6dd2@mail.gmail.com> <34942765@bsam.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Boris Samorodov <bsam@ipt.ru> (from Wed, 28 Mar 2007 03:09:54 +0400)= : > On Tue, 27 Mar 2007 15:56:04 -0700 Steve Franks wrote: > >> So, first time I've ever messed with linux compatibility. This is >> about where I'm at: > >> [steve@aire ~]$ sudo rpm -i picasa-2.2.2820-5.i386.rpm Using rpm is the wrong way to go. Please have a look at the linux-* =20 ports for examples how to handle it. >> [steve@aire ~]$ pkg_info >> ... >> linux-expat-1.95.8 Linux/i386 binary port of Expat XML-parsing library >> linux-fontconfig-2.2.3_5 Linux/i386 binary of Fontconfig >> linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries >> linux_base-fc-4_9 Base set of packages needed in Linux mode (for =20 >> i386/amd64) >> ... >> [steve@aire ~]$ > > ATM the best place to read is /usr/ports/UPDATING: > ----- > 20060616: > AFFECTS: users of emulation/linux_base-* > ----- > > You may skip suggestions how to upgrade from earlier versions and pay > attention how to override difficulties. I don't think that this entry will help. I think the problem is the =20 direct use of rpm. >> Do we have a handbook page about getting linuz compatibility to =20 >> actually work? > > Well, you may initiate the process. Write down some paragraphs, show > them at freebsd-emulation@. Somebody may help, etc... The compatibility works fine for programs in the ports collection. The =20 problem is that we don't have a description how a linux port should =20 look like and that we don't tell anywhere to not use rpm. Is someone willing to write some sentences for the handbook which tell =20 that rpm has not to be used with the linux_base ports as we don't =20 populate the rpm database? Some sentences for the porters handbook regarding linux- ports would =20 be nice too . Regarding picasa: I think it is very easy to copy an existing port and =20 adapting it to picasa. Instead of setting LINUX_DIST_VER set a master =20 site. If you have problems feel free to ask here. Bye, Alexander. --=20 Be different: conform. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070328090545.41b114xc4go8c408>