SRPMS installation (Urgent Case)
Hi. I am new to Linux. So my questions would be very silly for you all. Sorry about that...
- I have Fedora Core 3 installed on my machine and i have downloaded and copied 4 SRPM cd's. How am i going to install these 4 cd's to Fedora? - I have a temp.c file that is; #include <iostream> int main() { printf("hello, world"); return 0; } on terminal when i compile it with gcc -g -Wall -o temp temp.c i get hmw.c:1:20: iostream: No such file or directory hmw.c: In function `main': hmw.c:12: warning: implicit declaration of function `printf' How can i fix this problem ? I think it is true... Thanks Lot... |
You can mount the CD's individually, change into the directory where the srpms are located and install them manually e.g.
#rpm -Uvh *srpm will install them all. I also think you can use apt, add the CD's as your sources. |
Quote:
Quote:
Code:
#include <stdlib.h> |
It looks like you are mixing C++ and C. If it's a c file, it should be something like,
#include <stdio.h> int main(void) { printf("hello, world"); return 0; } |
All times are GMT -5. The time now is 07:11 AM. |