Bug in CustomBuild 1.2.11

winggundamth

Verified User
Joined
Feb 1, 2009
Messages
7
I found a bug in CustomBuild 1.2.11 that will cause error when install Jailed shell.

My Environment is FreeBSD 7.1 start setup from scratch with option 3 to use CustomBuild 1.2

Solution: in file /usr/local/directadmin/custombuild/build line 535 change from
SU_FILE=${JAIL_DIR}/ap${APACHE_OPT}/suexec.c
to
SU_FILE=/ap${APACHE_OPT}/suexec.c
Now I try to install DA on FreeBSD 7.1 32-bit and when it success I will write how to.

Thank you
 
Last edited:
Another bug, compile ICU problem

I found another bug when I install icu with setup from scratch or with command ./build icu It will show an error

You must use /usr/local/bin/gmake to build ICU.
Done. Making icu-4_0_1...
Trying to make icu...
Error expanding embedded variable.

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

I found that if I use command gmake at /usr/local/directadmin/custombuild/icu/source I can be compile and install icu with no problem. But if I use make I will show an error Error expanding embedded variable.

Solution: edit /usr/local/directadmin/custombuild/build line 4404 from
to
and line 4431 from
make install
to
gmake install
 
Last edited:
Hello,

Thanks for the information.

I've gone through the 1.2 script and changed all instances of:
Code:
${JAIL_DIR}/${SU_FILE}
to just
Code:
${SU_FILE}
to match the 1.1 scripts.
I've left this as is:
Code:
SU_FILE=${JAIL_DIR}/ap${APACHE_OPT}/suexec.c
Which is essentially the same as what you suggested, just from the other end.

Regarding ICU, I replaced:
Code:
make

with:
Code:
                if [ "$OS" = "FreeBSD" ]; then
                        /usr/local/bin/gmake
                else
                        make
                fi
and the same for "/usr/local/bin/gmake install". It seems to only be a freebsd issue.

John
 
Back
Top