Recompiling apache2.2

kisiel

New member
Joined
May 31, 2008
Messages
1
Hi,

I have problem with recompiling apache 2.29 on Debian eth.
I did everything as in: http://help.directadmin.com/item.php?id=191

My /usr/local/directadmin/custombuild/custom/ap2/configure.apache

Code:
#!/bin/sh
"./configure" \
	"--prefix=/etc/httpd" \
	"--exec-prefix=/etc/httpd" \
	"--bindir=/usr/bin" \
	"--sbindir=/usr/sbin" \
	"--sysconfdir=/etc/httpd/conf" \
	"--enable-so" \
	"--enable-dav" \
	"--enable-dav-fs" \
	"--enable-dav-lock" \
	"--enable-suexec" \
	"--enable-deflate" \
	"--enable-unique-id" \
	"--enable-proxy" \
	"--with-suexec-caller=apache" \
	"--with-suexec-docroot=/" \
	"--with-suexec-gidmin=100" \
	"--with-suexec-logfile=/var/log/httpd/suexec_log" \
	"--with-suexec-uidmin=100" \
	"--with-suexec-userdir=public_html" \
	"--with-suexec-bin=/usr/sbin/suexec" \
	"--with-included-apr" \
	"--with-pcre=/usr/local" \
	"--includedir=/usr/include/apache" \
	"--libexecdir=/usr/lib/apache" \
	"--datadir=/var/www" \
	"--localstatedir=/var" \
	"--enable-logio" \
	"--enable-ssl" \
	"--enable-rewrite" \
	"--enable-proxy" \
	"--with-ssl=/usr" \
	"--enable-headers"

I add "--enable-proxy" only.

and

Code:
test:/usr/local/directadmin/custombuild# ./build apache
File already exists:    httpd-2.2.9.tar.gz
MD5 Checksum on httpd-2.2.9.tar.gz passed.
File already exists:    httpd_2
File already exists:    httpd_2_freebsd
File already exists:    httpd_2_debian
Backing up certificate and key, and turning off httpd for DirectAdmins's check.
Found /usr/local/directadmin/custombuild/httpd-2.2.9.tar.gz
Extracting /usr/local/directadmin/custombuild/httpd-2.2.9.tar.gz...
Configuring httpd-2.2.9
./build: /usr/local/directadmin/custombuild/custom/ap2/configure.apache: /bin/sh^M: bad interpreter: No such file or directory

*** There was an error while trying to configure Apache 2. Check the custom/ap2/configure.apache file

Where is problem?
 
Do:
Code:
nano -N /usr/local/directadmin/custombuild/custom/ap2/configure.apache
And remove ^M, then save the file.
 
Back
Top