Discussion about CustomBuild

You have PHP as CGI, so you must specify different PHP configuration file.
 
Run ./build zend, then instead of default PHP path write PHP4 cgi path.
 
One more question SM: I thought with suphp php would run as the user. How come I can't see any php user processes in ps aux?
 
No one thats have any idea about this error ? :confused:


/ Gunnar

-----------------------------------------------------------------

Then it halts again:
--------------
awk '{ print ($1+1) }' cnumber.h > cnumber.temp
rm -f cnumber.h; mv cnumber.temp cnumber.h
gcc version.c
rm -f exim
gcc -o exim
auths/auths.a(cyrus_sasl.o): In function `auth_cyrus_sasl_server':
cyrus_sasl.c:(.text+0xfe): undefined reference to `sasl_server_init'
cyrus_sasl.c:(.text+0x14a): undefined reference to `sasl_server_new'
cyrus_sasl.c:(.text+0x165): undefined reference to `sasl_done'
cyrus_sasl.c:(.text+0x1be): undefined reference to `sasl_server_start'
cyrus_sasl.c:(.text+0x1cf): undefined reference to `sasl_dispose'
cyrus_sasl.c:(.text+0x1d4): undefined reference to `sasl_done'
cyrus_sasl.c:(.text+0x1e6): undefined reference to `sasl_dispose'
cyrus_sasl.c:(.text+0x1eb): undefined reference to `sasl_done'
cyrus_sasl.c:(.text+0x200): undefined reference to `sasl_dispose'
cyrus_sasl.c:(.text+0x205): undefined reference to `sasl_done'
cyrus_sasl.c:(.text+0x2bc): undefined reference to `sasl_server_step'
cyrus_sasl.c:(.text+0x31f): undefined reference to `sasl_errstring'
cyrus_sasl.c:(.text+0x344): undefined reference to `sasl_errstring'
cyrus_sasl.c:(.text+0x372): undefined reference to `sasl_dispose'
cyrus_sasl.c:(.text+0x377): undefined reference to `sasl_done'
cyrus_sasl.c:(.text+0x3ad): undefined reference to `sasl_errstring'
cyrus_sasl.c:(.text+0x3e8): undefined reference to `sasl_dispose'
cyrus_sasl.c:(.text+0x3ed): undefined reference to `sasl_done'
cyrus_sasl.c:(.text+0x421): undefined reference to `sasl_errstring'
cyrus_sasl.c:(.text+0x446): undefined reference to `sasl_errstring'
cyrus_sasl.c:(.text+0x469): undefined reference to `sasl_dispose'
cyrus_sasl.c:(.text+0x46e): undefined reference to `sasl_done'
cyrus_sasl.c:(.text+0x496): undefined reference to `sasl_getprop'
cyrus_sasl.c:(.text+0x50b): undefined reference to `sasl_dispose'
cyrus_sasl.c:(.text+0x510): undefined reference to `sasl_done'
auths/auths.a(cyrus_sasl.o): In function `auth_cyrus_sasl_init':
cyrus_sasl.c:(.text+0x648): undefined reference to `sasl_server_init'
cyrus_sasl.c:(.text+0x69e): undefined reference to `sasl_server_new'
cyrus_sasl.c:(.text+0x6f4): undefined reference to `sasl_listmech'
cyrus_sasl.c:(.text+0x803): undefined reference to `sasl_dispose'
cyrus_sasl.c:(.text+0x808): undefined reference to `sasl_done'
collect2: ld returned 1 exit status
make[1]: *** [exim] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/exim-4.69/build-Linux-x86_64'
make: *** [go] Error 2

*** The make has failed, do you want to try to make again? (y,n): n
-----------------

I have try to install all *sasl* who is 64bit...

/ Gunnar S
 
No one thats have any idea about this error ? :confused:


/ Gunnar

-----------------------------------------------------------------
Actually, I fixed this my editing /Local/Makefile and uncommenting
Code:
AUTH_LIBS=-lsasl2
There's even a remark above that says it should be uncommented if using Cyrus sasl; I don't know why the makefile from DA doesn't have it. The downside is that you have to manually 'make install' and copy files, but it won't work automagically until the Makefile on DA's servers gets updated.

BTW, smtalk, I was able to make exim using these instructions (http://help.directadmin.com/item.php?id=125) finally, by uncommenting the EXTRALIBS_EXIM in the makefile. It looks like Custombuild's makefile already does that, which is why I was seeing the error on the DA version, and not on yours.
 
Last edited:
New error:
Code:
Installing default configuration in /etc
because there is no existing configuration file.
mkdir -p /
sed -e \\
  "/SYSTEM_ALIASES_FILE/ s'SYSTEM_ALIASES_FILE'/etc/aliases'" \\
  ../src/configure.default > ${CONFIGURE_FILE}
../scripts/exim_install: line 406: /etc: Is a directory

*** Exim installation failed ***
make: *** [install] Error 1

*** The install has failed, do you want to try to install it again? (y,n):

Another makefile error:
Looks like CONFIGURE_FILE is set to the wrong thing; instead of "/etc", it should be "/etc/exim.conf"
 
Last edited:
Hmm... ok, in directadmin.com/Makefile, there is already:
CONFIGURE_FILE=/etc/exim.conf

As for EXTRALIBS_EXIM, that was recently added.. I'm guessing it's going to be impossible to have 1 Makefile for all OS's, since each OS simply needs different things. Also, the bit that comments them out is actually to get rid of "EXTRALIBS=-static" lower in the Makefile, but the perl bit is doing both lines, so the EXTRALIBS_EXIM was never being used anyway because the regex matched both lines.

We'll have to look at the issue.

Exim releases don't happen very often, and I usually put up the updated binaries for each OS on files.directadmin.com/services, but I guess sometimes things don't always match up (impossible to handle every case)

John
 
I've changed the exim CONIGURE_FILE value on the files server Makefile.
I also set AUTH_CYRUS_SASL=no, as I'm pretty sure we don't use it at all.

John
 
Hi, I can't get php to install with fcgi, is it possible for custombuild to install php with fcgi? If not, can someone point me to a place where I can get help? I've been trying all day and I only end up with

Code:
# php-cgi -v
PHP 5.2.5 (cgi) (built: Apr 18 2008 23:23:18)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
    with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
    with Zend Optimizer v3.2.8, Copyright (c) 1998-2007, by Zend Technologies

And another thing is if I type in php -v, it gives me the cli version. Does that mean I have 2 copies of 5.2.5, one in cli and another in cgi? Will that cause any problems?

I'm actually trying to get lighttpd to run on my server, and the fcgi thing is preventing me from loading my wordpress or any php files. My apache is now mostly broken/unusable since I updated to 2.2.8 using custombuild and it doesn't seem to like my old settings, keep getting 500 and 403 errors. Downgrading back to 2.0.63, it's loading now, but my httpd.conf file is pretty screwed up due to the update, and kills itself very 5-10 minutes.

I hope some kind soul can help me shed some light regarding php-fcgi and also the 2.0 -> 2.2 apache upgrade.

Thank you very much. :)
 
After i run ./build apache, i got this error msg ....
Stopping httpd: [FAILED]
Starting httpd: [Fri Apr 18 18:43:37 2008] [warn] module php5_module is already loaded, skipping
Apache/2.2.8 mod_ssl/2.2.8 (Pass Phrase Dialog)
Some of your private key files are encrypted for security reasons.
In order to read them you have to provide the pass phrases.

Server www.example.com:443 (RSA)
Enter pass phrase:
Apache:mod_ssl:Error: Private key not found.
**Stopped
i accidently replace server.key with the one i generate, so the default key no longer available in my server, so i try create new one without pass phrase.

how to solve this ??
 
Get error :

[root@host custombuild]# ./build update_versions
Updating 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):
 
Try: rpm -e autoconf


Show this :

[root@host custombuild]# rpm -e autoconf
error: Failed dependencies:
autoconf >= 2.58 is needed by (installed) automake-1.9.6-2.1.noarch
autoconf >= 2.50 is needed by (installed) libtool-1.5.22-6.1.i386
autoconf >= 2.54 is needed by (installed) automake17-1.7.9-7.noarch
 
Hello
I can install Autoconf via the Build file, but when i try ./build Automake, it says the same thing :
checking whether autoconf is installed... no
configure: error: Autoconf 2.60 or better is required.
Please make sure it is installed and in your PATH.
Done. Making automake-1.10.1...
Trying to make automake...
make: *** No targets specified and no makefile found. Stop.

So i install autoconf via yum, but the autoconf in yum is version 2.59-12, but Automake needs > 2.60

Is there a way out here ?

Thx,
Sky
 
Last edited:
You get this, because automake is looking for autoconf in /usr/bin.
 
Back
Top