Author Topic: (NEW) XVATTR  (Read 919 times)

Offline desmolinux

  • Full Member
  • ***
  • Posts: 129
(NEW) XVATTR
« on: October 15, 2010, 03:58:21 AM »
Hi, again, I'm trying to connect the Pc to the Tv, I have finding in google and I find one way, with Xrandr and xvattr, the first (xrandr) is in the repositories but xvatrr no. I have download 3-4 times the archive and I tried to install it, but always give me error in the instalation with the terminal.
When I do ./configure gime me this error:
[root@localhost xvattr-1.3]# ./configure
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for getopt_long... yes
checking for X... no
checking for gtk-config... no
checking for GTK - version >= 0.99.7... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
checking for XvQueryExtension in -lXv... no
configure: WARNING: Did not find Xv this program is meaningless without Xv
checking for stdio.h... no
checking for stdlib.h... no
checking for X11/Xlib.h... no
checking for X11/extensions/Xvlib.h... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating xvattr.pod
config.status: executing default-1 commands
Can you gime a package of Xvattr that I can install? thanks

If this post not going here ,please move it.

ralle73

  • Guest
Re: (NEW) XVATTR
« Reply #1 on: January 22, 2011, 07:19:11 AM »
Hi,
I had the same problem.

I believe you have to install Xv first before you can install xvattr. You can see in your output that the check for xv fails.

You can get XV from here: ftp://ftp.trilon.com/pub/xv/xv-3.10a.tar.gz

I then got stuck trying to compile it as I'm getting compile errors.
It can't find X11/Xos.h and other .h files in X11/

Not sure if I need to install these files or just modify the makefile to find them in the right place.

Maybe someone knows.

ralle73

  • Guest
Re: (NEW) XVATTR
« Reply #2 on: January 26, 2011, 03:48:28 PM »
OK, I got it working now.

In order to get XV to compile I had to do a few things and I am trying to remember them and list below in case someone else is running into the same problems:
1. Install the X11 libraries and include files from Synaptics.
2. In /usr/include/X11/Xarch.h change <sys/byteorder.h> to <asm/byteorder.h>
3. Edit the XV make file as follows:
   - CCOPTS = -O -L/usr/lib -I/usr/include
   - MANDIR = /usr/share/man/man1
   - MCHN = -DLINUX
   - BSDTYPES = -DBSDTYPES
4. In file xv.h lines 119-121 need to be commented out.
   /* # ifndef __NetBSD__
   extern char *sys_errlist[]; this too...
   # endif */
5. Do 'make' and 'make install' to install xv (hopefully successfully)
6. In order to build xvattr the GTK library and install files need to be installed from Synaptics. libgtk+2.0 and maybe libgtk+1.2 too.
7. xvattr should now compile OK.

That's it.