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.
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].....
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
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.
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 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.
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....
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.
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...
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?
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
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)
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?
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()
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?
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.
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.
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
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.
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...
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?
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?
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.
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.