Re: [users@httpd] compilation problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Hasson , as Tal mentions, one must do a make clean, or work with a clean download..

Try the following - which uses a clean download:

mkdir -p /usr/apache                                  # may need sudo
mkdir -p ~/httpd223test
cd ~/httpd223test;
wget http://apache.rmplc.co.uk/httpd/httpd-2.2.3.tar.gz
tar -xzf httpd-2.2.3.tar.gz
cd httpd-2.2.3
HP_SRC=`pwd`
mv /usr/apache /usr/apache.x                     # may need sudo
./configure -q --prefix=/usr/apache --enable-proxy --enable-cache -- enable-disk-cache make # good time to make coffee, ring mum etc.
mv /usr/apache.x /usr/apache                    # may need sudo
make install #may need sudo ldconfig -vn /usr/apache/lib #not sure if this is necessary

If it fails, let me know where - and how/why!
Of course, if it succeeds, it would be nice to know that too..
	-b

On 20 Sep 2006, at 15:23, Hasson Yehudit wrote:

I tried it, but it didn't work (I got the same error while compiling).
Maybe do you have another suggestion?


-----Original Message-----
From: Ben [mailto:ben@xxxxxxxxxxxxxx]
Sent: Monday, September 18, 2006 6:48 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: [users@httpd] compilation problem

I've seen this error before.
It's because the current /usr/apache directory is causing some sort of
config problem

Try this -

mv /usr/apache /usr/apache.x
./configure --prefix=/usr/apache  --enable-proxy --enable-cache --
enable-disk-cache make mv  /usr/apache.x /usr/apache make install


-- should sort you out.


On 18 Sep 2006, at 16:32, Hasson Yehudit wrote:

Hi

I have a compilation problem while trying to compile the apache second

time with different configuration:

My steps are:

1)  ./configure --prefix=/usr/apache  --enable-proxy --enable-cache
--enable-disk-cache
2)   make
3)  make install
4)  ./configure --prefix=/usr/apache  --enable-proxy --enable-cache
--enable-mem-cache
5) make

I gets the following error:

.....
  exports.c:1141: `ap_hack_apr_xml_parser_feed' previously defined
here
exports.c:2563: redefinition of `ap_hack_apr_xml_parser_done'
exports.c:1142: `ap_hack_apr_xml_parser_done' previously defined here


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux