Ubuntu Installation :: How To Compile The Fluxconf
Jun 22, 2010
I'm trying to compile fluxconf from source (here). It's a graphical ui for setting up the menus in fluxbox. I've got all the libraries, but when I compile it says:
Code:
cc1: warnings being treated as errors
fluxconf.c: In function sauver:
fluxconf.c:244: error: format not a string literal and no format arguments
fluxconf.c:187: error: ignoring return value of write, declared with attribute warn_unused_result
[code]....
that doesn't look like a dependency issue and other people seem to be able to compile/make this just fine with no problems. How can I get this to compile?
I upgraded to Ubuntu 10.04 2.6.32-10-generic today. After a succesful update that fixed a couple of nagging problems on my laptop (nice work guys) I started VMware Workstation. I got the expected "Before you can run VMware, several modules must be compiled..."
The compile errors out and points to the setup log. I have searched and found several very similar posts all relating to build-essential or kernel-headers not being installed. I have verified both are installed and up to date.
Here's the important part of the log:
Code: Jan 15 17:39:16.079: app-139708855981824| Trying to find a suitable PBM set for kernel 2.6.32-10-generic. Jan 15 17:39:16.080: app-139708855981824| Building module vmmon.
i tried to find a .deb for FreeCiv but can't find nothing, and the unofficial packages shows one from getdeb, but there was no file, like usual, i have never found anything at getdeb! how come you love that site that much?.
Anyway, i still want to install a couple of games, for instant freeciv, how to compile these tar.bz2 packages?
I'm trying to build kernel 2.6.33-rc8 according to the documentation here: [URL] , but at a late stage in the compilation, I'm encountering the following error:
Code: /usr/bin/make -f ./debian/rules debian/stamp/binary/pre-linux-image-2.6.33-rc8-custom make[1]: Entering directory `/root/src/linux-2.6.33-rc8' ====== making target debian/stamp/install/linux-image-2.6.33-rc8-custom [new prereqs: ]====== This is kernel package version 11.015.
Here any know how to compile the driver file manually?
For example i have been insert the Realtek Ethernet card in my customized kernel and kernel can't detect the card. I know the c file 8139too.c which going to use by the realtek Ethernet card.but i don't know to how to compile the file and make this as a kernel module..
I have a new PC with an Intel Atom D510 and would like to recompile the kernel with the options for the Atom CPU, but as you can imagine, compiling the kernel on the Atom is extremely slow. How do I compile the kernel on my faster X86_64 (AMD 965X) system for the Atom D510 system? I read some documentation on doing a cross compile and another on changing the architecture and subarctitecture.
I'm trying to compile gimp on ubuntu 9.10 and I'm stuck during the ./configure stage I'm getting the following:
Code: checking for GLIB - version >= 2.24.0... no *** Could not run GLIB test program, checking why... *** The test program compiled, but did not run. This usually means The config.log complains that it's missing glib.h.
[Code.....
If aptitude shows libglib2.0-dev installed the pc file must exist somewhere.. how to verify that libglib2.0-dev is installed correctly?
this is how to set your ubuntu for compiling to use multi processor. some older packages require you to use only 1 processor. so comment the export make flag, then "echo $MAKEFLAGS" to see how many processors your using you might need to "source .bashrc" to update the rc file
I am trying to get Frostwire for Fedora 12 and the RPM download does not work, I have been checking the web the past 8 hours trying to find version 4.20.3 in RPM format but i came up with nothing. I have a prevous version of it so please do not suggest I get a older version or limewire because limewire has a totally different problem. I downloaded the .tar.gz file and I have no idea how to install it. I think I heard something about having to compile it but to be honest I am compleatly lost in doing this. I have tried other online fourms about how to compile but i just do not really understand them. If you know how will you please give me a detailed, step-by-step guide on how to compile and install Frostwire.
When I try to run VMware 7.1.4-385536.x86_64 I see this message: "Before you can run VMware, several modules must be compiled and loaded into the running kernel GCC 4.6.0 GNU C Compiler (gcc) version 4.6.0 was not found etc.." I am running: 2.6.40.3-0.fc15.x86_64
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 new to Linux, and I just tried to compile a program (powertab tools) from source. I'm having som problems doing that. The "./configure" command works fine, but when I run "make", it gives an error:
Code: seppe@Thuis:~$ cd ptabtools-0.5.0 seppe@Thuis:~/ptabtools-0.5.0$ ./configure checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no
i installed linux kernel 2.6.35.2 and now vmware wont run been searching for a few hours for a "fix" found a few files but they don't seem to work here's log from vmware updater.
Code: Aug 20 01:04:09.520: app-140689147180800| Log for VMware Workstation pid=22622 version=7.1.1 build=build-282343 option=Release Aug 20 01:04:09.520: app-140689147180800| The process is 64-bit.
I have several servers running 3ware 9750 raid controller cards. The 9750 does not have a driver built into the linux kernel and must be manually added during installation. This hasn't been a problem as I had a driver compiled for the kernel versions I was using.
There isn't a driver available precompiled for 10.04.3. I would like to compile one from the source code I downloaded from the manufacturer, but I am not sure where to start. I've looked for some sort of walkthrough or directions, but I haven't had any luck. I've compiled and installed software from source, but I have a feeling that drivers are probably a bit more complicated, especially since I will need to compile the driver on a system that does not have the same kernel version.
I have played around with Fedora for a few years and recently switched to Ubuntu. I am installing VMWare Workstation version 7.1.0 from a retail packaged CD. When I attempt to install VMWare Workstation and VMWare Player I get the following error:
Aug 15 16:24:54.826: app-3078788800| Your GCC version: 4.5 Aug 15 16:24:54.837: app-3078788800| Your GCC version: 4.5 Aug 15 16:24:54.889: app-3078788800| Trying to find a suitable PBM set for kernel 2.6.38-10-generic. Aug 15 16:24:54.895: app-3078788800| Trying to find a suitable PBM set for kernel 2.6.38-10-generic..... Aug 15 16:24:56.163: app-3078788800| Failed to compile module vmmon!
I tried installing the patch for kernal 2.6.38-8 found here - [URL] - but it did not resolve the issue. Is there a patch for kernal 2.6.38-10?
I also found this posting for the same problem: [URL]. I followed the following instructions as advised in the post . . . sudo apt-get update sudo apt-get install make sudo apt-get install gcc
Then enter: uname -r
My kernel was: 2.6.38-10-generic sudo apt-get install build-essential linux-headers-2.6.38-10-generic Now run the vmware-install.pl script.
Everything ran without error. However, I continue to get the same error. Another post suggested uninstalliung and reinstalling the software, but this had no affect either. Another post suggested that after running the above update to them run the /usr/bin/vmware-config.pl script. However I do not seem to have the vmware-config.pl in my /usr/bin directory. I checked the various VMWARE directories in /etc and the /tmp/vmware-root directories but no vmware-config.pl
I already got the source from here [url] i need ruby 1.8.7 because i want to install activerecord usually i use yum for installing anything. but for ruby,
Code:
Package ruby-1.8.6.399-6.fc13.i686 already installed and latest version
I have a new machine with an Intel 82579lm network card (needs an e1000e driver, I believe). I got Debian installed, but it doesn't have access to the Internet, because it needs a driver for that card. So, I managed to download the card driver on another computer and transfer it to this computer. Problem is that when I run 'make install' for the card driver, it turns out that my Debian install doesn't have 'make'.
I could compile the card source on another computer with Debian. Problem is that computer has a different architecture (old amd 32 bit machine vs. new intel i7 64 bit) than the machine with the problem card. Am guessing that the compiled driver module won't work on a different kind of machine.
Another possibility is to check in synaptic on my old 32-bit machine and use "Generate package download script" to determine where synaptic is getting the 'make' package from and all its dependencies. I also would need to modify the downloads to get the packages for the 64bit machine. *Assuming* that a) the dependencies in Synaptic on the old 32-bit machine will be the same as for a 64bit machine and b) I correctly identify all necessary packages and their proper names for the amd64 architecture, I should be able to move the files to the new machine and compile what I need to compile.
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 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 want to install debian on vmware workstation 7.1.4 but there's a problem! when I try to install vmware tools or open-vm, it can't complete compile modules of vmware. It is a big problem... It seem problem of kernel version after 2.6.37... But I can't find solution. logs.... Before you can compile modules, you need to have the following installed...
I'm new to linux, and I've been following a paper [URL] to build a linux cluster using RedHat 5. I'm up to part VII step 5, installing the message-passing software MPICH2-1.4, and I'm not quite sure how to "execute the compile command 'make' to generate the binary codes of MPI."
I am very much a Newbie to Linux/Fedora. Just installed Fedora 10, but having some problems with hardware driver recognition, particularly a wireless network PCI card. ndiswrapper is looking for a kernel in usr/src/kernels, which doesn't exist.In Fedora, is it necessary to compile a kernel? Looking through the FAQ at kernelnewbies, states to extract the kernel to a Linux directory, in usr/src, which also doesn't exist.
I want to learn how to compile vim from the sources, because there are some additions that I want to add, and learn how to deal with this situations, but until now I didn't have success doing it, I can compile vim, but without its GUI I think it's a dependencies problem, but I can't figure out which packages I have to install, what are the dependencies to compile vim with its gui? how to compile gvim, but I don't have the packages for install in my ubuntu 10.10 repositories.
this may be the wrong forum but how do i compile a .DEB from a tarball? and give me full step by step instructions preferebly for checkinstall since im not gonna distribute anything. none of that "./configure make sudo checkinstall" crap plz cuz i dont understand it i rly wanna switch from win 7 completely but ill need ur guyz help or im stuck with it T-T.