Ubuntu Installation :: How To Compile General (FreeCiv)
Feb 12, 2010
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?
My son and I both have Acer AO532h netbooks, his is still running UNR 10.04 but I've "upgraded" to UNR 10.10 (quotes because it's caused a fair bit of hassle and I'm not sure the launcher is an improvement). We both installed Freeciv this morning. I was able to find in forums how to get it to behave on a 1024x600 screen using (Game > Local > Options > Interface > "Arrange widgets for small displays") but was only able to get this to work on the 10.04 install.
On my 10.10 UNR install, freeciv client has NO MENUS. Mine is freeciv 2.2.1, and once started, the client window only shows "File" menu, and its only item is "Close". His install is 2.1.10 on UNR 10.04 and he's playing away with the above setting changed. I will now try to figure out how to regress to freeciv 2.1.10.
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'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.
Trying to compile Kernel 2.6.35 on Ubuntu 9.10 (2.6.31-14-generic).
got: The UTS Release version in include/linux/version.h"" does not match current version: "2.6.35-xxx" Please correct this make[1]:***[debian/stamp/install/linux-image-2.6.35-xxx] Error 2 make[1]:***leaving directory `/usr/src/linux-2.6.35' make:*** [kernel_image] Error 2
Can any one tell me what should I do? Is this Ok for using the compiled vmlinux image?where can I find the correstponding initrd file if this kernal compile is Ok?
I'm trying to follow this guide http://tech.blog.box.net/2007/06/20/how-to-debug-php-with-vim-and-xdebug-on-linux/ and I need to compile Vim with signs and python options.I have: downloaded the latest source with hg clone https://vim.googlecode.com/hg/ vim uncommented the signs feature in src/feature.hran ./configure --enable-perlinterp --enable-pythoninterp with no errorsran make with this output and errors that I don't understand and can't find on google:
I have an issue with a specific piece of hardware running an Asterisk PBX. Basically it freezes at some times. I've noticed its running an SMP kernel (Centos 5.4), and i'm hoping i can disable this/recompile kernetl without SMP support. How can i do this?
It's running a VIA C7 cpu.
Code: [root@localhost asterisk-1.4.29]# cat /proc/cpuinfo processor : 0 vendor_id : CentaurHauls cpu family : 6
[Code]....
How can i disable SMP, and see if its maybe this tha'ts causing the problems?
I have tried appending nosmp or maxcpus=0 and noreplace-smp to the kernel line in /boot/grub/menu.lst,but it keeps loading the smp kernel....
I want to create rpm from tar.gz, what I want to know is,
1= download tar.gz 2= untar this tar.gz file 3= run ./configure command. 4= now I want to create rpm file to install my package via rpm so I can uninstall easy and redistribute this rpm to my friends.
(or I have to run "make" command also after step 3, then go to step 4 to create rpm) please help me with step by step commands, so I can create rpm with my own compiled options of package.