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 04-15-2006, 03:20 AM   #31
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53

Take a look at your /etc/X11/xorg.conf. Maybe there is some option which loads fixed.
 
Old 04-15-2006, 10:50 AM   #32
zelaumbr
LQ Newbie
 
Registered: Apr 2006
Posts: 3

Rep: Reputation: 0
No, there isn't, but i installed all x11-fonts from Slack cd and now my X11R7 working, i have to move some files too for enable Nvidia driver and glx, but now everythings working, i think.
 
Old 05-19-2006, 02:59 PM   #33
Wurstbrot
LQ Newbie
 
Registered: May 2006
Distribution: Gentoo
Posts: 21

Rep: Reputation: 15
Build Error

Hi everybody,
as this is my first post you can guess that i am new to Linux.
I am proud that i have debian (Kernel 2.6.8-2) up and running on my acer travelmate 2423.
now i am struggling with the x-server.
i closely followed each of the steps in #1, but i ran in loads of trouble, most of which could be solved with google and installing missing packages.
but now (this must be build run 132344) the script quits with this message:

make[2]: *** [encparse.lo] Error 1
make[2]: Leaving directory '/usr/src/X11R7.0/src/everything/libfontenc-X11r7.0-1.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/src/X11R7.0/src/everything/libfontenc-X11r7.0-1.0.1'
make: *** [all] Error 2

I really tried, but i cant find any hints on this one.
If this is not enough information, i can post the config.log, i didnt because its huge and i dont know which parts are relevant for you.

Thanks in advance!
 
Old 05-20-2006, 05:11 AM   #34
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Original Poster
Rep: Reputation: 46
A few things you can try.
  1. Download the package libfontenc-X11r7.0-1.0.1 again and retry.
  2. Go into the package directory and try building manually. Usually there are instructions INSTALL or README but probably ./configure;make;su -c "make install"
  3. As a last resort use the -n switch that tells the build script to ignore errors and continue with the build.

<edit> You may want to read this article X11R7 and what this transition means for you. It deals with all the problems of using X11R7 with debian. You may want to wait till Debian has a more stable X11R7 package.

Last edited by /bin/bash; 05-20-2006 at 06:06 AM.
 
Old 06-24-2006, 01:22 PM   #35
Hunter2
Member
 
Registered: May 2005
Distribution: Slackware 10.2
Posts: 43

Rep: Reputation: 15
Quote:
There is an error on program compiling:

checking for library containing glXGetProcAddress... no
configure: error: cannot find GL library - make sure Mesa or other OpenGL package is installed

but needed library exist /usr/X11R6/lib
I get the exact same error. The thing is, I did use the -m option to specify the path of the Mesa source already (Mesa 6.4.2, not 6.4.1... but that shouldn't be a problem should it?). Also, my /usr/X11R6/lib/pkgconfig is a symlink to /usr/lib/pkgconfig, and I know from experience that /usr/lib/pkgconfig is the hardcoded pkg-config search path on my system. I don't even know what .pc file it's looking for, so I can't do a 'locate' for it.
 
Old 06-24-2006, 02:15 PM   #36
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 66
Two questions:
  1. Will this work on -current?
  2. Will this work for 7.1? (Newest in Xorg)
 
Old 06-24-2006, 11:54 PM   #37
Hunter2
Member
 
Registered: May 2005
Distribution: Slackware 10.2
Posts: 43

Rep: Reputation: 15
>Will this work for 7.1? (Newest in Xorg)
Almost. 7.1 requires you to dl the 7.0 sources and overwrite(?) the appropriate packages with the 7.1 packages; otherwise, you'll get a number of dependency errors, the most conspicuous being 'pkg-config: no such library x11 found', or something similar. AFAIK this isn't documented anywhere except for in one of 8 readme files in the doc directory of the FTP server.

Note that I haven't been able to get either one to work successfully yet (7.0 complains about missing GL libraries, 7.1 is dependent on the latest unstable release of Mesa).
 
Old 06-25-2006, 02:45 AM   #38
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 66
So I geuss I'll stick with my 6.9.x in -current....

What the heck, it works fine.
 
Old 06-25-2006, 12:54 PM   #39
Hunter2
Member
 
Registered: May 2005
Distribution: Slackware 10.2
Posts: 43

Rep: Reputation: 15
Fair enough.

Quick question: Does the Slack package include the X evdev input driver (not to be confused with the kernel evdev driver)? This is one of the main reasons I'm trying to build Xorg from source, as I need the evdev driver to get my mouse fully functioning, but for some reason Slack 10.2 ships without it built into Xorg.
[update: Beautiful. Got Xorg to build properly; evdev built by default, and the 10th button on my mx500 now generates its own button event.]

[snip: See post below.]

Last edited by Hunter2; 06-25-2006 at 11:06 PM.
 
Old 06-25-2006, 05:36 PM   #40
Hunter2
Member
 
Registered: May 2005
Distribution: Slackware 10.2
Posts: 43

Rep: Reputation: 15
Messy post. I'll sum it up here.

If you are installing a new version of Mesa, wait until AFTER X.org is built before building the Mesa libs. However, in my experience, you still need to copy the Mesa includes to the X.org build PREFIX directory before building X.org. As such, modified build instructions are as follows:

0. Make sure you have ~3gb of disk space available.

1. Install Mesa headers to the X.org PREFIX directory:
Code:
mkdir (PREFIX)/include
cp -R (mesasrc)/include/* (PREFIX)/include
cp -R (mesasrc)/src/glw/* (PREFIX)/include/GL
2. Proceed to build/install new X.org according to first post.

If you are installing a new version of Mesa, the reason I mentioned putting off the Mesa build, is because Mesa (as of 6.4.2) requires some headers that are installed to the PREFIX directory at a later point in the X.org modular build. Now you can:
3. Build the Mesa libs, and use 'make install' to install them to the PREFIX directory.

Last edited by Hunter2; 06-25-2006 at 05:46 PM.
 
Old 07-01-2006, 09:25 AM   #41
thloh85
Member
 
Registered: Apr 2006
Location: Earth
Distribution: BLFS customized
Posts: 160

Rep: Reputation: 31
Trying now hope it works...
 
Old 07-01-2006, 10:17 PM   #42
thloh85
Member
 
Registered: Apr 2006
Location: Earth
Distribution: BLFS customized
Posts: 160

Rep: Reputation: 31
Well... It does not work... still showing the same "no GL library found" error...
Doing more research now...
 
Old 07-02-2006, 06:20 PM   #43
Hunter2
Member
 
Registered: May 2005
Distribution: Slackware 10.2
Posts: 43

Rep: Reputation: 15
Hmm. Well, for my build, I used '/usr/X11R7' as my prefix, which worked after installing the Mesa headers as detailed above. I wonder if the build script has /usr/X11R7 hardcoded, and doesn't even use the prefix? Are you sure you copied the Mesa includes (both the include and src/glw directories) into the appropriate places prior to starting the build?

You *might* also need other headers from the src folder, I personally took a more convoluted route (ended up building Mesa against old X headers first, then using 'make install' to copy the headers) but from the output of Mesa's 'make install', it looked like only include and src/glw were installed (aside from the compiled lib files).

Last edited by Hunter2; 07-02-2006 at 06:22 PM.
 
Old 07-02-2006, 09:18 PM   #44
danger2society
LQ Newbie
 
Registered: Jun 2006
Distribution: Suse 10.1
Posts: 3

Rep: Reputation: 0
Quote:
Originally Posted by zelaumbr
No, there isn't, but i installed all x11-fonts from Slack cd and now my X11R7 working, i have to move some files too for enable Nvidia driver and glx, but now everythings working, i think.
I have the same font error along with the glx problem. I've been doing this on Suse 10.1, and for what it seems the building part went smoothly, though I dont know where to get the x11-fonts (I could get the packages from the repository but there aren't any x11 specific ones). Also how do I/did you fix the glx problem. Where/what files do I need to move?

Thanks in advance.
 
Old 07-02-2006, 10:52 PM   #45
Hunter2
Member
 
Registered: May 2005
Distribution: Slackware 10.2
Posts: 43

Rep: Reputation: 15
I get some errors with fonts (Speedo and CID failed to load or something), but X runs with no noticeable problems for me. I suspect my errors came from the fact that I deviated from the instructions on the original post, in that I built X into /usr/X11R7 first, and then attempted to overwrite old X11R6 files with X11R7 files later by copying/pasting relevant folders overtop. I never bothered fixing this, since X runs OK for me.

>Also how do I/did you fix the glx problem. Where/what files do I need to move?
Are you referring to the "no GL library found" error? I summarized what I did (or a more tidy version thereof) a couple posts earlier.
 
  


Reply

Tags
slackware, xorg


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
Slakware x windows install asarpe Linux - Software 3 12-03-2008 12:02 PM
in dire need of HOWTO with xorg.conf and GFX 5200 vid card Lleb_KCir Linux - General 10 07-22-2005 01:55 PM
HowTo: Make mepis with kde 3.4, gnome 2.10, xorg 6.82 cheater1034 MEPIS 10 05-28-2005 10:21 PM
Slakware 8.1 install prob Ryan_Sutton Linux - Newbie 10 07-05-2002 06:49 PM
Slakware 7.0 Installation Beano21 Linux - Software 6 05-30-2001 07:23 PM


All times are GMT -5. The time now is 11:25 AM.

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