Decrease your stress

Page 2 of 3
<font face="Courier">
# #comment - download the compressed tar file, uncompress it, and untar it<br>
# #comment - Make sure that /usr/ccs/bin/ is in your search path<br>
<br>
# cd /export/home/pbg/netsaint-0.0.6b6<br>
<br>
# ls<br>
Changelog        cgi              eventhandlers    nscgi.cfg.in<br>
INSTALL          commands.cfg.in  functions        resource.cfg.in<br>
LICENSE          common           hosts.cfg.in     subst<br>
Makefile.in      configure        html             subst.in<br>
README           configure.in     init-script.in   test.cfg.in<br>
UPGRADING        contrib          install-sh       utils<br>
base             daemon-init.in   netsaint.cfg.in  xdata<br>
<br>
# ./configure --prefix=/opt/netsaint <br>
loading cache ./config.cache<br>
checking for a BSD compatible install... (cached) /opt/sfw/bin/ginstall -c<br>
Init script directory:  /etc/init.d<br>
checking for gcc... (cached) gcc<br>
checking whether the C compiler (gcc  ) works... yes<br>
checking whether the C compiler (gcc  ) is a cross-compiler... no<br>
checking whether we are using GNU C... (cached) yes<br>
checking whether gcc accepts -g... (cached) yes<br>
checking whether make sets ${MAKE}... (cached) no<br>
checking for gdImagePng in -lgd (order 1)... (cached) no<br>
checking for gdImagePng in -lgd (order 2)... (cached) no<br>
checking for gdImagePng in -lgd (order 3)... (cached) no<br>
<br>
<br>
*** GD library could not be located... *****************************<br>
<br>
Boutell's GD library is required to compile the statusmap and trends<br>
CGIs.  Get it from http://www.boutell.com/gd/, compile it,<br>
and use the --with-gd-lib and --with-gd-inc arguments to specify the<br>
locations of the GD library and include files.<br>
<br>
Note: RedHat Linux users can download the 'gd' and 'gd-devel' RPMs<br>
from http://www.rpmfind.net/linux/RPM/GByName.html (try installing<br>
version 1.8.1-2 or newer if you can).<br>
<br>
********************************************************************<br>
<br>
<br>
checking how to run the C preprocessor... (cached) gcc -E<br>
checking for ANSI C header files... (cached) yes<br>
checking whether time.h and sys/time.h may both be included... (cached) yes<br>
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes<br>
checking for errno.h... (cached) yes<br>
checking for fcntl.h... (cached) yes<br>
checking for getopt.h... (cached) no<br>
checking for grp.h... (cached) yes<br>
checking for limits.h... (cached) yes<br>
checking for math.h... (cached) yes<br>
checking for pwd.h... (cached) yes<br>
checking for signal.h... (cached) yes<br>
checking for strings.h... (cached) yes<br>
checking for string.h... (cached) yes<br>
checking for syslog.h... (cached) yes<br>
checking for unistd.h... (cached) yes<br>
checking for uio.h... (cached) no<br>
checking for sys/types.h... (cached) yes<br>
checking for sys/time.h... (cached) yes<br>
checking for sys/resource.h... (cached) yes<br>
checking for sys/wait.h... (cached) yes<br>
checking for sys/stat.h... (cached) yes<br>
checking for sys/ipc.h... (cached) yes<br>
checking for sys/msg.h... (cached) yes<br>
checking for working const... (cached) yes<br>
checking whether struct tm is in sys/time.h or time.h... (cached) time.h<br>
checking for tm_zone in struct tm... (cached) no<br>
checking for tzname... (cached) yes<br>
checking for mode_t... (cached) yes<br>
checking for pid_t... (cached) yes<br>
checking for size_t... (cached) yes<br>
checking return type of signal handlers... (cached) void<br>
checking for uid_t in sys/types.h... (cached) yes<br>
checking type of array argument to getgroups... (cached) gid_t<br>
checking for strdup... (cached) yes<br>
checking for strstr... (cached) yes<br>
checking for strtoul... (cached) yes<br>
checking for initgroups... (cached) yes<br>
checking for type of socket size... int<br>
checking for perl... (cached) /usr/bin/perl<br>
creating ./config.status<br>
creating Makefile<br>
creating subst<br>
creating base/Makefile<br>
creating common/Makefile<br>
creating cgi/Makefile<br>
creating html/Makefile<br>
creating xdata/Makefile<br>
creating init-script<br>
creating daemon-init<br>
creating html/index.html<br>
creating html/side.html<br>
creating common/config.h<br>
common/config.h is unchanged<br>
creating base/netsaint.h<br>
base/netsaint.h is unchanged<br>
creating cgi/cgiutils.h<br>
cgi/cgiutils.h is unchanged<br>
<br>
# make all<br>
cd ./base; make ; cd ..<br>
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE  -c  checks.c<br>
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE  -c  config.c<br>
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE  -c  commands.c<br>
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE  -c  logging.c<br>
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE  -c  notifications.c<br>
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE  -c  sehandlers.c<br>
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE  -c  utils.c<br>
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE  -c  sretention.c<br>
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE  netsaint.c checks.o config.o commands.o<br>
logging.o notifications.o sehandlers.o utils.o sretention.o <br>
../xdata/xrddefault.c ../common/comments.c ../xdata/xcddefault.c <br>
../common/objects.c ../xdata/xoddefault.c ../common/statusdata.c <br>
../xdata/xsddefault.c - lm -o netsaint<br>
<br>
cd ./cgi; make ; cd ..<br>
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  -c  getcgi.c<br>
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  -c  cgiutils.c<br>
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  -c  auth.c<br>
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  -c  popen.c<br>
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  cmd.c  getcgi.o cgiutils.o auth.o popen.o<br>
../common/objects.c ../xdata/xoddefault.c ../common/statusdata.c ../xdata/xsd<br>
<br>
default.c ../common/comments.c ../xdata/xcddefault.c -o cmd.cgi<br>
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  config.c  getcgi.o cgiutils.o auth.o <br>
popen.o ../common/objects.c ../xdata/xoddefault.c ../common/statusdata.c <br>
../xdata/xsd<br>
default.c -o config.cgi<br>
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  -c  edata.c<br>
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  extinfo.c getcgi.o cgiutils.o auth.o <br>
popen.o ../common/objects.c ../xdata/xoddefault.c ../common/statusdata.c <br>
../xdata/xsd<br>
default.c ../common/comments.c ../xdata/xcddefault.c edata.o <br>
../xdata/xeddefault.c -o extinfo.cgi<br>
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  -c  lifo.c<br>
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  history.c getcgi.o cgiutils.o auth.o <br>
popen.o ../common/objects.c ../xdata/xoddefault.c ../common/statusdata.c <br>
../xdata/xsddefault.c lifo.o -o history.cgi<br>
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  notifications.c getcgi.o cgiutils.o auth.o<br>
popen.o ../common/objects.c ../xdata/xoddefault.c ../common/statusdata.c<br> ../xdata/xsddefault.c lifo.o -o notifications.cgi<br>
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  outages.c getcgi.o cgiutils.o auth.o <br>
popen.o ../common/objects.c ../xdata/xoddefault.c ../common/statusdata.c <br>
../xdata/xsddefault.c ../common/comments.c ../xdata/xcddefault.c -o <br>
outages.cgi<br>
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  showlog.c getcgi.o cgiutils.o auth.o <br>
popen.o ../common/objects.c ../xdata/xoddefault.c ../common/statusdata.c<br>
../xdata/xsddefault.c lifo.o -o showlog.cgi<br>
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  status.c getcgi.o cgiutils.o auth.o <br>
popen.o ../common/objects.c ../xdata/xoddefault.c ../common/statusdata.c <br>
../xdata/xsddefault.c ../common/comments.c ../xdata/xcddefault.c edata.o <br>
../xdata/xeddefault.c -o status.cgi<br>
gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI  statuswrl.c getcgi.o cgiutils.o auth.o <br>
popen.o ../common/objects.c ../xdata/xoddefault.c ../common/statusdata.c <br>
../xdata/xsddefault.c -lm edata.o ../xdata/xeddefault.c -o statuswrl.cgi<br>
cd ./html; make ; cd ..<br>
<br>
# #comment -  create "netsaint" user in /etc/passwd and "netsaint" group in <br>
/etc/group<br>
<br>
# make install<br>
cd ./base; make install ; cd ..<br>
/opt/sfw/bin/ginstall -c -m 775 -o netsaint -g netsaint -d /opt/netsaint/bin<br>

/opt/sfw/bin/ginstall -c -m 774 -o netsaint -g netsaint netsaint<br>
/opt/netsaint/bin<br>
cd ./cgi; make install ; cd ..<br>
/opt/sfw/bin/ginstall -c -m 775 -o netsaint -g netsaint -d /opt/netsaint/sbin<br>
for file in *.cgi; \<br>
do /opt/sfw/bin/ginstall -c -m 775 -o netsaint -g netsaint $file<br> /opt/netsaint/sbin; done<br>
cd ./html; make install ; cd ..<br>
/opt/sfw/bin/ginstall -c -m 775 -o netsaint -g netsaint -d<br> /opt/netsaint/share<br>
/opt/sfw/bin/ginstall -c -m 775 -o netsaint -g netsaint -d<br>
/opt/netsaint/share/media<br>
/opt/sfw/bin/ginstall -c -m 775 -o netsaint -g netsaint -d<br> /opt/netsaint/share/stylesheets<br>
/opt/sfw/bin/ginstall -c -m 775 -o netsaint -g netsaint -d<br> /opt/netsaint/share/docs/images<br>
/opt/sfw/bin/ginstall -c -m 775 -o netsaint -g netsaint -d<br> /opt/netsaint/share/docs/developer<br>
/opt/sfw/bin/ginstall -c -m 775 -o netsaint -g netsaint -d<br> /opt/netsaint/share/docs/developer/images<br>
/opt/sfw/bin/ginstall -c -m 775 -o netsaint -g netsaint -d<br> /opt/netsaint/share/images<br>
/opt/sfw/bin/ginstall -c -m 775 -o netsaint -g netsaint -d<br> /opt/netsaint/share/images/logos<br>
/opt/sfw/bin/ginstall -c -m 664 -o netsaint -g netsaint robots.txt<br> /opt/netsaint/share<br>
/opt/sfw/bin/ginstall -c -m 664 -o netsaint -g netsaint docs/robots.txt<br> /opt/netsaint/share/docs<br>
for file in *.html; \<br>
do /opt/sfw/bin/ginstall -c -m 664 -o netsaint -g netsaint $file<br> /opt/netsaint/share; done<br>
for file in media/*.wav; \<br>
do /opt/sfw/bin/ginstall -c -m 664 -o netsaint -g netsaint $file<br> /opt/netsaint/share/media; done<br>
for file in stylesheets/*.css; \<br>
do /opt/sfw/bin/ginstall -c -m 664 -o netsaint -g netsaint $file<br> /opt/netsaint/share/stylesheets; done<br>
for file in docs/*.html; \<br>
do /opt/sfw/bin/ginstall -c -m 664 -o netsaint -g netsaint $file<br> /opt/netsaint/share/docs; done<br>
for file in docs/developer/*.html; \<br>
do /opt/sfw/bin/ginstall -c -m 664 -o netsaint -g netsaint $file<br> /opt/netsaint/share/docs/developer; done<br>
for file in docs/developer/images/*; \<br>
do /opt/sfw/bin/ginstall -c -m 664 -o netsaint -g netsaint $file<br> /opt/netsaint/share/docs/developer/images; done<br>
for file in docs/images/*; \<br>
do /opt/sfw/bin/ginstall -c -m 664 -o netsaint -g netsaint $file<br> /opt/netsaint/share/docs/images; done<br>
for file in images/*.gif;<br> 
do /opt/sfw/bin/ginstall -c -m 664 -o netsaint -g netsaint $file<br> /opt/netsaint/share/images; done<br>
for file in images/*.png; \<br>
do /opt/sfw/bin/ginstall -c -m 664 -o netsaint -g netsaint $file<br> /opt/netsaint/share/images; done<br>
for file in images/logos/*; \<br>
do /opt/sfw/bin/ginstall -c -m 664 -o netsaint -g netsaint $file<br> /opt/netsaint/share/images/logos; done<br>
/opt/sfw/bin/ginstall -c -m 775 -o netsaint -g netsaint -d /opt/netsaint/var<br>
/opt/sfw/bin/ginstall -c -m 775 -o netsaint -g netsaint -d<br> /opt/netsaint/var/archives<br>
<br>
# ls<br>
Changelog        commands.cfg.in  eventhandlers    nscgi.cfg<br>
INSTALL          common           functions        nscgi.cfg.in<br>
LICENSE          config.cache     hosts.cfg        resource.cfg<br>
Makefile         config.log       hosts.cfg.in     resource.cfg.in<br>
Makefile.in      config.status    html             subst<br>
README           configure        init-script      subst.in<br>
UPGRADING        configure.in     init-script.in   test.cfg<br>
base             contrib          install-sh       test.cfg.in<br>
cgi              daemon-init      netsaint.cfg     utils<br>
commands.cfg     daemon-init.in   netsaint.cfg.in  xdata<br>
<br>
# make install-config<br>
/opt/sfw/bin/ginstall -c -m 775 -o netsaint -g netsaint -d /opt/netsaint/etc<br>
/opt/sfw/bin/ginstall -c -m 664 -o netsaint -g netsaint netsaint.cfg<br> /opt/netsaint/etc<br>
/opt/sfw/bin/ginstall -c -m 664 -o netsaint -g netsaint hosts.cfg<br> /opt/netsaint/etc<br>
/opt/sfw/bin/ginstall -c -m 664 -o netsaint -g netsaint commands.cfg<br> /opt/netsaint/etc<br>
/opt/sfw/bin/ginstall -c -m 664 -o netsaint -g netsaint nscgi.cfg<br> /opt/netsaint/etc<br>
/opt/sfw/bin/ginstall -c -m 660 -o netsaint -g netsaint resource.cfg<br> /opt/netsaint/etc<br>
<br>
# make install-init<br>
/opt/sfw/bin/ginstall -c -m 774 -o root -g root init-script<br> /etc/init.d/netsaint<br>
<br>
# ls /opt/netsaint<br>     
bin    etc    sbin   share  var<br>
<br>
# ls -l /opt/netsaint/bin<br>
total 1488<br>
-rwxrwxr--   1 netsaint netsaint  751580 Oct  9 22:59 netsaint<br>
</font>
MRTG sidebar
Related:
| 1 2 3 Page 2
ITWorld DealPost: The best in tech deals and discounts.
Shop Tech Products at Amazon