LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-14-2010, 10:04 AM   #1
ubuntuv
Member
 
Registered: Jan 2010
Posts: 82

Rep: Reputation: 0
not able to install netexpect


Hi,

I am facing installing netexpect. I download the package and untarred. Then I issued command `./configure`. It stops at this point.

-------------
checking whether to build static libraries... yes
checking which tclConfig.sh to use... configure: error: Can't find Tcl libraries. Use --with-tcl to specify the directory containing tclConfig.sh on your system.
-------------

But TCL is already installed.

#rpm -q tcl
tcl-8.5.7-5.fc12.i686

Can someone tell me what package needs to be installed for getting tclConfig.sh

-uv

Last edited by ubuntuv; 02-14-2010 at 10:06 AM. Reason: mousepad was clicked without my notice
 
Old 02-14-2010, 10:18 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
#locate tclConfig

use the path probably /usr/lib/tcl8.5

./configure --help
 
Old 02-14-2010, 11:51 AM   #3
z-vet
Member
 
Registered: Aug 2004
Location: Israel
Distribution: LMDE 5
Posts: 271

Rep: Reputation: 34
I think you need devel part of tcl. Try searching for packages named tcl8.5-dev or tcl8.5-devel and install them in case they're not already installed.
 
Old 02-14-2010, 12:06 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
"" rpm -q tcl : tcl-8.5.7-5.fc12.i686 ""
That is only the run time libraries.


# yum install tcl-devel

will install all the missing tcl files.

.....
 
Old 02-14-2010, 12:15 PM   #5
ubuntuv
Member
 
Registered: Jan 2010
Posts: 82

Original Poster
Rep: Reputation: 0
Thanks a lot. installing 'tcl-devel' helped.

Please help me in doing 'make'. I get the following error:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I../../ -I/usr/include -I/usr/include -W -Wall -D_U_="__attribute__((unused))" -g -O2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/ -I/usr/include/wireshark -c packets.c
packets.c:29:28: error: epan/timestamp.h: No such file or directory
packets.c:33:25: error: epan/column.h: No such file or directory
packets.c:36:29: error: epan/privileges.h: No such file or directory
packets.c: In function ‘init_libwireshark’:

--uv.
 
Old 02-15-2010, 02:05 AM   #6
Kenarkies
Member
 
Registered: Nov 2007
Location: South Australia
Distribution: Ubuntu 11.10
Posts: 81

Rep: Reputation: 23
Quote:
Originally Posted by ubuntuv View Post
Thanks a lot. installing 'tcl-devel' helped.

Please help me in doing 'make'. I get the following error:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../include -I../../ -I/usr/include -I/usr/include -W -Wall -D_U_="__attribute__((unused))" -g -O2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/ -I/usr/include/wireshark -c packets.c
packets.c:29:28: error: epan/timestamp.h: No such file or directory
packets.c:33:25: error: epan/column.h: No such file or directory
packets.c:36:29: error: epan/privileges.h: No such file or directory
packets.c: In function ‘init_libwireshark’:

--uv.
Well, a quick Google shows that EPAN is an Ethernet Protocol Analyser, which from the above is probably needed by wireshark. The netexpect portability page suggests that libwireshark needs to be installed. As with the above you may also need the libwireshark development headers.

Ken
 
Old 02-15-2010, 02:32 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The package name for Fedora is ' wireshark-devel '.

# yum provides */epan/*
.. will suggest wireshark-devel only :
But none of the required headers are included in the Fedora 12 version.
The old stable wireshark = version 1.0.Xx is required.
( Packages 1.0.Xx with the needed headers exist for Debian and Mandriva,
but not for any version of Fedora.)
.....

I will report back, when / if I find a solution.

.....

Last edited by knudfl; 02-15-2010 at 10:11 AM.
 
Old 02-15-2010, 12:16 PM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
http://netexpect.org/downloads/
netexpect-0.17.tar.bz2
(( netexpect-0.15libwireshark.tar.bz2 ))

"Old stable" wireshark = 1.0.Xx is required ...
# rpm -e wireshark-devel
# rpm -e wireshark
http://media-2.cacetech.com/wireshar...1.0.11.tar.bz2
> wireshark-1.0.11.tar.bz2
# yum install \
libpcap-devel libdnet-devel libsmi-devel pcre-devel adns-devel \
elfutils-libelf-devel
cd wireshark-1.0.11/ && ./configure --prefix=/usr --<your-options>
&& make , # make install && exit
But make + # 'make install' provides no headers installed ..
Please see the file wireshark-1.0.11/debian/wireshark-dev.files
+ wireshark-dev.header-files, how things are made up by creating
the directories and copying the header files.
'mkdir -p wireshark/wiretap && mkdir -p wireshark/epan/dfilter
&& mkdir wireshark/epan/ftypes'
.. and copy all the headers into the directories :
cp wireshark-1.0.11/epan/*.h wireshark/epan/ ,,, etc. etc.
And when the whole tree is made : # cp -a wireshark/ /usr/include/
.....

cd netexpect-0.17/ ,,,, and now make will work.
Important Note : Please close all applications before using
the executable "nexp" .

.....
P.S. : netexpect-0.15libwireshark :
will need the wireshark 1.0.11 headers too.
.....

Last edited by knudfl; 02-18-2010 at 05:09 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Open Office will not install on factory install of Ubuntu 8.04 LTS on Dell Mini 10 trekgirl Linux - Laptop and Netbook 6 08-01-2009 11:37 PM
Ubuntu as frugal install, iso install, img install? impossible? nooby Ubuntu 15 08-22-2008 05:49 AM
Red Hat Linux 9 install: error "No devices found to install ... gunneszz Red Hat 1 03-10-2008 04:52 AM
How do I re-install an operatingsystem? Corrupted install. Yast wont load. URGENT.thx CrewXp SUSE / openSUSE 5 05-09-2005 12:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration