DA installed. Apache/PHP not installed.

Devileyezz

Verified User
Joined
May 13, 2007
Messages
16
Hello,

I had installed DA under the impression that it'll "take care of everything".
However, after I accessed it's 2222 port, I noticed that httpd wasn't running, and php wasn't installed.

After a few forum searches, I found that we need to use something called customapache to do this.
So, I did.

Now, when I do ./build all, I get this:
./configure:Error: APACI failed
-e
*** There was an error while trying to configure apache+mod_ssl. Check the configure.apache_ssl file

mark@athena:/usr/local/directadmin/customapache$

I tried ./build apache2, and it somehow worked. I tried php, and it didn't because of some zzip thing.
I tried php_ap2, and zzip was there again:

<snip everything before this>
config.status: zzip/_msvc.h is unchanged
----- zziplib 0.10.82 /usr/local
host: i686-pc-linux-gnu
enable shared libraries
enable static libraries
CFLAGS= -O2 -D_USE_MMAP -fomit-frame-pointer -Wall -Wstrict-prototypes -Wpointer-arith -Wsign-compare -Wmissing-declarations
enable mmap (yes, sys/mman.h)
without lowstk (no)
without debug (no)
# make && make check && make install
Done. Making zziplib-0.10.82...
Trying to make zZip...
MAKE i686-pc-linux-gnu : 1 * all-all
make[1]: Entering directory `/usr/local/directadmin/customapache/zziplib-0.10.82/i686-pc-linux-gnu'
cd . \
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
/bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: reusing top_srcdir/Makefile from earlier configure
config.status: build in ./i686-pc-linux-gnu (HOST=i686-pc-linux-gnu)
config.status: creating zzip/_config.h - prefix ZZIP for config.h defines
config.status: zzip/_config.h is unchanged
config.status: creating zzip/_msvc.h - prefix ZZIP for zzip/_msvc.in defines
config.status: zzip/_msvc.h is unchanged
make all-recursive
make[2]: Entering directory `/usr/local/directadmin/customapache/zziplib-0.10.82/i686-pc-linux-gnu'
Making all in zzip
make[3]: Entering directory `/usr/local/directadmin/customapache/zziplib-0.10.82/i686-pc-linux-gnu/zzip'
source='../../zzip/zip.c' object='zip.lo' libtool=yes \
depfile='.deps/zip.Plo' tmpdepfile='.deps/zip.TPlo' \
depmode=gcc3 /bin/sh ../../uses/depcomp \
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I.. -I../.. -O2 -D_USE_MMAP -fomit-frame-pointer -Wall -Wstrict-prototypes -Wpointer-arith -Wsign-compare -Wmissing-declarations -c -o zip.lo `test -f ../../zzip/zip.c || echo '../../zzip/'`../../zzip/zip.c
In file included from ../../zzip/conf.h:28,
from ../../zzip/zzip.h:22,
from ../../zzip/lib.h:21,
from ../../zzip/zip.c:14:
../zzip/_config.h:12:14: warning: extra tokens at end of #ifndef directive
../zzip/_config.h:13:14: warning: missing whitespace after the macro name
../zzip/_config.h:17:14: warning: extra tokens at end of #ifndef directive
../zzip/_config.h:22:14: warning: extra tokens at end of #ifndef directive
../zzip/_config.h:27:14: warning: extra tokens at end of #ifndef directive
../zzip/_config.h:35:14: warning: extra tokens at end of #ifndef directive
../zzip/_config.h:43:14: warning: extra tokens at end of #ifndef directive
../zzip/_config.h:48:14: warning: extra tokens at end of #ifndef directive
../zzip/_config.h:53:14: warning: extra tokens at end of #ifndef directive
../zzip/_config.h:58:14: warning: extra tokens at end of #ifndef directive
../zzip/_config.h:63:14: warning: extra tokens at end of #ifndef directive
../zzip/_config.h:74:14: warning: extra tokens at end of #ifndef directive
../zzip/_config.h:82:14: warning: extra tokens at end of #ifndef directive
../zzip/_config.h:87:14: warning: extra tokens at end of #ifndef directive
../zzip/_config.h:92:14: warning: extra tokens at end of #ifndef directive
../zzip/_config.h:97:14: warning: extra tokens at end of #ifndef directive
../zzip/_config.h:111:14: warning: extra tokens at end of #ifndef directive
../zzip/_config.h:124:14: warning: extra tokens at end of #ifndef directive
../zzip/_config.h:132:14: warning: extra tokens at end of #ifndef directive
../zzip/_config.h:137:14: warning: extra tokens at end of #ifndef directive
../zzip/_config.h:142:14: warning: extra tokens at end of #ifndef directive
../zzip/_config.h:147:14: warning: extra tokens at end of #ifndef directive
../zzip/_config.h:158:14: warning: extra tokens at end of #ifndef directive
../zzip/_config.h:163:14: warning: extra tokens at end of #ifndef directive
In file included from ../../zzip/lib.h:23,
from ../../zzip/zip.c:14:
../../zzip/stdint.h:28:5: error: #error unable to typedef int16_t from either int or short
../../zzip/stdint.h:37:5: error: #error unable to typedef int32_t from either int or long
In file included from ../../zzip/lib.h:23,
from ../../zzip/zip.c:14:
../../zzip/stdint.h:38: error: conflicting types for 'int32_t'
/usr/include/sys/types.h:197: error: previous declaration of 'int32_t' was here
../../zzip/zip.c: In function '__zzip_find_disk_trailer':
../../zzip/zip.c:176: warning: pointer targets in assignment differ in signedness
../../zzip/zip.c:202: warning: pointer targets in assignment differ in signedness
../../zzip/zip.c: In function '__zzip_parse_root_directory':
../../zzip/zip.c:369: warning: comparison is always false due to limited range of data type
make[3]: *** [zip.lo] Error 1
make[3]: Leaving directory `/usr/local/directadmin/customapache/zziplib-0.10.82/i686-pc-linux-gnu/zzip'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/directadmin/customapache/zziplib-0.10.82/i686-pc-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/directadmin/customapache/zziplib-0.10.82/i686-pc-linux-gnu'
make: *** [all-all] Error 2
-e
*** The make has failed, do you want to try to make again? (y,n):


What's going wrong?
Ubuntu Feisty.
 
Is this the normal support that one receives?
Emails not being answered/ no live support, not even forum help?
 
*sigh*

Soon it's going to be 5pm, and then DA support closes.
And I keep waiting.

Since thursday, all I keep coming across is glitches after glitches.
 
Okay, code has been sent. If it will help - you can post it here :)
 
Hello,

Try typing the following:
Code:
cd /usr/local/directadmin/customapache
./build clean
perl -pi -e 's/0.10.82/0.13.47/' build
./build update_data
./build all d
and see if that helps. If not, let me know.

John
 
John,

Tried that, and I got the same error.

root@athena:/usr/local/directadmin/customapache# ./build all d
cat: /etc/redhat-release: No such file or directory
cat: /etc/redhat-release: No such file or directory
Backing up certificate and key, and turning off httpd for DirectAdmins's check.
Found /usr/local/directadmin/customapache/apache_1.3.37.tar.gz
Extracting /usr/local/directadmin/customapache/apache_1.3.37.tar.gz...
Done. Applying patches...
patching file ./mod_frontpage.c
patching file ./src/include/httpd.h
Hunk #1 succeeded at 759 (offset -47 lines).
patching file ./src/main/http_request.c
Hunk #1 succeeded at 146 (offset -42 lines).
Hunk #2 succeeded at 542 (offset -36 lines).
Hunk #3 succeeded at 553 (offset -36 lines).
patching file ./src/main/util.c
Hunk #1 succeeded at 666 (offset -42 lines).
patching file ./src/main/util_script.c
Hunk #1 succeeded at 1132 (offset -63 lines).
Increasing hard limit to 32768...
Setting up mod_ssl...
Found /usr/local/directadmin/customapache/mod_ssl-2.8.28-1.3.37.tar.gz
Extracting /usr/local/directadmin/customapache/mod_ssl-2.8.28-1.3.37.tar.gz...
Configuring mod_ssl-2.8.28-1.3.37...
+ Warning: Your 'echo' command is slightly broken.
+ It interprets escape sequences per default. We already
+ tried 'echo -E' but had no real success. If errors occur
+ please set the SEO variable in 'configure' manually to
+ the required 'echo' options, i.e. those which force your
+ 'echo' to not interpret escape sequences per default.
Configuring mod_ssl/2.8.28 for Apache/1.3.37
+ Apache location: ../apache_1.3.37 (Version 1.3.37)
+ Auxiliary patch tool: ./etc/patch/patch (local)
+ Applying packages to Apache source tree:
o Extended API (EAPI)
o Distribution Documents
o SSL Module Source
o SSL Support
o SSL Configuration Additions
o SSL Module Documentation
o Addons
Done: source extension and patches successfully applied.

Now proceed with the following commands (Bourne-Shell syntax):
$ cd ../apache_1.3.37
$ SSL_BASE=/path/to/openssl ./configure ... --enable-module=ssl
$ make
$ make certificate
$ make install
/usr/local/directadmin/customapache/configure.apache_ssl: 11: --prefix=/etc/http d: not found
/usr/local/directadmin/customapache/configure.apache_ssl: 30: --enable-shared=ma x: not found
-e
*** There was an error while trying to configure apache+mod_ssl. Check the confi gure.apache_ssl file

root@athena:/usr/local/directadmin/customapache#


:(
 
You know what.
The previous error message I got was because my fingering with configure.apache_ssl, and I changed settings.

So, I just cleaned everything out and re-did what you requested.
But I still got the error. Except a slightly different one:


root@athena:/usr/local/directadmin/customapache# ./build all d
cat: /etc/redhat-release: No such file or directory
cat: /etc/redhat-release: No such file or directory
Backing up certificate and key, and turning off httpd for DirectAdmins's check.
Found /usr/local/directadmin/customapache/apache_1.3.37.tar.gz
Extracting /usr/local/directadmin/customapache/apache_1.3.37.tar.gz...
Done. Applying patches...
patching file ./mod_frontpage.c
patching file ./src/include/httpd.h
Hunk #1 succeeded at 759 (offset -47 lines).
patching file ./src/main/http_request.c
Hunk #1 succeeded at 146 (offset -42 lines).
Hunk #2 succeeded at 542 (offset -36 lines).
Hunk #3 succeeded at 553 (offset -36 lines).
patching file ./src/main/util.c
Hunk #1 succeeded at 666 (offset -42 lines).
patching file ./src/main/util_script.c
Hunk #1 succeeded at 1132 (offset -63 lines).
Increasing hard limit to 32768...
Setting up mod_ssl...
Found /usr/local/directadmin/customapache/mod_ssl-2.8.28-1.3.37.tar.gz
Extracting /usr/local/directadmin/customapache/mod_ssl-2.8.28-1.3.37.tar.gz...
Configuring mod_ssl-2.8.28-1.3.37...
+ Warning: Your 'echo' command is slightly broken.
+ It interprets escape sequences per default. We already
+ tried 'echo -E' but had no real success. If errors occur
+ please set the SEO variable in 'configure' manually to
+ the required 'echo' options, i.e. those which force your
+ 'echo' to not interpret escape sequences per default.
Configuring mod_ssl/2.8.28 for Apache/1.3.37
+ Apache location: ../apache_1.3.37 (Version 1.3.37)
+ OpenSSL location: /usr
+ Auxiliary patch tool: ./etc/patch/patch (local)
+ Applying packages to Apache source tree:
o Extended API (EAPI)
o Distribution Documents
o SSL Module Source
o SSL Support
o SSL Configuration Additions
o SSL Module Documentation
o Addons
Done: source extension and patches successfully applied.

Configuring for Apache, Version 1.3.37
+ Warning: Your 'echo' command is slightly broken.
+ It interprets escape sequences per default. We already
+ tried 'echo -E' but had no real success. If errors occur
+ please set the SEO variable in 'configure' manually to
+ the required 'echo' options, i.e. those which force your
+ 'echo' to not interpret escape sequences per default.
+ using installation path layout: Apache (config.layout)
+ on-the-fly added and activated frontpage module (modules/extra/mod_frontpage.o)
Creating Makefile
Creating Configuration.apaci in src
Syntax error --- The configuration file is used only to
define the list of included modules or to set Makefile in src
options or Configure rules, and I don't see that at all:
/usr
yes
default
no
no
no
`$(SRCDIR)/apaci`
no
default
default
no
no
no
yes
no
default
no
default
default







































./configure:Error: APACI failed
-e
*** There was an error while trying to configure apache+mod_ssl. Check the configure.apache_ssl file

root@athena:/usr/local/directadmin/customapache#

:(
 
I don't know WHAT you google, my friend. Looks like you have a Masters in Googling.

But that did it!
Thank you so much.

Hopefully, I don't have to create another thread for some other problem.
 
I'm ASSUME-ing ;) that /bin/sh in Ubuntu Feisty Fawn isn't bash. Was that the problem, John?

Jeff
 
Well we all know that when we ASSUME we make an a?? out of you and me ;) .

Jeff
 
Back
Top