Discussion about CustomBuild

Hi,

I'm trying to install mailparse extension on my PHP5 CGI custombuild DA server, and I ran: /usr/local/php5/bin/pecl install maiparse

It ran nice, and installed extension in: /usr/local/php5/lib/php/extensions/no-debug-non-zts-20060613

Then I added "extension=mailparse.so" to /usr/local/etc/php5/cgi/php.ini, but it seems that mailparse.so don't get loaded.

Any ideas how this extension can be installed?
 
duntuk, try:
Code:
[FONT=monospace]rm -rf [/FONT]/usr/local/directadmin/custombuild/options.conf
 
I'm getting this error with the 'beta' script...on x64 centos 4.1...
(i answered 'y' to all build questions ; e.g. iconv is already installed. Do you want to build it again? (y/n) )

Code:
ext/openssl/.libs/openssl.o(.text+0x73d4): In function `zif_openssl_seal':
/usr/local/directadmin/custombuild/php-5.2.5/ext/openssl/openssl.c:3631: undefined reference to `EVP_CIPHER_CTX_block_size'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1


this is what i'm trying to upgrade from....

Code:
 # ./build versions
Latest version of PHP (CLI): 5.2.5
Installed version of PHP (CLI): 5.2.3

PHP5 (CLI) update is available.

Latest version of Apache: 2.2.6
Installed version of Apache: 2.2.4

Apache update is available.

Latest version of ProFTPD: 1.3.1
Installed version of ProFTPD: 1.3.0a

ProFTPD update is available.

Latest version of autoconf: 2.61
Installed version of autoconf: 2.61

Latest version of automake: 1.10
Installed version of automake: 1.9.6

Automake update is available.

Latest version of libtool: 1.5.24
Installed version of libtool: 1.5.24

Latest version of curl: 7.17.1
Installed version of curl: 7.16.4

cURL update is available.



at the time of this writting i'm trying the '1.2' version to see if i get the same error....
 
Last edited:
Centos 4.5 OS

ok what am i doing wrong. I try to update my servers. I first update directadmin

Then I do this

Code:
cd /usr/local/directadmin
wget http://files.directadmin.com/services/custombuild/1.1/custombuild.tar.gz
tar xvzf custombuild.tar.gz
cd custombuild
./build update_data

then I edit the options.conf change zend to yes.

run ./build update_data

then run ./build update_versions

it runs and then breaks httpd, as far as I can see its doing a partial update of php as httpd won't start. First i get the admin_flag error then the phplib5 error. have tried the fixes and still broke.

I run ./build update_data then ./build all d and it loads everything correct and installs zend. and everything is fine.

What am i doing wrong? I can get it to work but have to do the extra steps. Is it because I try to build zend on the first update?
 
Kronus, thank you for the report. I found one 'bug' in the CustomBuild script. Version 1.1.6 should be released soon. :)
 
Hi,

I'm trying to install mailparse extension on my PHP5 CGI custombuild DA server, and I ran: /usr/local/php5/bin/pecl install maiparse

It ran nice, and installed extension in: /usr/local/php5/lib/php/extensions/no-debug-non-zts-20060613

Then I added "extension=mailparse.so" to /usr/local/etc/php5/cgi/php.ini, but it seems that mailparse.so don't get loaded.

Any ideas how this extension can be installed?

I found the solution,

folder containing mailparse.so must be copied to:
/usr/local/php5/include/php/ext/

httpd restart, and it works :)
 
I tried to update my Debian Sarge 3.1 with custombuild to apache 2.2.6 and php 5.2.5.

While compiling php, i get the following error:

checking for floorf... yes
checking for jpeg_read_header in -ljpeg... no
configure: error: Problem with libjpeg.(a|so). Please check config.log for more information.

*** There was an error while trying to configure php. Check the configure.php file

in the config.log I see the following:
: multiple definition of `__i686.get_pc_thunk.bx'
/usr/local/lib/libjpeg.a(jdapimin.o)(.gnu.linkonce.t.__i686.get_p c_thunk.bx+0x0): first defined here
collect2: ld returned 1 exit status
configure: failed program was:
#line 35430 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char jpeg_read_header();

int main() {
jpeg_read_header()
; return 0; }

and also:
configure:16267: checking for opendir in -ldir
configure:16286: gcc -o conftest -g -O2 conftest.c -ldir -lresolv -lm -ldl -lnsl 1>&5
/usr/bin/ld: cannot find -ldir
collect2: ld returned 1 exit status
configure: failed program was:
#line 16275 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char opendir();


With every php version, i get the same error. I can't really find anything on this forum or google.
Anyone who can help me solving this issue?
 
Recompile

for some reason guys form the company where i rent serrver Forgot to compile php-mail module.
Can i recompile manually ? Adding this module ? without breaking all ?

I have DA panel.
Server version: Apache/2.2.4 (Unix)
PHP 5.2.3 (cli) (built: Aug 24 2007 22:38:47)
mysql Ver 14.12 Distrib 5.0.22,

Will be very happpy to get answer .
PS. Why i do it myself? Coz the company want money for recompile... :\
 
I tried to update my Debian Sarge 3.1 with custombuild to apache 2.2.6 and php 5.2.5.

While compiling php, i get the following error:

checking for floorf... yes
checking for jpeg_read_header in -ljpeg... no
configure: error: Problem with libjpeg.(a|so). Please check config.log for more information.

*** There was an error while trying to configure php. Check the configure.php file

in the config.log I see the following:
: multiple definition of `__i686.get_pc_thunk.bx'
/usr/local/lib/libjpeg.a(jdapimin.o)(.gnu.linkonce.t.__i686.get_p c_thunk.bx+0x0): first defined here
collect2: ld returned 1 exit status
configure: failed program was:
#line 35430 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char jpeg_read_header();

int main() {
jpeg_read_header()
; return 0; }

and also:
configure:16267: checking for opendir in -ldir
configure:16286: gcc -o conftest -g -O2 conftest.c -ldir -lresolv -lm -ldl -lnsl 1>&5
/usr/bin/ld: cannot find -ldir
collect2: ld returned 1 exit status
configure: failed program was:
#line 16275 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char opendir();


With every php version, i get the same error. I can't really find anything on this forum or google.
Anyone who can help me solving this issue?

Have you tryed first:

./build libjpeg

and then

./build all d

#Custombuild 1.1.6
Working fine with debian sarge 3.1 & apache 2.2.6 & php 5.2.5
 
Install XSL

I'm trying to install XSL under default install PHP5.2.5. in custombuild.

Options.conf:
#PHP settings. default_php possible values - 4 or 5
default_php=5
php4_cli=no
php4_cgi=no
php5_cli=yes
php5_cgi=no
zend=yes

I'vee tryed to install whit the --with-xsl \ and --with-xsl=[dir] in the ap_2, but both didn't work.

The XSL extension is already include in PHP 5, but what the wright pad to it....???
?? /usr/include/libxslt
locate XSL give's a multi of pads.....

Offcourse already ./build clean is done....


Thanks guys :)
 
the GD also long time did not update!

Have 2 ver. coming already !

Oh, look like can not ./build GD ,which if build php but the new ver. also did not build sametime!
 
Back
Top