You are not logged in.

#1 2010-01-31 09:34:11

Corex
Member
From: Sweden
Registered: 2010-01-31
Posts: 63

librecord.so

I'm trying to activate a module called "Record" in my /etc/X11/xorg.conf.
So trying to get my hands on that and my pacman -Q recordproto shows recordproto 1.14-1 but no librecord.so is on the harddrive (also reinstalled it).
So i try a different approach and downloading recordproto-1.14.tar.gz from x.org but doesnt seem to work either:
./configure

checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for gcc option to accept ISO C99... -std=gnu99
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
configure: creating ./config.status
config.status: creating Makefile
config.status: creating recordproto.pc
config.status: executing depfiles commands

make install
-- this command gives the message:

make[1]: Entering directory `/home/Downloads/recordproto-1.14'
make[1]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/lib/pkgconfig" || /bin/mkdir -p "/usr/local/lib/pkgconfig"
 /bin/install -c -m 644 recordproto.pc '/usr/local/lib/pkgconfig'
test -z "/usr/local/include/X11/extensions" || /bin/mkdir -p "/usr/local/include/X11/extensions"
 /bin/install -c -m 644 recordconst.h recordproto.h recordstr.h '/usr/local/include/X11/extensions'
make[1]: Leaving directory `/home/Downloads/recordproto-1.14'

The dirs seems to be wrong, my pkgconfig lib is in /usr/lib/pkgconfig not /usr/local/lib/pkgconfig my xorg extensions is in /usr/lib/xorg/modules/extensions not /usr/local/include/X11/extensions, making a symlinks instead of letting the script create the hardlinks:
ln -s /usr/lib/pkgconfig/ /usr/local/lib/pkgconfig
ln -s /usr/lib/xorg/modules/extensions/ /usr/local/include/X11/extensions
run "make install" again:

make[1]: Entering directory `/home/Downloads/recordproto-1.14'
make[1]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/lib/pkgconfig" || /bin/mkdir -p "/usr/local/lib/pkgconfig"
 /bin/install -c -m 644 recordproto.pc '/usr/local/lib/pkgconfig'
test -z "/usr/local/include/X11/extensions" || /bin/mkdir -p "/usr/local/include/X11/extensions"
 /bin/install -c -m 644 recordconst.h recordproto.h recordstr.h '/usr/local/include/X11/extensions'
make[1]: Leaving directory `/home/Downloads/recordproto-1.14'

Same message, it ignores symlinks and tries to create hardlinks anyways, copy's the .pc and .h files and stops.. no clue what's going on.

So i'm thinking let's play around with the "Makefile" and did the following changes in it:

prefix = /usr/local to /usr
includedir = ${prefix}/include to includedir = ${prefix}/lib
recorddir = $(includedir)/X11/extensions to recorddir = $(includedir)/xorg/modules/extensions

and "make install" again:

make[1]: Entering directory `/home/Downloads/recordproto-1.14'
make[1]: Nothing to be done for `install-exec-am'.
test -z "/usr/lib/pkgconfig" || /bin/mkdir -p "/usr/lib/pkgconfig"
 /bin/install -c -m 644 recordproto.pc '/usr/lib/pkgconfig'
test -z "/usr/lib/xorg/modules/extensions" || /bin/mkdir -p "/usr/lib/xorg/modules/extensions"
 /bin/install -c -m 644 recordconst.h recordproto.h recordstr.h '/usr/lib/xorg/modules/extensions'
make[1]: Leaving directory `/home/Downloads/recordproto-1.14'

SAME AS BEFORE (but with correct paths now) does it search for the xorg source files or what sad Now i think i've got this all wrong, what am i doing lol.. I guess can't use this tar package?

Anyone knows a way how to get my hands on that darn module or how to continue with the archived code? hmm

Last edited by Corex (2010-01-31 11:06:30)

Offline

#2 2010-01-31 12:42:29

Corex
Member
From: Sweden
Registered: 2010-01-31
Posts: 63

Re: librecord.so

nvm, i rebuilt xorg-server with --enable-record now i have librecord.so and it loads correctly.. after all this work it won't load with this message:

record: RECORD extension enabled at configure time.
record: This extension is known to be broken, disabling extension now..
record: http://bugs.freedesktop.org/show_bug.cgi?id=20500

not funny sad

Offline

Board footer

Powered by FluxBB