On Mon, 28 Feb 2000, Jeremy McLeod wrote:
> On Mon, 28 Feb 2000, David Kramer wrote:
> > Now I've hit another problem, which I hopefully won't feel so stupid
> > over. During rpm -ba php.spec, I got:
> > ...
> > gcc -O2 -fPIC -fpic -I. -I. -I/usr/include/apache
> > -I/usr/include -I/usr/include/mysql
> > -I/usr/src/mck-3.2.0.5-i586-pc-linux-gnulibc2.1/c-api
> > -I/usr/include/apache -c functions/php3_mckcrypt.c -o
> > functions/php3_mckcrypt.o
> > functions/php3_mckcrypt.c:46: mckcrypt.h: No such file or directory
> > make: *** [functions/php3_mckcrypt.o] Error 1
> > Bad exit status from /var/tmp/rpm-tmp.871 (%build)
> >
> > In the temp file I found
> > "--with-mck=/usr/src/mck-3.2.0.5-i586-pc-linux-gnulibc2.1 \"
> > rpm -qa | grep -i mck turned up nothing. I have no idea what mck is,
> > but there is no /usr/src/mck* directory.
> >
> > I found php3_mckcrypt.c and php3_mckcrypt.h in
> > /usr/src/redhat/BUILD/php-3.0.12/functions/
> >
>
> AFAIK, mck is CyberCash. You can probably safely remove that and rebuild
> the spec.
>
Yes, I know I am replying to my own posts a lot. That just goes to show
you I don't givbe up on a problem just because I've asked for help.
I tried removing the "--with-mck" and everything built fine. However,
when I got done with the whole procedure and started httpd, it would
almost immediately core dump with no error in the logfiles.
a gdb backtrace of the core file shows:
#0 0x404716a8 in _pam_token_returns () from /lib/libpthread.so.0
#1 0x400f422f in _IO_file_close (fp=0x80ba198) at fileops.c:711
#2 0x400f43fa in _IO_new_file_close_it (fp=0x80ba198) at fileops.c:136
#3 0x400f027d in _IO_new_fclose (fp=0x80ba198) at iofclose.c:50
#4 0x403495f3 in php3_init_config () from /usr/lib/apache/libphp3.so
#5 0x4033fe3b in php3_request_shutdown () from /usr/lib/apache/libphp3.so
#6 0x40340910 in php3_module_startup () from /usr/lib/apache/libphp3.so
#7 0x4033e56a in send_parsed_php3_source () from
/usr/lib/apache/libphp3.so
#8 0x8055614 in ap_single_module_configure ()
#9 0x805034d in ap_get_server_built ()
#10 0x8054554 in ap_clear_module_list ()
#11 0x8054b4c in ap_handle_command ()
#12 0x8054b98 in ap_srm_command_loop ()
#13 0x8054f07 in ap_process_resource_config ()
#14 0x8055584 in ap_read_config ()
#15 0x805c7b7 in ap_child_terminate ()
#16 0x805ce7f in main ()
#17 0x400b71eb in __libc_start_main (main=0x805cc00 <main>, argc=1,
argv=0xbffffd14, init=0x804f7a4 <_init>, fini=0x807d0fc <_fini>,
rtld_fini=0x4000a610 <_dl_fini>, stack_end=0xbffffd0c)
at ../sysdeps/generic/libc-start.c:90
Since PAM was involved, I assume mckcrypt is something more vital.
BTW, when I removed the phpmodule from the httpd.conf, everything started
up fine, and that is the way I am running now. I really would like to get
php working though.
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.