LinuxQuestions.org
Help answer threads with 0 replies.
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 01-03-2011, 03:41 PM   #1
jbum
Member
 
Registered: Apr 2008
Distribution: Slackware
Posts: 40

Rep: Reputation: 15
librecord.so extension for Xorg


I'm running Slackware 13.1 (full installation) and recently attempted to compile and run Workrave, the repetitive stress prevention application.

It depended on a lot of libraries that didn't come with my full installation, partially because I didn't have Gnome. After having found and installed

libsigc++
libgmm
gtkmm
pangomm
cairomm
gnome-panel
libbonobo-ui
lignomecanvas
python's cheetah module
avahi
libdaemon

I ran into another issue - but I'm close, really close. The application comes up and I can even see the workrave window. However, it errors with the message 'Xlib: extension "RECORD" missing on display ":0.0"'

I included in my xorg.conf

Section "Modules"
Load "record"
EndSection

but soon found out that the extension module does not exist on my system.

Does anyone know who supplies librecord.so and where I can find it for Slackware 13.1 and its supplied Xorg version?

Thanks a bunch!
 
Old 01-03-2011, 06:32 PM   #2
jbum
Member
 
Registered: Apr 2008
Distribution: Slackware
Posts: 40

Original Poster
Rep: Reputation: 15
Ok, searching some more on google, I decided to download the source for xorg-server and rebuild X with --enable-record switch specified in the CFLAGS sections of the build script. The resulting output should include the librecord.so that I need. After a long time of building, I keep running into the following error. Can anyone help me get passed this issue?

Thanks!

Code:
 . . .
set.c:420: warning: old-style function definition
  LINK  librecord.la
Making all in xfixes
  CC    region.o
  CC    saveset.o
  CC    cursor.o
  CC    xfixes.o
  CC    select.o
  LINK  libxfixes.la
Making all in damageext
  CC    damageext.o
  LINK  libdamageext.la
Making all in composite
  CC    compext.o
  CC    compinit.o
  CC    compwindow.o
  CC    compalloc.o
  CC    compoverlay.o
  LINK  libcomposite.la
Making all in glx
  CC    indirect_dispatch_swap.o
  CC    indirect_dispatch.o
  CC    indirect_reqsize.o
  CC    indirect_size_get.o
  CC    glapi.o
  CC    glthread.o
  CC    indirect_table.o
  CC    indirect_util.o
  CC    indirect_program.o
  CC    indirect_texture_compression.o
  CC    glxcmds.o
  CC    glxcmdsswap.o
  CC    glxext.o
indirect_texture_compression.c: In function ‘__glXDispSwap_GetCompressedTexImageARB’:
indirect_texture_compression.c:95: warning: ‘answer’ may be used uninitialized in this function
indirect_texture_compression.c: In function ‘__glXDisp_GetCompressedTexImageARB’:
indirect_texture_compression.c:55: warning: ‘answer’ may be used uninitialized in this function
  CC    glxdriswrast.o
  CC    glxdricommon.o
  CC    glxscreens.o
  CC    render2.o
  CC    render2swap.o
  CC    renderpix.o
  CC    renderpixswap.o
  CC    rensize.o
rensize.c: In function ‘__glXImageSize’:
rensize.c:222: error: ‘GL_DEPTH_STENCIL_MESA’ undeclared (first use in this function)
rensize.c:222: error: (Each undeclared identifier is reported only once
rensize.c:222: error: for each function it appears in.)
rensize.c:261: error: ‘GL_UNSIGNED_SHORT_15_1_MESA’ undeclared (first use in this function)
rensize.c:262: error: ‘GL_UNSIGNED_SHORT_1_15_REV_MESA’ undeclared (first use in this function)
rensize.c:276: error: ‘GL_UNSIGNED_INT_24_8_MESA’ undeclared (first use in this function)
rensize.c:277: error: ‘GL_UNSIGNED_INT_8_24_REV_MESA’ undeclared (first use in this function)
  CC    single2.o
make[1]: *** [rensize.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all-recursive] Error 1
 
Old 01-03-2011, 06:47 PM   #3
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Just a semi-educated guess:

The symptoms suggest to me that Mesa is either not installed, or not fully installed (or broken), or is installed somewhere that it's header files aren't being found, or finally, that the version of Mesa you have installed does not contain the declarations required by the X build you're doing.

However, a quick google about this chunk of your error messages:
Code:
‘GL_DEPTH_STENCIL_MESA’ undeclared
produces lots of things, including this mailing list thread:
http://lists.ibiblio.org/pipermail/s...er/018845.html

which suggests that if the nvidia driver is installed, then the X build seems to look at the wrong header files. Have you got the nvidia driver installed? If so, maybe un-install it first, and try again, or run
Code:
./configure --help
for your X build, and see what options and/or environment variables you can tweak to point the build at the correct (Mesa) header files.

Good luck!
 
Old 01-03-2011, 07:18 PM   #4
jbum
Member
 
Registered: Apr 2008
Distribution: Slackware
Posts: 40

Original Poster
Rep: Reputation: 15
Hmmm... I guess I must have been too exhausted from this to think about googling that when I googled everything else. Lol.

Thanks for the pointer. Yes, I do have Nvidia drivers installed on my system and it's very likely the reason. Instead of potentially hosing my system with uninstall/reinstall (I had issue installing and making it work in the first place), I think I might replicate another slackware installation (I have a spare disk) and do the build there on a vanilla slack 13.1. It might take longer but most of it will be unattended and it should be safer.

Thanks for the help. I really appreciate it. If something goes wrong, I'll post back.
 
Old 01-03-2011, 07:26 PM   #5
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Hmm.. Sounds like a good idea, building on another but similar machine. Definitely will prevent any hosing of the main machine.

I find that Googling pieces of the actual error messages (like I did here) to be a very efficient way of determining if others are having a similar problem with the same software, and maybe finding the solution. Often (certainly not always though), the search results will pertain to the very software that you are having the same troubles with too, as in this case (assuming the nvidia drivers are indeed the problem! Let us know after you do your clean build.)

Anyhow, good luck, and do please let us know how this all works out in the end.

Cheers!
 
Old 01-03-2011, 11:36 PM   #6
jbum
Member
 
Registered: Apr 2008
Distribution: Slackware
Posts: 40

Original Poster
Rep: Reputation: 15
That ended being much faster than I thought. I had a spare SSD drive and was on my way to building xorg-server.
Got both librecord.so and librecord.la created and dropped them into the Xorg modules location.

Restarted X and everything is working!!!

Thanks for your help. Much appreciated.
 
Old 01-04-2011, 09:25 AM   #7
GrapefruiTgirl
Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Awesome! Nice work.

If you haven't yet, and this problem is now solved to your satisfaction, please remember to mark the thread [SOLVED] using the thread tools drop-down menu near the top of the thread. That'll help others find this thread when searching for threads marked [SOLVED].

Cheers!
 
  


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
Magento Install: dom extension and mcrypt extension mjdb Linux - Newbie 0 02-21-2009 02:58 AM
siliconmotion SM910 : problem with Xorg and DRI extension jahvascriptmaniac Linux - Hardware 0 11-26-2006 11:51 AM
Xorg Composite Extension Slow with nVidia Twinview jaws_tas Linux - Software 1 04-26-2005 09:12 AM
./autogen.sh Sheepshaver fails to detect xorg DGA extension Cogvos Linux - Software 1 04-01-2005 10:52 PM
Enabling transparency in Xorg 6.8.0 with composite extension...?! SBing Linux - Software 8 09-12-2004 09:09 AM


All times are GMT -5. The time now is 06:51 PM.

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