ID: 15165 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: *Configuration Issues Operating System: linux debian, kernel 2.4.15 PHP Version: 4.1.1 New Comment:
path for --with-mysql=... does not have a trailing slash! Previous Comments: ------------------------------------------------------------------------ [2002-01-22 09:47:41] [EMAIL PROTECTED] while executing the following ./configure command, i always get an error while checking the pwrite function: ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql/ --enable-track-vars --with-config-file-path=/usr/local/apache/conf/ --enable-trans-sid --with-xml --with-gdbm --enable-versioning --with-gd --with-zlib loading cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... found checking whether to enable maintainer-specific portions of Makefiles... no checking host system type... i686-pc-linux-gnu checking for gawk... no checking for mawk... mawk checking for bison... bison -y checking bison version... ./configure: test: 30 Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, Inc: integer expression expected bison (GNU Bison) 1.30 Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, Inc (ok) checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... yes checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for AIX... no checking for gcc option to accept ANSI C... none needed checking for ranlib... ranlib checking whether gcc and cc understand -c and -o together... yes checking whether ln -s works... yes 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... checking for pthreads_lib... Configuring SAPI modules checking for AOLserver support... no checking for Apache 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 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 chosen SAPI module... apache Running system checks checking for missing declarations of reentrant functions... done checking whether compiler supports -R... no checking whether compiler supports -Wl,-rpath,... yes 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... no checking for gethostname in -lnsl... yes checking for dlopen in -ldl... yes checking for sin in -lm... yes checking for inet_aton in -lresolv... yes checking for res_search in -lsocket... no checking for res_search in -lresolv... yes checking for ANSI C header files... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for fclose declaration... ok checking for alloca.h... yes checking for arpa/inet.h... yes checking for arpa/nameser.h... yes checking for crypt.h... yes checking for fcntl.h... yes checking for grp.h... yes checking for ieeefp.h... no checking for langinfo.h... yes checking for limits.h... yes checking for locale.h... yes checking for netinet/in.h... yes checking for pwd.h... yes checking for resolv.h... yes checking for signal.h... yes checking for stdarg.h... yes checking for stdlib.h... yes checking for string.h... yes checking for syslog.h... yes checking for sysexits.h... yes checking for sys/file.h... yes checking for sys/mman.h... yes checking for sys/mount.h... yes checking for sys/resource.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for sys/statfs.h... yes checking for sys/statvfs.h... yes checking for sys/vfs.h... yes checking for sys/sysexits.h... no checking for sys/time.h... yes checking for sys/types.h... yes checking for sys/varargs.h... no checking for sys/wait.h... yes checking for unistd.h... yes checking for unix.h... no checking for utime.h... yes 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... 8 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 IPv6 support... yes checking for vprintf... yes checking for asctime_r... yes checking for chroot... yes checking for ctime_r... yes checking for cuserid... yes checking for crypt... no checking for flock... yes checking for gai_strerror... yes checking for gcvt... yes 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... no checking for strlcpy... no checking for getopt... yes checking whether utime accepts a null argument... no checking for working alloca.h... (cached) yes 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... none checking whether to include debugging symbols... no checking layout of installed files... yes checking path to configuration file... yes checking whether to install PEAR... 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 whether to enable php streams... no checking for crypt in -lcrypt... yes Configuring extensions checking if the location of ZLIB install directory is defined... no checking whether to include ZLIB support... yes checking for gzgets in -lz... yes checking for fopencookie... yes checking for ASPELL support... no checking for 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 whether to include cpdflib support... no checking whether to include crack support... no checking whether to enable ctype support... no checking for CURL support... no checking for CyberCash support... no checking for cybermut support... no checking for cyrus imap support... no checking whether to include old xDBM support... no checking whether to enable DBA... no checking for gdbm_open in -lgdbm... yes checking for GDBM support... yes 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... yes checking whether to enable the bundled dbase library... no checking for dbplus support... no checking whether to enable dbx support... no checking for DOM support... no checking whether to enable exif support... no checking for FrontBase SQL92 (fbsql) support... no checking for fdftk support... no checking whether to enable the bundled filePro support... no checking whether to add fribidi support... no checking whether to enable FTP support... no checking whether to include GD support... yes checking whether to enable truetype string function in gd... no checking for the location of libjpeg... no If configure fails try --with-jpeg-dir=<DIR> checking for the location of libpng... no If configure fails try --with-png-dir=<DIR> and --with-zlib-dir=<DIR> checking for the location of libXpm... no If configure fails try --with-xpm-dir=<DIR> checking for freetype(2)... no If configure fails try --with-freetype-dir=<DIR> checking whether to include include FreeType 1.x support... no checking whether to include T1lib support... no checking for gdImageString16 in -lgd... no checking for gdImagePaletteCopy in -lgd... no checking for gdImageCreateFromPng in -lgd... no checking for gdImageCreateFromGif in -lgd... no checking for gdImageGif in -lgd... no checking for gdImageWBMP in -lgd... no checking for gdImageCreateFromJpeg in -lgd... no checking for gdImageCreateFromXpm in -lgd... no checking for gdImageCreateFromGd2 in -lgd... no checking for gdImageCreateTrueColor in -lgd... no checking for gdImageSetTile in -lgd... no checking for gdImageSetBrush in -lgd... no checking for gdImageStringTTF in -lgd... no checking for gdImageStringFT in -lgd... no checking for gdImageStringFTEx in -lgd... no checking for gdImageColorClosestHWB in -lgd... no checking for gdImageColorResolve in -lgd... no checking for gdImageGifCtx in -lgd... no checking whether to include GNU gettext support... no checking for gmp 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 whether to include LDAP support... no checking whether to enable mailparse support... no checking whether to enable multibyte string support... no checking whether to enable japanese encoding translation... no checking for MCAL support... no checking for mcrypt support... no checking for mhash support... no checking whether to include ming support... no checking for mnoGoSearch support... no checking for mSQL support... no checking for Muscat support... no checking for MySQL support... 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 Velocis 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 for Ovrimos SQL Server support... no checking whether to enable pcntl support... no checking whether to include PCRE support... yes checking for memmove... (cached) yes checking whether to include PDFlib support... no checking whether to include Verisign Payflow Pro support... no checking for PostgreSQL support... no checking whether to include POSIX-like functions... yes checking for seteuid... no checking for setegid... no checking for setsid... no checking for getsid... no checking for setpgid... no checking for getpgid... no checking for ctermid... no checking for mkfifo... no checking for getrlimit... no checking whether to include 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 CORBA support via Satellite... no checking for mm support... no checking whether to enable transparent session id propagation... yes checking whether to enable session support... yes checking for pread... no checking for pwrite... no checking whether pwrite works without custom declaration... configure: error: can not run test program while cross compiling ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=15165&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]