Muhannad Asfour wrote:
Here's the dmesg output:

Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of tie University of California. All rights
reserved.
FreeBSD 5.0-CURRENT #0: Fri Dec 20 00:32:59 EST 2002\M^J
[EMAIL PROTECTED]:/usr/src/sys/I386/compile/QUBIX
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0520000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc05200a8.
Timecounter "i8254" frequency 1193182 Hz
Timecounter "TSC" frequency 2394014604 Hz
CPU: Pentium 4 (2394.01-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf27 Stepping = 7
Features=0xffffffffbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,
MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
,<b31>>
real memory = 536854528 (511 MB)
avail memory = 516100096 (492 MB)
Initializing GEOMetry subsystem
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS P4S533 > on motherboard
ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
Using $PIR table, 10 entries at 0xc00f1b20
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast" frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <SIS Generic host to PCI bridge> mem 0xf8000000-0xfbffffff at
device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI"PCI bus> on pcib1\^Zisab0: <PCI-ISA bridge> at device 2.0 on
pci0
isa0: <ISA bus> on isab0
ohci0: <SiS 5571 USB controller> mem 0xf7800000-0xf7800fff irq 10 at
device 2.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <SiS 5571 USB controller> on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: <SiS 5571 USB controller> mem 0xf7000000-0xf7000fff irq 5 at
device 2.3 on pci0
usb1: OHCI version!1.0, legacy support
usb1: <SiS 5571 USB controller> on ohci1
usb1: USB revision 1.0
uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
atapci0: <SiS 5591 ATA33 controller> port 0xd800-0xd80f at device 2.5(on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
sis0: <SiS 900 10/100BaseTX> port 0xb000-0xb0ff mem
0xf6800000-0xf6800fff irq 12 at device 3.0 on pci0
sis0: Ethernet address: 00:e0:18:ab:17:b8
sis0: MII without any PHY!
device_probe_and_attach: sis0 attach returned 6
pcm0: <CMedia CMI8738> port 0xa800-0xa8ff irq 11 at device 5.0 on pci0
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xa400-0xa47f mem
0xf6000000-0xf600007f irq 11 at device 9.0 on pci0
xl0: Ethernet address: 00:01:02:84:e3:7e
miibus0: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus0
xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fdc0: <Enhanced floppy controller"(i82077, NE72065 os clone)> port
0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes vhreshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
tlip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A, console
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0y60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
orm0: <Option ROM> at iomem 0xc8000-0xc87ff on isa0
pmtimer0 on isa0
Timecounters tick every 10.000 msec
acpi_cpu: CPU throttling enabled, 8 steps from 100% to 12.5%
ad0: 117246MB <Maxtor 6Y120L0> [238216/16/63] at ata0-master UDMA33
ad1: 38182MB <MAXTOR 4K040H2> [77578/16/63] at ata0-slave UDMA33
acd0: CDROM <HL-DT-ST$CD-ROM GCR-8520B> at ata1-master PIO\M-4
Mounting root from ufs:/dev/ad0s1a
Waiting (max 60 seconds) for system process `vnlru' to stop...stopped
Waiting (max 60 seconds) for system process `bufdaemon' to
stop...stopped
Waiting (max 60 seconds) for system process `syncer' to stop...stopped

syncing disks, buffers remaining... 8 8 done
Uptime: 36s
Power system off using ACPI...
Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights
reserved.
FreeBSD 5.0-CURRENT #0: Fri Dec 20 00:32:59 EST 2002
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/QUBIX
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0520000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc05200a8.
Timecounter "i8254" frequency 1193182 Hz
Timecounter "TSC" frequency 2394010816 Hz
CPU: Pentium 4 (2394.01-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf27 Stepping = 7
Features=0xffffffffbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,
MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM
,<b31>>
real memory = 536854528 (511 MB)
avail memory = 515989504 (492 MB)
Initializing GEOMetry subsystem
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS P4S533 > on motherboard
ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
Using $PIR table, 10 entries at 0xc00f1b20
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-fast" frequency 3579545 Hz
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <SIS Generic host to PCI bridge> mem 0xf0000000-0xf3ffffff at
device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
ohci0: <SiS 5571 USB controller> mem 0xef000000-0xef000fff irq 12 at
device 2.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <SiS 5571 USB controller> on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: <SiS 5571 USB controller> mem 0xee800000-0xee800fff irq 9 at
device 2.3 on pci0
usb1: OHCI version 1.0, legacy support
usb1: <SiS 5571 USB controller> on ohci1
usb1: USB revision 1.0
uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
atapci0: <SiS 5591 ATA33 controller> port 0xb800-0xb80f at device 2.5 on
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
sis0: <SiS 900 10/100BaseTX> port 0xa000-0xa0ff mem
0xee000000-0xee000fff irq 5 at device 3.0 on pci0
sis0: Ethernet address: 00:e0:18:ab:17:b8
sis0: MII without any PHY!
device_probe_and_attach: sis0 attach returned 6
pcm0: <CMedia CMI8738> port 0x9800-0x98ff irq 10 at device 5.0 on pci0
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x9400-0x947f mem
0xed800000-0xed80007f irq 10 at device 9.0 on pci0
xl0: Ethernet address: 00:01:02:84:e3:7e
miibus0: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus0
xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port
0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
orm0: <Option ROMs> at iomem 0xd0000-0xd07ff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
isa0
Timecounters tick every 10.000 msec
acpi_cpu: CPU throttling enabled, 8 steps from 100% to 12.5%
ad0: 117246MB <Maxtor 6Y120L0> [238216/16/63] at ata0-master UDMA33
ad1: 38182MB <MAXTOR 4K040H2> [77578/16/63] at ata0-slave UDMA33
acd0: CDROM <HL-DT-ST CD-ROM GCR-8520B> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s1a
lock order reversal


Here's the mod_php4 build process:

Script started on Fri Dec 20 21:49:13 2002
Define WITH_APACHE2 to build mod_php4 as an apache2 module.



===> Extracting for mod_php4-4.2.3

Define WITH_APACHE2 to build mod_php4 as an apache2 module.




Checksum OK for php-4.2.3.tar.bz2.

===> mod_php4-4.2.3 depends on file: /usr/local/sbin/apxs - found

===> mod_php4-4.2.3 depends on file:
/usr/local/libexec/autoconf213/autoconf - found

===> mod_php4-4.2.3 depends on shared library: mysqlclient.10 - found

===> Patching for mod_php4-4.2.3

===> Applying FreeBSD patches for mod_php4-4.2.3

===> Configuring for mod_php4-4.2.3

configure.in:526: warning: AC_TRY_RUN called without default to allow
cross compiling

ext/imap/config.m4:168: warning: AC_TRY_RUN called without default to
allow cross compiling

ext/qtdom/config.m4:34: AC_PROG_CXXCPP was called before AC_PROG_CXX

ext/session/config.m4:30: warning: AC_TRY_RUN called without default to
allow cross compiling

ext/session/config.m4:31: warning: AC_TRY_RUN called without default to
allow cross compiling

ext/xml/config.m4:8: warning: AC_TRY_RUN called without default to allow
cross compiling

creating cache ./config.cache

checking for Cygwin environment... no

checking for mingw32 environment... no

checking host system type... i386-portbld-freebsd5.0

checking for a BSD compatible install... /usr/bin/install -c -o root -g
wheel

checking whether build environment is sane... yes

checking whether make sets ${MAKE}... yes

checking for working aclocal... missing

checking for working autoconf... found

checking for working automake... missing

checking for working autoheader... found

checking for working makeinfo... found

checking whether to enable maintainer-specific portions of Makefiles...
no

Updated php_version.h

checking for gcc... cc

checking whether the C compiler (cc -O -pipe -march=pentium4
-I/usr/local/include ) works... yes

checking whether the C compiler (cc -O -pipe -march=pentium4
-I/usr/local/include ) is a cross-compiler... no

checking whether we are using GNU C... yes

checking whether cc accepts -g... yes

checking whether cc understands -c and -o together... yes

checking how to run the C preprocessor... cc -E

checking for AIX... no

checking for cc option to accept ANSI C... none needed

checking whether compiler supports -R... yes

checking for ranlib... ranlib

checking whether ln -s works... yes

checking for mawk... no

checking for gawk... no

checking for nawk... nawk

checking for bison... bison -y

checking bison version... 1.75 (ok)

checking for flex... flex

checking for yywrap in -lfl... yes

checking lex output file root... lex.yy

checking whether yytext is a pointer... yes

checking for working const... yes

checking for pthreads_cflags... -pthread

checking for pthreads_lib...


Configuring SAPI modules

checking for AOLserver support... no

checking for Apache 1.x module support via DSO through APXS... yes

checking for mod_charset compatibility option... no

checking for Apache 2.0 module support via DSO through APXS... no

checking for Caudium support... no

checking for fhttpd module support... no

checking for CLI build... no

checking for FastCGI support... no

checking for Zeus ISAPI support... no

checking for NSAPI support... no

checking for PHTTPD support... no

checking for Pi3Web Support... no

checking for Roxen/Pike support... no

checking for Servlet support... no

checking for thttpd... no

checking for TUX... no

checking for webjames... no

checking for chosen SAPI module... apache



Running system checks

checking for missing declarations of reentrant functions... done

checking for sendmail... /usr/sbin/sendmail

checking whether system uses EBCDIC... no

checking for socket in -lsocket... no

checking for htonl in -lsocket... no

checking for yp_get_default_domain... yes

checking for dlopen in -ldl... no

checking for sin in -lm... yes

checking for inet_aton in -lresolv... no

checking for inet_aton in -lbind... no

checking for __inet_aton in -lbind... no

checking for res_search in -lsocket... no

checking for res_search in -lresolv... no

checking for dn_skipname in -lresolv... no

checking for __dn_skipname in -lresolv... no

checking for ANSI C header files... no

checking for dirent.h that defines DIR... yes

checking for opendir in -ldir... no

checking for fclose declaration... ok

checking for ApplicationServices/ApplicationServices.h... no

checking for alloca.h... no

checking for arpa/inet.h... no

checking for arpa/nameser.h... no

checking for crypt.h... no

checking for fcntl.h... no

checking for grp.h... no

checking for ieeefp.h... no

checking for langinfo.h... no

checking for limits.h... no

checking for locale.h... no

checking for netinet/in.h... no

checking for pwd.h... no

checking for resolv.h... no

checking for signal.h... no

checking for stdarg.h... no

checking for stdlib.h... no

checking for string.h... no

checking for syslog.h... no

checking for sysexits.h... no

checking for sys/file.h... no

checking for sys/mman.h... no

checking for sys/mount.h... no

checking for sys/resource.h... no

checking for sys/select.h... no

checking for sys/socket.h... no

checking for sys/statfs.h... no

checking for sys/statvfs.h... no

checking for sys/vfs.h... no

checking for sys/sysexits.h... no

checking for sys/time.h... no

checking for sys/types.h... no

checking for sys/varargs.h... no

checking for sys/wait.h... no

checking for unistd.h... no

checking for unix.h... no

checking for utime.h... no

checking whether struct tm is in sys/time.h or time.h... time.h

checking for tm_zone in struct tm... yes

checking for tm_gmtoff in struct tm... yes

checking for struct flock... yes

checking for socklen_t... yes

checking size of long... 4

checking size of int... 4

checking for st_blksize in struct stat... yes

checking for st_blocks in struct stat... yes

checking for st_rdev in struct stat... yes

checking for size_t... yes

checking for uid_t in sys/types.h... yes

checking for struct sockaddr_storage... yes

checking for IPv6 support... yes

checking for vprintf... yes

checking for asctime_r... yes

checking for chroot... yes

checking for ctime_r... yes

checking for cuserid... no

checking for crypt... no

checking for flock... yes

checking for gai_strerror... yes

checking for gcvt... no

checking for getlogin... yes

checking for gethostbyaddr... yes

checking for getprotobyname... yes

checking for getprotobynumber... yes

checking for getservbyname... yes

checking for getservbyport... yes

checking for getrusage... yes

checking for gettimeofday... yes

checking for gmtime_r... yes

checking for inet_aton... yes

checking for isascii... yes

checking for link... yes

checking for localtime_r... yes

checking for lockf... yes

checking for lrand48... yes

checking for memcpy... yes

checking for memmove... yes

checking for mkstemp... yes

checking for mmap... yes

checking for nl_langinfo... yes

checking for putenv... yes

checking for realpath... yes

checking for random... yes

checking for rand_r... yes

checking for regcomp... yes

checking for res_search... yes

checking for setitimer... yes

checking for setlocale... yes

checking for localeconv... yes

checking for setsockopt... yes

checking for setvbuf... yes

checking for shutdown... yes

checking for sin... yes

checking for snprintf... yes

checking for srand48... yes

checking for srandom... yes

checking for statfs... yes

checking for statvfs... yes

checking for std_syslog... no

checking for strcasecmp... yes

checking for strcoll... yes

checking for strdup... yes

checking for strerror... yes

checking for strftime... yes

checking for strstr... yes

checking for strtok_r... yes

checking for symlink... yes

checking for tempnam... yes

checking for tzset... yes

checking for unsetenv... yes

checking for usleep... yes

checking for utime... yes

checking for vsnprintf... yes

checking for getaddrinfo... yes

checking for strlcat... yes

checking for strlcpy... yes

checking for getopt... yes

checking whether utime accepts a null argument... yes

checking for working alloca.h... (cached) no

checking for alloca... yes

checking whether sprintf is broken... no

checking for declared timezone... yes

checking for type of reentrant time-related functions... POSIX

checking for readdir_r... yes

checking for type of readdir_r... POSIX

checking whether to include debugging symbols... no

checking layout of installed files... yes

checking path to configuration file... yes

checking whether to install PEAR, and where... yes

checking whether to enable safe mode by default... no

checking for safe mode exec dir... /usr/local/php/bin

checking for OpenSSL support... no

checking whether to enable PHP's own SIGCHLD handler... no

checking whether to enable magic quotes by default... no

checking whether to enable runpaths... yes

checking whether to explicitly link against libgcc... no

checking whether to enable short tags by default... yes

checking whether to enable dmalloc... no

checking for crypt in -lcrypt... yes



Configuring extensions

checking if the location of ZLIB install directory is defined... no

checking for ZLIB support... yes

checking for gzgets in -lz... yes

checking for fopencookie... no

checking for ASPELL support... no

checking whether to enable bc style precision math functions... no

checking for BZip2 support... no

checking whether to enable calendar conversion support... no

checking for CCVS support... no

checking for cpdflib support... no

checking for CRACKlib support... no

checking whether to enable ctype functions... yes

checking for CURL support... no

checking for CyberCash support... no

checking for cybermut support... no

checking for cyrus imap support... no

checking for xDBM support... no

checking whether to enable DBA... no

checking for GDBM support... no

checking for NDBM support... no

checking for Berkeley DB2 support... no

checking for Berkeley DB3 support... no

checking for DBM support... no

checking for CDB support... no

checking whether to enable DBA interface... no

checking whether to enable dbase support... no

checking for dbplus support... no

checking whether to enable dbx support... no

checking whether to enable direct I/O support... no

checking for DOM support... no

checking for DOM XSLT support... no

checking for DOM EXSLT support... no

checking whether to enable EXIF support... no

checking for FrontBase SQL92 (fbsql) support... no

checking for FDF support... no

checking whether to enable the bundled filePro support... no

checking for FriBidi support... no

checking whether to enable FTP support... no

checking for GD support... no

checking for GNU gettext support... no

checking for GNU MP support... no

checking for Hyperwave support... no

checking for ICAP support... no

checking for iconv support... no

checking for IMAP support... no

checking for Informix support... no

checking for Ingres II support... no

checking for InterBase support... no

checking for IRCG support... no

checking for Java support... no

checking for LDAP support... no

checking whether to enable multibyte string support... no

checking whether to enable japanese encoding translation... no

checking whether to enable multibyte regex support... no

checking for MCAL support... no

checking for mcrypt support... no

checking for MCVE support... no

checking for mhash support... no

checking for MING support... no

checking for mnoGoSearch support... no

checking for msession support... no

checking for mSQL support... no

checking for Muscat support... no

checking for MySQL support... yes

checking size of char... 1

checking size of int... (cached) 4

checking size of long... (cached) 4

checking size of long long... 8

checking for size_t... (cached) yes

checking whether time.h and sys/time.h may both be included... yes

checking for uid_t in sys/types.h... (cached) yes

checking for type ulong... no

checking for type uchar... no

checking for type uint... yes

checking for type ushort... yes

checking for int8... no

checking base type of last arg to accept... socklen_t

checking return type of qsort... void

checking for mysql_close in -lmysqlclient... yes

checking for MySQL UNIX socket... /tmp/mysql.sock

checking for ncurses support... no

checking for Oracle-OCI8 support... no

checking for Adabas support... no

checking for SAP DB support... no

checking for Solid support... no

checking for IBM DB2 support... no

checking for Empress support... no

checking for Empress local access support... no

checking for Birdstep support... no

checking for a custom ODBC support... no

checking for iODBC support... no

checking for Easysoft ODBC-ODBC Bridge support... no

checking for unixODBC support... no

checking for OpenLink ODBC support... no

checking for DBMaker support... no

checking for Oracle-ORACLE support... no

checking whether to enable user-space object overloading support... no

checking for Ovrimos SQL Server support... no

checking whether to enable pcntl support... no

checking for PCRE support... yes

checking for memmove... (cached) yes

checking for PDFlib support... no

checking for Verisign Payflow Pro support... no

checking for PostgreSQL support... no

checking whether to enable POSIX-like functions... yes

checking for seteuid... yes

checking for setegid... yes

checking for setsid... yes

checking for getsid... yes

checking for setpgid... yes

checking for getpgid... yes

checking for ctermid... yes

checking for mkfifo... yes

checking for getrlimit... yes

checking for PSPELL support... no

checking whether to include QDOM support... no

checking for libedit readline replacement... no

checking for readline support... no

checking for recode support... no

checking whether to enable PHP sessions... yes

checking for mm support... no

checking for pread... yes

checking for pwrite... yes

checking whether pwrite works without custom declaration... yes

checking whether pread works without custom declaration... yes

checking whether to enable shmop support... no

checking for SNMP support... no

checking whether to enable UCD SNMP hack... no

checking whether to enable sockets support... no

checking for dlopen... yes

checking for pam_start in -lpam... yes

checking for getcwd... yes

checking for getwd... yes

checking for standard DES crypt... yes

checking for extended DES crypt... yes

checking for MD5 crypt... yes

checking for Blowfish crypt... yes

checking whether flush should be called explicitly after a bufferered
io... yes

checking whether to enable aggregation support... no

checking for libswf support... no

checking for Sybase support... no

checking for Sybase-CT support... no

checking whether to enable System V semaphore support... no

checking whether to enable System V shared memory support... no

checking whether to enable tokenizer support... no

checking for vpopmail support... no

checking whether to enable WDDX support... no

checking whether byte ordering is bigendian... no

checking whether to enable XML support... yes

checking external libexpat install dir... no

checking for XMLRPC-EPI support... no

checking libexpat dir for XMLRPC-EPI... no

checking iconv dir for XMLRPC-EPI... no

checking whether to enable xslt support... no

checking for XSLT Sablotron backend... no

checking libexpat dir for Sablotron XSL support... no

checking enable JavaScript for Sablotron... no

checking for YAZ support... no

checking whether to include YP support... no

checking for ZIP support... no

checking whether to enable versioning... yes

checking which regex library to use... php



Configuring Zend

checking build system type... i386-portbld-freebsd5.0

checking for ld used by GCC... /usr/bin/ld

checking if the linker (/usr/bin/ld) is GNU ld... yes

checking for /usr/bin/ld option to reload object files... -r

checking for BSD-compatible nm... /usr/bin/nm -B

checking how to recognise dependant libraries... pass_all

checking for object suffix... o

checking for executable suffix... no

checking command to parse /usr/bin/nm -B output... ok

checking for dlfcn.h... no

checking for ranlib... (cached) ranlib

checking for strip... strip

checking for objdir... .libs

checking for cc option to produce PIC... -fPIC

checking if cc PIC flag -fPIC works... yes

checking if cc static flag -static works... yes

checking if cc supports -c -o file.o... no

checking if we can lock with hard links... yes

checking if cc supports -fno-rtti -fno-exceptions... yes

checking whether the linker (/usr/bin/ld) supports shared libraries...
yes

checking how to hardcode library paths into programs... immediate

checking whether stripping libraries is possible... yes

checking dynamic linker characteristics... freebsd5.0 ld.so

checking if libtool supports shared libraries... yes

checking whether to build shared libraries... yes

checking whether to build static libraries... no

checking whether -lc should be explicitly linked in... yes

creating libtool

checking bison version... 1.75 (ok)

checking for limits.h... (cached) no

checking for malloc.h... no

checking for string.h... (cached) no

checking for unistd.h... (cached) no

checking for stdarg.h... (cached) no

checking for sys/types.h... (cached) no

checking for sys/time.h... (cached) no

checking for signal.h... (cached) no

checking for unix.h... (cached) no

checking for dlfcn.h... (cached) no

checking for size_t... (cached) yes

checking return type of signal handlers... void

checking for dlopen in -ldl... (cached) no

checking for dlopen... (cached) yes

checking whether dlsym() requires a leading underscore in symbol
names... no

checking for uint... yes

checking for ulong... no

checking for vprintf... (cached) yes

checking for 8-bit clean memcmp... yes

checking for working alloca.h... (cached) no

checking for alloca... (cached) yes

checking for memcpy... (cached) yes

checking for strdup... (cached) yes

checking for getpid... yes

checking for kill... yes

checking for strtod... yes

checking for strtol... yes

checking for finite... no

checking for fpclass... no

checking whether sprintf is broken... (cached) no

checking for finite... (cached) no

checking for isfinite... no

checking for isinf... yes

checking for isnan... yes

checking whether fp_except is defined... no

checking whether to enable experimental ZTS... no

checking whether to enable inline optimization for GCC... no

checking whether to enable a memory limit... no

checking whether to enable Zend debugging... no

checking for inline... inline



Configuring TSRM

checking for stdarg.h... (cached) no



Generating files

checking for working mkdir -p... yes

creating config_vars.mk

updating cache ./config.cache

creating ./config.status

creating php4.spec

creating Zend/Makefile

creating main/build-defs.h

creating pear/scripts/pear

creating pear/scripts/phpize

creating pear/scripts/php-config

creating pear/scripts/pearize

creating pear/scripts/phptar

creating TSRM/Makefile

creating main/php_config.h

fastgen.sh: creating sapi/Makefile

fastgen.sh: creating ext/Makefile

fastgen.sh: creating Makefile

fastgen.sh: creating pear/Makefile

fastgen.sh: creating main/Makefile

fastgen.sh: creating sapi/cli/Makefile

fastgen.sh: creating ext/zlib/Makefile

fastgen.sh: creating ext/ctype/Makefile

fastgen.sh: creating ext/mysql/Makefile

fastgen.sh: creating ext/pcre/Makefile

fastgen.sh: creating ext/pcre/pcrelib/Makefile

fastgen.sh: creating ext/posix/Makefile

fastgen.sh: creating ext/session/Makefile

fastgen.sh: creating ext/standard/Makefile

fastgen.sh: creating ext/xml/Makefile

fastgen.sh: creating ext/xml/expat/Makefile

fastgen.sh: creating sapi/apache/Makefile

fastgen.sh: creating regex/Makefile

creating number.c

creating number.h

creating main/internal_functions.c

creating main/internal_functions_cli.c

+--------------------------------------------------------------------+

| License: |

| This software is subject to the PHP License, available in this |

| distribution in the file LICENSE. By continuing this installation |

| process, you are bound by the terms of this license agreement. |

| If you do not agree with the terms of this license, you must abort |

| the installation process at this point. |

+--------------------------------------------------------------------+

| *** NOTE *** |

| The default for register_globals is now OFF! |

| |

| If your application relies on register_globals being ON, you |

| should explicitly set it to on in your php.ini file. |

| Note that you are strongly encouraged to read |

| http://www.php.net/manual/en/security.registerglobals.php |

| about the implications of having register_globals set to on, and |

| avoid using it if possible. |

+--------------------------------------------------------------------+







Thank you for using PHP.



===> Building for mod_php4-4.2.3

Making all in Zend

/bin/sh ../libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I. -I.
-I../main -DMOD_SSL=208112 -DMOD_PERL -DUSE_PERL_SSI
-DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -DEAPI
-DAPPLLIB_EXP=/usr/local/lib/perl5/5.6.1/BSDPAN -I../TSRM -O -pipe
-march=pentium4 -I/usr/local/include -prefer-pic -c
zend_language_parser.c

/bin/sh ../libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I. -I.
-I../main -DMOD_SSL=208112 -DMOD_PERL -DUSE_PERL_SSI
-DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -DEAPI
-DAPPLLIB_EXP=/usr/local/lib/perl5/5.6.1/BSDPAN -I../TSRM -O -pipe
-march=pentium4 -I/usr/local/include -prefer-pic -c
zend_language_scanner.c

/bin/sh ../libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I. -I.
-I../main -DMOD_SSL=208112 -DMOD_PERL -DUSE_PERL_SSI
-DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -DEAPI
-DAPPLLIB_EXP=/usr/local/lib/perl5/5.6.1/BSDPAN -I../TSRM -O -pipe
-march=pentium4 -I/usr/local/include -prefer-pic -c zend_ini_parser.c

zend_ini_parser.c: In function `ini_parse':

zend_ini_parser.c:899: warning: assignment makes pointer from integer
without a cast

zend_ini_parser.c:902: warning: assignment makes pointer from integer
without a cast

/bin/sh ../libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I. -I.
-I../main -DMOD_SSL=208112 -DMOD_PERL -DUSE_PERL_SSI
-DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -DEAPI
-DAPPLLIB_EXP=/usr/local/lib/perl5/5.6.1/BSDPAN -I../TSRM -O -pipe
-march=pentium4 -I/usr/local/include -prefer-pic -c zend_ini_scanner.c

/bin/sh ../libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I. -I.
-I../main -DMOD_SSL=208112 -DMOD_PERL -DUSE_PERL_SSI
-DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -DEAPI
-DAPPLLIB_EXP=/usr/local/lib/perl5/5.6.1/BSDPAN -I../TSRM -O -pipe
-march=pentium4 -I/usr/local/include -prefer-pic -c zend_alloc.c

/bin/sh ../libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I. -I.
-I../main -DMOD_SSL=208112 -DMOD_PERL -DUSE_PERL_SSI
-DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -DEAPI
-DAPPLLIB_EXP=/usr/local/lib/perl5/5.6.1/BSDPAN -I../TSRM -O -pipe
-march=pentium4 -I/usr/local/include -prefer-pic -c zend_compile.c

/bin/sh ../libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I. -I.
-I../main -DMOD_SSL=208112 -DMOD_PERL -DUSE_PERL_SSI
-DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -DEAPI
-DAPPLLIB_EXP=/usr/local/lib/perl5/5.6.1/BSDPAN -I../TSRM -O -pipe
-march=pentium4 -I/usr/local/include -prefer-pic -c zend_constants.c

/bin/sh ../libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I. -I.
-I../main -DMOD_SSL=208112 -DMOD_PERL -DUSE_PERL_SSI
-DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -DEAPI
-DAPPLLIB_EXP=/usr/local/lib/perl5/5.6.1/BSDPAN -I../TSRM -O -pipe
-march=pentium4 -I/usr/local/include -prefer-pic -c zend_dynamic_array.c

/bin/sh ../libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I. -I.
-I../main -DMOD_SSL=208112 -DMOD_PERL -DUSE_PERL_SSI
-DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -DEAPI
-DAPPLLIB_EXP=/usr/local/lib/perl5/5.6.1/BSDPAN -I../TSRM -pipe
-march=pentium4 -I/usr/local/include -prefer-pic -c ./zend_execute.c

/bin/sh ../libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I. -I.
-I../main -DMOD_SSL=208112 -DMOD_PERL -DUSE_PERL_SSI
-DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -DEAPI
-DAPPLLIB_EXP=/usr/local/lib/perl5/5.6.1/BSDPAN -I../TSRM -O -pipe
-march=pentium4 -I/usr/local/include -prefer-pic -c zend_execute_API.c

zend_execute_API.c: In function `zend_set_timeout':

zend_execute_API.c:782: storage size of `t_r' isn't known

zend_execute_API.c:788: `ITIMER_PROF' undeclared (first use in this
function)

zend_execute_API.c:788: (Each undeclared identifier is reported only
once

zend_execute_API.c:788: for each function it appears in.)

zend_execute_API.c: In function `zend_unset_timeout':

zend_execute_API.c:806: storage size of `no_timeout' isn't known

zend_execute_API.c:810: `ITIMER_PROF' undeclared (first use in this
function)

*** Error code 1



Stop in /usr/ports/www/mod_php4/work/php-4.2.3/Zend.

*** Error code 1



Stop in /usr/ports/www/mod_php4/work/php-4.2.3.

*** Error code 1



Stop in /usr/ports/www/mod_php4.

*** Error code 1



Stop in /usr/ports/www/mod_php4.


Script done on Fri Dec 20 21:49:43 2002

Thanks.

-----Original Message-----
From: Jens Rehsack [mailto:[EMAIL PROTECTED]] Sent: Friday, December 20, 2002 9:25 PM
To: Muhannad Asfour
Cc: [EMAIL PROTECTED]
Subject: Re: mod_php4 4.2.3 under 5.0-CURRENT

Muhannad Asfour wrote:

Hi, I was searching on groups.google.com recently to try to find out
how
to get mod_php4 compiled under 5.0-CURRENT, and I found your message
and
thought you might be of some assistance.  I recently built a new
server
and wanted to run 5.0-CURRENT on it.  I installed 5.0, cvsupped
sources,
rebuilt world, updated all of the ports.  Everything works great,
except
the mod_php4 won?t build (Yes, I e-mailed the port maintainer, no
reply
yet) :( .  I was wondering if you got it to build?  Here is my error
if
you might be able to help me:



===> Building for mod_php4-4.2.3

Making all in Zend

/bin/sh ../libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../main -DMOD_SSL=208112 -DMOD_PERL -DUSE_PERL_SSI -DAPPLLIB_EXP="/usr/local/lib/perl5/5.6.1/BSDPAN" -DEAPI -DAPPLLIB_EXP=/usr/local/lib/perl5/5.6.1/BSDPAN -I../TSRM -O -pipe -march=pentium4 -I/usr/local/include -prefer-pic -c zend_execute_API.c

zend_execute_API.c: In function `zend_set_timeout':

zend_execute_API.c:782: storage size of `t_r' isn't known

zend_execute_API.c:788: `ITIMER_PROF' undeclared (first use in this function)

zend_execute_API.c:788: (Each undeclared identifier is reported only
once

zend_execute_API.c:788: for each function it appears in.)

zend_execute_API.c: In function `zend_unset_timeout':

zend_execute_API.c:806: storage size of `no_timeout' isn't known

zend_execute_API.c:810: `ITIMER_PROF' undeclared (first use in this function)

*** Error code 1



Stop in /usr/ports/www/mod_php4/work/php-4.2.3/Zend.

*** Error code 1



Stop in /usr/ports/www/mod_php4/work/php-4.2.3.

*** Error code 1



Stop in /usr/ports/www/mod_php4.

*** Error code 1



Stop in /usr/ports/www/mod_php4.



Any help would greatly be appreciated, since this is a brand new
server
that needs to be up and running ASAP.

Hi Muhannad,

I just need a little bit more information to help you, cause I didn't run into compiler errors but in linker errors.

Please send me your dmesg output and use the script(1) command to log your entire mod_php4 build process and send me that output, too.

And please do not expect fast answers. It's 3:45 am here and I'm going to sleep in near future :-)

Thanks,
Jens
Hi Muhannad,

At first some things to questions:
1) Please use always reply-all to cc the list (if any cc'ed before)
2) Please avoid top posting
3) Read /usr/src/UPDATING before updating world and kernel (it seems you
had not)
4) Read the homepage of the ports if they're fail, first

You've compiled www/mod_php4 with apache2 support. This is marked as experimental in php 4.2.x, fine work is expected at least with 4.3.

You either have to use apache13 or find the missing declaration include file(s) using find(1) and grep(1).

Jens
--
L i W W W i Jens Rehsack
L W W W
L i W W W W i nnn gggg LiWing IT-Services
L i W W W W i n n g g
LLLL i W W i n n g g Friesenstraße 2
gggg 06112 Halle
g
g g
Tel.: +49 - 3 45 - 5 17 05 91 ggg e-Mail: <[EMAIL PROTECTED]>
Fax: +49 - 3 45 - 5 17 05 92 http://www.liwing.de/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to