Chapter 4. Compilation

If you have all above libraries installed, you can compile Nightview:


i@hell:~$ cd nightview
i@hell:~$ make [-i]

Simply run make. The configure phase is not implemented yet, but it is probably not need because libsbig is strictly depend on PC hardware style. Now, you are waiting for binaries... The parameter -i tells make to ignore errors due to missing utilities or libraries. Use it with caution.

Problems

When the similar message appears in begin of installation:


..
cc -O -D_REENTRANT -I../include -L. -fPIC -c ccdsbig.c
ccdsbig.c:29: sbig.h: No such file or directory
...

this means that you don't installed the sbig.h header file in some system-wide include directory (do you installed the sbig library?). There is possibility use of the arbitrary directory for this file. Set the shell variable INC_SBIG to this directory. For example:


i@hell:~/nightview$ INC_SBIG=/home/my/sbig-linux-2.4 make

But this is only installation help, you still need the install libraries to run the daemon.