LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-27-2006, 07:55 PM   #1
xjtdy888
LQ Newbie
 
Registered: May 2006
Posts: 4

Rep: Reputation: 0
php5 connot find big libxml2?


hi,I'm install php5:
[root@localhost php-5.1.2]# ./configure --prefix=/usr/local/php5 --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache/bin/apxs --enable-module-so --enable-shmop --enable-sysvtem --with-gd
loading cache ./config.cache
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking for egrep... (cached) grep -E
checking for a sed that does not truncate output... (cached) /bin/sed
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking whether gcc and cc understand -c and -o together... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for AIX... no
checking whether ln -s works... (cached) yes
checking if compiler supports -R... (cached) no
checking if compiler supports -Wl,-rpath,... (cached) yes
checking for re2c... no
configure: warning: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers.
checking for gawk... (cached) gawk
checking for bison... (cached) bison -y
checking for bison version... (cached) 1.35 (ok)
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) yes
checking for working const... (cached) yes
checking for flex version... (cached) 2.5.4 (ok)
checking whether to force non-PIC code in shared modules... yes
checking for pthreads_cflags... (cached) -pthread
checking for pthreads_lib... (cached)

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking for mod_charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS... yes
checking for Apache 1.x (hooks) module support via DSO through APXS... no
checking for Apache 1.x (hooks) module support... no
checking for mod_charset compatibility option... no
checking for Caudium support... no
checking for CLI build... yes
checking for Continuity support... no
checking for embedded SAPI library support... no
checking for Zeus ISAPI support... no
checking for Milter 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 thttpd... no
checking for TUX... no
checking for webjames... no
checking for chosen SAPI module... apache2handler

Running system checks
checking for sendmail... (cached) /usr/sbin/sendmail
checking whether system uses EBCDIC... (cached) no
checking whether byte ordering is bigendian... (cached) no
checking for socket... yes
checking for socketpair... yes
checking for htonl... yes
checking for gethostname... yes
checking for gethostbyaddr... yes
checking for yp_get_default_domain... no
checking for __yp_get_default_domain... no
checking for yp_get_default_domain in -lnsl... yes
checking for dlopen... no
checking for __dlopen... no
checking for dlopen in -ldl... yes
checking for sin in -lm... (cached) yes
checking for res_search... no
checking for __res_search... no
checking for res_search in -lresolv... yes
checking for inet_aton... yes
checking for dn_skipname... no
checking for __dn_skipname... yes
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... (cached) yes
checking for opendir in -ldir... (cached) no
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for dirent.h... (cached) yes
checking for ApplicationServices/ApplicationServices.h... (cached) no
checking for sys/param.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for alloca.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking for arpa/nameser.h... (cached) yes
checking for assert.h... (cached) yes
checking for crypt.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for grp.h... (cached) yes
checking for ieeefp.h... (cached) no
checking for langinfo.h... (cached) yes
checking for limits.h... (cached) yes
checking for locale.h... (cached) yes
checking for monetary.h... (cached) yes
checking for mach-o/dyld.h... (cached) no
checking for netdb.h... (cached) yes
checking for pwd.h... (cached) yes
checking for resolv.h... (cached) yes
checking for signal.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for syslog.h... (cached) yes
checking for sysexits.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for sys/mman.h... (cached) yes
checking for sys/mount.h... (cached) yes
checking for sys/poll.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/statfs.h... (cached) yes
checking for sys/statvfs.h... (cached) yes
checking for sys/vfs.h... (cached) yes
checking for sys/sysexits.h... (cached) no
checking for sys/varargs.h... (cached) no
checking for sys/wait.h... (cached) yes
checking for termios.h... (cached) yes
checking for unistd.h... (cached) yes
checking for unix.h... (cached) no
checking for utime.h... (cached) yes
checking for sys/utsname.h... (cached) yes
checking for sys/ipc.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for assert.h... (cached) yes
checking for fopencookie... (cached) yes
checking for broken getcwd... no
checking for broken libc stdio... yes
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
checking for tm_zone in struct tm... (cached) yes
checking for missing declarations of reentrant functions... done
checking for fclose declaration... ok
checking for tm_gmtoff in struct tm... (cached) yes
checking for struct flock... (cached) yes
checking for socklen_t... (cached) yes
checking size of intmax_t... (cached) 0
checking size of size_t... (cached) 4
checking size of ssize_t... (cached) 0
checking size of ptrdiff_t... (cached) 0
checking size of long long... (cached) 8
checking size of long long int... (cached) 8
checking size of long... (cached) 4
checking size of int... (cached) 4
checking for st_blksize in struct stat... (cached) yes
checking for st_blocks in struct stat... (cached) yes
checking for st_rdev in struct stat... (cached) yes
checking for size_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for struct sockaddr_storage... (cached) yes
checking for field sa_len in struct sockaddr... (cached) no
checking for IPv6 support... (cached) yes
checking for vprintf... (cached) yes
checking for alphasort... (cached) yes
checking for asctime_r... (cached) yes
checking for chroot... (cached) yes
checking for ctime_r... (cached) yes
checking for cuserid... (cached) yes
checking for crypt... (cached) no
checking for flock... (cached) yes
checking for ftok... (cached) yes
checking for funopen... (cached) no
checking for gai_strerror... (cached) yes
checking for gcvt... (cached) yes
checking for getlogin... (cached) yes
checking for getprotobyname... (cached) yes
checking for getprotobynumber... (cached) yes
checking for getservbyname... (cached) yes
checking for getservbyport... (cached) yes
checking for getrusage... (cached) yes
checking for gettimeofday... (cached) yes
checking for gmtime_r... (cached) yes
checking for grantpt... (cached) yes
checking for inet_ntoa... (cached) yes
checking for inet_ntop... (cached) yes
checking for inet_pton... (cached) yes
checking for isascii... (cached) yes
checking for link... (cached) yes
checking for localtime_r... (cached) yes
checking for lockf... (cached) yes
checking for lrand48... (cached) yes
checking for memcpy... (cached) yes
checking for memmove... (cached) yes
checking for mkstemp... (cached) yes
checking for mmap... (cached) yes
checking for nl_langinfo... (cached) yes
checking for perror... (cached) yes
checking for poll... (cached) yes
checking for ptsname... (cached) yes
checking for putenv... (cached) yes
checking for realpath... (cached) yes
checking for random... (cached) yes
checking for rand_r... (cached) yes
checking for regcomp... (cached) yes
checking for res_search... (cached) yes
checking for scandir... (cached) yes
checking for setitimer... (cached) yes
checking for setlocale... (cached) yes
checking for localeconv... (cached) yes
checking for setpgid... (cached) yes
checking for setsockopt... (cached) yes
checking for setvbuf... (cached) yes
checking for shutdown... (cached) yes
checking for sin... (cached) yes
checking for snprintf... (cached) yes
checking for srand48... (cached) yes
checking for srandom... (cached) yes
checking for statfs... (cached) yes
checking for statvfs... (cached) yes
checking for std_syslog... (cached) no
checking for strcasecmp... (cached) yes
checking for strcoll... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for strftime... (cached) yes
checking for strptime... (cached) yes
checking for strstr... (cached) yes
checking for strtok_r... (cached) yes
checking for symlink... (cached) yes
checking for tempnam... (cached) yes
checking for tzset... (cached) yes
checking for unlockpt... (cached) yes
checking for unsetenv... (cached) yes
checking for usleep... (cached) yes
checking for nanosleep... (cached) yes
checking for utime... (cached) yes
checking for vsnprintf... (cached) yes
checking for getaddrinfo... (cached) yes
checking for strlcat... (cached) no
checking for strlcpy... (cached) no
checking for getopt... (cached) yes
checking whether utime accepts a null argument... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for declared timezone... (cached) yes
checking for type of reentrant time-related functions... (cached) POSIX
checking for readdir_r... (cached) yes
checking for type of readdir_r... (cached) POSIX
checking for in_addr_t... (cached) yes

General settings
checking whether to include gcov symbols... no
checking whether to include debugging symbols... no
checking layout of installed files... PHP
checking path to configuration file... DEFAULT
checking where to scan for configuration files... DEFAULT
checking whether to enable safe mode by default... no
checking for safe mode exec dir... /usr/local/php/bin
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 IPv6 support... yes
checking how big to make fd sets... using system default
checking whether to enable versioning... no

Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path... /usr/local/bin/xml2-config
configure: error: libxml2 version 2.6.11 or greater required.
[root@localhost php-5.1.2]#

but i'm libxml2.xxxx installed!!!what is php not find?
[root@localhost php-5.1.2]# cd /usr/local/libxml2-2.6.8/
You have new mail in /var/spool/mail/root
[root@localhost libxml2-2.6.8]# ./configure && make -j 3 && make install
.
.
.

make[3]: Leaving directory `/usr/local/libxml2-2.6.8/python/tests'
make[2]: Leaving directory `/usr/local/libxml2-2.6.8/python/tests'
make[1]: Leaving directory `/usr/local/libxml2-2.6.8/python'
[root@localhost libxml2-2.6.8]#
now install php5 but it not find big libxml2

configure: error: libxml2 version 2.6.11 or greater required.

help!help!
 
Old 05-29-2006, 02:03 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
configure: error: libxml2 version 2.6.11 or greater required.
Isn't that obvius? You need at least libxml version 2.6.11 and you have 2.6.8 installed. So upgrade your libxml and you will be ok.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP 5 cannot find xml2-config for libxml2 support ridertech Linux - Software 21 02-08-2013 09:00 PM
installation problems with libxml2-2.2.66.tar.gz and libxml2-devel2-2.6.20-3.tar.gz g-string 3 Linux - Software 6 11-24-2005 11:39 AM
bash connot find the command Dunadan1821 Linux - Software 9 08-30-2004 08:04 AM
can't find installed libxml2 during ./configure progressdll Linux - Software 2 09-23-2003 09:52 AM
Installing Linux-2.4.20: Make menuconfig, connot find ncurses SparceMatrix Linux From Scratch 3 06-12-2003 07:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration