This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

./autogen giving these errors, what wrong am i doing ?

0

[[email protected] wireshark-1.7.1]# ./autogen.sh

./autogen.sh: line 101: ./aclocal-flags: Permission denied

configure.in:208: warning: macro `AM_PATH_LIBGCRYPT' not found in library

configure.in:833: warning: macro `AM_PATH_GTK_3_0' not found in library

configure.in:39: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain cv to be cached ../../lib/autoconf/general.m4:1974: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:1994: AC_CACHE_CHECK is expanded from...

.

. . . .

aclocal.m4:4534: _LT_AC_LANG_GCJ_CONFIG is expanded from...

aclocal.m4:4533: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...

configure.in:39: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious cache-id, must contain cv to be cached

automake: cannot open < epan/dfilter/../../Makefile.am.inc: No such file or directory

[[email protected] wireshark-1.7.1]#

asked 01 Jun '12, 04:36

yogeshg's gravatar image

yogeshg
41222326
accept rate: 0%

Similarly configure script is also giving few errors , i suspect those to be caused by above autogen errors.Please help.

(01 Jun '12, 04:37) yogeshg

One Answer:

1
  1. What is your system (lsb_release -a)?
  2. Did you install all required tools/libs (Ubuntu: apt-get build-dep wireshark)
  3. What is the output of ls -al aclocal-flags in the wireshark directory
  4. Did you expand the sources on a NFS share? If so, local root might not have enough access rights! In that case, please try again from a local file system.

Regards
Kurt

answered 01 Jun '12, 04:46

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

edited 01 Jun '12, 04:53

[[email protected] ~]# lsb_release -a LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch Distributor ID: Fedora Description: Fedora release 9 (Sulphur) Release: 9 Codename: Sulphur

[[email protected] wireshark-1.7.1]# ls -al aclocal-flags -rw-r--r-- 1 root root 4608 2012-04-07 00:12 aclocal-flags

I intend to write plugin for wireshark so i took development release source from wireshark.org itself and I didn't do any expansion

(01 Jun '12, 04:54) yogeshg

there are no exec rights for aclocal-flags and autogen.sh tries to execute that file (./aclocal-flags). Where did you get the source from and how did you expand it?

Can you please try this:

svn checkout http://anonsvn.wireshark.org/wireshark/trunk wireshark

and then run ./autogen.sh again.

If svn is not available on your system, install it:

yum install subversion

If you get different errors, your Fedora system (V9) might be to old to build the current version (GTK dev libs, etc.).

(01 Jun '12, 04:56) Kurt Knochner ♦

Thanks a ton Kurt for your valuable time. Actually source file was folder was not copied properly and now that i have copied it again its working!thanks again

(04 Jun '12, 02:52) yogeshg

good to hear.

If you like, you can mark my answer as the correct one (checkmark - see FAQ). It will help others to find anwers to their problems.

(04 Jun '12, 02:59) Kurt Knochner ♦