SlackwareThis Forum is for the discussion of Slackware Linux.
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have a maybe silly question, but I am not going on on it.
Where I have to put the source of X in a Slackware 10.2 distro so that the system is able to see it ?
Do I have to change something somewhere in the config?
I ask this because I need to compile a drive that need X-Source installed, but it seems impossible - for me - to let the makefile got via imakefile to show the right way to compile the drive.
Thank you all,
[QUOTE=egag]which driver ?
isn't there an option to configure like "--with-X-sources=<path> ".
if there's a configure-script, type "./configure --help"
No, unfortunately it seems to have nothing apart an Imakefile.
This is a driver to handle a touchscreen that is not standard with X or with any distro, for what I know.
So I created the makefile via Imakefile (using the loader xrmkf).
When I launch the makefile it seems that are missing many files available only on the complete source of X (not the development includes).
I tried to load the source of X from the CD (exploded under the dir /<mydir>/xd ).
But I got the same results. I suppose because I do not put the source in the right directory or because I do not manage the appropriate config files.
But here I am lost, because I do not know what to touch (and of course I have not found anything in my documentation).
I am quite sure to miss something silly, but I do not know.
you can edit the makefile, there must be smth. like "CFLAGS=".
behind that, you can add " -I<includedir>" where <includedir> is pointing to the includes
of the xserver.
if that's still no good,
maybe post a link to those sources ?
I looked into the Makefile that has been created. But it is too big, because I think there are too much automatic dependencies.
Here I report the original Imake:
---- Imake start here ----
SRCS = mydriver.c
OBJS = mydriver.o
DRIVER = mydriver
INCLUDES = -I. -I$(XF86COMSRC) -I$(XF86SRC)/loader -I$(XF86OSSRC) \
-I$(SERVERSRC)/include -I$(XINCLUDESRC) -I$(EXTINCSRC)
on next days, when I will be back to the machine, I will follow your advise and I will keep you informed on how things will be going on.
I think your idea to look at the others files should be a good one.
bye for now,
It seems I found something (but not sure for all).
I had to work on the makefile generated by Imakefile, adding in many places, the correct Include path.
I think this is due to the Imakefile that possibly is wrong or incomplete (for instance it is not able to find all the includes under /usr/X11/include ).
Adding that I will be able to get the object driver (I still have an error on the rebuild of the man file, but I do not care about it).
Now I have to try to test the driver, but of course this is another problem.
Thanx again, without your help I should not had the will to look deeply at those chaotic Makefile,