LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-07-2007, 02:11 AM   #1
Q..
Member
 
Registered: Jul 2007
Posts: 54

Rep: Reputation: Disabled
Installing Xorg 7.3 manually


This might be a little early to ask, but are there any tutorials that make it easy to install Xorg 7.3 for the first time? I ask because the existing ones for previous versions seem to be obsolete.
 
Old 09-07-2007, 02:54 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,951

Rep: Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341
Did you try the instructions from x.org. They refer to 7.1 but I've used them to build 7.2 with no problems, so I guess there will be no problem for 7.3 also.

Regards
 
Old 09-07-2007, 08:03 PM   #3
Q..
Member
 
Registered: Jul 2007
Posts: 54

Original Poster
Rep: Reputation: Disabled
There's a stupid thing called xcb with bad instructions on how to build and forces you to fiddle around with git. I never use git. I thought as much. Going to have to fiddle through it myself.
 
Old 09-08-2007, 12:21 AM   #4
Q..
Member
 
Registered: Jul 2007
Posts: 54

Original Poster
Rep: Reputation: Disabled
I'm doing this with the build-from-tarballs.sh script passing:

./build-from-tarballs.sh -e -m /home/user9/Mesa-7.0.1 /tmp/modular

I installed libxcb, pixman, got through that, to reach this error.

Code:
make[1]: Entering directory `/home/user9/xorg7.3/xf86-input-evdev-1.1.2'
Making all in src
make[2]: Entering directory `/home/user9/xorg7.3/xf86-input-evdev-1.1.2/src'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..    -Wall -g -O2 -I/tmp/modular/include/xorg -I/usr/local/include/pixman-1 -I/tmp/modular/include    -I../src -MT evdev_drv_la-evdev.lo -MD -MP -MF ".deps/evdev_drv_la-evdev.Tpo" -c -o evdev_drv_la-evdev.lo `test -f 'evdev.c' || echo './'`evdev.c; \
        then mv -f ".deps/evdev_drv_la-evdev.Tpo" ".deps/evdev_drv_la-evdev.Plo"; else rm -f ".deps/evdev_drv_la-evdev.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -g -O2 -I/tmp/modular/include/xorg -I/usr/local/include/pixman-1 -I/tmp/modular/include -I../src -MT evdev_drv_la-evdev.lo -MD -MP -MF .deps/evdev_drv_la-evdev.Tpo -c evdev.c  -fPIC -DPIC -o .libs/evdev_drv_la-evdev.o
evdev.c: In function 'EvdevReadInput':
evdev.c:95: warning: format '%ld' expects type 'long int', but argument 6 has type 'unsigned int'
evdev.c: In function 'EvdevSwitchMode':
evdev.c:239: warning: implicit declaration of function 'xf86XInputSetSendCoreEvents'
evdev.c: In function 'EvdevNew':
evdev.c:267: error: 'struct _LocalDeviceRec' has no member named 'motion_history_proc'
evdev.c: In function 'EvdevParseBits':
evdev.c:348: warning: implicit declaration of function 'set_bit'
make[2]: *** [evdev_drv_la-evdev.lo] Error 1
make[2]: Leaving directory `/home/user9/xorg7.3/xf86-input-evdev-1.1.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user9/xorg7.3/xf86-input-evdev-1.1.2'
make: *** [all] Error 2
Now I don't know what the problem is. Any help?
 
Old 09-08-2007, 09:01 AM   #5
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,951

Rep: Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341
git is like cvs or svn, you use it to get the latest sources.
You should use the "-n" option, so the build script does not stop in the 1st error. According to the instructions, run:
Code:
$ PATH=/tmp/modular/bin:$PATH ./build-from-tarballs.sh -m /home/user9/Mesa-7.0.1 -n /tmp/modular > build.log 2>&1
Then you can check build.log to find the errors and try to fix those that are significat to you. I.e. if you don't need xf86-input-evdev you should not care about the error you got. You can also comment out things that you don't need directly in the build-from-tarballs.sh script, so you'll get less errors
 
Old 09-08-2007, 01:28 PM   #6
Q..
Member
 
Registered: Jul 2007
Posts: 54

Original Poster
Rep: Reputation: Disabled
The building wiki at X.org isn't very useful to users like me according to what I've seen and at this point no longer even lists all the dependencies you really need. It was the first thing I tried. I read all of it already. Ignoring errors isn't going to solve anything for me. It's just going to leave me with a broken Xserver. If input-evdev has something to do with hotplugging, then I do need it. Even if I log them, I need to know how to avoid these errors.
 
Old 09-08-2007, 02:50 PM   #7
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Which distribution are you running? Suse can install it from its repositories but I'm not aware of any others that are offering packages yet.
 
Old 09-08-2007, 05:05 PM   #8
Q..
Member
 
Registered: Jul 2007
Posts: 54

Original Poster
Rep: Reputation: Disabled
I am on Fedora 6 running kernel 2.6.22.6, and not even Fedora 7 will offer it since they never do.

But I got something installed. X runs, but it feels like there are things missing and a lot of x applications fail, like xrandr.

Code:
xrandr: symbol lookup error: xrandr: undefined symbol: XRRGetScreenSizeRange
So hooray for ignoring errors.
 
Old 09-08-2007, 05:55 PM   #9
Q..
Member
 
Registered: Jul 2007
Posts: 54

Original Poster
Rep: Reputation: Disabled
Ok, I fixed that error, but in doing so, the cursor icon is stuck on the X default. I just said screw it and copied over the created X11 binaries and libraries to /usr/lib and /usr/bin - that's where Fedora has them by default anyways. And the wacom driver doesn't even work right, while the Xorg log shows no error that it failed to load. I guess it needs to be updated to support new Xorg version, or is it just not setup right? This new Xorg version supposedly supports hot plugging these kinds of devices without the failure from before, that's all I wanted to get working, but I guess not, and the proprietary video driver won't install either, so I can't use it anyways. Going to have to wait months for an answer I guess.

Thanks for your time.

Last edited by Q..; 09-08-2007 at 05:58 PM.
 
Old 09-08-2007, 06:07 PM   #10
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,951

Rep: Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341
Quote:
But I got something installed. X runs, but it feels like there are things missing and a lot of x applications fail, like xrandr.

Code:

xrandr: symbol lookup error: xrandr: undefined symbol: XRRGetScreenSizeRange

So hooray for ignoring errors.
You should add the path to the new X libs (/tmp/modular/libs) in LD_LIBRARY_PATH and also add the above dir in /etc/ld.so.conf and run ldconfig befoe trying to recompile parts of X that have failed. Copying the new libraries in /usr/lib isn't going to solve your problem.

Last edited by bathory; 09-08-2007 at 06:19 PM.
 
Old 09-08-2007, 07:56 PM   #11
Q..
Member
 
Registered: Jul 2007
Posts: 54

Original Poster
Rep: Reputation: Disabled
The LD_LIBRARY_PATH already points to /usr/lib/xorg and I also copied the appropriate directory there (I failed to mention that). Something is scrambled either way,

Also, /etc/ld.so.conf only points to a directory ld.so.conf.d and I can't find what is the relevant file to change there. I tried setting LD_LIBRARY_PATH in /etc/profile and bash_profile but that doesn't work too well. That's why I just copied the files that matched to where the paths were already configured. But apparently that's not the best idea.
 
Old 09-09-2007, 10:05 AM   #12
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,951

Rep: Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341
You should alter LD_LIBRARY_PATH to include the xorg-7.3 libs right before trying to recompile things that have failed to compile the first time. I.e if you want to recompile libXrand and link it against the 7.3 Xlibs you should:
Code:
export LD_LIBRARY_PATH=/tmp/modular:$LD_LIBRARY_PATH
export PATH=/tmp/modular/bin:$PATH
cd /home/user9/xorg7.3/libXrandr
make clean
./configure --prefix=/tmp/modular
make
make install
Copying the 7.3 Xlibs over the old Xlibs is going to break things that use the old Xlibs.
Also you could just add /tmp/modular/libs in /etc/ld.so.conf and run ldconfig as root to cache the new Xlibs.
 
Old 09-10-2007, 07:01 PM   #13
Q..
Member
 
Registered: Jul 2007
Posts: 54

Original Poster
Rep: Reputation: Disabled
libXrand isn't what failed, one thing that failed is xf86-input-void, and trying to compile it on it's own also fails even setting the path as above. The build.log is 7.5mb and 50000+ lines. And I'm not too sure what you mean by 'things that use old libs'. I uninstalled the xserver in the package manager, that stuff shouldn't be there. If it is, what a mess.
 
Old 10-24-2007, 07:30 AM   #14
btbx
Member
 
Registered: Jun 2007
Posts: 67

Rep: Reputation: 15
I plan to build X.org 7.3 from scratch using Build scripts.
I have the same "make" problem to the one posted by Q..

Struct LocalDeviceRec has no member called "motion_history_proc".

According to Q.. this problem is fixed, but there is no explanation.

Other X-Windows drivers (vmmouse, acecad etc) also have the same problems.

How to solve this problem?

Thank you.
 
Old 10-25-2007, 07:20 AM   #15
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,951

Rep: Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341Reputation: 1341
I've managed to install Xorg 7.3 last week using the tarballs in the everything directory. After installing Mesa and xcb, the only things that failed to compile at the first try were xf86-input-evdev, xf86-input-vmmouse and xf86-input-void. (Note that xserver was working flawlessly without them and that I've commented out other drivers not needed, in the build-from-tarballs.sh script).
The error for xf86-input-evdev was similar to the one mentioned from the OP. Anyway to make things short I solved the probs creating a symlink to my kernel include/linux directory into the Xorg installation directory:
Code:
ln -s /usr/src/linux/include/linux /path/to/X11R7.3/include/
and then getting via git the latest drivers that failed to compile:
Code:
git-clone git://anongit.freedesktop.org/git/xorg/driver/xf86-input-evdev
git-clone git://anongit.freedesktop.org/git/xorg/driver/xf86-input-vmmouse
git-clone git://anongit.freedesktop.org/git/xorg/driver/xf86-input-void
For each one of the above I ran as per the instructions:
Code:
export ACLOCAL="aclocal -I /path/to/X11R7.3/share/aclocal"   <--this needs to be run once
./autogen.sh --prefix=/path/to/X11R7.3
make
make install
Hope that helps
 
  


Reply

Tags
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
Question about Manually Installing KDE cubdukat Linux - Desktop 4 10-29-2006 04:37 PM
Manually Installing Grub jan1024188 Fedora 3 08-16-2006 04:44 PM
Manually installing fluxbox c19h28O2 Debian 5 05-01-2006 01:49 PM
Installing GRUB manually, is this going to be a challenge? rollo Linux - Newbie 3 03-01-2006 05:29 PM
installing grub manually abhinav_raj Linux - Software 3 03-22-2005 10:39 AM


All times are GMT -5. The time now is 05:56 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