[Nut-upsuser] Fwd: NUT on FreeBSD

Daniel O'Connor doconnor at gsoft.com.au
Mon Feb 12 11:59:00 CET 2007

On Monday 12 February 2007 16:58, Herman J van der Merwe wrote:
> 3. What still remains a mystery to me is why no *.conf.sample files are
> created in the /path/to/my/nutinstallation/etc directory.

If you use the port you should get .sample versions of the configuration files 
will be installed.

If you're not.. why not? It's by far the easiest way to install software in 

> 4. The next step is to get my Apache server to serve NUT's cgi pages.  I
> ran into a few warnings and "no's" when I compiled with the "--with-cgi"
> option. These are as below. Can you please comment if FreeBSD needs some
> special attention to get the CGI stuff compiled in?

It can't find gd. Either you don't have it installed or you didn't tell 
configure where to look for it.

You can build the port with CGI support by doing..
cd /usr/ports/sysutils/nut
make WITH_NUT_CGI= install

If you feel you can't use ports then make sure gd is installed and run NUT's 
configure like so..

env CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure ..

and it should find it.

Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20070212/b9cf486f/attachment.pgp

More information about the Nut-upsuser mailing list