OK.
To help out any newbies like myself, I've finally
compiled and installed the Cflowd tool successfully.
After trial-n-error and with the help of Drew, I've
finally figured out the puzzle.
In addition to reading the installation instructions,
here is what else is needed from a newbie perspective:
1. GNU TAR
2. GNU Make
3. arts++-1-1-a8.tar.gz <- Do NOT use arts++-0-9-b6
because cflowd-2-1-b1 makes a reference for a
header file called ArtsTosTable.hh to compile
one or more of the cflowd tools which I only
found in arts++-1-1-a8.
4. cflowd-2-1-b1.tar.gz
My setup was a Sun Ultra running Solaris 2.6.
Arts++ wasn't to hard to get installed so I'll skip
that part.
To compile cflowd-2-1-b1:
1. untar with GNU tar, do not use OS bundled tar.
2. Run configure bundled with cflowd-2-1-b1 with your
personal options.
3. Edit the following make files and remove the space
between the -L and /usr/local/lib on each line talking
about the ${LIBTOOL} in the following make files:
$TOP/apps/cflowdmux
$TOP/apps/flowwatch
$TOP/apps/cfdnets
$TOP/apps/cfdprotos
$TOP/apps/cfdtos
$TOP/apps/cflowd
$TOP/apps/flowdump
$TOP/apps/cfdases
$TOP/apps/cfdportmatrix
$TOP/apps/cfdifmatrix
$TOP/apps/cfdcollect
$TOP/apps/cfdnexthops
NOTE: If you do not or miss one you'll get this
strange error as follows for each tool when libtool is
called:
../../libtool: null directory
libtool: link: cannot determine absolute directory
name of `'
4. Now go back to the documentation in the
distribution to finish the installation.
Hope this helps.
Thanks Drew for the help.
Rich
--- Rich Norderhaug <rnorderh@yahoo.com> wrote:
> Spoke to soon. Make still failed with the following
> error message:
>
> # /usr/local/bin/make <-- GNU Make
> cd snmp++; make
> make[1]: Entering directory
> `/root/cflowd-2-1-b1/snmp++'
>
> << EXCESS DELETED >>
>
> cd cflowdmux; make
> make[2]: Entering directory
> `/root/cflowd-2-1-b1/apps/cflowdmux'
> c++ -g -O2 -c CflowdRawFlowClientList.cc
> -I../../classes/include -I../../include -I.
> -I/opt/arts++-0-9-b6/include
> c++ -g -O2 -c cflowdmux.cc
> -I/opt/arts++-0-9-b6/include -I../../classes/include
> -I../../include -I. -I../../snmp++/classes/include
> ../../libtool: null directory
> libtool: link: cannot determine absolute directory
> name of `'
> make[2]: *** [cflowdmux] Error 1
> make[2]: Leaving directory
> `/root/cflowd-2-1-b1/apps/cflowdmux'
> make[1]: *** [cflowdmux] Error 2
> make[1]: Leaving directory
> `/root/cflowd-2-1-b1/apps'
> make: *** [all] Error 2
> #
>
> I'm no expert, but is it possible libtool is
> expected
> to be in a subdirectory off the top of the build
> directory?
>
> Any suggestions to help me get around this road
> block?
>
> Thanks,
> Rich
>
> --- Rich Norderhaug <rnorderh@yahoo.com> wrote:
> > OK. I got past this problem; however, I haven't
> > completed the install, but I know how annoying it
> is
> > when you get stuck.
> >
> > This is how I got past the initial make error.
> >
> > First, I like to be complete and tell you what I
> did
> > first.
> >
> > 1. rm -r $HOME/cflowd-2-1-b1 directory
> > 2. used GNU tar -zxvf cflowd-2-1-b1.tar.gz
> > 3. made sure GNU tar did not report any errors on
> > any
> > files.
> > 4. Used Solaris make (located at /usr/ccs/bin - I
> > think this is Solaris' make, not an expert) and
> > problem still there.
> >
> > Now, the fix for my particular situation:
> > 1. downloaded GNU make
> > (make-3.76.1-sol26-sparc-local)
> > 2. used GNU make - worked!!
> >
> > Now, GNU make is still running as I write this
> > email,
> > not sure how long it is going to take; however, I
> > just
> > wanted to get the information out ASAP for those
> who
> > are going crazy reading through the make file.
> >
> > Rich
> >
> > --- Rich Norderhaug <rnorderh@yahoo.com> wrote:
> > > I'm having problems compiling the cflowd
> package.
> > >
> > > Software setup is as follows:
> > > Solaris 2.6
> > > arts++-0-9-b6 (installed)
> > > flex-2.5.4a-sol26-sparc-local (installed)
> > > bison-1.25-sol26-sparc-local (installed)
> > >
> > > configure worked fine, but make displayed the
> > > following error messages:
> > > # make
> > > cd snmp++; make
> > > cd classes; make
> > > cd src; make
> > > libtool: unrecognized option `-D__unix__'
> > > Try `libtool --help' for more information.
> > > *** Error code 1
> > > make: Fatal error: Command failed for target
> > > `address.lo'
> > > Current working directory
> > > /root/cflowd-2-1-b1/snmp++/classes/src
> > > *** Error code 1
> > > make: Fatal error: Command failed for target
> `all'
> > > Current working directory
> > > /root/cflowd-2-1-b1/snmp++/classes
> > > *** Error code 1
> > > make: Fatal error: Command failed for target
> > > `classes/lib/libsnmp++.a'
> > > Current working directory
> > /root/cflowd-2-1-b1/snmp++
> > > *** Error code 1
> > > make: Fatal error: Command failed for target
> `all'
> > >
> > > I am using the Solaris 2.6 make.
> > >
> > > Thanks,
> > > Rich
> > > ----
> > > rnorderh@yahoo.com
> > >
> > >
> > >
> __________________________________________________
> > > Do You Yahoo!?
> > > Get email at your own domain with Yahoo! Mail.
> > > http://personal.mail.yahoo.com/
> > > --
> > > cflowd mailing list
> > > cflowd@caida.org
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get email at your own domain with Yahoo! Mail.
> > http://personal.mail.yahoo.com/
> > --
> > cflowd mailing list
> > cflowd@caida.org
>
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
> --
> cflowd mailing list
> cflowd@caida.org
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
-- cflowd mailing list cflowd@caida.org
This archive was generated by hypermail 2b29 : Fri Mar 02 2001 - 14:13:51 PST