Solved

compile and install xawtv on centOS 5.5

Posted on 2011-09-12
4
646 Views
Last Modified: 2012-05-12
I am tryinig to install xawtv to my centOS. While following the procedue given in this site:
http://www.metoolabs.com/index.php?option=com_content&view=article&id=89&Itemid=113&1c822bc166df96723322cb11ff511844=fdtnphqgi

I ran into this problem when trying to make the target:

See the screen log:

 CC      console/fbtools.o
  CC      console/fs.o
  CC      console/matrox.o
  CC      common/lirc.o
  CC      common/joystick.o
  CC      common/midictrl.o
  LD      console/fbtv
  CC      console/v4l-info.o
  CC      structs/struct-dump.o
  CC      structs/struct-v4l.o
  CC      structs/struct-v4l2.o
  LD      console/v4l-info
  CC      console/v4l-conf.o
  LD      console/v4l-conf
/usr/bin/ld: cannot find -lXaw
collect2: ld returned 1 exit status
make: *** [console/v4l-conf] Error 1
[root@cslinux xawtv-3.95]#


....

What is   "-lXaw" ?   Please help!

If xawtv can work on CentOS, please suggest other webcam grabbler that would work, thank all the same

System information:
CentOS 5.5, kernel version: 2.6.18-194.3.1.e15

[root@cslinux ~]# [root@cslinux ~]# uname -a
-bash: [root@cslinux: command not found
[root@cslinux ~]# Linux cslinux.coker.edu 2.6.18-194.3.1.el5 #1 SMP Thu May 13 13:09:10 EDT 2010 i686 i686 i386 GNU/Linux


Thanks in advance xawtv-3.97-build-log.txt
0
Comment
Question by:zzhang2006
  • 2
  • 2
4 Comments
 
LVL 77

Expert Comment

by:arnold
ID: 36527044
-lXAW is libxau
yum install libxaw

Xaw3d.i386 : A version of the MIT Athena widget set for X.
Xaw3d-devel.i386 : Header files and static libraries for development using
                 : Xaw3d.
libXaw.i386 : X.Org X11 libXaw runtime library
libXaw-devel.i386 : X.Org X11 libXaw development package

0
 
LVL 1

Author Comment

by:zzhang2006
ID: 36532664
Thanks, Arnold
Still can't find -lXAW

See

[root@cslinux xawtv-3.95]# yum install libXaw
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: www.gtlib.gatech.edu
 * base: mirror.cogentco.com
 * extras: ftp.usf.edu
 * updates: mirror.rackspace.com
Setting up Install Process
Package libXaw-1.0.2-8.1.i386 already installed and latest version
Nothing to do
[root@cslinux xawtv-3.95]# make
  LD      console/v4l-conf
/usr/bin/ld: cannot find -lXaw
collect2: ld returned 1 exit status
make: *** [console/v4l-conf] Error 1
[root@cslinux xawtv-3.95]#
0
 
LVL 77

Accepted Solution

by:
arnold earned 500 total points
ID: 36532932
-lXaw is a linker (ld) directive
Adding a search path to make sure the -lXaw is found.
vi /etc/ld.so.conf.d/LD_search_path.conf
and make sure it has
/lib
/usr/lib
 within the file
see that  libXaw*.so is in /usr/lib on your system.
and try again.
Try the following as well.
echo $LD_LIBRARY_PATH
to see whether it is defined and has data.
If it is defined and is defined with a value that does not include the above references, do the following
LD_LIBRARY_PATH="/lib:/usr/lib:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH
and try again

grep -i configure config.status.  Trying to see what options you set when configuring xawtv in the event the prior ones do not work.
0
 
LVL 1

Author Closing Comment

by:zzhang2006
ID: 36584579
Thanks, it sort of helps
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now