debian sarge, fails with apache 1.3

jresp

Verified User
Joined
Nov 7, 2007
Messages
11
When I use custombuild on a new DA install on a debian sarge vps, if I chose the default values for custombuild (apache 2.2 and php 5) it seems to work.

If I run the install with default values, then change apache version in options.conf to 1.3 and rebuild apache and php, it works fine.

If I answer n to the default values question and choose apache 1.3 and php 4 or php 5, many of the builds fail, but I get the INSTALL_COMPLETE message and DA works, but apache, php, etc are not successfully installed.

I haven't had time to do much testing, but it seems to be a chain of failed builds, php complains libpng is missing, libpng fails because libz is missing. So if I do a ./build zlib, ./build libpng, then ./build all, it seems to work. Has anyone else had similar issues?
 
Latest version of Custombuild 1.1? There should be no problems with the latest version. In the past it failed with autoconf on Debian and then it didn't install anything after it in doAll() function, but now it should work without any problems.
 
I think so, using http://www.directadmin.com/setup.sh on a clean debian sarge install and choosing custombuild 1.1 That will download the latest, correct?

It's been about two weeks since I last tried this, has it been changed since then?
 
I hadn't had occasion to try this again until now, but custombuild again failed after choosing php 5 and apache 1.3 in a clean debian sarge install.
pcre, apache, libjpeg, seemed to build, but libpng fails and the installation report appears immediately after.
php never gets built.

doing the following in custombuild seems to work and everything gets built:

./build zlib
./build all
 
Here are the errors from the libpng build, after which, the installation report occurs as if nothing was wrong (this is from a spanish language machine).

Trying to make libpng
gcc -I../zlib -Wall -O3 -funroll-loops -DPNG_NO_MMX_CODE -c -o png.o png.c
En el fichero inclu?do de png.c:13:
png.h:429:18: zlib.h: No existe el fichero o el directorio
In file included from png.h:433,
from png.c:13:
pngconf.h:1241: error: error sint?ctico before '*' token
pngconf.h:1241: aviso: type defaults to `int' in declaration of `png_zcharp'
pngconf.h:1241: aviso: data definition has no type or storage class
pngconf.h:1242: error: error sint?ctico before '*' token
pngconf.h:1242: aviso: type defaults to `int' in declaration of `png_zcharpp'
pngconf.h:1242: aviso: data definition has no type or storage class
pngconf.h:1243: error: error sint?ctico before '*' token
pngconf.h:1243: aviso: type defaults to `int' in declaration of `png_zstreamp'
pngconf.h:1243: aviso: data definition has no type or storage class
In file included from png.c:13:
png.h:1177: error: error sint?ctico before "z_stream"
png.h:1177: aviso: no hay punto y coma al final del struct o union
png.h:1251: error: `gamma' redeclared as different kind of symbol
/usr/include/bits/mathcalls.h:265: error: previous declaration of `gamma'
png.h:1436: error: error sint?ctico before '}' token
png.h:2964: error: error sint?ctico before "png_zalloc"
png.h:2964: error: error sint?ctico before "png_ptr"
png.h:2964: aviso: type defaults to `int' in declaration of `png_zalloc'
png.h:2964: aviso: data definition has no type or storage class
png.h:2967: error: error sint?ctico before "png_ptr"
png.c: En la funci?n `png_set_sig_bytes':
png.c:100: error: dereferencing pointer to incomplete type
png.c: En el nivel principal:
png.c:149: error: error sint?ctico before "png_zalloc"
png.c:149: error: error sint?ctico before "png_ptr"
png.c:150: aviso: return type defaults to `int'
png.c: En la funci?n `png_zalloc':
png.c:152: error: `png_ptr' undeclared (first use in this function)
png.c:152: error: (Each undeclared identifier is reported only once
png.c:152: error: for each function it appears in.)
png.c:153: error: dereferencing pointer to incomplete type
png.c:156: aviso: return se crea un entero desde un puntero sin una conversi?n
png.c:157: error: `items' undeclared (first use in this function)
png.c:157: error: `size' undeclared (first use in this function)
png.c:160: aviso: return se crea un entero desde un puntero sin una conversi?n
png.c:164: error: dereferencing pointer to incomplete type
png.c:166: error: dereferencing pointer to incomplete type
png.c:183: error: `voidpf' undeclared (first use in this function)
png.c:183: error: error sint?ctico before "ptr"
png.c: En el nivel principal:
png.c:192: error: error sint?ctico before "png_ptr"
png.c: En la funci?n `png_zfree':
png.c:194: error: `png_ptr' undeclared (first use in this function)
png.c:194: error: `ptr' undeclared (first use in this function)
png.c: En la funci?n `png_reset_crc':
png.c:203: error: dereferencing pointer to incomplete type
png.c:203: aviso: implicit declaration of function `crc32'
png.c:203: error: `Z_NULL' undeclared (first use in this function)
png.c: En la funci?n `png_calculate_crc':
png.c:216: error: dereferencing pointer to incomplete type
png.c:218: error: dereferencing pointer to incomplete type
png.c:224: error: dereferencing pointer to incomplete type
png.c:229: error: dereferencing pointer to incomplete type
png.c:229: error: dereferencing pointer to incomplete type
png.c:229: error: `uInt' undeclared (first use in this function)
png.c:229: error: error sint?ctico before "length"
png.c: En la funci?n `png_create_info_struct':
png.c:247: error: dereferencing pointer to incomplete type
png.c:247: error: dereferencing pointer to incomplete type
png.c: En la funci?n `png_destroy_info_struct':
png.c:277: error: dereferencing pointer to incomplete type
png.c:278: error: dereferencing pointer to incomplete type
png.c: En la funci?n `png_free_data':
png.c:488: error: dereferencing pointer to incomplete type
png.c:490: error: dereferencing pointer to incomplete type
png.c:491: error: dereferencing pointer to incomplete type
png.c: En la funci?n `png_info_destroy':
png.c:600: error: dereferencing pointer to incomplete type
png.c:602: error: dereferencing pointer to incomplete type
png.c:603: error: dereferencing pointer to incomplete type
png.c:604: error: dereferencing pointer to incomplete type
png.c: En la funci?n `png_get_io_ptr':
png.c:620: error: dereferencing pointer to incomplete type
png.c: En la funci?n `png_init_io':
png.c:636: error: dereferencing pointer to incomplete type
png.c: En la funci?n `png_convert_to_rfc1123':
png.c:652: error: dereferencing pointer to incomplete type
png.c:654: error: dereferencing pointer to incomplete type
png.c:680: error: dereferencing pointer to incomplete type
png.c:686: error: dereferencing pointer to incomplete type
png.c: En la funci?n `png_handle_as_unknown':
png.c:746: error: dereferencing pointer to incomplete type
png.c:748: error: dereferencing pointer to incomplete type
png.c:748: error: dereferencing pointer to incomplete type
png.c:749: error: dereferencing pointer to incomplete type
png.c: En la funci?n `png_reset_zstream':
png.c:760: error: `Z_STREAM_ERROR' undeclared (first use in this function)
png.c:761: aviso: implicit declaration of function `inflateReset'
png.c:761: error: dereferencing pointer to incomplete type
make: *** [png.o] Error 1
cp: ?/var/www/html/squirrelmail/data? y ?/var/www/html/squirrelmail-1.4.15/data? son el mismo fichero
## REPORT_START
Welcome to DirectAdmin verion 1.32.1!

....etc...

## REPORT_END
Permissions set
 
I'm still having this problem with a fresh install. Anyone have any idea why zlib would have to be specifically built for apache 1.3 but not for apache 2.2 with custombuild?
 
Back
Top