LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
LinkBack Search this Thread
Old 08-14-2006, 09:11 PM   #1
Kaao
Member
 
Registered: Aug 2005
Location: Ontario, Canada
Distribution: OpenSuSE
Posts: 40

Rep: Reputation: 15
Looking for source tree location


I am trying to install the drivers for my laptops integrated video so i can run xgl. The instructions are below can some one please tell me where that source tree he is talking about is i installed it with yast.

Quote:
* Note 1: The following instructions assume that you have installed binary XFree86/X.org packages and only want to (re)compile sis-related code and not the whole XFree86/X.org environment.
* Note 2: You need the whole XFree86 or X.org source tree to build the SiS XFree86/X.org driver.
* Extract my source archive to a temporary directory, ie. anywhere but the XFree86/X.org source tree. Ignore an eventual "ignoring trailing garbage" message during extraction.
* Copy all .c and .h files from that temporary directory over the existing ones inside the XFree86/X.org source tree (programs/Xserver/hw/xfree86/drivers/sis/)
* Delete the existing Imakefile. Rename the one matching your version of XFree86/X.org to "Imakefile". (These files are named Imakefile_4.1, Imakefile_4.2 and so on for XFree86 4.1, 4.2 and so on, and Imakefile_6.7.0 and Imakefile_6.8.1 for X.org. The version for 6.8.1 is also for 6.8.2.)
* If you use the XFree86/X.org source from XFree.org/X.org: cd into the "xc" directory of the XFree86/X.org source tree and run "make World". At first, this will create Makefiles, convert font files and do some other stuff. Then it will start compiling. If you only want to compile the sis X driver and not the whole XFree86/X.org environment, you can cancel the building process as soon as there is a "Makefile" in the SiS driver directory (where you copied the files one step before).
* Debian source: cd into the directory where the Debian source code is located (where you see a "debian" and a "build-tree" directory) and run "debian/rules build". At first, this will create Makefiles, convert font files and do some other stuff. Then it will start compiling. If you only want to compile the sis X driver and not the whole X environment, you can cancel the building process as soon as there is a "Makefile" in the SiS driver directory (programs/Xserver/hw/xfree86/drivers/sis/).
* cd into the sis directory (programs/Xserver/hw/xfree86/drivers/sis/), run "make clean" and then "make".
* Copy the newly generated sis_drv.o (sis_drv.so starting with X.org 6.9) from programs/Xserver/hw/xfree86/drivers/sis/ (which you made the current directory one step ealier) over the existing one. Normally, the file is located in /usr/X11R6/lib/modules/drivers/, or, starting with X.org 7.0, at /usr/lib/xorg/modules/drivers/.
* To install the sis manpage, gzip the file sis._man, rename the gzipped file to sis.4.gz and copy this file to /usr/X11R6/man/man4/. (This path and filename may vary depending on your distribution.)
 
Old 08-15-2006, 11:07 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86; Gentoo PPC; Gentoo Sparc64; FreeBSD; OS X; Solaris
Posts: 3,731
Blog Entries: 4

Rep: Reputation: 64
Quote:
The instructions are below can some one please tell me where that source tree he is talking about is i installed it with yast.
You almost certainly don't have the source tree on your system. Get it from a mirror at http://wiki.x.org/wiki/Mirrors
 
Old 08-23-2006, 09:31 AM   #3
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 230Reputation: 230Reputation: 230
Kaao, a word to the wise: I didn't bother the read your whole Q because the quoted material was so damn long & so much of it superfluous.

Luckily buliver is more patient than I.

May I suggest reading: http://linuxmafia.com/faq/Essays/smart-questions.html
especially: http://linuxmafia.com/faq/Essays/sma...ns.html#volume

Hope this is gentle & tactful enough to persuade you, not irk you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to integrate driver source into kernel source tree zhchang Linux - Software 5 11-23-2005 12:34 AM
where is linux source build directory/kernel source tree? webazoid Linux - Software 2 07-01-2004 08:37 PM
/usr/source/ missing source tree swingert Linux - Newbie 2 07-19-2003 08:48 PM
Source tree appler Slackware 2 06-20-2003 12:20 PM
nls file location in kernel tree iceman47 Linux - Software 0 02-08-2003 04:01 PM


All times are GMT -5. The time now is 06:59 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration