Wireshark-dev: [Wireshark-dev] Error compiling wireshark on Solaris
From: "Sagun Shakya" <sagun.shakya@xxxxxxxxx>
Date: Thu, 1 Nov 2007 15:23:22 -0400
Hi,

I can the configure script with the following options:

./configure --disable-gtk2 LDFLAGS=-ldlpi  --without-zlib --enable-warnings-as-errors=no

The error complaing about LIBTOOL but I have libtool installed on my build system:
>which libtool
/opt/csw/bin/libtool

I've been trying to compile wireshark and I get this error:

> make
/opt/csw/bin/perl ./make-version.pl .
Version configuration file version.conf not found.  Using defaults.
This is not a SVN build.
svnversion.h is up-to-date.
make  all-recursive
Making all in tools
Making all in lemon
Making all in wiretap
make  all-am
Making all in doc
Making all in epan
Making all in crypt
if @LIBTOOL@ --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I../.. -I../..  -I/usr/local/include   -D_U_="__attribute__((unused))" -g -O2 -Wall -W -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-return-type -DFUNCPROTO=15 -I/usr/local/include -I/opt/csw/include/gtk- 1.2 -I/opt/csw/include/glib-1.2 -I/opt/csw/lib/glib/include -MT airpdcap.lo -MD -MP -MF ".deps/airpdcap.Tpo" -c -o airpdcap.lo airpdcap.c; \
then mv -f ".deps/airpdcap.Tpo" ".deps/airpdcap.Plo"; else rm -f ".deps/airpdcap.Tpo"; exit 1; fi
bash: @LIBTOOL@: command not found
*** Error code 1
make: Fatal error: Command failed for target `airpdcap.lo'
Current working directory /export/home/ss150715/wireshark/wireshark-0.99.6/epan/crypt
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='crypt ftypes dfilter dissectors '; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /export/home/ss150715/wireshark/wireshark- 0.99.6/epan
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='tools wiretap doc epan plugins packaging help codecs gtk'; for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /export/home/ss150715/wireshark/wireshark-0.99.6
*** Error code 1
make: Fatal error: Command failed for target `all'

help would be appreciated,

Sagun