Re: strange problem

From: Date: Thu, 10 May 2001 17:18:53 +0000
Subject: Re: strange problem
References: 1  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-1782@lists.php.net to get a copy of this message
On Thu, 10 May 2001, Andrei Zmievski wrote: > On Thu, 10 May 2001, Rich Payne wrote: > > > > I just found out a little more, the --with-imap and --with-imap-ssl flags > > seem to be irrelevant, it's having the LDFLAGS variable set to: > > > > -L/usr/kerberos/lib -lkrb5 -lgssapi_krb5 -lpam > > > > that causes the problem. If I compile php and gtk-php with this set, and > > withouth imap and imap-ssl it still fails. > > That's weird. Are $argc and $argv variables present if you compile with > those flags and run some script? Not sure how to get at what you're asking. Thought this might be of interest though, this is a backtrace of php-4.0.6-dev without imap or imap-ssl, but with the LDFLAGS set, I'm curious as to why it's referencing libgssapi_krb5! #0 0x401a4353 in strlen () from /lib/libc.so.6 #1 0x4008f10a in g_strdup () from /usr/kerberos/lib/libgssapi_krb5.so.2 #2 0x404022a9 in g_get_any_init () from /usr/lib/libglib-1.2.so.0 #3 0x4040273e in g_get_home_dir () from /usr/lib/libglib-1.2.so.0 #4 0x404fbff2 in gtk_rc_append_default_module_path () from /usr/lib/libgtk-1.2.so.0 #5 0x404fc4e6 in gtk_rc_init () from /usr/lib/libgtk-1.2.so.0 #6 0x404d4c63 in gtk_init_check () from /usr/lib/libgtk-1.2.so.0 #7 0x402b1df5 in init_gtk () at php_gtk.c:109 #8 0x402b2068 in php_rinit_gtk (type=2, module_number=7) at php_gtk.c:196 #9 0x80865ff in php_dl (file=0x81688c4, type=2, return_value=0x81688e4) at dl.c:187 #10 0x80863d4 in php_if_dl (ht=1, return_value=0x81688e4, this_ptr=0x0, return_value_used=0) at dl.c:79 #11 0x80eb5dd in execute (op_array=0x81632a4) at ./zend_execute.c:1504 #12 0x80c40ee in zend_execute_scripts (type=8, file_count=3) at zend.c:748 #13 0x805f61b in php_execute_script (primary_file=0xbffffa20) at main.c:1206 #14 0x805dd20 in main (argc=2, argv=0xbffffac4) at cgi_main.c:719 #15 0x4013bfd1 in __libc_start_main (main=0x805d590 <main>, argc=2, ubp_av=0xbffffac4, init=0x805c3c4 <_init>, fini=0x80f0a0c <_fini>, rtld_fini=0x4000e254 <_dl_fini>, stack_end=0xbffffabc) at ../sysdeps/generic/libc-start.c:118 After all, I configured with imap, imap-ssl and definatly no kerberos support, however it thinks it needs it. So, there's a function in the kerberos libs called g_strdup, just like there is in gtk+! --rdp -- Rich Payne rpayne@alphalinux.org www.alphalinux.org

« previous php.gtk (#1782) next »