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:[EMAIL PROTECTED]
Sent: Monday, September 18, 2006 6:48 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to