Solved

compile and install xawtv on centOS 5.5

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

Expert Comment

by:arnold
Comment Utility
-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
Comment Utility
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 76

Accepted Solution

by:
arnold earned 500 total points
Comment Utility
-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
Comment Utility
Thanks, it sort of helps
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
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.

762 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

6 Experts available now in Live!

Get 1:1 Help Now