Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-02-2012, 05:46 PM
|
#1
|
|
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.0 (multilib)
Posts: 1,165
Rep:
|
Cannot build wxPython from sbopkg
This is in Slackware 14 multilib.
I get
Quote:
usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/X11R6/include -DWX_PRECOMP -pthread -Wall -Wundef -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -O2 -fPIC ./src/gtk/glcanvas.cpp
In file included from ./include/wx/glcanvas.h:54:0,
from ./src/gtk/glcanvas.cpp:17:
./include/wx/gtk/glcanvas.h:20:20: fatal error: GL/glx.h: No such file or directory
compilation terminated.
make: *** [gldll_gtk_glcanvas.o] Error 1
|
|
|
|
|
10-02-2012, 06:33 PM
|
#2
|
|
Senior Member
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware-14.0 on a Lenovo T61 6457-4XG
Posts: 2,788
|
In Slackware 14 /usr/include/GL/glx.h comes from the package mesa-8.0.4. Did you install it?
|
|
|
1 members found this post helpful.
|
10-02-2012, 11:10 PM
|
#3
|
|
Member
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-C ML
Posts: 859
Rep:
|
I just finished running off dvdstyler with sbopkg which included wxPython as a dependency on Slack64-14.0 non-multilib.
|
|
|
|
10-03-2012, 01:06 AM
|
#4
|
|
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.0 (multilib)
Posts: 1,165
Original Poster
Rep:
|
Where is mesa? I did a full install and I don't see it on Slackbuilds.
|
|
|
|
10-03-2012, 01:15 AM
|
#5
|
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 1,863
|
in x/ directory
|
|
|
|
10-03-2012, 01:29 AM
|
#6
|
|
Senior Member
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware-14.0 on a Lenovo T61 6457-4XG
Posts: 2,788
|
Quote:
Originally Posted by arubin
Where is mesa? I did a full install and I don't see it on Slackbuilds.
|
If you mean that you don't see it @ http://slackbuilds.org this is normal as this website doesn't host slackbuilds for packages already included in the Slackware distribution. To check that you have it installed just type:
Code:
ls /var/log/packages mesa*
. This command should return something like this:
Code:
/var/log/packages/mesa-8.0.4-x86_64-1
If you get no output instead, mesa is not installed.
Last edited by Didier Spaier; 10-03-2012 at 01:41 AM.
Reason: s/x86-64/x86_64/
|
|
|
1 members found this post helpful.
|
10-03-2012, 01:34 AM
|
#7
|
|
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.0 (multilib)
Posts: 1,165
Original Poster
Rep:
|
It is installed
Quote:
root@Lavankossot:/home/alan# ls /var/log/packages/mesa*
/var/log/packages/mesa-8.0.4-x86_64-1
/var/log/packages/mesa-compat32-8.0.4-x86_64-1compat32
root@Lavankossot:/home/alan#
|
|
|
|
|
10-03-2012, 01:43 AM
|
#8
|
|
Senior Member
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware-14.0 on a Lenovo T61 6457-4XG
Posts: 2,788
|
Then what says:
Code:
ls -l /usr/include/GL/glx.h
PS Do you have the fglrx module for ATI cards installed? I ask that because it installs the file /usr/include/ATI/GL/glx.h. Not sure at all that your problem could be related to that so just asking out of curiosity.
Last edited by Didier Spaier; 10-03-2012 at 02:28 AM.
Reason: EDIT added
|
|
|
|
10-03-2012, 12:24 PM
|
#9
|
|
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.0 (multilib)
Posts: 1,165
Original Poster
Rep:
|
Quote:
alan@Lavankossot:~$ ls -l /usr/include/GL/glx.h
lrwxrwxrwx 1 root root 12 Oct 3 18:18 /usr/include/GL/glx.h -> glx.h-nvidia
|
I have also noticed a similar problem if I try to recompile the nvidia driver
Quote:
CC command-line.c
In file included from command-line.c:32:0:
glxinfo.h:23:20: fatal error: GL/glx.h: No such file or directory
compilation terminated.
make[1]: *** [_out/Linux_x86_64/command-line.o] Error 1
make[1]: Leaving directory `/mnt/sdb6/slackware14/var/SBo/tmp/nvidia-settings-302.17/src'
make: *** [all] Error 2
|
|
|
|
|
10-03-2012, 12:41 PM
|
#10
|
|
Senior Member
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware-14.0 on a Lenovo T61 6457-4XG
Posts: 2,788
|
So I guess wx-Python expects to find the header file from mesa and doesn't, that's why the compilation fails.
But that's only a guess, so I will leave to experts confirming that or not.
Last edited by Didier Spaier; 10-03-2012 at 02:20 PM.
Reason: s/don't/doesn't/
|
|
|
|
10-03-2012, 01:03 PM
|
#11
|
|
Senior Member
Registered: Jul 2007
Distribution: Slackware64-14.0
Posts: 2,192
|
I think one version of the nvidia-driver SlackBuild at slackbuilds.org replaced /usr/include/GL/glx.h, breaking compilation of some apps. I don't know why this was done -- I install the nVidia drivers without the SlackBuild (one of the only pieces of software I install that way) and that file was never touched, and compilation works as it should. You should reinstall mesa (and maybe xorg-server) and then reinstall the nVidia drivers. I think the SlackBuild still overwrites that file so you may wish to try commenting that line out...or ask kingbeowulf (the maintainer) why it is happening in the first place.
According to this post you can manually change that one symlink to point to the original file, so you may not have to reinstall anything.
Last edited by T3slider; 10-03-2012 at 01:04 PM.
|
|
|
1 members found this post helpful.
|
10-03-2012, 02:12 PM
|
#12
|
|
Senior Member
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 14.0 (multilib)
Posts: 1,165
Original Poster
Rep:
|
Well I re-installed mesa and wxPython compiled OK. I think I will go and re-install nvidia.
Thanks everyone
|
|
|
|
10-08-2012, 06:22 PM
|
#13
|
|
Senior Member
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 3,669
|
You need to do the following before attempting to rebuild the nvidia-driver:
Code:
nvidia-switch --remove
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:51 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|