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

problem with the installation of wireshark ubuntu “make” failed

0

I am new to wireshark and ubuntu. I need to install wireshark but it seems to have some problems when I type "sudo make" command. here is what I get:

[email protected]:~$ cd wireshark/
[email protected]:~/wireshark$ make
LANG=C /usr/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
make[1]: Entering directory `/home/dell/wireshark'
Making all in tools
make[2]: Entering directory `/home/dell/wireshark/tools'
Making all in lemon
make[3]: Entering directory `/home/dell/wireshark/tools/lemon'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/tools/lemon'
make[3]: Entering directory `/home/dell/wireshark/tools'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/dell/wireshark/tools'
make[2]: Leaving directory `/home/dell/wireshark/tools'
Making all in wsutil
make[2]: Entering directory `/home/dell/wireshark/wsutil'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dell/wireshark/wsutil'
Making all in wiretap
make[2]: Entering directory `/home/dell/wireshark/wiretap'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dell/wireshark/wiretap'
Making all in doc
make[2]: Entering directory `/home/dell/wireshark/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dell/wireshark/doc'
Making all in epan
make[2]: Entering directory `/home/dell/wireshark/epan'
Making all in crc
make[3]: Entering directory `/home/dell/wireshark/epan/crc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/epan/crc'
Making all in crypt
make[3]: Entering directory `/home/dell/wireshark/epan/crypt'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/epan/crypt'
Making all in ftypes
make[3]: Entering directory `/home/dell/wireshark/epan/ftypes'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/epan/ftypes'
Making all in dfilter
make[3]: Entering directory `/home/dell/wireshark/epan/dfilter'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/epan/dfilter'
Making all in dissectors
make[3]: Entering directory `/home/dell/wireshark/epan/dissectors'
make  all-am
make[4]: Entering directory `/home/dell/wireshark/epan/dissectors'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/dell/wireshark/epan/dissectors'
make[3]: Leaving directory `/home/dell/wireshark/epan/dissectors'
make[3]: Entering directory `/home/dell/wireshark/epan'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/dell/wireshark/epan'
make[2]: Leaving directory `/home/dell/wireshark/epan'
Making all in plugins
make[2]: Entering directory `/home/dell/wireshark/plugins'
Making all in asn1
make[3]: Entering directory `/home/dell/wireshark/plugins/asn1'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/asn1'
Making all in docsis
make[3]: Entering directory `/home/dell/wireshark/plugins/docsis'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/docsis'
Making all in ethercat
make[3]: Entering directory `/home/dell/wireshark/plugins/ethercat'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/ethercat'
Making all in giop
make[3]: Entering directory `/home/dell/wireshark/plugins/giop'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/giop'
Making all in gryphon
make[3]: Entering directory `/home/dell/wireshark/plugins/gryphon'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/gryphon'
Making all in irda
make[3]: Entering directory `/home/dell/wireshark/plugins/irda'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/irda'
Making all in m2m
make[3]: Entering directory `/home/dell/wireshark/plugins/m2m'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/m2m'
Making all in mate
make[3]: Entering directory `/home/dell/wireshark/plugins/mate'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/mate'
Making all in opcua
make[3]: Entering directory `/home/dell/wireshark/plugins/opcua'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/opcua'
Making all in profinet
make[3]: Entering directory `/home/dell/wireshark/plugins/profinet'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/profinet'
Making all in sercosiii
make[3]: Entering directory `/home/dell/wireshark/plugins/sercosiii'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/sercosiii'
Making all in stats_tree
make[3]: Entering directory `/home/dell/wireshark/plugins/stats_tree'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/stats_tree'
Making all in unistim
make[3]: Entering directory `/home/dell/wireshark/plugins/unistim'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/unistim'
Making all in wimax
make[3]: Entering directory `/home/dell/wireshark/plugins/wimax'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/wimax'
Making all in mux
make[3]: Entering directory `/home/dell/wireshark/plugins/mux'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/mux'
Making all in wimaxasncp
make[3]: Entering directory `/home/dell/wireshark/plugins/wimaxasncp'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/wimaxasncp'
make[3]: Entering directory `/home/dell/wireshark/plugins'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/dell/wireshark/plugins'
make[2]: Leaving directory `/home/dell/wireshark/plugins'
Making all in packaging
make[2]: Entering directory `/home/dell/wireshark/packaging'
Making all in macosx
make[3]: Entering directory `/home/dell/wireshark/packaging/macosx'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/packaging/macosx'
Making all in rpm
make[3]: Entering directory `/home/dell/wireshark/packaging/rpm'
Making all in SPECS
make[4]: Entering directory `/home/dell/wireshark/packaging/rpm/SPECS'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dell/wireshark/packaging/rpm/SPECS'
make[4]: Entering directory `/home/dell/wireshark/packaging/rpm'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/dell/wireshark/packaging/rpm'
make[3]: Leaving directory `/home/dell/wireshark/packaging/rpm'
Making all in svr4
make[3]: Entering directory `/home/dell/wireshark/packaging/svr4'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/packaging/svr4'
Making all in nsis
make[3]: Entering directory `/home/dell/wireshark/packaging/nsis'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/packaging/nsis'
make[3]: Entering directory `/home/dell/wireshark/packaging'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/dell/wireshark/packaging'
make[2]: Leaving directory `/home/dell/wireshark/packaging'
Making all in help
make[2]: Entering directory `/home/dell/wireshark/help'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dell/wireshark/help'
Making all in codecs
make[2]: Entering directory `/home/dell/wireshark/codecs'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dell/wireshark/codecs'
Making all in gtk
make[2]: Entering directory `/home/dell/wireshark/gtk'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dell/wireshark/gtk'
make[2]: Entering directory `/home/dell/wireshark'
LANG=C /usr/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.
/bin/bash ./libtool --tag=CC   --mode=link gcc  -DINET6 -D_U_="__attribute__((unused))" -g -O2 -Wall -W -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign -Warray-bounds -Wcast-align -Wformat-security -I/usr/local/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -I/usr/include   -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -o dftest dftest-dftest.o dftest-util.o  wiretap/libwiretap.la wsutil/libwsutil.la epan/libwireshark.la  -dlopen plugins/asn1/asn1.la -dlopen plugins/docsis/docsis.la -dlopen plugins/ethercat/ethercat.la -dlopen plugins/giop/cosnaming.la -dlopen plugins/giop/coseventcomm.la -dlopen plugins/gryphon/gryphon.la -dlopen plugins/irda/irda.la -dlopen plugins/m2m/m2m.la -dlopen plugins/mate/mate.la -dlopen plugins/mux/mux.la -dlopen plugins/opcua/opcua.la -dlopen plugins/profinet/profinet.la -dlopen plugins/sercosiii/sercosiii.la -dlopen plugins/stats_tree/stats_tree.la -dlopen plugins/unistim/unistim.la -dlopen plugins/wimax/wimax.la -lpcre -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lglib-2.0   -lm -L/usr/lib/x86_64-linux-gnu  -lpcap -lcares -L/usr/lib/x86_64-linux-gnu -Wl,-Bsymbolic-functions -Wl,-z,relro -lkrb5 -lk5crypto -lcom_err -L/lib/x86_64-linux-gnu -lgcrypt -lgnutls -L/usr/lib -lsmi -lz 
libtool: link: rm -f .libs/dftest.nm .libs/dftest.nmS .libs/dftest.nmT
./libtool: line 3687: .libs/dftestS.c: Permission denied
./libtool: line 3823: .libs/dftest.nm: Permission denied
make[2]: *** [dftest] Error 1
make[2]: Leaving directory `/home/dell/wireshark'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dell/wireshark'
make: *** [all] Error 2

can anyone help me please. It's urgent. thanks a lot

Fadou

asked 17 Sep '13, 08:23

fadou's gravatar image

fadou
1111
accept rate: 0%

edited 17 Sep '13, 08:59

grahamb's gravatar image

grahamb ♦
19.8k330206


3 Answers:

1

Maybe start with the Wireshark Developer's Guide.

answered 17 Sep '13, 08:47

cmaynard's gravatar image

cmaynard ♦♦
9.4k1038142
accept rate: 20%

I did follow all steps in order but I cannot understand what is the exact pb

(17 Sep '13, 08:50) fadou
1

I suggest you start over with a fresh directory downloaded/extracted from original Wireshark source files as a normal user that will be used to compile the sources and not as root. Then follow the steps again as described in the developer's guide.

(17 Sep '13, 08:55) cmaynard ♦♦

0

"sudo make"
./libtool: line 3687: .libs/dftestS.c: Permission denied

Why do you run make as root? Only make install would need root privileges. Please just try make and check if the permission denied error goes away.

Regards
Kurt

answered 17 Sep '13, 08:29

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
24.8k1039237
accept rate: 15%

edited 17 Sep '13, 08:29

Hi kurt,

I still have the same errors even when I type make

[email protected]:~/wireshark$ make
LANG=C /usr/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
make[1]: Entering directory `/home/dell/wireshark'
Making all in tools
make[2]: Entering directory `/home/dell/wireshark/tools'
Making all in lemon
make[3]: Entering directory `/home/dell/wireshark/tools/lemon'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/tools/lemon'
make[3]: Entering directory `/home/dell/wireshark/tools'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/dell/wireshark/tools'
make[2]: Leaving directory `/home/dell/wireshark/tools'
Making all in wsutil
make[2]: Entering directory `/home/dell/wireshark/wsutil'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dell/wireshark/wsutil'
Making all in wiretap
make[2]: Entering directory `/home/dell/wireshark/wiretap'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dell/wireshark/wiretap'
Making all in doc
make[2]: Entering directory `/home/dell/wireshark/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dell/wireshark/doc'
Making all in epan
make[2]: Entering directory `/home/dell/wireshark/epan'
Making all in crc
make[3]: Entering directory `/home/dell/wireshark/epan/crc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/epan/crc'
Making all in crypt
make[3]: Entering directory `/home/dell/wireshark/epan/crypt'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/epan/crypt'
Making all in ftypes
make[3]: Entering directory `/home/dell/wireshark/epan/ftypes'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/epan/ftypes'
Making all in dfilter
make[3]: Entering directory `/home/dell/wireshark/epan/dfilter'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/epan/dfilter'
Making all in dissectors
make[3]: Entering directory `/home/dell/wireshark/epan/dissectors'
make  all-am
make[4]: Entering directory `/home/dell/wireshark/epan/dissectors'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/dell/wireshark/epan/dissectors'
make[3]: Leaving directory `/home/dell/wireshark/epan/dissectors'
make[3]: Entering directory `/home/dell/wireshark/epan'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/dell/wireshark/epan'
make[2]: Leaving directory `/home/dell/wireshark/epan'
Making all in plugins
make[2]: Entering directory `/home/dell/wireshark/plugins'
Making all in asn1
make[3]: Entering directory `/home/dell/wireshark/plugins/asn1'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/asn1'
Making all in docsis
make[3]: Entering directory `/home/dell/wireshark/plugins/docsis'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/docsis'
Making all in ethercat
make[3]: Entering directory `/home/dell/wireshark/plugins/ethercat'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/ethercat'
Making all in giop
make[3]: Entering directory `/home/dell/wireshark/plugins/giop'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/giop'
Making all in gryphon
make[3]: Entering directory `/home/dell/wireshark/plugins/gryphon'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/gryphon'
Making all in irda
make[3]: Entering directory `/home/dell/wireshark/plugins/irda'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/irda'
Making all in m2m
make[3]: Entering directory `/home/dell/wireshark/plugins/m2m'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/m2m'
Making all in mate
make[3]: Entering directory `/home/dell/wireshark/plugins/mate'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/mate'
Making all in opcua
make[3]: Entering directory `/home/dell/wireshark/plugins/opcua'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/opcua'
Making all in profinet
make[3]: Entering directory `/home/dell/wireshark/plugins/profinet'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/profinet'
Making all in sercosiii
make[3]: Entering directory `/home/dell/wireshark/plugins/sercosiii'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/sercosiii'
Making all in stats_tree
make[3]: Entering directory `/home/dell/wireshark/plugins/stats_tree'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/stats_tree'
Making all in unistim
make[3]: Entering directory `/home/dell/wireshark/plugins/unistim'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/unistim'
Making all in wimax
make[3]: Entering directory `/home/dell/wireshark/plugins/wimax'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/wimax'
Making all in mux
make[3]: Entering directory `/home/dell/wireshark/plugins/mux'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/mux'
Making all in wimaxasncp
make[3]: Entering directory `/home/dell/wireshark/plugins/wimaxasncp'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/plugins/wimaxasncp'
make[3]: Entering directory `/home/dell/wireshark/plugins'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/dell/wireshark/plugins'
make[2]: Leaving directory `/home/dell/wireshark/plugins'
Making all in packaging
make[2]: Entering directory `/home/dell/wireshark/packaging'
Making all in macosx
make[3]: Entering directory `/home/dell/wireshark/packaging/macosx'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/packaging/macosx'
Making all in rpm
make[3]: Entering directory `/home/dell/wireshark/packaging/rpm'
Making all in SPECS
make[4]: Entering directory `/home/dell/wireshark/packaging/rpm/SPECS'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/dell/wireshark/packaging/rpm/SPECS'
make[4]: Entering directory `/home/dell/wireshark/packaging/rpm'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/dell/wireshark/packaging/rpm'
make[3]: Leaving directory `/home/dell/wireshark/packaging/rpm'
Making all in svr4
make[3]: Entering directory `/home/dell/wireshark/packaging/svr4'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/packaging/svr4'
Making all in nsis
make[3]: Entering directory `/home/dell/wireshark/packaging/nsis'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/dell/wireshark/packaging/nsis'
make[3]: Entering directory `/home/dell/wireshark/packaging'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/dell/wireshark/packaging'
make[2]: Leaving directory `/home/dell/wireshark/packaging'
Making all in help
make[2]: Entering directory `/home/dell/wireshark/help'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dell/wireshark/help'
Making all in codecs
make[2]: Entering directory `/home/dell/wireshark/codecs'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dell/wireshark/codecs'
Making all in gtk
make[2]: Entering directory `/home/dell/wireshark/gtk'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/dell/wireshark/gtk'
make[2]: Entering directory `/home/dell/wireshark'
LANG=C /usr/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.
/bin/bash ./libtool --tag=CC   --mode=link gcc  -DINET6 -D_U_="__attribute__((unused))" -g -O2 -Wall -W -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign -Warray-bounds -Wcast-align -Wformat-security -I/usr/local/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -I/usr/include   -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -o dftest dftest-dftest.o dftest-util.o  wiretap/libwiretap.la wsutil/libwsutil.la epan/libwireshark.la  -dlopen plugins/asn1/asn1.la -dlopen plugins/docsis/docsis.la -dlopen plugins/ethercat/ethercat.la -dlopen plugins/giop/cosnaming.la -dlopen plugins/giop/coseventcomm.la -dlopen plugins/gryphon/gryphon.la -dlopen plugins/irda/irda.la -dlopen plugins/m2m/m2m.la -dlopen plugins/mate/mate.la -dlopen plugins/mux/mux.la -dlopen plugins/opcua/opcua.la -dlopen plugins/profinet/profinet.la -dlopen plugins/sercosiii/sercosiii.la -dlopen plugins/stats_tree/stats_tree.la -dlopen plugins/unistim/unistim.la -dlopen plugins/wimax/wimax.la -lpcre -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt -lglib-2.0   -lm -L/usr/lib/x86_64-linux-gnu  -lpcap -lcares -L/usr/lib/x86_64-linux-gnu -Wl,-Bsymbolic-functions -Wl,-z,relro -lkrb5 -lk5crypto -lcom_err -L/lib/x86_64-linux-gnu -lgcrypt -lgnutls -L/usr/lib -lsmi -lz 
libtool: link: rm -f .libs/dftest.nm .libs/dftest.nmS .libs/dftest.nmT
./libtool: line 3687: .libs/dftestS.c: Permission denied
./libtool: line 3823: .libs/dftest.nm: Permission denied
make[2]: *** [dftest] Error 1
make[2]: Leaving directory `/home/dell/wireshark'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dell/wireshark'
make: *** [all] Error 2
[email protected]:~/wireshark$
(17 Sep '13, 08:32) fadou

I still have the same errors even when I type make

O.K. where did you get the source code from and how did you extract it?

What is the output of the following commands?

ls -al /home/dell/wireshark/.libs
df -k /home/dell/wireshark

BTW: Did you run ./configure before typing make?

(17 Sep '13, 08:34) Kurt Knochner ♦

I downloaded from the official website and extracted it here are outputs of respectively:

ls -al /home/dell/wireshark/.libs [email protected]:~/wireshark$ ls -al /home/dell/wireshark/.libs total 7598 drwxr-xr-x 2 root root 1024 sept. 17 13:52 . drwxrwxr-x 27 dell dell 13312 sept. 17 13:52 .. -rwxr-xr-x 1 root root 83257 sept. 17 13:52 capinfos -rw-r--r-- 1 root root 2624 sept. 17 13:52 dftestS.o -rwxr-xr-x 1 root root 131157 sept. 17 13:52 editcap -rwxr-xr-x 1 root root 44242 sept. 17 13:52 mergecap -rwxr-xr-x 1 root root 30738 sept. 17 13:52 randpkt -rwxr-xr-x 1 root root 80733 sept. 17 13:51 text2pcap -rwxr-xr-x 1 root root 877381 sept. 17 13:51 tshark -rw-r--r-- 1 root root 2624 sept. 17 13:51 tsharkS.o -rwxr-xr-x 1 root root 6475798 sept. 17 13:51 wireshark -rw-r--r-- 1 root root 2640 sept. 17 13:51 wiresharkS.o

and for df -k /home/dell/wireshark:

[email protected]:~/wireshark$ df -k /home/dell/wireshark Filesystem 1K-blocks Used Available Use% Mounted on /dev/loop0 29496487 7446096 22050391 26% /

Fadou

(17 Sep '13, 08:45) fadou

yes i did run ./configure before make but still have the same pb

(17 Sep '13, 08:49) fadou

@fadou,

Please wrap your voluminous "terminal output" in <code></code> markup so it's readable.

And please stop posting comments as "answers", use the "add a comment" button. This is not a forum, it's a Q&A site, have a look at the FAQ for more info.

(17 Sep '13, 08:50) grahamb ♦
1

I downloaded from the official website and extracted it here are outputs of respectively:

O.K. please repeat that as a regular user. Some files now belong to root (see ls -al).

Mounted on /dev/loop0 29496487 7446096 22050391 26% /

Why is your root filesystem mounted on /dev/loop0?? Maybe that's causing problems. Are you running your Ubuntu from a boot only CDROM? That would certainly cause problems!

Regards
Kurt

(17 Sep '13, 09:07) Kurt Knochner ♦
showing 5 of 6 show 1 more comments

0

I had the similars problem with permission when building Wireshark, but I realised that after installing Ubuntu, you should mount your drives by using: sudo blkid to get UID, then sudo gedit /etc/fstab to edit the file. Add your drive with corresponding UID and Save. Restart computer, and check if the problem stil happens. In my case, most of problem related to permission disappear. So, i think you can try it, Good luck!

answered 18 Sep '13, 03:44

hoangsonk49's gravatar image

hoangsonk49
81282933
accept rate: 28%