demz
Verified User
hmmz same problem here, first problem in 1 year now; lol
[root@host custombuild]# export PATH=${PATH}:/usr/local/bin
[root@host custombuild]# ./build automake
File already exists: automake-1.10.1.tar.gz
MD5 Checksum on automake-1.10.1.tar.gz passed.
Found /usr/local/directadmin/custombuild/automake-1.10.1.tar.gz
Extracting ...
Done.
Configuring automake-1.10.1...
checking build system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for perl... /usr/bin/perl
checking for tex... no
checking whether autoconf is installed... yes
checking whether autoconf works... yes
checking whether autoconf is recent enough... no
configure: error: Autoconf 2.60 or better is required.
Done. Making automake-1.10.1...
Trying to make automake...
make: *** No targets specified and no makefile found. Stop.
*** The make has failed, do you want to try to make again? (y,n):
N
Trying to make automake...
make: *** No targets specified and no makefile found. Stop.
*** The make has failed, do you want to try to make again? (y,n):
N
Trying to make automake...
make: *** No targets specified and no makefile found. Stop.
*** The make has failed, do you want to try to make again? (y,n):
N
Trying to make automake...
make: *** No targets specified and no makefile found. Stop.
*** The make has failed, do you want to try to make again? (y,n):
[root@host custombuild]# export PATH=${PATH}:/usr/local/bin
[root@host custombuild]# ./build automake
File already exists: automake-1.10.1.tar.gz
MD5 Checksum on automake-1.10.1.tar.gz passed.
Another instance of custombild is running, please delete the .custombuild file if you want to use custombuild.
Quit at position: doAutomake
PHP6_CONFIGURE=configure/ap2/configure.php5
PHP6_CONFIGURE=configure/ap2/configure.php6
When I have upgraded to php6, I had errors.
After watching I found that the config file for compilation was PHP5 one I change this into the ./build script.
should beCode:PHP6_CONFIGURE=configure/ap2/configure.php5
and then no problem for compiling.Code:PHP6_CONFIGURE=configure/ap2/configure.php6
I have php4 with suphp setup as default. I am trying to tell apache to parse php files with my domain only as php5. If I rename a file to index.php5 it works but I want to use the .htaccess method.
adding: AddHandler x-httpd-php5 .php
http://dev4.thinkwebmedia.com
View the source to see what is happening.
Any ideas out here?
Thanks,
Justin
Are you sure you have PHP5 as suPHP?
Do you have it as CGI (suPHP)?vandal said:I am trying to tell apache to parse php files with my domain only as php5.
make[2]: Leaving directory `/usr/local/directadmin/custombuild/libxslt-1.1.23/doc'
Making all in python
make[2]: Entering directory `/usr/local/directadmin/custombuild/libxslt-1.1.23/python'
Making all in .
make[3]: Entering directory `/usr/local/directadmin/custombuild/libxslt-1.1.23/python'
cd . && /usr/bin/python generator.py
Found 236 functions in libxslt-api.xml
Found 32 functions in libxslt-python-api.xml
Generated 140 wrapper functions, 96 failed, 32 skipped
Missing type converters:
...:1 xsltTopLevelFunction:2 xsltNumberDataPtr:1 xmlXPathObjectPtr:1 xsltPointerListPtr:4 xmlNodePtr *:3 xmlChar **:2 xmlXPathCompExprPtr:4 xsltExtInitFunction:2 xsltPreComputeFunction:1 xsltCompilerCtxtPtr:2 char **:2 xsltElemPreCompPtr:2 xmlXPathFunction:4 xmlNodeSetPtr:2 xmlXPathObjectPtr *:1 xsltDecimalFormatPtr:2 xsltDebugTraceCodes:2 xsltSecurityPrefsPtr:11 xmlDictPtr:1 xsltTransformFunction:5 xsltCompMatchPtr:3 void *:13 xmlOutputBufferPtr:1 xmlHashTablePtr:1 pythonObject *:5 xsltSortFunc:2 xsltNsMapPtr:1 xsltDocumentPtr:8 xsltStackElemPtr:3 xsltTemplatePtr:4
touch gen_prog
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.2 -I/usr/local/include -I/usr/local/include/libxml2 -I../libxslt -I.. -I../libexslt -g -O2 -Wall -MT libxslt.lo -MD -MP -MF .deps/libxslt.Tpo -c -o libxslt.lo libxslt.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.2 -I/usr/local/include -I/usr/local/include/libxml2 -I../libxslt -I.. -I../libexslt -g -O2 -Wall -MT libxslt.lo -MD -MP -MF .deps/libxslt.Tpo -c libxslt.c -fPIC -DPIC -o .libs/libxslt.o
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.2 -I/usr/local/include -I/usr/local/include/libxml2 -I../libxslt -I.. -I../libexslt -g -O2 -Wall -MT libxslt.lo -MD -MP -MF .deps/libxslt.Tpo -c libxslt.c -o libxslt.o >/dev/null 2>&1
mv -f .deps/libxslt.Tpo .deps/libxslt.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.2 -I/usr/local/include -I/usr/local/include/libxml2 -I../libxslt -I.. -I../libexslt -g -O2 -Wall -MT types.lo -MD -MP -MF .deps/types.Tpo -c -o types.lo types.c
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.2 -I/usr/local/include -I/usr/local/include/libxml2 -I../libxslt -I.. -I../libexslt -g -O2 -Wall -MT types.lo -MD -MP -MF .deps/types.Tpo -c types.c -fPIC -DPIC -o .libs/types.o
types.c: In function `libxml_xmlXPathObjectPtrConvert':
types.c:460: syntax error before "PyBool_Check"
types.c:460: warning: implicit declaration of function `PyBool_Check'
types.c:460: syntax error before '{' token
types.c: At top level:
types.c:473: warning: type defaults to `int' in declaration of `str'
types.c:473: `obj' undeclared here (not in a function)
types.c:474: `obj' undeclared here (not in a function)
types.c:474: warning: initialization makes integer from pointer without a cast
types.c:474: initializer element is not constant
types.c:474: warning: data definition has no type or storage class
types.c:475: warning: type defaults to `int' in declaration of `ret'
types.c:475: warning: passing arg 1 of `xmlXPathWrapString' makes pointer from integer without a cast
types.c:475: warning: initialization makes integer from pointer without a cast
types.c:475: initializer element is not constant
types.c:475: warning: data definition has no type or storage class
types.c:476: syntax error before '}' token
types.c:483: warning: type defaults to `int' in declaration of `set'
types.c:483: conflicting types for `set'
types.c:481: previous declaration of `set'
types.c:483: warning: data definition has no type or storage class
types.c:485: syntax error before "for"
types.c:490: warning: type defaults to `int' in declaration of `cur'
types.c:490: conflicting types for `cur'
types.c:480: previous declaration of `cur'
types.c:490: warning: data definition has no type or storage class
types.c:491: syntax error before "if"
types.c:498: `inst' undeclared here (not in a function)
types.c:500: syntax error before "if"
types.c:505: syntax error before "if"
types.c:505: syntax error before '&&' token
types.c:505: warning: type defaults to `int' in declaration of `__result'
types.c:505: warning: data definition has no type or storage class
types.c:505: syntax error before '}' token
types.c:505: conflicting declarations of `__result'
types.c:505: `__result' previously declared here
types.c:505: warning: `__result' was declared `extern' and later `static'
types.c:505: `type' undeclared here (not in a function)
types.c:505: `__s2' undeclared here (not in a function)
types.c:505: syntax error before "if"
types.c:505: warning: type defaults to `int' in declaration of `__result'
types.c:505: conflicting declarations of `__result'
types.c:505: `__result' previously defined here
types.c:505: warning: data definition has no type or storage class
types.c:505: syntax error before '}' token
types.c:505: warning: type defaults to `int' in declaration of `__result'
types.c:505: warning: data definition has no type or storage class
types.c:505: syntax error before '}' token
types.c:505: conflicting declarations of `__result'
types.c:505: `__result' previously declared here
types.c:505: warning: `__result' was declared `extern' and later `static'
types.c:505: `__s1' undeclared here (not in a function)
types.c:505: syntax error before "if"
types.c:505: warning: type defaults to `int' in declaration of `__result'
types.c:505: conflicting declarations of `__result'
types.c:505: `__result' previously defined here
types.c:505: warning: data definition has no type or storage class
types.c:505: syntax error before '}' token
types.c:522: warning: type defaults to `int' in declaration of `ret'
types.c:522: redefinition of `ret'
types.c:475: `ret' previously defined here
types.c:522: warning: passing arg 1 of `xmlXPathWrapNodeSet' makes pointer from integer without a cast
types.c:522: warning: initialization makes integer from pointer without a cast
types.c:522: initializer element is not constant
types.c:522: warning: data definition has no type or storage class
types.c:523: syntax error before '}' token
types.c:505: register name not specified for `__result'
types.c:505: register name not specified for `__result'
make[3]: *** [types.lo] Error 1
make[3]: Leaving directory `/usr/local/directadmin/custombuild/libxslt-1.1.23/python'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/libxslt-1.1.23/python'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/libxslt-1.1.23'
make: *** [all] Error 2
Ok so one problem solved, smtalk you should update your faq.
In order to get php5 working with .htaccess I had to add the following:
AddHandler application/x-httpd-php .php
And now it is showing that it is using php5, the method from the faq does not work.