Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

compile and install xawtv on centOS 5.5

Posted on 2011-09-12
4
Medium Priority
?
670 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 79

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 79

Accepted Solution

by:
arnold earned 1500 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

Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
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.
Suggested Courses

722 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