Andrewski Posted December 24, 2003 Report Share Posted December 24, 2003 I can't seem to get anything installed. Every source program I intend to compile stops me at the rpm-making phase (using checkinstall). /root/RPM has no SOURCES directory. Please write the path to the RPM source directory tree: bvc and I talked about this before and he told me to install rpm-build, which would give me something in my /usr/src/RPM/ folder. So I did that, and now I have rpm-build-4.2-22.1.92mdk. Problem is, that didn't help. Checkinstall still failed. What am I missing? root:id3lib-3.8.3$ ls -R /usr/src/RPM/ /usr/src/RPM/: BUILD/ RPMS/ SOURCES/ SPECS/ SRPMS/ /usr/src/RPM/BUILD: /usr/src/RPM/RPMS: athlon/ i386/ i486/ i586/ i686/ k6/ noarch/ /usr/src/RPM/RPMS/athlon: /usr/src/RPM/RPMS/i386: /usr/src/RPM/RPMS/i486: /usr/src/RPM/RPMS/i586: /usr/src/RPM/RPMS/i686: /usr/src/RPM/RPMS/k6: /usr/src/RPM/RPMS/noarch: /usr/src/RPM/SOURCES: /usr/src/RPM/SPECS: /usr/src/RPM/SRPMS: Thanks! Quote Link to comment Share on other sites More sharing options...
Andrewski Posted December 31, 2003 Author Report Share Posted December 31, 2003 (edited) Anyone wanna give me some help on this? I've checked Google and the board... nothing. Edited December 31, 2003 by Andrewski Quote Link to comment Share on other sites More sharing options...
bvc Posted December 31, 2003 Report Share Posted December 31, 2003 doesn't look like a lot of people use it. I never saw the point myself. Why do you need it? To make rpm's? Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted December 31, 2003 Report Share Posted December 31, 2003 I use it to build rpms from tarballs. It comes in very handy if you have to uninstall. I've never run into this problem however. It always places the built rpm in /usr/src/RPM/RPMS/i386. You could try designating that path or any directory that you want. It's just the place where it puts the built rpm so you know where to find it. Quote Link to comment Share on other sites More sharing options...
Andrewski Posted December 31, 2003 Author Report Share Posted December 31, 2003 doesn't look like a lot of people use it. I never saw the point myself. Why do you need it? To make rpm's? bvc, I'm simply trying to install using checkinstall. I did quite a bit of that over the summer, but after upgrading to 9.2, I haven't been able to get it to work. I'm wondering if someone who has used it could tell me what they have, etc. pmpatrick, How do I designate that path? I wonder if simply setting that would solve my problem.... Quote Link to comment Share on other sites More sharing options...
beesea Posted December 31, 2003 Report Share Posted December 31, 2003 i've always built rpms without any problems as a normal user. try that and see if that helps. here are the config files i use: ~/.rpmrc optflags: i686 -march=pentium3 -O3 -fomit-frame-pointer -pipe buildarchtranslate: i386: i686 buildarchtranslate: i486: i686 buildarchtranslate: i586: i686 buildarchtranslate: i686: i686 ~/.rpmmacros %_topdir /home/beesea/rpm %_tmppath /home/beesea/rpm/tmp %_signature gpg %_gpg_name Mandrake Linux %_gpg_path ~/.gnupg %distribution Mandrake Linux %vendor MandrakeSoft i'd also check out http://www.linux-mandrake.com/en/howtos/mdk-rpm/ for reference Quote Link to comment Share on other sites More sharing options...
chris:b Posted December 31, 2003 Report Share Posted December 31, 2003 Andrewski, I am using checkinstall on 9.2, no problems here. - The checkinstall version I am using is from the 9.2 contrib mirror - I think (not sure) I had to install automake - The new checkinstall version behaves a little different, for me. The last step: su to root, then 'checkinstall' is only creating the rpm-file, saving it in /usr/src/RPM/RPMS/... (here the arch...) - Then I have to install the rpm. I am using urpmi after copying the file to a certain dir in my home dir which I use as a urpmi source. Quote Link to comment Share on other sites More sharing options...
Andrewski Posted January 1, 2004 Author Report Share Posted January 1, 2004 Thanks, those did it! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.