On 07/19/2013 04:47 PM, Niels Terp wrote: > Hi, > > > > I have now installed RPM, and it seems to work. But when I tried to > install Webmin from a RPM, I got errors like “Webmin .. needs /bin/sh” > > > > I found a very nice script (in the Linux Cookbook) to find things that > has been compiled from source, and include them in a emty RPM, which can > then be installed – then you should have everything in RPM. But even > this I can’t install, because of the same dependency. > > > > Does anyone know a shortcut to include all the “normal” linux commands > in the RPM database, or do I have to build LFS with RPM-support from the > beginning ? > > > > The reason why I want RPM is, that I have not been able to build the > Google Chrome browser from source, while on my host system (Suse) it is > a matter of downloading and installing a RPM. So in case it is not > possible to get RPM to work on a finished system, I could certainly need > some advice on building Chrome from source ! > > > > Niels >
Just grab the .deb package of the chrome and extract it ... I don't think building rpm because of one browser is worth the effort (yet I've built entire multilib toolchain because of Skype - doh!). .deb file just contains ar compressed .tar.gzs, one contains the data (data.tar.gz) and other contains package information. You need the data one, just extract the deb using "ar x google-chrome-whatever.deb" (note it's ar, not tar!) and extract data.tar.gz on your filesystem using cd / ; tar xf /path/to/data.tar.gz (/path/to/data.tar.gz is where you ran ar x on the google-chrome deb). You need to run ldd on google chrome binaries to see which libraries are you missing (they're in /opt/google/chrome hierarchy) and symlink the .desktop files itself from /opt/google/chrome hierarchy into /usr/share/applications to get the entry on the desktop menu. >From memory, you need NSS, Mspr, GTK+2, Alsa and GConf packages. As if you can build google chrome from source, I highly doubt it because it's closed source. But you can build chromium, on which google chrome is based. I don't recommend it though, people say it's PITA. You can look at archlinux pkgbuilds if you really want to build the browser. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page