You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by David Long <DL...@Lynden.com> on 2015/11/17 00:20:55 UTC

[users@httpd] how to compile apache httpd 2.4.17

I download Apache httpd 2.4.17 and want compile on Solaris 10 Sparc.

It ask me to install APR.

So I download APR 1.5.2 and try to configure it and following error.



root@kiana# cd /www/apachesrc/apr-1.5.2

root@kiana# ./configure --prefix=/www/apachesrc/httpd-2.4.17/srclib/apr/configure

checking build system type... sparc-sun-solaris2.10

checking host system type... sparc-sun-solaris2.10

checking target system type... sparc-sun-solaris2.10

Configuring APR library

Platform: sparc-sun-solaris2.10

checking for working mkdir -p... yes

APR Version: 1.5.2

[…]

config.status: creating include/arch/unix/apr_private.h

config.status: executing libtool commands

libtoolT: No such file or directory

config.status: executing default commands

config.status: include/apr.h is unchanged

config.status: include/arch/unix/apr_private.h is unchanged



I do have libtool package installed but don't know what libtoolT means.



Thanks.

With regards,



David Long

RE: [users@httpd] how to compile apache httpd 2.4.17

Posted by David Long <DL...@Lynden.com>.
Can anyone help me with following error when compile httpd2.4.17?
I got a lot of
“exports.c:1217: error: redefinition of 'ap_hack_apr_allocator_create'”
Errors.

Thanks
David Long

From: William A Rowe Jr [mailto:wrowe@rowe-clan.net]
Sent: Tuesday, November 17, 2015 1:14 PM
To: David Long <DL...@Lynden.com>
Cc: users@httpd.apache.org
Subject: RE: [users@httpd] how to compile apache httpd 2.4.17


The order is always apr, expat and Lib before openssl before apr-util, plus pcre before httpd.
On Nov 17, 2015 14:46, "David Long" <DL...@lynden.com>> wrote:
Hi William,
Should I download apr-util first and compile it?
I have not download apr-util and compile it on the system yet.

Thanks for your help.

David Long

From: William A Rowe Jr [mailto:wrowe@rowe-clan.net<ma...@rowe-clan.net>]
Sent: Tuesday, November 17, 2015 11:36 AM
To: users@httpd.apache.org<ma...@httpd.apache.org>
Subject: Re: [users@httpd] how to compile apache httpd 2.4.17


On Nov 16, 2015 17:21, "David Long" <DL...@lynden.com>> wrote:
>
> I download Apache httpd 2.4.17 and want compile on Solaris 10 Sparc.
>
> It ask me to install APR.
>
> So I download APR 1.5.2 and try to configure it and following error.
>
>
>
> root@kiana# cd /www/apachesrc/apr-1.5.2
>
> root@kiana# ./configure --prefix=/www/apachesrc/httpd-2.4.17/srclib/apr/configure

Yuck...

You are best off choosing the same --prefix for apr and apr-util as you intend to use for httpd itself.  Then tell apr-util and httpd the --with-apr=path so they install to the same place, e.g. /use/local or /opt/httpd as you like.

>
> checking build system type... sparc-sun-solaris2.10
>
> checking host system type... sparc-sun-solaris2.10
>
> checking target system type... sparc-sun-solaris2.10
>
> Configuring APR library
>
> Platform: sparc-sun-solaris2.10
>
> checking for working mkdir -p... yes
>
> APR Version: 1.5.2
>
> […]
>
> config.status: creating include/arch/unix/apr_private.h
>
> config.status: executing libtool commands
>
> libtoolT: No such file or directory
>
> config.status: executing default commands
>
> config.status: include/apr.h is unchanged
>
> config.status: include/arch/unix/apr_private.h is unchanged
>
>
>
> I do have libtool package installed but don't know what libtoolT means.

This is new to me.  We bundle libtoolize with apr, you didn't need a system libtoolize.  However, maybe libtoolize fails to configure because it can't work out your gcc/cc/ld?

RE: [users@httpd] how to compile apache httpd 2.4.17

Posted by William A Rowe Jr <wr...@rowe-clan.net>.
The order is always apr, expat and Lib before openssl before apr-util, plus
pcre before httpd.
On Nov 17, 2015 14:46, "David Long" <DL...@lynden.com> wrote:

> Hi William,
>
> Should I download apr-util first and compile it?
>
> I have not download apr-util and compile it on the system yet.
>
>
>
> Thanks for your help.
>
>
>
> David Long
>
>
>
> *From:* William A Rowe Jr [mailto:wrowe@rowe-clan.net]
> *Sent:* Tuesday, November 17, 2015 11:36 AM
> *To:* users@httpd.apache.org
> *Subject:* Re: [users@httpd] how to compile apache httpd 2.4.17
>
>
>
>
> On Nov 16, 2015 17:21, "David Long" <DL...@lynden.com> wrote:
> >
> > I download Apache httpd 2.4.17 and want compile on Solaris 10 Sparc.
> >
> > It ask me to install APR.
> >
> > So I download APR 1.5.2 and try to configure it and following error.
> >
> >
> >
> > root@kiana# cd /www/apachesrc/apr-1.5.2
> >
> > root@kiana# ./configure
> --prefix=/www/apachesrc/httpd-2.4.17/srclib/apr/configure
>
> Yuck...
>
> You are best off choosing the same --prefix for apr and apr-util as you
> intend to use for httpd itself.  Then tell apr-util and httpd the
> --with-apr=path so they install to the same place, e.g. /use/local or
> /opt/httpd as you like.
>
> >
> > checking build system type... sparc-sun-solaris2.10
> >
> > checking host system type... sparc-sun-solaris2.10
> >
> > checking target system type... sparc-sun-solaris2.10
> >
> > Configuring APR library
> >
> > Platform: sparc-sun-solaris2.10
> >
> > checking for working mkdir -p... yes
> >
> > APR Version: 1.5.2
> >
> > […]
> >
> > config.status: creating include/arch/unix/apr_private.h
> >
> > config.status: executing libtool commands
> >
> > libtoolT: No such file or directory
> >
> > config.status: executing default commands
> >
> > config.status: include/apr.h is unchanged
> >
> > config.status: include/arch/unix/apr_private.h is unchanged
> >
> >
> >
> > I do have libtool package installed but don't know what libtoolT means.
>
> This is new to me.  We bundle libtoolize with apr, you didn't need a
> system libtoolize.  However, maybe libtoolize fails to configure because it
> can't work out your gcc/cc/ld?
>

RE: [users@httpd] how to compile apache httpd 2.4.17

Posted by David Long <DL...@Lynden.com>.
Hi William,
Should I download apr-util first and compile it?
I have not download apr-util and compile it on the system yet.

Thanks for your help.

David Long

From: William A Rowe Jr [mailto:wrowe@rowe-clan.net]
Sent: Tuesday, November 17, 2015 11:36 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] how to compile apache httpd 2.4.17


On Nov 16, 2015 17:21, "David Long" <DL...@lynden.com>> wrote:
>
> I download Apache httpd 2.4.17 and want compile on Solaris 10 Sparc.
>
> It ask me to install APR.
>
> So I download APR 1.5.2 and try to configure it and following error.
>
>
>
> root@kiana# cd /www/apachesrc/apr-1.5.2
>
> root@kiana# ./configure --prefix=/www/apachesrc/httpd-2.4.17/srclib/apr/configure

Yuck...

You are best off choosing the same --prefix for apr and apr-util as you intend to use for httpd itself.  Then tell apr-util and httpd the --with-apr=path so they install to the same place, e.g. /use/local or /opt/httpd as you like.

>
> checking build system type... sparc-sun-solaris2.10
>
> checking host system type... sparc-sun-solaris2.10
>
> checking target system type... sparc-sun-solaris2.10
>
> Configuring APR library
>
> Platform: sparc-sun-solaris2.10
>
> checking for working mkdir -p... yes
>
> APR Version: 1.5.2
>
> […]
>
> config.status: creating include/arch/unix/apr_private.h
>
> config.status: executing libtool commands
>
> libtoolT: No such file or directory
>
> config.status: executing default commands
>
> config.status: include/apr.h is unchanged
>
> config.status: include/arch/unix/apr_private.h is unchanged
>
>
>
> I do have libtool package installed but don't know what libtoolT means.

This is new to me.  We bundle libtoolize with apr, you didn't need a system libtoolize.  However, maybe libtoolize fails to configure because it can't work out your gcc/cc/ld?

Re: [users@httpd] how to compile apache httpd 2.4.17

Posted by William A Rowe Jr <wr...@rowe-clan.net>.
On Nov 16, 2015 17:21, "David Long" <DL...@lynden.com> wrote:
>
> I download Apache httpd 2.4.17 and want compile on Solaris 10 Sparc.
>
> It ask me to install APR.
>
> So I download APR 1.5.2 and try to configure it and following error.
>
>
>
> root@kiana# cd /www/apachesrc/apr-1.5.2
>
> root@kiana# ./configure
--prefix=/www/apachesrc/httpd-2.4.17/srclib/apr/configure

Yuck...

You are best off choosing the same --prefix for apr and apr-util as you
intend to use for httpd itself.  Then tell apr-util and httpd the
--with-apr=path so they install to the same place, e.g. /use/local or
/opt/httpd as you like.

>
> checking build system type... sparc-sun-solaris2.10
>
> checking host system type... sparc-sun-solaris2.10
>
> checking target system type... sparc-sun-solaris2.10
>
> Configuring APR library
>
> Platform: sparc-sun-solaris2.10
>
> checking for working mkdir -p... yes
>
> APR Version: 1.5.2
>
> […]
>
> config.status: creating include/arch/unix/apr_private.h
>
> config.status: executing libtool commands
>
> libtoolT: No such file or directory
>
> config.status: executing default commands
>
> config.status: include/apr.h is unchanged
>
> config.status: include/arch/unix/apr_private.h is unchanged
>
>
>
> I do have libtool package installed but don't know what libtoolT means.

This is new to me.  We bundle libtoolize with apr, you didn't need a system
libtoolize.  However, maybe libtoolize fails to configure because it can't
work out your gcc/cc/ld?