I might have fixed the problem
I guess the conditional values were set in
set too early in the configure.ac, and that caused problems for some
autoconf versions.
/Christian
_____
Från: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] För Christian
Magnusson
Skickat: den 5 december 2006 14:58
Till: owfs-developers@lists.sourceforge.net
Ämne: Re: [Owfs-developers] Problems compiling CVS
Accoording to your include-paths, ENABLE_OWPHP is set and PHPINC is NOT set
for some reason!?!
This should not be possible
since configure.ac sets ENABLE_OWPHP=false if
PHPINC is empty.
PHPINC is normally set to something like
PHPINC = -I/usr/include/php I/usr/include/php/main I/usr/include/php/TSRM
I/usr/include/php/Zend
Could you look in the generated Makefile for these variables?
grep PHPINC owfs/module/swig/php/Makefile
grep ENABLE_OWPHP owfs/module/swig/php/Makefile
/Christian
_____
Från: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] För Paul Alfille
Skickat: den 5 december 2006 14:32
Till: owfs-developers@lists.sourceforge.net
Ämne: Re: [Owfs-developers] Problems compiling CVS
Just tested. I fingered the wrong man!
It's PHP that get's confused by zend.
Making all in php
make[3]: Entering directory `/home/paul/owfs/module/swig/php'
if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I../../../src/include -fexceptions -I.. -I../../../src/include
-I../../../module/owlib/src/include -D_FILE_OFFSET_BITS=64 -g -O2 -pthread
-MT ow_wrap.lo -MD -MP -MF ".deps/ow_wrap.Tpo" -c -o ow_wrap.lo ow_wrap.c; \
then mv -f ".deps/ow_wrap.Tpo" ".deps/ow_wrap.Plo"; else rm -f
".deps/ow_wrap.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -fexceptions -I..
-I../../../src/include -I../../../module/owlib/src/include
-D_FILE_OFFSET_BITS=64 -g -O2 -pthread -MT ow_wrap.lo -MD -MP -MF
.deps/ow_wrap.Tpo -c ow_wrap.c -fPIC -DPIC -o .libs/ow_wrap.o
ow_wrap.c:496:18: error: zend.h: No such file or directory
ow_wrap.c:497:22: error: zend_API.h: No such file or directory
ow_wrap.c:498:17: error: php.h: No such file or directory
ow_wrap.c: In function 'SWIG_SetPointerChar':
ow_wrap.c:565: warning: assignment makes pointer from integer without a cast
ow_wrap.c: At top level:
ow_wrap.c:571: error: syntax error before '*' token
ow_wrap.c: In function 'SWIG_ZTS_SetPointerZval':
ow_wrap.c:574: error: 'type' undeclared (first use in this function)
ow_wrap.c:574: error: (Each undeclared identifier is reported only once
ow_wrap.c:574: error: for each function it appears in.)
ow_wrap.c:575: error: 'E_ERROR' undeclared (first use in this function)
ow_wrap.c:577: error: 'ptr' undeclared (first use in this function)
ow_wrap.c:578: error: 'newobject' undeclared (first use in this function)
ow_wrap.c:579: error: 'z' undeclared (first use in this function)
ow_wrap.c: At top level:
ow_wrap.c:673: error: syntax error before '*' token
ow_wrap.c: In function 'SWIG_ZTS_ConvertResourcePtr':
ow_wrap.c:679: error: 'z' undeclared (first use in this function)
ow_wrap.c:683: warning: assignment makes pointer from integer without a cast
ow_wrap.c:685: error: 'ptr' undeclared (first use in this function)
ow_wrap.c:685: error: 'ty' undeclared (first use in this function)
ow_wrap.c: At top level:
ow_wrap.c:697: error: syntax error before '*' token
ow_wrap.c: In function 'SWIG_ZTS_ConvertPtr':
ow_wrap.c:699: error: 'zval' undeclared (first use in this function)
ow_wrap.c:699: error: 'val' undeclared (first use in this function)
ow_wrap.c:701: error: 'z' undeclared (first use in this function)
ow_wrap.c:702: error: 'ptr' undeclared (first use in this function)
ow_wrap.c:706: error: 'IS_OBJECT' undeclared (first use in this function)
ow_wrap.c:707: error: '_cPtr' undeclared (first use in this function)
ow_wrap.c:708: error: 'SUCCESS' undeclared (first use in this function)
ow_wrap.c:710: error: 'IS_STRING' undeclared (first use in this function)
ow_wrap.c:710: warning: assignment makes pointer from integer without a cast
ow_wrap.c:711: error: 'IS_RESOURCE' undeclared (first use in this function)
ow_wrap.c:712: error: 'ty' undeclared (first use in this function)
ow_wrap.c:718: warning: assignment makes pointer from integer without a cast
ow_wrap.c:760:21: error: php_ini.h: No such file or directory
ow_wrap.c:761:31: error: ext/standard/info.h: No such file or directory
In file included from ow_wrap.c:762:
php_OW.h: At top level:
php_OW.h:34: error: syntax error before 'OW_module_entry'
php_OW.h:34: warning: data definition has no type or storage class
php_OW.h:43: warning: parameter names (without types) in function
declaration
php_OW.h:43: warning: data definition has no type or storage class
php_OW.h:44: warning: parameter names (without types) in function
declaration
php_OW.h:44: warning: data definition has no type or storage class
php_OW.h:45: warning: parameter names (without types) in function
declaration
php_OW.h:45: warning: data definition has no type or storage class
php_OW.h:46: warning: parameter names (without types) in function
declaration
php_OW.h:46: warning: data definition has no type or storage class
php_OW.h:47: warning: parameter names (without types) in function
declaration
php_OW.h:47: warning: data definition has no type or storage class
php_OW.h:49: warning: parameter names (without types) in function
declaration
php_OW.h:49: warning: data definition has no type or storage class
php_OW.h:50: warning: parameter names (without types) in function
declaration
php_OW.h:50: warning: data definition has no type or storage class
php_OW.h:51: warning: parameter names (without types) in function
declaration
php_OW.h:51: warning: data definition has no type or storage class
php_OW.h:52: warning: parameter names (without types) in function
declaration
php_OW.h:52: warning: data definition has no type or storage class
php_OW.h:53: warning: parameter names (without types) in function
declaration
php_OW.h:53: warning: data definition has no type or storage class
php_OW.h:54: warning: parameter names (without types) in function
declaration
php_OW.h:54: warning: data definition has no type or storage class
php_OW.h:55: warning: parameter names (without types) in function
declaration
php_OW.h:55: warning: data definition has no type or storage class
php_OW.h:56: warning: parameter names (without types) in function
declaration
php_OW.h:56: warning: data definition has no type or storage class
php_OW.h:57: warning: parameter names (without types) in function
declaration
php_OW.h:57: warning: data definition has no type or storage class
ow_wrap.c:977: warning: prototype for 'get_error_print' follows
non-prototype definition
ow_wrap.c:979: warning: prototype for 'get_error_level' follows
non-prototype definition
... and on and on ...
On 12/4/06, Peter Kropf <[EMAIL PROTECTED]> wrote:
Can you provide some more details? Log file? What clashes with the zend
headers?
- Peter
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers