Results 1 to 3 of 3
Hello.
A few days ago I got my own computer, hurray! I decided on Mandriva Linux as my os because it was free. When I finally got it installed I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-27-2008 #1Just Joined!
- Join Date
- Mar 2008
- Posts
- 3
Introduction and problem
Hello.
A few days ago I got my own computer, hurray! I decided on Mandriva Linux as my os because it was free. When I finally got it installed I began to put all my favorite programming languages on it using the software management tool. I succesfully put python and perl on it but when I try to download gcc-g++ I get the following error message.
What does that mean?Code:Sorry, the following package cannot be selected: - gcc-c++-4.2.2-3.1mdv2008.0.i586
I made a test script in python to make sure it worked and it did, but when I did the same thing in perl it didnt work.
I put down this code
I saved this script as hello.txt I went into the command line and saidCode:print "Hello World\n";
and it came up with thisCode:perl hello.txt
Thanks for all the help!Code:Cant open perl script, no such file or directory
- 03-27-2008 #2
Hello
Try saving the Perl file with a *.pl extention instead of *.txt. This might be useful for you to read: http://www.linuxforums.org/programmi..._lesson_1.html
Not sure about the gcc problem. How did you go about installing it? Usually you log in as root and type urpmi gcc...I am always doing that which I can not do, in order that I may learn how to do it. - Pablo Picasso
- 03-27-2008 #3Just Joined!
- Join Date
- Mar 2008
- Posts
- 3
Even with the perl extension it doesnt work.


Reply With Quote
