Re: Problems compiling Cflowd (cflowd-2-1-b1) - SOLUTION

From: Rich Norderhaug (rnorderh@yahoo.com)
Date: Thu Mar 01 2001 - 16:10:46 PST

  • Next message: Scott V: "Re: new to this all (fwd)"

    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
    



    This archive was generated by hypermail 2b29 : Thu Mar 01 2001 - 16:30:12 PST