LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-14-2003, 03:12 AM   #1
pkdk657
LQ Newbie
 
Registered: Mar 2003
Posts: 28

Rep: Reputation: 15
Question xmkmf path/to/your/xfree86/tree


Please Help This NEWBIE! Where can I find this path/to/your/xfree86/tree. I am trying to install ati2 driver from gatos and don't know if this tree already exists in my system or should I download it from somewhere? The instructions that I got doesnt explain what this tree means.
 
Old 03-14-2003, 11:16 AM   #2
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
I think what you are looking for is /usr/X11R6/bin for Slackware. At least that is where the binary files are located for the X system. Note that filenames and paths are case sensitive in Linux.
 
Old 03-14-2003, 08:13 PM   #3
pkdk657
LQ Newbie
 
Registered: Mar 2003
Posts: 28

Original Poster
Rep: Reputation: 15
Thank you for your response. I was actually on the process of downloading files from Xfree86.org. Tought its different from X11R6

Anyway, I tried it... . this is part of the instructions in installing ati.2 driver from cvs... still no luck. Whats the error message below means?

root@mongo:/drm-kernel/ati.2# xmkmf /usr/X11R6/bin/
mv -f Makefile Makefile.bak
imake -I/usr/X11R6/bin//config/cf -DTOPDIR=/usr/X11R6/bin/ -DCURDIR=.
Imakefile.c:34: Imake.tmpl: No such file or directory
imake: Exit code 1.
Stop.
 
Old 03-14-2003, 08:43 PM   #4
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
Well, I am just guessing here. I have not installed any of the ATI drivers before. I just use the normal stuff that comes with X. The imake program is being instructed to use a template file called "lmake.tmpl". The file is not being found.

It may also be that this program/driver requires the source files for X. And that is what the reference was requesting. You can only review the docs to determine if it is looking for the sources. There is a Slack source package available for all the distributions of Slack. If you determine that sources are required then download and use "pkgtool" to install the source package for the X server.
 
Old 03-14-2003, 08:58 PM   #5
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Have you got the xfree86-devel-4.x.x-i386.x.tgz package installed?
 
Old 03-14-2003, 09:12 PM   #6
pkdk657
LQ Newbie
 
Registered: Mar 2003
Posts: 28

Original Poster
Rep: Reputation: 15
I have not. Should I? I think that's my problem, don't know if xfree86 and X11R6 are the same or not.
 
Old 03-14-2003, 09:19 PM   #7
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
X11R6 is part of XFree86, you need to install the devel package to build programs that depend on XFree86, such as video card drivers.
 
Old 03-14-2003, 09:30 PM   #8
pkdk657
LQ Newbie
 
Registered: Mar 2003
Posts: 28

Original Poster
Rep: Reputation: 15
Sorry, but I thiink it is already installed. I view the packages using pkgtool and saw xfree86-devel-4.3.0-i386-1dl.
 
Old 03-14-2003, 09:34 PM   #9
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Ok, then you just need to add /usr/X11R6/bin to your path in /etc/profile and then log out and back in again to update.
 
Old 03-14-2003, 09:41 PM   #10
pkdk657
LQ Newbie
 
Registered: Mar 2003
Posts: 28

Original Poster
Rep: Reputation: 15
Unhappy

I checked the /etc/profile. The path is already there.
 
Old 03-14-2003, 09:52 PM   #11
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
Not wanting to get in the way here, because I think Aussie knows more about this area than I do. But I wanted ask a question to clarify. I think Aussie is correct about the development package. I had forgotten about that one. I am so used to just selecting everything when I install.

You made a statement earlier that you were downloading from xfree86.org. Did you see the package above in what you downloaded or have you actually installed and upgraded to 4.3.0? On my copies of Slack 8.1 and slackware-current the X system is 4.2.

However, for installed Slack packages they should be listed in /var/log/packages. To check what you have installed you could;

ls -l /var/log/packages/xf*

and see what it lists and the versions. This is only for Slack package installations though. If you downloaded and built/installed 4.3 then it would not be listed.
 
Old 03-14-2003, 10:06 PM   #12
pkdk657
LQ Newbie
 
Registered: Mar 2003
Posts: 28

Original Poster
Rep: Reputation: 15
I did full installation of Slackware 8.1 a month ago so that means I had 4.2 version. I never did upgrade.

Last night, maybe to my confusion I installed/upgraded yesterday to dropline-gnome (thought I could get xfree86 from there).

I tried this:
ls -l /var/log/packages/xf*

... and saw 4.3 versions (none 4.2).

Dropline could have upgraded the version.
 
Old 03-14-2003, 10:07 PM   #13
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
xfree86-devel-4.3.0-i386-1dl. is a dropline package, I've got it installed here as well. Either there is something misconfigured in the dropline XFree86-4.3.0 or the ati driver dosn't yet have support for v4.3.0. Try reinstalling the stock 4.2.1 from a slackware-8.1/patches mirror and see if the driver builds. You can use pkgtool or the latest dropline-installer to remove the dropline XFree86 and pkgtool to install the slackware-8.1 XFree86 packages.
 
Old 03-14-2003, 10:09 PM   #14
pkdk657
LQ Newbie
 
Registered: Mar 2003
Posts: 28

Original Poster
Rep: Reputation: 15
I looked at xfree86.org but have not downloaded any file yet.
 
Old 03-14-2003, 10:20 PM   #15
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Get them from here, not from XFree86.org.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
PATH Problems BLFS XFree86 cuco76 Linux From Scratch 1 07-07-2004 06:50 PM
the bible = the tree of the knowledge of good and evil () Jesus = the tree of life Michael111 General 2 04-14-2004 05:28 PM
xmkmf and path problems epoo Linux - Software 0 01-17-2004 06:13 PM
xmkmf needed please_help Linux - Newbie 1 07-01-2003 02:49 PM
xmkmf needed please_help Linux - Software 1 07-01-2003 02:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:07 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration