There is a basic configure script, however, it has not been tested on
many systems yet.

Type "cd src", followed by "./configure", followed by "make". Copy the
executables "nvtv" and "nvtvd" to your favorite bin directory. See
USAGE about how to run the program.

If anything goes wrong, first try to figure out if a library is
missing. The configure script should stop in this case with a
message like "library xyz required" or "header 'xyz' required".
These libraries and their header files should then be installed 
in a place where they can be found by the compiler.

Libraries needed are libpci, libXmu, libXxf86vm and gtk1.2+. 

The configure script has the additional option "--without-gtk", which
allows you to build without the Gtk graphical user interface. In that
case, you are restricted to command line invocation. If Gtk cannot be
found on your system, the build is automatically restricted; so if
you can only use the command line, that is the probable reason.

DEBIAN
------

On Debian, you need the packages pciutils-dev, xlibs, xlibs-dev,
libgtk1.2, and libgtk1.2-dev.

SUSE 7.1
--------

For installing Nvtv on Suse 7.1 you need to get the pciutils from

http://atrey.karlin.mff.cuni.cz/~mj/pciutils.html.

After installing pciutils you'll have to copy some files from the 
pciutils-xyz/lib directory manually (as root) to /usr:

cd pciutils-xys/lib
mkdir /usr/include/pci
cp *.h /usr/include/pci
cp libpci.a /usr/lib

Then do:
ldconfig

Now you are ready to run Nvtv's configure-script. Be sure you have the 
other needed packages installed! (See above)

SUSE 7.2
--------

The SuSE 7.2 series zq has now the source package pciutils_spm (v2.1.8).
Installing it with YaST copies the sources and diffs into the directory
/usr/src/packages/SOURCES. Use 'bzip2 -d pciutils-2.1.8.tar.bz2' to extract
the files into pciutils-2.1.8/lib. After a 'cd' into this directory
and './configure' followed by './make', follow the procedure above
for SuSE 7.1 including the final 'ldconfig' to install the package
properly.

After this, nvtv compiles without any problems.

MANDRAKE
--------

Nvtv works fine under Linux Mandrake 8.1 without doing any
pre-installation copy. Use the rpmdrake (mandrake's rpm installing
utility) to install pciutil-devel. This is enough to compile it.

SLACKWARE
---------

Here is a way to install pciutils for Slackware (7.1).

Used the source file provided from:
http://atrey.karlin.mff.cuni.cz/~mj/pciutils.html

I chose to install it to:
/opt/libpci
but you can install it to wherever you want to.
Did not care about the man-files or the binaries.
Make some temporary directory, and cd into it.

tar -xzf pciutils-2.1.9.tar.gz
cd pciutils-2.1.9
make
cd lib
install -d /opt/libpci/include/pci
cp *.h /opt/libpci/include/pci
install -d /opt/libpci/lib
cp *.a /opt/libpci/lib

export C_INCLUDE_PATH=/opt/libpci/include
export LIBRARY_PATH=/opt/libpci/lib

After you set the include-path and library-path you do your ./configure 
for nvtv, and compile.

If you want, you can also install the pciutils binaries:

install -d /opt/libpci/sbin
cd ..
cp setpci /opt/libpci/sbin
cp lspci /opt/libpci/sbin


OTHER LINUX DISTRIBUTIONS
-------------------------

If you have a different linux distribution (Red Hat, ...) please
drop me a mail at <dthierbach@gmx.de> and explain how to find the
packages above in your distribution, so I can include this information
in the documentation. (No, I cannot answer questions how to install
this program on distributions other than Debian).






