Nightview installationAfter successful download of Nightview, we can try to install one. If, there is need to install the camera server (switch --with-sbigudrv see below), it is absolutely necessary to install SBIG Universal library before. There is limited possibility to fit the installation according to your needs. By this way, you can reduce of known "dependency hell". By running of the command ./configure --help you can show the possible switches to be used to control of compilation. For example: ... --with-sbig build with driver library by S. Ashe (no) --with-sbigudrv build with SBIG Universal Driver/Library (yes) --with-curl build with cURL library support (no) --with-nighthttpd build with nightview HTTP server (yes) --with-cgi build with nightview cgi scripts (no) --with-mount build with mount support (yes) --with-shell build with command line utilities (yes) --with-gtknightview build with GUI for camera, gtk+ (no) --with-xnightview build with GUI for camera, wxWidgets (yes) --with-xmove build with GUI for mount (yes) --with-doc build more documentation (no) ... Default setting is recommended for typical installation. If you are building the server (without graphical front-ends) select these switches: ./configure --without-xnightview --without-xmove If, we will build the package on system different of 32-bit Linux system (where SBIG cameras are unsupported) select these switches: ./configure --without-sbigudrv Simply, select what you want. Better description of requirements and dependencies is summarized in paragraph Installation requirements. The setting of the environment variables can also affect of the compilation. For example, a progressive optimization of the output code (it is strongly recommended!) is provided by CFLAGS variable bash$ CFLAGS=-O ./configure When the package is successfully configured by the ./configure utility, simply run make install to install the package to a target directory /usr/local (if switch --prefix is not specified to configure script). Note. The installation under FreeBSD can work with parameters: csh:> ./configure --without-sbigudrv LDFLAGS=-L/usr/local/lib \ CPPFLAGS=-I/usr/local/include Un-installationType make uninstall in installation directory to do it. Installation requirements
Alternatively, it is possible use of various configuration options in case of non-typical installation. The following packages can be useful: cURL, gtk+ 1.2, wxPython. BugsThe configuration process reports somethink link this: checking sbigudrv.h presence... yes configure: WARNING: sbigudrv.h: present but cannot be compiled configure: WARNING: sbigudrv.h: check for missing prerequisite headers? configure: WARNING: sbigudrv.h: see the Autoconf documentation configure: WARNING: sbigudrv.h: section "Present But Cannot Be Compiled" configure: WARNING: sbigudrv.h: proceeding with the preprocessor's result configure: WARNING: sbigudrv.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to hroch@physics.muni.cz ## configure: WARNING: ## ------------------------------------ ## checking for sbigudrv.h... yes This is a some anomaly in the header file and it can be safety ignored. Follow to Configuration page. Last modification: 2009-01-22 16:06:31 |
Copyright © 2001-8, F. Hroch, Institute of Theoretical Physics and Astrophysics, Masaryk University, Brno, Czech Republic