On Monday 12 November 2007 22:12:58 Mike.Friedrichs wrote:
Anders Johansson wrote:
On Monday 12 November 2007 21:35:59 Mike.Friedrichs wrote:
I am working on a RTEMS RTOS system. The rpms came from: http://www.rtems.com/ftp/pub/rtems/linux/4.8/suse/10.3/i586/. The rpms include the cross compiler, debugger, build tools for their RTOS....
They have an example in there documents which used 'rpm -U' for installation. Which I used, but the documents didn't describe the RPM dependencies, I finally found the correct order of installation,
That is a repository, so you could just have added it to YaST and let it do the work for you
at least I didn't get any error messages.
If you didn't get any error messages then there were no errors. What makes you think there should have been .h files there?
There are about a million rpms in that directory, are you sure you didn't just miss one?
But I was also curious about the exact rpm -e command you used, and the subsequent rpm -U command that you said produced the message "already installed"
Anders
I looked down the list and grabbed each one that had 'common' or 'suse' in the filename.
The .h files are required to do any cross-compiling, none of them were there......
Instead of rpm -e I executed 'rm -rf /opt/rtems-4.8/*'. That wiped all of the sub directories. I then realized I screwed up and should of used 'rpm -e'. I went ahead and tried to use rpm -U to re-install the rpms, which didn't get anywhere because the message told me the rpm was already installed. Then I tried rpm -e, and the message I believe, was, rpm not installed.
You probably used the full name of the rpm and not the "rpm name". Each rpm has a file name (the one you see when you do ls) and an "rpm name", which is internal to rpm, and doesn't necessarily have anything at all to do with the file name. But usually it is the first part of it. So for example rtems-4.8-i386-rtems4.8-binutils-2.18-1.suse10.3.i586.rpm is a file name, and the rpm name is rtems-4.8-i386-rtems4.8-binutils You can see this if you do rpm -qpi rtems-4.8-i386-rtems4.8-binutils-2.18-1.suse10.3.i586.rpm You need to use the file name for "rpm -U" but you need to use the rpm name for "rpm -e" I still don't think there should have been any .h files. If rpm failed to install anything, it would have told you. If you need the headers to compile things, ask them which package they're in
So now I'm thinking, I need to clean the slate and start over, then I sent an inquiry to this list.
Could you give some explanation about using YaST...
Sure. In YaST, go to "Software repositories", and click on "Add". Then select http and click on "Next". Give the repository a name (doesn't matter what, something you will know what it is when you see it) Server name: www.rtems.com Directory on server: /ftp/pub/rtems/linux/4.8/suse/10.3/i586/ Click "Next" and then on "Finish", and after that you can use YaST's Software Management module to install the packages, and it will handle all dependencies for you Anders -- Madness takes its toll -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org