You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Sidnei da Silva <si...@awkly.org> on 2004/03/04 21:01:20 UTC

Failure to build (possible libtool problem)

Howdy,

I'm trying to build an apache snapshot with apr cvs HEAD and getting
the following error:

make[4]: Entering directory
`/usr/src/apache/httpd-2.0/srclib/apr/poll/unix'
make[4]: *** No rule to make target `pollacc.lo', needed by
`local-all'.  Stop.

It seems like a libtool problem, as its working on a different box
with a different libtool version.

This is with:
debian unstable
libtool 1.5.2-1

A different debian box with libtool 1.5-8 works perfectly.

-- 
Sidnei da Silva <si...@awkly.org>
http://awkly.org - dreamcatching :: making your dreams come true
http://plone.org/about/team#dreamcatcher

Real Programmers don't eat quiche.  They eat Twinkies and Szechwan food.

Re: Failure to build (possible libtool problem)

Posted by Joe Orton <jo...@manyfish.co.uk>.
On Thu, Mar 04, 2004 at 06:03:29PM -0300, Sidnei da Silva wrote:
> On Thu, Mar 04, 2004 at 08:46:01PM +0000, Joe Orton wrote:
> | On Thu, Mar 04, 2004 at 05:01:20PM -0300, Sidnei da Silva wrote:
> | > I'm trying to build an apache snapshot with apr cvs HEAD and getting
> | > the following error:
> | > 
> | > make[4]: Entering directory
> | > `/usr/src/apache/httpd-2.0/srclib/apr/poll/unix'
> | > make[4]: *** No rule to make target `pollacc.lo', needed by
> | > `local-all'.  Stop.
> | 
> | Hi - that source file was deleted a while ago, you need to re-run
> | configure.
> 
> Did that. Updated from HEAD. make distclean. Then I got the following:
> 
>         dc|out | listen.c: In function `alloc_listener':
>         dc|out | listen.c:261: error: too many arguments to 
>                  function `apr_socket_create'
>         dc|out | make[2]: *** [listen.lo] Error 1

That happens if you try use a HEAD apr with a checkout of httpd from the
2.0 branch; that's not a supported combination currently, you have to
use apr and apr-util from the 0.9 branches. rm -rf srclib/apr* and
buildconf will give you correct instructions :)

joe


Re: Failure to build (possible libtool problem)

Posted by Sidnei da Silva <si...@awkly.org>.
On Thu, Mar 04, 2004 at 08:46:01PM +0000, Joe Orton wrote:
| On Thu, Mar 04, 2004 at 05:01:20PM -0300, Sidnei da Silva wrote:
| > I'm trying to build an apache snapshot with apr cvs HEAD and getting
| > the following error:
| > 
| > make[4]: Entering directory
| > `/usr/src/apache/httpd-2.0/srclib/apr/poll/unix'
| > make[4]: *** No rule to make target `pollacc.lo', needed by
| > `local-all'.  Stop.
| 
| Hi - that source file was deleted a while ago, you need to re-run
| configure.

Did that. Updated from HEAD. make distclean. Then I got the following:

        dc|out | listen.c: In function `alloc_listener':
        dc|out | listen.c:261: error: too many arguments to 
                 function `apr_socket_create'
        dc|out | make[2]: *** [listen.lo] Error 1

Then I've given up and used a date tag of Feb 1st to checkout. Then I
was able to compile.

-- 
Sidnei da Silva <si...@awkly.org>
http://awkly.org - dreamcatching :: making your dreams come true
http://plone.org/about/team#dreamcatcher

Thrashing is just virtual crashing.

Re: Failure to build (possible libtool problem)

Posted by Joe Orton <jo...@manyfish.co.uk>.
On Thu, Mar 04, 2004 at 05:01:20PM -0300, Sidnei da Silva wrote:
> I'm trying to build an apache snapshot with apr cvs HEAD and getting
> the following error:
> 
> make[4]: Entering directory
> `/usr/src/apache/httpd-2.0/srclib/apr/poll/unix'
> make[4]: *** No rule to make target `pollacc.lo', needed by
> `local-all'.  Stop.

Hi - that source file was deleted a while ago, you need to re-run
configure.

joe