Re: Trouble compiling php5-xml
At 04:10 PM 1/29/2008, Nick Rout wrote: I am bumping this because I haven't had a response. I'll add that I am running 6.1-RELEASE (according to the motd when I log in). I don't know what other info may be relevant, if I can provide anything else please let me know. Also, if there is a better list to post to for an answer, I'd be grateful to know. Nick. On Jan 16, 2008 12:08 PM, Nick Rout [EMAIL PROTECTED] wrote: I am trying to compile php5-xml (as a dependency to rtgui). I get this error: cc -I. -I/usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml -DPHP_ATOM_INC -I/usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/include -I/usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/main -I/usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/libxml2 -I/usr/local/include -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c -fPIC -DPIC -o .libs/xml.o /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:74: warning: parameter names (without types) in function declaration /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:160: error: `xml' undeclared here (not in a function) /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:160: error: initializer element is not constant /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:160: error: (near initialization for `xml_module_entry.post_deactivate_func') /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:161: error: initializer element is not constant /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:161: error: (near initialization for `xml_module_entry.globals_id') /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:162: warning: initialization makes integer from pointer without a cast /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:163: warning: initialization makes integer from pointer without a cast /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:164: warning: excess elements in struct initializer /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:164: warning: (near initialization for `xml_module_entry') /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:164: warning: excess elements in struct initializer /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:164: warning: (near initialization for `xml_module_entry') /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:165: warning: excess elements in struct initializer /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:165: warning: (near initialization for `xml_module_entry') /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c: In function `PHP_GINIT_FUNCTION': /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:187: error: invalid type argument of `-' *** Error code 1 Stop in /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml. *** Error code 1 Stop in /usr/ports/textproc/php5-xml. *** Error code 1 Stop in /usr/ports/net/php5-xmlrpc. *** Error code 1 Stop in /usr/ports/net-p2p/rtgui. *** Error code 1 Stop in /usr/ports/net-p2p/rtgui. Can anyone help me in sorting this out? Cheers (new to the list by the way :-) ) Nick. Nick, Have you tried re-pulling the sources for this port? If not, you should try that as it looks like the sources you have, have a syntax error. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trouble compiling php5-xml
I am bumping this because I haven't had a response. I'll add that I am running 6.1-RELEASE (according to the motd when I log in). I don't know what other info may be relevant, if I can provide anything else please let me know. Also, if there is a better list to post to for an answer, I'd be grateful to know. Nick. On Jan 16, 2008 12:08 PM, Nick Rout [EMAIL PROTECTED] wrote: I am trying to compile php5-xml (as a dependency to rtgui). I get this error: cc -I. -I/usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml -DPHP_ATOM_INC -I/usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/include -I/usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/main -I/usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/libxml2 -I/usr/local/include -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c -fPIC -DPIC -o .libs/xml.o /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:74: warning: parameter names (without types) in function declaration /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:160: error: `xml' undeclared here (not in a function) /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:160: error: initializer element is not constant /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:160: error: (near initialization for `xml_module_entry.post_deactivate_func') /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:161: error: initializer element is not constant /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:161: error: (near initialization for `xml_module_entry.globals_id') /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:162: warning: initialization makes integer from pointer without a cast /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:163: warning: initialization makes integer from pointer without a cast /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:164: warning: excess elements in struct initializer /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:164: warning: (near initialization for `xml_module_entry') /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:164: warning: excess elements in struct initializer /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:164: warning: (near initialization for `xml_module_entry') /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:165: warning: excess elements in struct initializer /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:165: warning: (near initialization for `xml_module_entry') /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c: In function `PHP_GINIT_FUNCTION': /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:187: error: invalid type argument of `-' *** Error code 1 Stop in /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml. *** Error code 1 Stop in /usr/ports/textproc/php5-xml. *** Error code 1 Stop in /usr/ports/net/php5-xmlrpc. *** Error code 1 Stop in /usr/ports/net-p2p/rtgui. *** Error code 1 Stop in /usr/ports/net-p2p/rtgui. Can anyone help me in sorting this out? Cheers (new to the list by the way :-) ) Nick. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Trouble compiling php5-xml
I am trying to compile php5-xml (as a dependency to rtgui). I get this error: cc -I. -I/usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml -DPHP_ATOM_INC -I/usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/include -I/usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/main -I/usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/libxml2 -I/usr/local/include -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c -fPIC -DPIC -o .libs/xml.o /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:74: warning: parameter names (without types) in function declaration /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:160: error: `xml' undeclared here (not in a function) /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:160: error: initializer element is not constant /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:160: error: (near initialization for `xml_module_entry.post_deactivate_func') /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:161: error: initializer element is not constant /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:161: error: (near initialization for `xml_module_entry.globals_id') /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:162: warning: initialization makes integer from pointer without a cast /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:163: warning: initialization makes integer from pointer without a cast /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:164: warning: excess elements in struct initializer /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:164: warning: (near initialization for `xml_module_entry') /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:164: warning: excess elements in struct initializer /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:164: warning: (near initialization for `xml_module_entry') /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:165: warning: excess elements in struct initializer /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:165: warning: (near initialization for `xml_module_entry') /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c: In function `PHP_GINIT_FUNCTION': /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml/xml.c:187: error: invalid type argument of `-' *** Error code 1 Stop in /usr/ports/textproc/php5-xml/work/php-5.2.5/ext/xml. *** Error code 1 Stop in /usr/ports/textproc/php5-xml. *** Error code 1 Stop in /usr/ports/net/php5-xmlrpc. *** Error code 1 Stop in /usr/ports/net-p2p/rtgui. *** Error code 1 Stop in /usr/ports/net-p2p/rtgui. Can anyone help me in sorting this out? Cheers (new to the list by the way :-) ) Nick. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]