Ubuntu :: Gcc Doesn't Compile Cpp Programs?

Jun 24, 2010

iam using ubuntu 9.10 and iam working in gcc for about half an year for devoping c programs. but i find its not possible to compile any c++ programs in my gcc.Always it ended up showing the error below:

gcc: error trying to exec 'cc1plus': execvp: No such file or directory

i find the same when i tried to install wxpython from its source and hence cant complete it.

View 9 Replies


ADVERTISEMENT

Software :: Nucleo Doesn't Compile (Nucleo Now Compiled But Metisse Doesn't Compile)

Mar 19, 2010

I wanted to try installing the Metisse window manager, and it depends on Nucleo. I got Nucleo from the AUR, but it fails to compile:

Code:
PNGenc.cxx: In function �void nucleo::png_memory_write_data(png_struct*, png_byte*, png_size_t)�:
PNGenc.cxx:38: warning: �png_struct_def::io_ptr� is deprecated (declared at /usr/include/libpng14/png.h:1125)
PNGenc.cxx:38: warning: �png_struct_def::io_ptr� is deprecated (declared at /usr/include/libpng14/png.h:1125)
PNGenc.cxx: In function �void nucleo::png_memory_read_data(png_struct*, png_byte*, [Code].....

View 14 Replies View Related

Ubuntu :: Unable To Compile C++ Programs

Apr 25, 2011

I've tried compiling C++ programs with extension .cc and .cpp. I've tried compiling with gcc, g++ and even cc (with .cc extension files). Earlier (as g++ wasn't installed) i tried installing g++ (sudo apt-get install g++) for which i got the message "g++ has no installation candidate". Later from Synaptic i found it as g++-2.95 and installed it. I've also installed pentium-builder

Whenever i've tried to install "build-essential" (using apt-get and aptitude) i've got messages along the line of "no installation candidate". I've searched many posts and not got the answer for this. I've treid update and upgrade before installation, no use. I have all the repositories checked in software sources and the server as "main server". Now, the main problem is: (when trying to compile a .cpp file)

user@dell-desktop:~$ g++ hello.cpp
Unable to exec g++.real: No such file or directory
ser@dell-desktop:~$ gcc hello.cpp

[code]....

View 9 Replies View Related

General :: Can't Compile C++ Programs On OPENSUSE

May 15, 2011

pgm of mine is not getting compiled

#include<iostream>
int main()
{
cout<<"Hi
";
}//Saved as g.cpp

The foll. error is shown on compiling as c++ g.cpp or gcc c.cpp or cc g.cpp
and i've gcc 4.5

g.cpp: In function int main():
g.cpp:5:2: error: cout was not declared in this scope
v

View 1 Replies View Related

Programming :: Unable To Compile C++ Programs

Mar 15, 2009

I work on Fedora 9 and I'm unable to compile my c++ program using the make in the terminal as well as in the IDE-Anjuta.although 'make' works fine with C programs,I get an error that g++ command is not found whenever I try it with C++ programs.

View 3 Replies View Related

Ubuntu Installation :: Install Source Code For Programs To Compile?

Feb 2, 2010

Where do I find the linux-source package and the linux-headers package? Are they on the CD that I can copy to /usr/src (is that the right place...)? Or do I need to download them from the old-releases.ubuntu.com site?

The issue now is that the nVidia installer from their website wants the source code to build the right packages for this machine, however, I do not have the src directory with the source code that it is looking for. Is there some way to give this too it now?

I am running Mythbuntu 7.10

View 2 Replies View Related

Fedora :: How To Compile Java Programs Using OpenJDK

Dec 16, 2009

Tell me how to compile and run java programs using openJDK on fedora 11

i have gcc installed

View 6 Replies View Related

Fedora :: Compile And Execute Java Programs?

Sep 11, 2010

How to compile and execute Java programs

View 1 Replies View Related

General :: Compile C Programs For Embedded On Windows?

Nov 1, 2010

I am using embedded linux (xlinux) and i need to compile the programs on desktop pc.i am currently using eclipse.can someone suggest me how I can configure, to make a project thats compile the programs for the embedded linix where I need to run them.

View 1 Replies View Related

Software :: How To Compile Lex And Yacc Programs In Rhel4

May 30, 2009

What is the software to be installed to compile and execute c/c++,lex and yacc programs in rhel4??

View 1 Replies View Related

Slackware :: Compile Errors With Various X11-relying Programs?

Jan 31, 2010

I've been trying to compile and install different terminal emulators:Eterm, aterm, and libAfterImage for urxvt.

I've been getting all these errors, and it seems odd to me. I did some fiddling awhile back enabling KMS with my radeon, install custom packages for xf86-ati, mesa, and libdrm. Could that or some other fiddling have broken these dependencies?

Here is an excerpt, with the full error log attached and here:url

Code:
In file included from libungif/../xwrap.h:5,
from libungif/../asim_afterbase.h:23,
from libungif/../afterbase.h:36,
from libungif/gif_hash.h:24,
from libungif/gif_lib_private.h:5,
code....

View 1 Replies View Related

OpenSUSE :: Write And Compile/run Programs In Different Programming Languages?

Feb 19, 2011

I was wondering about a package that can be used to write and compile/run programs in different programming languages. I was also wondering how possible it is to program in Visual Basic 2010 in openSUSE if at all.

View 9 Replies View Related

Software :: Unable To Compile Programs - Getting Error / Get It To Work?

Jun 3, 2010

I am having a problem I have never encountered before. When I try to install programs, I get a failure to compile error in configure. I have tried to install Prozilla, Prozgui, and Aria2, but I get the same message for each. The message follows code...

View 9 Replies View Related

Programming :: Compile GNOME Programs On X / Its Possible With Minimal Modification?

Oct 30, 2009

Is it possible with minimal modification?

View 3 Replies View Related

General :: Compile Programs And Their Dependencies Manually Or Are Package Managers The Only Way?

May 29, 2010

Is there an easier way (without using a package manager) to upgrade programs? For example, I just want to upgrade Amarok. In order to do this, I've had to upgrade every one of it's dependencies because they've all had minor upgrades from the versions I already have installed.

Is there an easier way to compile programs and their dependencies manually or are package managers the only way?

View 1 Replies View Related

Programming :: New MPICH2 Installation - Interfering - With -make - Cant Compile Fortran Programs

Jul 28, 2011

Actually I had a folder called Lib, in which I had a few libraries installed and configured.(MPI, PETSc, SLEPc) I accidently deleted (by rm) the contents of that folder.

Then I reinstalled MPI,PETSC,SLEPC using the same tarballs as earlier(thus, the version etc. is the same).

I already had a fortran program with many modules and subroutine files, and the corresponding makefile which used to compile and run fine. But now when I type "make" in the same directory as before, I get this: (shortened, many similar errors)

Code:

Firstly, why is mpif90 compiling my program when I didnt tell it to? In my makefile, I have specified gfortran as my compiler....nowhere have I even mentioned mpif90. Such a thing never used to occur before.

Also, if I rename file_variable.f to file_variable.f90, these errors dissappear (I understand why, but that is not the problem), but a new error comes:

Why is the new MPI installation interfering with make ? I want to go back to how things were before I stupidly broke all installations. The errors themselves are not the problem, the problem is why the new mpi installation is interfering with make.

It seems as if mpif90 has taken over make and gfortran. I suppose I didnt install it correctly, or probably I didnt uninstall the earlier one correctly.

Everything that worked earlier doesnt work suddenly. I use ubuntu 11.04 MPICH2-1.3.2

View 1 Replies View Related

OpenSUSE :: QTParted Doesn't Compile Properly

Dec 26, 2010

I just tried to install qtparted ver0.4.5 on my computer to help partitioning my HDs.After doing the "configure/make"-sequence (using unsermake, as required), I received following error during compilation:
"qp_libparted.cpp:1751: error: �ped_free� was not declared in scope",My parted version is 1.9.0-3.7.1 from openSuSE 11.2.My question:

1. Do you know, which other library might contain this "ped_free"-declaration?
2. Any other perted GUI, that might work better (gparted is only available on a live DVD after boot)

View 2 Replies View Related

OpenSUSE Install :: G77 11.2 - Doesn't Compile With Gfortran

Jan 21, 2010

I would need to compile some old codes with g77 (unfortunately, they doesn't compile with gfortran). The gcc44-fortran is installed on my computer but if I have well understood, there is no g77 compiler in this package... Do you think I can install gcc33-fortran without creating conflicts between the 2 packages?

View 2 Replies View Related

Programming :: Code That Doesn't Seem To Be Working Right With Gcc Compilers, But They Do Compile?

Dec 11, 2010

I actually thought there was something wrong with my programming skills.ut after I compiled the same code using Visual Studio, it worked. So here's the code that doesn't seem to be working right with gcc compilers, but they do compile. Note I'm using the Cygwin 3.4.4 version of gcc and 4.5.1 version of gcc from MinGW.

Code: #include <stdio.h>
#include <math.h>
int main()

[code]...

View 5 Replies View Related

OpenSUSE :: Error: Failed Dependencies - Doesn't Compile - RPM Won't Install - X86_64

Feb 27, 2010

I tried installing the RPM from tcpflow website. error: Failed dependencies: libpcap.so.0.6.2 is needed by tcpflow-0.21-1.i386 I installed libpcap1-32bit, but doesn't help. I tried added soft-link to libpcap.so.1.0.0 from libpcap.so.0.6.2 to workaround, doesn't help. hen I DLed the tarball, ./configure gives an error, even after including --with-pcap=/usr/lib64/libpcap.so.1.0.0 checking for --with-pcap option... configure: error: /usr/lib64/libpcap.so.1.0.0 does not exist I CAN'T install the rpm, I CAN't compile from source. I can't find this program on any suse repo. I need to use this prog -- what can I do?

View 14 Replies View Related

General :: MAKE BZIMAGE Doesn't Work When Compile And Install New Kernel?

Jul 19, 2010

whenever i'm in the process of compiling and installing a new kernel in ubuntu lucid lynx i get an error message when i get to the make bzimage part is there some sort of program that i needed to install first or is there an alternative to doing this.

View 8 Replies View Related

Ubuntu :: Gnome-terminal In Startup Programs Doesn't Start At Login?

Mar 16, 2010

Every time I start Ubuntu, I set up an ssh session to a server. In order to automate this I made an entry in startup programs like this:/usr/bin/gnome-terminal -e '/usr/bin/ssh name@server.com'Nothing happens when I log in, and I've checked that the command works.

View 2 Replies View Related

OpenSUSE :: Several Programs Doesn't Running Anymore After Some Updates?

Jun 26, 2010

Installed version are:openSuse 11.2KDE 4.4.4After installing some upates does my firefox will not starts anymore. And I have no idea why. It's seems not really a problem with firefox itself, because some other programs can't be started as well. Such as eclipse or Googles ChromeIt's appears only for few secounds the program in the task bar, and disappears then. Is there some log file or something like this, there I could see what happens in the start procedure of the firefox program

View 3 Replies View Related

Fedora :: Compile From Source - Install Buddi Budget Manager And The ./configure Command Doesn’t Work

Nov 24, 2009

Ive been using linux for a few months now and every now and again i come accross a program that doesnt have a rpm package but says that it can be installed on Fedora using source. I'm familiar with build essentials and the following commands:-

tar xzvf package.tar.gz
cd package
./configure
make
make install

but from what i have read fedora uses a differnet compiler. I'm trying to install Buddi budget manager and the ./configure command doesnt work, which im guessing is because it doesnt have a configure file? Can anyone confirm how to compile from source and whether there are any tutorials specific to fedora.

View 4 Replies View Related

Fedora Servers :: Make PHP Pages - Shows An Internal Error 500 Page But Doesn't Show On What Line And Compile Error Encountered

Feb 1, 2011

I'm trying to make some pages. For this I try to host them locally. However, when I have an error in my PHP code, the server shows an internal error 500 page and doesn't show on what line and what compile error it encountered. There is no such information in the error log either. What should I do about it, it's not really nice to comment all the lines and then try to uncomment them one by one. I've been googling for a while, but didn't find anything.. I forgot to mention, I;m using Fedora :P, the apache that came with it and mysql and php from the repository...

View 3 Replies View Related

OpenSUSE :: Can't Open Other Programs Or Install New Programs

Dec 29, 2009

can open the programs pe-install, but can't open other programs or install new programs

View 4 Replies View Related

Ubuntu Multimedia :: Flash Doesn't Work And Removing / Re-installing Package Doesn't Fix It

Sep 1, 2011

I'm using 'Adobe Flash plug-in 10.3.183.4ubuntu0.11.04.1', installed from the package repos on kubuntu, and since the last update, it has broken all flash functionality in both rekonq and firefox.I have tried removing and reinstalling the package multiple times, both with and without the browsers open. Can anyone suggest a way to restoring functionality?

View 7 Replies View Related

Ubuntu Installation :: Grub2 Doesn't See Windows 7 - Doesn't Appear In Boot Menu

Jun 10, 2010

i wiped my entire hard drive that had xp as its only OS. I freshly installed a Windows 7 ultimate and everything went perfectly. I then decided to install 10.4. I split the partitions correctly (i had experience doing this already with my laptop, which has xp/10.4). Ubuntu 10.4 install went flawlessly, except for one thing. Now when i boot up the pc, it goes straight into 10.4. I have tried holding shift during the start up to force the boot menu, and it just shows the Ubuntu 10.4 OS as choices. Any clue what i could do to make Win7 appear in the boot menu?

View 9 Replies View Related

Ubuntu :: Flash Doesn't Load And The Light At My Webcam Doesn't Switch On At All

Jun 4, 2011

I've used this video conferencing web app on Windows 7 and it works perfectly. [URL] But I'm having flash problems. Flash doesn't load and the light at my webcam doesn't switch on at all. Things to note:Cheese works so I know my webcam in Ubuntu is functional. I've tried purging the flash plugin and reinstalling it. It doesn't work on Chrome and Firefox so it's definitely only a flash problem. I'm not using any medication so I know it isn't me just imagining it. EDIT: I checked out [URL] Here's a screenshot: [URL] I'll check back later, Charlie the Unicorn just rang my doorbell and invited me to tea on the magic hot air balloon. Definitely not hallucinating. Definitely. Definitely.

View 9 Replies View Related

Fedora :: Screensaver Doesn't Kick In Or Display Doesn't Suspend/sleep?

Jul 25, 2009

Anyone noticing intermittent problems with the screensaver not kicking in or the display not sleeping? This is in gnome under F11.I have the Power Management Preferences set to put the display to sleep after 30 minutes of inactivity and gnome screensaver is configured for 5 minutes idle time.On a regular basis, I'll leave my computer come back anda) the screensaver hasn't kicked inorb) the screensaver kicked in, but the power management features didn't kick in to put the display to sleep.It seems to be an intermittent problem and usually it goes away after I restart X, but then at some point it comes back. In the past, I've gotten in the habit of being logged in for weeks/months at a time but I find that I can't go more than a few hours without logging out and back in or else the screen won't go to sleep.

View 14 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved