Wireshark-users: Re: [Wireshark-users] Problems INSTALLING 0.99.4 solaris package

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Tue, 22 May 2007 13:19:00 +0200
On Tue, May 22, 2007 at 01:54:07PM +0800, arthy geraldin wrote:
>   I gave the command make solaris-package and it generated the package wireshark-0.99.4-solaris2.10-sparc-local.
>    
>   But when i do a
>    
>   pkgadd -d wireshark-0.99.4-solaris2.10-sparc-local 
>    
>   I get the following error.
>    
>   The following packages are available:
>   1  wireshark     wireshark 0.99.4
>                    (sparc) 0.99.4
>   Select package(s) you wish to process (or 'all' to process
> all packages). (default: all) [?,??,q]: all
>   Processing package instance <wireshark> from </home1/ci/wireshark/wireshark-0.99.4/packaging/svr4.stage/wireshark-0.99.4-solaris2.10-sparc-local>
>   wireshark 0.99.4(sparc) 0.99.4
> Wireshark Development Team
> ## Executing checkinstall script.
> /var/tmp//installKIai0B/checkinstallNIai0B: test: argument expected

Looks like GTK_CONFIG is empty (can you please verify by looking at 
packaging/svr4/checkinstall.

If it is so, please try the attached patch.

 Ciao
   Joerg

-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.
Index: checkinstall.in
===================================================================
--- checkinstall.in	(revision 21883)
+++ checkinstall.in	(working copy)
@@ -18,7 +18,7 @@
 
 expected_platform="@host_cpu@"
 
-if [ -x $GTK_CONFIG ] ; then
+if [ -n "$GTK_CONFIG" -a -x $GTK_CONFIG ] ; then
   # First try the GTK location that was used to build wireshark.  This
   # is probably the safest bet.
   gtk_installed=`$GTK_CONFIG --version`