Solved

compile and install xawtv on centOS 5.5

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

777 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