Ben and Tal Thanks for your comments, I tried your both suggestions: 1) ./configure --prefix=/usr/apache --enable-proxy --enable-cache --enable-disk-cache make make install make clean make distclean make extraclean ---> error: not exist such a rule although it is defined in the rules and in the makefile ./configure --prefix=/usr/apache --enable-proxy --enable-cache --enable-mem-cache make make install ---> error: exports.c:2563: redefinition of `ap_hack_apr_xml_parser_done' 2) clean download: created new instance of apache directory under ~/httpd223test. Actually I use clean download every time I want to change configuration, but I don't think it is the best way to work. I want an option to change the current configuration and not create a new one. How do I do it? Yehudit -----Original Message----- From: Ben [mailto:ben@xxxxxxxxxxxxxx] Sent: Wednesday, September 20, 2006 6:14 PM To: users@xxxxxxxxxxxxxxxx Subject: Re: [users@httpd] compilation problem 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 --------------------------------------------------------------------- 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