I am new to Unix/Linux administration, but I want to learn about it.
I have installed Oracle Linux 5.7 32bit as the virtual guest on the Windows XP virtual host. The VirtualBox is version 4.1.6
The installation of OL Guest was successful or at least seems to me.
I am installing Oracle database on the OL Guest. As the pre-requisites there are numbers of OS packages missing and need to be installed. I notice that the source files ISO (OracleLinux-R5-U7-Server-src-dvd) has been mounted to /media on the Guest.
[root@buoel57 Oracle Linux Server src 20110728]# ls
EULA GPL RPM-GPG-KEY SRPMS TRANS.TBL
[root@buoel57 Oracle Linux Server src 20110728]# pwd
/media/Oracle Linux Server src 20110728
I found the all the source files are under directory SPRMS. cd to SPRMS and try to install one of the package
[root@buoel57 SRPMS]# rpm -Uvh binutils-22.214.171.124.6-14.el5.src.rpm
warning: binutils-126.96.36.199.6-14.el5.src.rpm: Header V3 DSA signature: NOKEY, key ID 1e5e0159
error: cannot create %sourcedir /usr/src/redhat/SOURCES
Have I missed something before trying to install the packages?
Seems OL installation did not take care of the source files installation properly, or that should be a task of the post installation?
Please provide your advices.