Ethereal-users: [ethereal-users] AIX: gtk problem solved, now an ethereal problem
Hi,
After much sweat and toil, I have managed to get gtk 1.2.6 to
compile and not dump core under AIX.  The solutions were to
(1) apply the attached patch to the configure.in in the glib-1.2.6
    subdirectory
(2)  In the file gtk+-1.2.6/gtk/Makefile, add a link flag -lgdk to link
     in gdk.
I have submitted (1) to the gtk-devel mailing list where it has been
accepted.  (2) is an uglier problem, but for now, adding -lgdk by hand
seems to work.
Now I have a problem....I compiled gtk, and that works.
I compiled ethereal (after some minor mods), and it starts,
but when I click on Capture -> Start, I get:
"There are no network interfaces that can be opened."
I am running as root, so I don't think permissions are a problem.
Any ideas?
Thanks.
-- 
Craig Rodrigues        
http://www.gis.net/~craigr    
rodrigc@xxxxxxxxxxxx          
*** configure.in.old	Thu Oct  7 17:27:43 1999
--- configure.in	Sun Nov  7 19:34:36 1999
***************
*** 795,809 ****
  		fi
  		if test "$ac_cv_func_getpwuid_r" = "yes"; then
  			AC_MSG_CHECKING(whether getpwuid_r is posix like)
! 			# getpwuid_r(0, NULL, NULL, 0) is the signature on
! 			# solaris, if that is not found, the prog below won't 
! 			# compile, then the posix signature is assumed as 
! 			# the default.
! 			AC_TRY_COMPILE([#include <pwd.h>],
! 				[getpwuid_r(0, NULL, NULL, 0);],
! 				[AC_MSG_RESULT(no)],
! 				[AC_MSG_RESULT(yes)
! 				AC_DEFINE(HAVE_GETPWUID_R_POSIX)])
  		fi
  	fi
  	if test x"$have_threads" = xposix; then
--- 795,809 ----
  		fi
  		if test "$ac_cv_func_getpwuid_r" = "yes"; then
  			AC_MSG_CHECKING(whether getpwuid_r is posix like)
! 			# The signature for the POSIX version is:
! 			# int getpwuid_r(uid_t, struct passwd *, char *, size_t, struct passwd **)
! 			AC_TRY_COMPILE([#include <pwd.h>
!                                         #include <sys/types.h>
!                                         #include <stdlib.h>],
! 				[getpwuid_r((uid_t)0, NULL, NULL, (size_t)0, NULL);],
! 				[AC_DEFINE(HAVE_GETPWUID_R_POSIX)
! 				AC_MSG_RESULT(yes)],
! 				[AC_MSG_RESULT(no)])
  		fi
  	fi
  	if test x"$have_threads" = xposix; then