Ethereal-users: [Ethereal-users] Installation of 0.9.0 under Solaris 2.8/gcc 3.0
Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.
From: rodgers@xxxxxxxxxxx
Date: Fri, 18 Jan 2002 16:13:14 -0500 (EST)
Dear Ethereal Colleagues, Thanks to the kind and speedy help on this list from Guy Harris, we have gotten Ethereal 0.9.0 to install and run under Solaris 2.8 on SPARC using gcc 3.0. I append our installation notes, from which I have omitted the transcripts of output to save space. Regards, Rick Rodgers -------------------------------------------------------------------------------- LOCAL INSTALLATION NOTES Package Name: ethereal Version: 0.9.0 Release Date: 24 December 2001 Origin: http://www.ethereal.com/ Author: Gerald Combs (gerald@xxxxxxxxxxxx), et al. Language: C Software Description: Ethereal (network traffic analyzer); Tethereal (line-oriented, like snoop, tcpdump); editcap (reads numerous format of capture files, writes data); display filter language; reinstalled using latest depot conventions. Installer: R.P.C. Rodgers Installation Date: 18 January 2002 Installation Location: Bethesda MD Installation Host: xxxxxx Installation Hardware: SunOS noble 5.8 Generic_108528-10 sun4u sparc SUNW,Ultra-2 Compiler: gcc 3.0 Installation OS: Solaris 2.8 Host-specific installation: User-specific installation: Software used by this package for operation: gtk 1.2.0 or greater; libpcap Software used by this package for installation: GNU sed Software depending on this package for operation: Software depending on this package for installation: Environment variables: Notes: As this package is related to system/network administration and could be abused, it is installed so as to be executable only by root. This version does not yet support IPv6 under Solaris 2.X. -------------------------------------------------------------------------------- 1) Download and unpack distribution, rename directory, and enter same: gunzip ethereal-0.9.0.tar.gz tar xvf ethereal-0.9.0.tar rm ethereal-0.9.0.tar mv ethereal-0.9.0 ethereal_0.9.0.dir cd ethereal-0.9.0 2) Ensure that gtk+-1.2.0 or above is installed: /depot/bin/gtk-config --version (we have 1.2.8) 3) Ensure that libpcap is installed (we have version 0.4); header files should be installed (they are present in /depot/package/libpcap_0.4/include). 4) In accord with email received from etheral developer Guy Harris, I edited the following files: ./Makefile.in ./doc/Makefile.in ./gtk/Makefile.in ./tools/Makefile.in ./tools/lemon/Makefile.in ./wiretap/Makefile.in ./epan/Makefile.in ./epan/ftypes/Makefile.in ./epan/dfilter/Makefile.in ./plugins/Makefile.in ./plugins/gryphon/Makefile.in ./plugins/mgcp/Makefile.in ./plugins/giop/Makefile.in ./packaging/Makefile.in ./packaging/rpm/Makefile.in ./packaging/svr4/Makefile.in ./packaging/nsis/Makefile.in Adding "-I$(top_srcdir)/epan " in front of "-I$(includedir)" in the INCLUDES macros in all of the "Makefile.in" files that have "INCLUDES = " lines, and adding the line: INCLUDES = -I$(top_srcdir)/epan to the "Makefile.in" files that *don't* originally have "INCLUDES = " lines. All orginal files were saved as "*.orig". Also had to add zlibs package to depot .priority file to ensure that the ethereal build did not accidentally pick up one of the other two zlib libraries that are present (one from Sun, one from another depot package). 5) Clean up (as a precaution): make distclean [transcript appended] 6) Configure the package: env CPPFLAGS=-I/depot/include LDFLAGS=-L/depot/lib \ ./configure --prefix=/depot/package/ethereal_0.9.0/vendor [transcript appended] 7) Build package. On Solaris, this must use either /usr/xpg4/bin/sed or GNU sed, but not the Sun-supplied version, /bin/sed. So either install GNU sed under depot and prepend PATH with /depot/bin, or prepend PATH with /usr/xpg4/bin/sed. We follow the former strategy here: setenv PATH /depot/bin:$PATH make [transcript appended] 8) Test ethereal (must do so as root to capture live data): ./ethereal 9) Install package: make install [transcript appended] 10) Create requisite links into vendor subdirectory: ln -s /depot/package/ethereal_0.9.0/vendor/bin \ /depot/package/ethereal_0.9.0/sbin ln -s /depot/package/ethereal_0.9.0/vendor/man \ /depot/package/ethereal_0.9.0/man ln -s /depot/package/ethereal_0.9.0/vendor/lib \ /depot/package/ethereal_0.9.0/lib [this has the dual effects of placing he binaries in a sbin directory, devoted to administrative access, and hiding the /etc subdirectory from depot] 11) Tighten access for security purposes: chown root:root /depot/package/ethereal_0.9.0/vendor/bin/editcap chmod 500 /depot/package/ethereal_0.9.0/vendor/bin/editcap chown root:root /depot/package/ethereal_0.9.0/vendor/bin/ethereal chmod 500 /depot/package/ethereal_0.9.0/vendor/bin/ethereal chown root:root /depot/package/ethereal_0.9.0/vendor/bin/tethereal chmod 500 /depot/package/ethereal_0.9.0/vendor/bin/tethereal 12) Complete depot portion of installation: cp ./README.LOCAL /depot/package/ethereal_0.9.0 chmod 644 /depot/package/ethereal_0.9.0/README.LOCAL chown -R root:root /depot/package/ethereal_0.9.0 mv /depot/package/ethereal_0.9.0 /depot_server/sparc/SunOS5.8/package [or appropriate equivalent] depot_update_client -v [on each depot client] 13) Clean up: make distclean [transcript appended] --------------------------------------------------------------------------------
- Follow-Ups:
- Re: [Ethereal-users] Installation of 0.9.0 under Solaris 2.8/gcc 3.0
- From: Guy Harris
- Re: [Ethereal-users] Installation of 0.9.0 under Solaris 2.8/gcc 3.0
- Prev by Date: Re: [Ethereal-users] Bytes/sec in summary includes Ethernet header? Trailer?
- Next by Date: Re: [Ethereal-users] Installation of 0.9.0 under Solaris 2.8/gcc 3.0
- Previous by thread: Re: [Ethereal-users] Bytes/sec in summary includes Ethernet header? Trailer?
- Next by thread: Re: [Ethereal-users] Installation of 0.9.0 under Solaris 2.8/gcc 3.0
- Index(es):