Solved

compile and install xawtv on centOS 5.5

Posted on 2011-09-12
4
648 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Fine Tune your automatic Updates for Ubuntu / Debian
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

828 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