KWebcam (0.1.4) README file ( 14APR2000 )

Please read this file carefully as it will walk you through the entire
process to successfully build and install KWebCam and the accompanying
application, 'grabit'.  It is not that difficult to do, just needs to be done
in order.


You will need the imageio extensions of QT installed. My RedHat 6.1 system did
not come with these. Download qt-1.44 or qt-1.45, and build the qt libs.

**Note** Be mindful where you unpack the qt-1.44/5 tar.gz file! You could
overwrite the RPM installed version of QT located in /usr/lib (on RedHat
systems). It would be best to unpack them somewhere other than /usr/lib unless
you are sure what you are doing! ( Been there, done that, bought the
Tee-shirt! ;-)


cd into qt/extensions/imageio/src and edit the Makefile as follows:
Change theline:
 	SYSCONF_LIBS_X11	= -lX11 -lXext
to:
	SYSCONF_LIBS_X11	= -lX11 -lXext -ljpeg -lpng -lz
and run "make" in that directory.

Edit /etc/ld.so.conf (on my RedHat system), adding:

/usr/lib/qt/lib or where ever it is that you decided to unpack the qt-1.45
sources

You will need to issue a "ldconfig -v".

You may need to edit the 'grabit.c' file in the subdirectory 'grabit'
to suit your system. Once the 'grabit.c' is edited, save it and close the
editor and run "make". It should build without complaint. Copy the resulting
binary to /usr/bin or somewhere in your path.

Next, change into the directory where KWebCam is located.
Run:
	./configure
	make
	make install

The defaults of install are /usr/bin. This cam be changed with
	'./configure --prefix=/path/to_your/directory'
	( such as ./configure --prefix=/usr/local/bin )

That should be all you need.  KWebCam was built with KDevelop 1.0 on a RedHat
6.1 system running KDE 1.1.2 and QT-1.45

As of version 0.1.3, using KDevelop 1.1 on a RedHat 6.2 (Zoot) system with
QT-1.45 and KDE-1.1.2

Troy Ogden <badger@bookshelves.net>

//EOF
