-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday 01 March 2003 06:15 am, Greg Stewart wrote: > I've installed RH psyche in order to learn how to program on linux, and > I've been trying to install source code, particularly that for vim. > > Running: > > rpm -i -v vim-6.1-14.src.rpm (as root from the package dir) prints out > > vim-6.1-14 > > but rpm -q -v vim-6.1-14 indicates the package isn't installed. > All that happens is that about 100 patch and tar.gz files etc are > created in /usr/src/redhat/SOURCES/.
Correct, as others have pointed out. You should be doing this as a normal user, not root. A script to set up a non-root rpm environment in your home directory can be found here: http://www.tuxfan.homeip.net:8080/hack.html (usage instructions) http://www.tuxfan.homeip.net:8080/hacks/rpm_environment.tar.gz One thing it changes is that packages will place the sources, patches and spec file in ~/rpmbuild/SOURCES/package-name, rather than dumping all packages in the same directory. (the spec file will be in the same directory, instead of a SPECS directory.) This makes things much less confusing. > It's as if some script was supposed to be run to amalgamate them and > doesn't. Trying to install using redhat-config-packages doesn't do much > better, except that an rpm -q will indicate the package installed - the > files in /SOURCES/ remain the same unusable bunch... Once you have a non-root rpm environment set up, you can run 'rpmbuild -bp package_name.spec' which will extract the source and apply all the included patches. The complete patched source will then be available in ~/rpmbuild/BUILD/package_name/ Hope that helps, - -- - -Michael pgp key: http://www.tuxfan.homeip.net:8080/gpgkey.txt Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/ - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+YMYun/07WoAb/SsRAlCvAJ48qZgUV6qOTtE826IdqWlhgtzADQCdHIpt FOgxWXxu2TaZ5NP3UU1RzcU= =BGPK -----END PGP SIGNATURE----- -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list