Help installing php5

Forum for you who has PHP installation issues

Moderators: macek, egami, gesf

User avatar
GostLy
New php-forum User
New php-forum User
Posts: 36
Joined: Mon Sep 13, 2004 5:47 am

Help installing php5

Postby GostLy » Mon Sep 13, 2004 6:02 am

Alright, so my OS is redhat linux 9, my current version of PHP is 4.3.8 and i just installed apache 2.0.50 with no problem...configured the php 5 install using the ./configure --with-apxs2=path --with-mysql command line, then tryed to send the make command and alot of problems, all within the same directory happened and it wouldnt let me continue...
# make
gcc -Iext/libxml/ -I/php/php-5.0.1/ext/libxml/ -DPHP_ATOM_INC -I/php/php-5.0.1/include -I/php/php-5.0.1/main -I/php/php-5.0.1 -I/php/php-5.0.1/Zend -I/usr/include/libxml2 -I/usr/include/mysql -I/php/php-5.0.1/TSRM -g -O2 -c /php/php-5.0.1/ext/libxml/libxml.c -o ext/libxml/libxml.o && echo > ext/libxml/libxml.lo
/php/php-5.0.1/ext/libxml/libxml.c:38:27: libxml/parser.h: No such file or directory
/php/php-5.0.1/ext/libxml/libxml.c:39:36: libxml/parserInternals.h: No such file or directory
/php/php-5.0.1/ext/libxml/libxml.c:40:25: libxml/tree.h: No such file or directory
/php/php-5.0.1/ext/libxml/libxml.c:41:24: libxml/uri.h: No such file or directory
/php/php-5.0.1/ext/libxml/libxml.c:42:29: libxml/xmlerror.h: No such file or directory
In file included from /php/php-5.0.1/ext/libxml/libxml.c:47:
/php/php-5.0.1/ext/libxml/php_libxml.h:41:25: libxml/tree.h: No such file or directory
In file included from /php/php-5.0.1/ext/libxml/libxml.c:47:
/php/php-5.0.1/ext/libxml/php_libxml.h:55: error: syntax error before "xmlNodePtr"
/php/php-5.0.1/ext/libxml/php_libxml.h:55: warning: no semicolon at end of struct or union
/php/php-5.0.1/ext/libxml/php_libxml.h:58: error: syntax error before '}' token
/php/php-5.0.1/ext/libxml/php_libxml.h:58: warning: data definition has no type or storage class
/php/php-5.0.1/ext/libxml/php_libxml.h:62: error: syntax error before "php_libxml_node_ptr"
/php/php-5.0.1/ext/libxml/php_libxml.h:62: warning: no semicolon at end of struct or union
/php/php-5.0.1/ext/libxml/php_libxml.h:65: error: syntax error before '}' token
/php/php-5.0.1/ext/libxml/php_libxml.h:65: warning: data definition has no type or storage class
/php/php-5.0.1/ext/libxml/php_libxml.h:70: error: syntax error before '*' token
/php/php-5.0.1/ext/libxml/php_libxml.h:71: error: syntax error before '*' token
/php/php-5.0.1/ext/libxml/php_libxml.h:72: error: syntax error before '*' token
/php/php-5.0.1/ext/libxml/php_libxml.h:73: error: syntax error before '*' token
/php/php-5.0.1/ext/libxml/php_libxml.h:74: error: syntax error before "php_libxml_import_node"
/php/php-5.0.1/ext/libxml/php_libxml.h:74: warning: data definition has no type or storage class
/php/php-5.0.1/ext/libxml/php_libxml.h:77: error: syntax error before "node"
/php/php-5.0.1/ext/libxml/php_libxml.h:79: error: syntax error before '*' token
/php/php-5.0.1/ext/libxml/libxml.c:108: error: syntax error before '*' token
/php/php-5.0.1/ext/libxml/libxml.c: In function `php_libxml_dec_node':
/php/php-5.0.1/ext/libxml/libxml.c:112: error: `nodeptr' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:112: error: (Each undeclared identifier is reported only once
/php/php-5.0.1/ext/libxml/libxml.c:112: error: for each function it appears in.)
/php/php-5.0.1/ext/libxml/libxml.c:114: error: `XML_DOCUMENT_NODE' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c: At top level:
/php/php-5.0.1/ext/libxml/libxml.c:126: error: syntax error before '*' token
/php/php-5.0.1/ext/libxml/libxml.c: In function `php_libxml_clear_object':
/php/php-5.0.1/ext/libxml/libxml.c:128: error: `object' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c: At top level:
/php/php-5.0.1/ext/libxml/libxml.c:135: error: syntax error before "nodep"
/php/php-5.0.1/ext/libxml/libxml.c: In function `php_libxml_unregister_node':
/php/php-5.0.1/ext/libxml/libxml.c:137: error: `wrapper' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:139: error: `nodeptr' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:139: error: `nodep' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c: At top level:
/php/php-5.0.1/ext/libxml/libxml.c:153: error: syntax error before "node"
/php/php-5.0.1/ext/libxml/libxml.c: In function `php_libxml_node_free':
/php/php-5.0.1/ext/libxml/libxml.c:155: error: `node' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:157: error: syntax error before ')' token
/php/php-5.0.1/ext/libxml/libxml.c:160: error: `XML_ATTRIBUTE_NODE' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:161: error: `xmlAttrPtr' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:161: error: syntax error before "node"
/php/php-5.0.1/ext/libxml/libxml.c:163: error: `XML_ENTITY_DECL' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:164: error: `XML_ELEMENT_DECL' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:165: error: `XML_ATTRIBUTE_DECL' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:167: error: `XML_NOTATION_NODE' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:172: error: `xmlEntityPtr' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:172: error: syntax error before "node"
/php/php-5.0.1/ext/libxml/libxml.c:173: error: syntax error before "node"
/php/php-5.0.1/ext/libxml/libxml.c:175: error: syntax error before "node"
/php/php-5.0.1/ext/libxml/libxml.c:176: error: syntax error before "node"
/php/php-5.0.1/ext/libxml/libxml.c:180: error: `XML_NAMESPACE_DECL' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:185: error: `XML_ELEMENT_NODE' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c: At top level:
/php/php-5.0.1/ext/libxml/libxml.c:192: error: syntax error before "node"
/php/php-5.0.1/ext/libxml/libxml.c: In function `php_libxml_node_free_list':
/php/php-5.0.1/ext/libxml/libxml.c:194: error: `xmlNodePtr' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:194: error: syntax error before "curnode"
/php/php-5.0.1/ext/libxml/libxml.c:196: error: `node' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:197: error: `curnode' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:202: error: `XML_NOTATION_NODE' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:204: error: `XML_ENTITY_REF_NODE' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:205: error: syntax error before "node"
/php/php-5.0.1/ext/libxml/libxml.c:207: error: `XML_ATTRIBUTE_DECL' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:208: error: `XML_DTD_NODE' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:209: error: `XML_DOCUMENT_TYPE_NODE' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:210: error: `XML_ENTITY_DECL' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:211: error: `XML_ATTRIBUTE_NODE' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:212: error: `XML_NAMESPACE_DECL' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:217: error: syntax error before "node"
/php/php-5.0.1/ext/libxml/libxml.c: In function `php_libxml_ctx_error_level':
/php/php-5.0.1/ext/libxml/libxml.c:316: error: `xmlParserCtxtPtr' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:316: error: syntax error before "parser"
/php/php-5.0.1/ext/libxml/libxml.c:318: error: `parser' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:318: error: syntax error before "ctx"
/php/php-5.0.1/ext/libxml/libxml.c: In function `zm_info_libxml':
/php/php-5.0.1/ext/libxml/libxml.c:473: error: `LIBXML_DOTTED_VERSION' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c: At top level:
/php/php-5.0.1/ext/libxml/libxml.c:511: error: syntax error before "php_libxml_import_node"
/php/php-5.0.1/ext/libxml/libxml.c: In function `php_libxml_import_node':
/php/php-5.0.1/ext/libxml/libxml.c:514: error: `xmlNodePtr' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:514: error: syntax error before "node"
/php/php-5.0.1/ext/libxml/libxml.c:523: error: `node' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c: At top level:
/php/php-5.0.1/ext/libxml/libxml.c:531: error: syntax error before '*' token
/php/php-5.0.1/ext/libxml/libxml.c: In function `php_libxml_increment_node_ptr':
/php/php-5.0.1/ext/libxml/libxml.c:535: error: `object' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:535: error: `node' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:548: error: `private_data' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c: At top level:
/php/php-5.0.1/ext/libxml/libxml.c:563: error: syntax error before '*' token
/php/php-5.0.1/ext/libxml/libxml.c: In function `php_libxml_decrement_node_ptr':
/php/php-5.0.1/ext/libxml/libxml.c:565: error: `obj_node' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:567: error: `object' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:568: error: syntax error before ')' token
/php/php-5.0.1/ext/libxml/libxml.c: At top level:
/php/php-5.0.1/ext/libxml/libxml.c:582: error: syntax error before '*' token
/php/php-5.0.1/ext/libxml/libxml.c: In function `php_libxml_increment_doc_ref':
/php/php-5.0.1/ext/libxml/libxml.c:585: error: `object' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:588: error: `docp' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c: At top level:
/php/php-5.0.1/ext/libxml/libxml.c:599: error: syntax error before '*' token
/php/php-5.0.1/ext/libxml/libxml.c: In function `php_libxml_decrement_doc_ref':
/php/php-5.0.1/ext/libxml/libxml.c:602: error: `object' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:606: error: `xmlDoc' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:606: error: syntax error before ')' token
/php/php-5.0.1/ext/libxml/libxml.c: At top level:
/php/php-5.0.1/ext/libxml/libxml.c:619: error: syntax error before "node"
/php/php-5.0.1/ext/libxml/libxml.c: In function `php_libxml_node_free_resource':
/php/php-5.0.1/ext/libxml/libxml.c:621: error: `node' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:626: error: `XML_DOCUMENT_NODE' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:627: error: `XML_HTML_DOCUMENT_NODE' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:630: error: `XML_NAMESPACE_DECL' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:631: error: `xmlNodePtr' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:631: error: syntax error before "node"
/php/php-5.0.1/ext/libxml/libxml.c:634: error: `XML_ATTRIBUTE_DECL' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:635: error: `XML_DTD_NODE' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:636: error: `XML_DOCUMENT_TYPE_NODE' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:637: error: `XML_ENTITY_DECL' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:638: error: `XML_ATTRIBUTE_NODE' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:642: error: syntax error before "node"
/php/php-5.0.1/ext/libxml/libxml.c: At top level:
/php/php-5.0.1/ext/libxml/libxml.c:654: error: syntax error before '*' token
/php/php-5.0.1/ext/libxml/libxml.c: In function `php_libxml_node_decrement_resource':
/php/php-5.0.1/ext/libxml/libxml.c:657: error: `xmlNodePtr' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:657: error: syntax error before "nodep"
/php/php-5.0.1/ext/libxml/libxml.c:658: error: `obj_node' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:660: error: `object' undeclared (first use in this function)
/php/php-5.0.1/ext/libxml/libxml.c:661: error: syntax error before ')' token
/php/php-5.0.1/ext/libxml/libxml.c:662: error: `nodep' undeclared (first use in this function)
make: *** [ext/libxml/libxml.lo] Error 1


any help on this problem is much appreciated, any other information i need to provide i will...

User avatar
WiZARD
Moderator
Moderator
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Re: Help installing php5

Postby WiZARD » Wed Oct 13, 2004 5:16 am

try use path like this ./php/php-5.0.1/ext/libxml/


Return to “PHP Installation”

Who is online

Users browsing this forum: No registered users and 1 guest

cron