Fedora :: G++ Compiler Installed But Program Is Not Running
Apr 17, 2011
i have installed packets for running G++ command but when i compiled the .cpp file it was showing iostream.h file not found then i remove .h extentions from #include <iostream.h> and all other include headers as well in cpp source file then this iostream.h not found option gone but still some files are missing and my program is not running
I am trying to compile a program with mpicc. To compile I use:
CC=/usr/bin/mpicc ./configure
However mpicc's default C compiler is gcc 4.4.2 and I need to use 4.0.0 which I have installed in another directory. I do not (nor can get) root privileges so I cannot edit mpicc's default compiler. Is there an option I can set while configuring?
I want to compile MFiX which is a simulation software. Therefore, I installed the Intel Fortran Compiler Ver. 11.x When compiling, I can only choose between Ver.9.x and 10.x.
This is a part of the error message when choosing either:
Is there a possibility to link the program to the newer compiler version?
I attempted to install Adobe Photoshop Elements 9 under Wine and it failed. Then I read a thread that offered some tweaks. But now when I try to install all that it offers to do is UNinstall. I thought I could UNinstall and then reinstall, but no...It fails to UNinstall too...just as it failed to install. So I'm wondering how to remove this (the command line way) from the system. I tried "yum remove wine" and when I put wine back, like a phantom, the same problem was there. I tried removing the entire .wine directory in my home folder...same problem.
I'm running fedora 14, installed on one box, and live on about 3 others. I know there are work arounds for some things and not others, so I just want to ask about keeping some of my favorite games; Diablo II, Settlers III, and seriously, Entropia Universe. These games require direct draw, directx, and so on.
In Fedora 13 64 bit, Ctrl+C does not terminate the running programing in terminal window but in Unbuntu this shortcut key works. If I hit Ctrl+Z, this makes the running program run in background which is something I definitely dont want. what is the shortcut for terminating a program in terminal window? What is the shortcut key for canceling the command I have typed but not run yet no matter where the cursor is in the command ? Ctrl+U works but only if cursor is at the last character of the command.
So for those of you who has built GCC from source would know that you can't install GCC without an existing GCC. So my question is, what would happen if all computers in the world suddenly just died, and all you had was the computer in front of you, and a copy of GCC 4.5. How would you install that?
I ask because I would like to install GCC 4.5 on my old powerbook G4 mac without installing a binary GCC provided by Tiger 10.4 disks. I would like to build GCC from source, without an existing GCC to complicate updating.
I wanted to check what version of GRUB I have installed. I went to terminal and typed grub --versionI got this message back: The program 'grub' is currently not installed. You can install it by typing: sudo apt-get install grub
I am running Ubuntu 10.10 alongside windows xp pro. When I turn my pc on I have the option to boot to ubuntu or xp and at the top of the window it says that the version of grub running is "GNU GRUB Version 1.98+20100804-5Ubuntu-3" how I shold go about installing GRUB 2 or just leave it as is.
I am new to fedora and installed wine to see if I could get the sony reader software working (required to access sony bookstore from my sony ereader). Well the program did not work though it did create icons on my desktop. wine kept crashing and I said lets just get rid of it. I uninstalled wine via yum remove and nothing appeared to happen so I did rpm -qa |grep wine and saw lots of stuff. So I simply did yum remove wine* and then a rpm -qa |grep wine was empty. however wine is still under applications on my desktop and still has a category for programs--reader. I should also mention that while wine was installed I attempted to remove the reader via the wine uninstalller but a) wine gave a message of a core crash and b) all the uninstaller did was give me the option to reinstall the reader program. so now when I attempt to open an epub it tries with the sony reader software. I know I can just right click to use another program but for now I want wine gone completely from my pc and the sony program gone.
where I can download the GNU compilers. I installed Fedora 11 today dual botted with 64-bit Vista on an HP 64-bit computer. I found a little short description on gnu.org, but no links to download sites. Since I don't have a compiler installed already I will need to install the binarys instead of the source code.
Im using Fedora 10, and I need to install a c, and c++ compiler. I've downloaded codeblocks, but when i try to compile and run the code, nothing will happen. What other compiler should i use? what is the best c++ compiiler for fedora?
I have recently installed Fedora 11 and I am having some trouble with it. While installing another program I get the message: make: g77: Command not found
I tied to look for the compiler to install using yum search g77
And got the following list:
I was wondering if it is in some obscure repository, which would seem odd to me. I have the following repositories available (as shown in yumex) :
i just installed fedora 14 and which gcc shows that there is no C++ compiler . How can i download G++ 4.5 version without download the entire development tools. Last time i tried yum groupinstall "Development Tools" and that took ages with no result.. I just want to install C++ ..
i just installed fedora and i want to install a couple programs but i keep getting the same message saying that no acceptable c compiler was found, so i downlpoaded the gcc packlage, extracted it, navigated to it in the terminal, and ran ./configure but it tells me that there was no acceptable c compiler found, whats going on here, i need an acceptable c compiler to install a c compiler this is real confusing
I installed Fedora on my machine. I'm very new at Linux but would like to start coding in C++. I would like to know the steps to write and compile a Hello World program using C++ in Linux. (I've been a Microsoft person all my life).
I've just been playing with the whereis command. For a program installed with synaptic package manager or comes preinstalled, whereis finds the path to the program. These programs in applications menu or startup applications don't need directory information, somehow linux must have them in some kind of a directory or something. For a program extracted from a .bz file, linux has no idea where the program is and I must give directory information. So how does linux find programs that are installed normally? It can't just search through files, that would seem to be slow. Is there a table or directory where program location is stored?
I am running a version of Fedora 10 on my PC for development puposes. The strange problem I have encountered is that I cannot locate the C compiler being used. I have looked for G++ GCC, etc but cannot find it. Does anyone know the compiler being used or the command to find it through command line.
I managed to figure out how to issue out the CC compiler command by issuing a symalink to the usr/bin I have now have this problem when I try to compile any C++ code I recieve this error
"/usr/include/stdio.h", line 485: Error: "(" expected instead of "__attribute__".
I went on the sun forums and they dont or give a solution due to Fedora not being test when developing this tool, so I was wonder if I could run into someone who has a solution to this problem
This is my last road block so I can fully finish my programming assignment