How-to build / make / install

2007-01-18 Thread Don Munyak

How-to build/make/install

{disclaimer}...I've been using FreeBSD for about a year, so while I
consider myself still a n00b, I'm just not a complete n00b :) OS:
6.1-RELEASE

I really need some help building a package for install (if that's the
correct terminology).

hobbitmon is the next re-named version of big brother
http://hobbitmon.sourceforge.net/

I have downloaded the tar.gz file into /usr/local/etc
I extracted the tar using:

don-bsd# tar xvfz file.tar.gz

then I cd in to the directory
don-bsd# cd /usr/local/etc/hobbit-4.2.0

The directory listing is as follows:

don-bsd# pwd
/usr/local/etc/hobbit-4.2.0

don-bsd# ls -la
total 164
drwxr-xr-x  17 root  wheel512 Jan 18 09:38 .
drwxr-xr-x  20 root  wheel   1536 Jan 18 09:48 ..
-r--r--r--   1 root  wheel  17983 Aug  9 16:10 COPYING
-r--r--r--   1 root  wheel   1585 Aug  9 16:10 CREDITS
-r--r--r--   1 root  wheel  69402 Aug  9 16:10 Changes
-r--r--r--   1 root  wheel   3303 Aug  9 16:10 README
-r--r--r--   1 root  wheel   5063 Aug  9 16:10 README.CLIENT
-r--r--r--   1 root  wheel   9290 Aug  9 16:10 RELEASENOTES
drwxr-xr-x   2 root  wheel   1024 Aug  9 16:10 bbdisplay
drwxr-xr-x   2 root  wheel   1024 Aug  9 16:19 bbnet
drwxr-xr-x   2 root  wheel512 Aug  9 16:10 bbproxy
drwxr-xr-x   2 root  wheel   1536 Jan 17 17:01 build
drwxr-xr-x   2 root  wheel   1024 Aug  9 16:10 client
drwxr-xr-x   2 root  wheel   1024 Aug  9 16:10 common
-r-xr-xr-x   1 root  wheel431 Aug  9 16:10 configure
-r-xr-xr-x   1 root  wheel   6005 Aug  9 16:10 configure.client
-r-xr-xr-x   1 root  wheel  14018 Aug  9 16:10 configure.server
drwxr-xr-x   2 root  wheel512 Aug  9 16:10 contrib
drwxr-xr-x   3 root  wheel   1024 Aug  9 16:10 debian
drwxr-xr-x   2 root  wheel512 Aug  9 16:10 demotool
drwxr-xr-x   3 root  wheel   1536 Aug  9 16:10 docs
drwxr-xr-x   7 root  wheel   1536 Aug  9 16:10 hobbitd
drwxr-xr-x   2 root  wheel512 Aug  9 16:10 include
drwxr-xr-x   2 root  wheel   2048 Aug  9 16:10 lib
drwxr-xr-x   3 root  wheel512 Aug  9 16:10 rpm
drwxr-xr-x   2 root  wheel   2048 Aug  9 16:10 web
don-bsd#

The README says to simply
don-bsd# ./configure
don-bsd# make
don-bsd# make install

However, when I type ./configure  from /usr/local/etc/hobbit-4.2.0

don-bsd# ./configure

Configuration script for Hobbit

This script asks a few questions and builds a Makefile to compile Hobbit

Checking your make-utility
GNU make is required to build Hobbit.
If it is available as gmake, run configure as: 'MAKE=gmake
./configure.server'
don-bsd#

*

Help please, Thanks

~Don
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How-to build / make / install

2007-01-18 Thread Niclas Zeising

On 1/18/07, Don Munyak [EMAIL PROTECTED] wrote:

How-to build/make/install

{disclaimer}...I've been using FreeBSD for about a year, so while I
consider myself still a n00b, I'm just not a complete n00b :) OS:
6.1-RELEASE

I really need some help building a package for install (if that's the
correct terminology).

hobbitmon is the next re-named version of big brother
http://hobbitmon.sourceforge.net/

I have downloaded the tar.gz file into /usr/local/etc
I extracted the tar using:

   don-bsd# tar xvfz file.tar.gz

then I cd in to the directory
   don-bsd# cd /usr/local/etc/hobbit-4.2.0

The directory listing is as follows:

   don-bsd# pwd
   /usr/local/etc/hobbit-4.2.0



[SNIP filelisting]



The README says to simply
   don-bsd# ./configure
   don-bsd# make
   don-bsd# make install

However, when I type ./configure  from /usr/local/etc/hobbit-4.2.0

   don-bsd# ./configure

   Configuration script for Hobbit

   This script asks a few questions and builds a Makefile to compile Hobbit

   Checking your make-utility
   GNU make is required to build Hobbit.
   If it is available as gmake, run configure as: 'MAKE=gmake
./configure.server'
   don-bsd#

*

Help please, Thanks


Have you had a look in the ports tree to see if you can find Hobbit there?
Otherwise, gmake is available from ports/devel/gmake, just do cd
ports/devel/gmake and make install clean and then you've got it.
Then you do MAKE=gmake ./configure-server or whatever in the source
catalog for hobbit.
The thing that might be weird is that FreeBSD installs ports in
/usr/local/[bin,sbin] by default, you'll proably end up with hobbit in
/usr/[bin,sbin] if you don't install it from ports. See if you can
find a configure parameter to set the install directory to where you
want to install hobbit.
HTH
//Niclas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How-to build / make / install

2007-01-18 Thread Don Munyak

Thanks, here's the latest attempts I've made...


Have you had a look in the ports tree to see if you can find Hobbit there?


Yes, no port is available.


Otherwise, gmake is available from ports/devel/gmake, just do cd
ports/devel/gmake and make install clean and then you've got it.


added gmake before hand. # make, then # make install clean

gcc and g++ are also installed.


Then you do MAKE=gmake ./configure-server or whatever in the source
catalog for hobbit.


Not sure what the source catalog is??

from /hobbit-4.2.0 folder

don-bsd# ./configure

Configuration script for Hobbit

This script asks a few questions and builds a Makefile to compile Hobbit

Checking your make-utility
GNU make is required to build Hobbit.
If it is available as gmake, run configure as: 'MAKE=gmake
./configure.server'
don-bsd#

I can see that this message is from the file configure.server. Snip
of code below.

{snip from configure.server file}

echo Checking your make-utility
MAKEVER=`$MAKE -version 21 | head -n 1 | awk '{print $1   $2}'`
if test $MAKEVER != GNU Make
then
echo GNU make is required to build Hobbit.
echo If it is available as \gmake\, run configure as: 'MAKE=gmake 
$0'
exit 1
fi

echo Checking pre-requisites for building Hobbit
echo 
. build/fping.sh
echo ; echo 
. build/rrd.sh
echo ; echo 
. build/pcre.sh
echo ; echo 

{...end-snip}

But seems to bail right after the echo If it is available as \gmake\...

Thanks
Don
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]