php extensions compile error - another compile bug?

Vizion vizion at vizion.occoxmail.com
Fri Sep 9 21:09:19 PDT 2005


On Friday 09 September 2005 19:35,  the author Vizion contributed to the 
dialogue on-
 Re: php extensions compile error - another compile bug?: 

>On Friday 09 September 2005 19:29,  the author Vizion contributed to the
>dialogue on-
>
> Re: php extensions compile error - another compile bug?:
>>On Friday 09 September 2005 18:48,  the author Vizion contributed to the
>>dialogue on-
>>
>> php extensions compile error - another compile bug?:
>>>Getting near the end and I get this:
>>>----------------------------------------------
>>>
>>>I do not know whether you have time to look at this one or not?
>>>Thanks again
>>>david
>>>
>>>config.status: creating config.h
>>>===>  Building for php5-wddx-5.0.5
>>>/bin/sh /usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/libtool
>>>--mode=co
>>>mpile cc  -I. -I/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx
>>>-DPHP_ATO
>>>M_INC -I/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/include
>>>-I/usr/po
>>>rts/textproc/php5-wddx/work/php-5.0.5/ext/wddx/main
>>>-I/usr/ports/textproc/php5-
>>>wddx/work/php-5.0.5/ext/wddx -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/i
>>>nclude/libxml2 -I/usr/local/include  -DHAVE_CONFIG_H  -O -pipe
>>>-c /usr/ports/
>>>textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c -o wddx.lo
>>>cc -I. -I/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx
>>> -DPHP_ATOM_INC -
>>>I/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/include
>>>-I/usr/ports/tex
>>>tproc/php5-wddx/work/php-5.0.5/ext/wddx/main
>>>-I/usr/ports/textproc/php5-wddx/wo
>>>rk/php-5.0.5/ext/wddx -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/
>>>libxml2 -I/usr/local/include -DHAVE_CONFIG_H -O -pipe
>>>-c /usr/ports/textproc/ph
>>>p5-wddx/work/php-5.0.5/ext/wddx/wddx.c  -fPIC -DPIC -o wddx.lo
>>>/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:29:34:
>>>ext/xml/exp
>>>at_compat.h: No such file or directory
>>>/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:34:29:
>>>ext/xml/php
>>>_xml.h: No such file or directory
>>>/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:102: error:
>>>syntax
>>> error before '*' token
>>>/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:715: error:
>>>syntax
>>> error before '*' token
>>>/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c: In function
>>>`php_
>>>wddx_push_element':
>>>/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:718: error:
>>>`user_
>>>data' undeclared (first use in this function)
>>>/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:718: error:
>>> (Each undeclared identifier is reported only once
>>>/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:718: error:
>>> for ea
>>>ch function it appears in.)
>>>/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:720: error:
>>>`name'
>>>undeclared (first use in this function)
>>>/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:723: error:
>>>`atts'
>>>undeclared (first use in this function)
>>>/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:816: warning:
>>>assi
>>>gnment makes pointer from integer without a cast
>>>/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:837: warning:
>>>assi
>>>gnment makes pointer from integer without a cast
>>>/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:876: warning:
>>>assi
>>>gnment makes pointer from integer without a cast
>>>/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c: At top
>>> level: /usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:903:
>>> error: syntax
>>>error before '*' token
>>>/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c: In function
>>>`php_
>>>wddx_pop_element':
>>>/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:906: error:
>>>`user_
>>>data' undeclared (first use in this function)
>>>/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:917: error:
>>>`name'
>>>undeclared (first use in this function)
>>>/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c: At top
>>> level: /usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:1031:
>>> error: synta
>>>x error before '*' token
>>>/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c: In function
>>>`php_
>>>wddx_process_data':
>>>/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:1034: error:
>>>`user
>>>_data' undeclared (first use in this function)
>>>/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:1043: error:
>>> `s' u
>>>ndeclared (first use in this function)
>>>/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:1043: error:
>>>`len'
>>>undeclared (first use in this function)
>>>/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:1043:
>>> warning: ass
>>>ignment makes pointer from integer without a cast
>>>/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c: In function
>>>`php_
>>>wddx_deserialize_ex':
>>>/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:1121: error:
>>>synta
>>>x error before "parser"
>>>/usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx/wddx.c:1126: error:
>>>`pars
>>>er' undeclared (first use in this function)
>>>*** Error code 1
>>>
>>>Stop in /usr/ports/textproc/php5-wddx/work/php-5.0.5/ext/wddx.
>>>*** Error code 1
>>>
>>>Stop in /usr/ports/textproc/php5-wddx.
>>>*** Error code 1
>>>
>>>Stop in /usr/ports/lang/php5-extensions.
>>>dns1#
>>>
>>>******************************************************************
>>
>><Log entry (long) cut out - see previous post>
>>
>>It looks like another missing file
>>
>>I show below some files which might be relevant on the system.. I can look
>> for more if you think it worth while
>>
>>david
>
>did not do shift insert first time around!!!
>/usr/ports/textproc
>dns1# ls -l | grep php5
>drwxr-xr-x  2 root  wheel     512 Sep  9 12:42 php5-ctype
>drwxr-xr-x  2 root  wheel     512 Sep  9 12:43 php5-dom
>drwxr-xr-x  3 root  wheel     512 Sep  9 18:25 php5-pspell
>drwxr-xr-x  2 root  wheel     512 Sep  9 12:43 php5-simplexml
>drwxr-xr-x  4 root  wheel     512 Sep  9 18:38 php5-wddx
>drwxr-xr-x  3 root  wheel     512 Sep  5 19:55 php5-xml
>drwxr-xr-x  2 root  wheel     512 May  2 08:29 php5-xsl
>dns1# cd php5-wddx/files
>dns1# ls -l
>total 8
>-rw-r--r--  1 root  wheel  711 Jul 27  2004 patch-config.m4
>-r--r--r--  1 root  wheel  979 Apr  2 00:30 patch-config.m4,v
>-rw-r--r--  1 root  wheel  263 Jul 27  2004 patch-wddx.c
>-r--r--r--  1 root  wheel  528 Apr  2 00:30 patch-wddx.c,v
>dns1# cd ..
>dns1# ls -l
>total 8
>-rw-r--r--  1 root  wheel  319 Jul 19  2004 Makefile
>-r--r--r--  1 root  wheel  503 Apr  2 00:30 Makefile,v
>drwxr-xr-x  2 root  wheel  512 May  2 08:29 files
>drwxr-xr-x  3 root  wheel  512 Sep  9 18:38 work
>dns1# cd work
>dns1# ls -l
>total 2
>-rw-r--r--   1 root  wheel     0 Sep  9
>18:38 .configure_done.php5-wddx-5.0.5._usr_local
>-rw-r--r--   1 root  wheel     0 Sep  9
>18:38 .extract_done.php5-wddx-5.0.5._usr_local
>-rw-r--r--   1 root  wheel     0 Sep  9
>18:38 .patch_done.php5-wddx-5.0.5._usr_local
>drwxr-xr-x  14 root  wheel  2048 Sep  9 18:38 php-5.0.5
>dns1# pwd
>/usr/ports/textproc/php5-wddx/work
>dns1# pwd
>/usr/ports/textproc/php5-xml/files
>dns1# ls -l
>total 4
>-rw-r--r--  1 root  wheel  356 Jul 20  2004 patch-compat.c
>-r--r--r--  1 root  wheel  625 Apr  2 00:30 patch-compat.c,v
>
>
>/usr/local/share/apps/quanta/dtep/cfml/cfwddx.tag
>/usr/local/share/apps/quanta/dtep/php/wddx.tag
>
>/usr/ports/textproc/php5-wddx
>/usr/ports/textproc/php5-wddx/Makefile
>/usr/ports/textproc/php5-wddx/Makefile,v
>/usr/ports/textproc/php5-wddx/files
>/usr/ports/textproc/php5-wddx/files/patch-config.m4
>/usr/ports/textproc/php5-wddx/files/patch-config.m4,v
>/usr/ports/textproc/php5-wddx/files/patch-wddx.c
>/usr/ports/textproc/php5-wddx/files/patch-wddx.c,v

OK I have not been able to compile the wddx option but everything else 
compiled.

Thanks again

I will email ale and ask him to look into it

Thanks again

david

-- 
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.


More information about the freebsd-questions mailing list