Solved the installation problem, I was running running autogen.sh with the
tarball and that was messing all up...
thanks again
On Dec 18, 2007 8:05 PM, Aaron Turner <[EMAIL PROTECTED]> wrote:
> On Dec 18, 2007 10:48 AM, Gustavo Comerlatto <[EMAIL PROTECTED]> wrote:
> > Hi all, I'm trying to install tcpreplay-3.2.3 on a computer with Ubuntu
> > Gutsy and I think that I've already installed all the dependencies.
> >
> > On synaptic of this stable version of ubuntu I've only found the version
> > 3.0.1 =/
> >
> > After running an ./autogen.sh I've got:
> >
> > ./autogen.sh
> > configure.ac:49: error: possibly undefined macro: AC_PROG_LIBTOOL
> > If this token and others are legitimate, please use
> m4_pattern_allow.
> > See the Autoconf documentation.
> > libopts/Makefile.am:4: Libtool library used but `LIBTOOL' is undefined
> > libopts/Makefile.am:4: The usual way to define `LIBTOOL' is to add
> > `AC_PROG_LIBTOOL'
> > libopts/Makefile.am:4: to `configure.ac' and run `aclocal' and
> `autoconf'
> > again.
> > libopts/Makefile.am:4: If `AC_PROG_LIBTOOL' is in `configure.ac', make
> > sure
> > libopts/Makefile.am:4: its definition is in aclocal's search path.
> > src/Makefile.am:70: compiling `tcpbridge_opts.c' with per-target flags
> > requires `AM_PROG_CC_C_O' in `configure.ac'
> >
> > and after an ./configure I've got:
> >
> > [EMAIL PROTECTED]:/home/gcomerla/Programs/tcpreplay- 3.2.3# ./configure
> > checking whether to enable maintainer-specific portions of Makefiles...
> no
> > checking if malloc debugging is wanted... no
> > checking build system type... i686-pc-linux-gnu
> > checking host system type... i686-pc-linux-gnu
> > ...
> > checking for strlcpy... no
> > checking whether byte ordering is bigendian... no
> > configure: Using u_int64_t for packet counters
> > checking for inet_aton... yes
> > checking for inet_pton... yes
> > checking for inet_ntop... yes
> > checking for inet_addr... yes
> > checking for libpcap... configure: error: Unable to find matching
> library
> > for header file in /usr
> > [EMAIL PROTECTED]:/home/gcomerla/Programs/tcpreplay-3.2.3#
> >
> > But its weird because the packages libpcap0-8 and libpcap0.8-dev are
> > installed =/
> > any ideas?
> > thanks a lot!!!
>
> Uh, why are you running autogen.sh? Did you grab the code from SVN?
> If you're getting the source tarball, you shouldn't do that (as
> documented here;
> http://tcpreplay.synfin.net/trac/wiki/manual#GettingTcpreplayInstalled).
> So delete your source tree and re-extract.
>
> Not sure if that will fix your libpcap issue. I don't know Ubuntu and
> how they do their packaging, but things to check:
>
> a) make sure you don't have other copies of libpcap installed in
> /usr/local, etc
> b) figure out where your libpcap.a and pcap.h files are. Are they in
> standard locations or did they do something non-standard?
> c) use the --with-libpcap option, probably to something like
> --with-libpcap=/usr
>
> Regards,
> Aaron
>
>
>
> --
> Aaron Turner
> http://synfin.net/
> http://tcpreplay.synfin.net/ - Pcap editing & replay tools for Unix
> They that can give up essential liberty to obtain a little temporary
> safety deserve neither liberty nor safety. -- Benjamin Franklin
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
>
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Tcpreplay-users mailing list
> Tcpreplay-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
>
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Tcpreplay-users mailing list
Tcpreplay-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users