Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

How do I compile a drive in Ubuntu Linux?

I have downloaded the source code for my video card, as it is not available in Synaptics. I have never compiled anything before, and the tutorials just aren't helping. They keep talking about make, and Makefiles...but make does nothing for me, though I have two different Makefiles in each of the folders: Makefile.in, and Makefile.am.

I really have no clue at all where to begin. I've put the uncompressed folder in my download's folder, in my home directory. I don't know where to go now.

Please keep in mind that I have very limited Linux knowledge, and my programing skills are about as awesome as a 5 year old's. I do understand some jargon, but I just don't know the process.

Update:

Okay, I was waaaay off on how to do this stuff :). I've had to install a great many headers and stuff...

I'm stuck on configure. I get Requested 'libdrm >= 2.4.11' but version of libdrm is 2.4.5

I've downloaded and compiled a newer source, but I have no idea how to install that. It has no INSTALL file...actually neither did the driver.

4 Answers

Relevance
  • 1 decade ago
    Favorite Answer

    UBUNTU GRAPHICS DRIVERS

    NVIDIA

    How to install Nvidia drivers in Ubuntu. This tutorial applies to Ubuntu 8.04 LTS on later releases the installer is slightly different in appearance (select recommended Driver)

    http://www.psychocats.net/ubuntu/nvidia

    ATI

    Radeon

    https://help.ubuntu.com/community/RadeonDriver

    RadeonXpress

    https://help.ubuntu.com/community/RadeonXpress

    INTEL

    HowTo Fix Ubuntu Jaunty (9.04) Intel Graphics Problem

    http://www.ivankristianto.com/2009/06/howto-fix-ub...

    INSTALLING SOFTWARE ON UBUNTU

    Installing Software in Ubuntu

    http://www.psychocats.net/ubuntu/installingsoftwar...

    UBUNTU USER GUIDE

    Ubuntu 9.04 (Jaunty Jackalope) User Guide

    http://ubuntuguide.org/wiki/Ubuntu:Jaunty

    CURRENT SESSION

    Linux Mint 6 ext3 with Compiz 0.7.2

    http://www.linuxmint.com/edition.php?id=31

    http://wiki.compiz-fusion.org/

    LUg.

  • 1 decade ago

    Oh joy. The first thing you have to understand is that in order to compile the driver for your video card you have to download and install the source code and headers for your kernel? Do you have them? They should install (through Synaptic) to /usr/src/linux or some such (I'm currently writing this on Slackware which is to Debian/Ubuntu/Linux Mint/Knoppix as apples are to tangerines). Fine, if you have them, open a terminal, cd to the directory where your source code is, and after reading the README and INSTALL instructions look around for a file called configure. In the terminal it should be green -- which means it is executable. If it is then just type ./configure (the first two characters, the period and slash called dot-slash tell the shell to look in the current directory for the program to execute). It should create a file called Makefile or makefile, with no extension which is what you are looking for. If there is no configure file then type make config and see what happens. If there is one but it is not green, then you are likely to get a "file not found" when you type ./configure so type sh configure (no dot-slash) instead. sh will execute it.

    Then just type make, which should start it (if it crashes you did not install the kernel headers properly or install the proper headers). Then type sudo make install.

    I got interested in Linux through my programming classes in college and frankly I have RUINED several installations by not reading the README and INSTALL files and following their instructions to the letter whether they make sense to me or not. I would learn how to program. Take a class if you can.

  • 1 decade ago

    If you could tell us which video card you are trying to get working it would help us to solve your problem. Is it a nvidia or ati card? Why did you decide to install the driver this way and not use the ubuntu menu: main menu >System > Hardware Drivers Manager?

    There are several ways to "compile" a driver and we would have to see the files involved.

    Have you read the files in the uncompressed folder that end in .txt; like README and help?

    Here is a general tutorial for installing graphics cards in ubuntu.

    Good luck

  • ?
    Lv 4
    5 years ago

    Which present day version of Ubuntu are you utilising? .. Xubuntu 10 (laptop) and Linux Mint 10 (Ubuntu-based) (laptop) And what are your conventional makes use of for this Linux Distro? ... each thing every person else does with residing house windows. in elementary terms extra acceptable. !! internet, Audio, Video, running a weblog & Publishing, image administration. PodCasting. additionally, how long have you ever regularly occurring approximately Ubuntu? How long have you ever used it? ... regularly occurring approximately it for style of two years. Used DSL, puppy, Debian, Slax earlier, switched a million year in the past. appropriate ever in view that. won't substitute now.

Still have questions? Get your answers by asking now.