Re: Facing xml/expat problems installing Apache 2.3.8 on Ubuntu 10.10

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

 



----- "Sanchit Jain" <sanchitjainjammu@xxxxxxxxx> wrote:

> Hi!
> 
> I'm facing a problem installing Apache 2.3.8 on Ubuntu.

You are aware of the fact, that this is the current alpha
release?

> I followed the instructions given on
> http://httpd.apache.org/docs/2.2/install.html. -

While this is documentation for the current stable.
Sadly, the apr part of the compile procedure has been
removed from the documentation.

> # Build and install apr 1.2

I'm not sure if 1.2 is supported at all by alpha.
I strongly suggest to download -deps.tar.bz2
http://httpd.apache.org/download.cgi#apache23

If you unpack these deps in the same directory as the
httpd-2.3.8.tar.bz2, they will end up in
httpd-2.3.8/src-lib/apr*

Then configure with:
 
> While installing Apache as it is, i.e. using ./configure
> --with-included-apr, I get the following error -

 
> configuring package in xml/expat now
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking target system type... i686-pc-linux-gnu
> /home/sanchit/Documents/httpd-2.3.8/srclib/apr-util/xml/expat/configure:
> line 2417: syntax error near unexpected token `lt_decl_varnames,'
> /home/sanchit/Documents/httpd-2.3.8/srclib/apr-util/xml/expat/configure:
> line 2417: `lt_if_append_uniq(lt_decl_varnames, SHELL, , ,'
> configure failed for xml/expat
> configure failed for srclib/apr-util
> 
> 
> The line mentioned in the error is -
> 
> lt_if_append_uniq(lt_decl_varnames, SHELL, , ,
>     lt_dict_add_subkey([lt_decl_dict], [SHELL], [libtool_name],
> 	[m4_ifval([], [], [SHELL])])
>     lt_dict_add_subkey([lt_decl_dict], [SHELL], [value], [1])
>     m4_ifval([Shell to use when invoking shell scripts],
> 	[lt_dict_add_subkey([lt_decl_dict], [SHELL], [description], [Shell
> to
> use when invoking shell scripts])])
>     lt_dict_add_subkey([lt_decl_dict], [SHELL],
> 	[tagged?], [m4_ifval([], [yes], [no])]))
> 
> 
> Please tell me how to fix this. Thanks in advnace!

Do you have all the necessary tools installed, as mentioned in
the installation documentation? m4, libtool, autoconf, automake

Do you have all the basic dependencies installed?
For expat in Ubuntu this would be libexpat1-dev, as Ubuntu doesn't
install headerfiles by default.

etc..

i

-- 
Igor GaliÄ

Tel: +43 (0) 664 886 22 883
Mail: i.galic@xxxxxxxxxxxxxx
URL: http://brainsware.org/

---------------------------------------------------------------------
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