You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Ryan Bloom <rb...@covalent.net> on 2002/07/11 21:53:29 UTC

RE: POLL havoc

Did you re-run ./configure?

Ryan

----------------------------------------------
Ryan Bloom                  rbb@covalent.net
645 Howard St.              rbb@apache.org
San Francisco, CA 

> -----Original Message-----
> From: Dirk-Willem van Gulik [mailto:dirkx@webweaving.org]
> Sent: Thursday, July 11, 2002 1:24 PM
> To: dev@apr.apache.org
> Subject: POLL havoc
> 
> 
> Are the poll changes done (cvs update of 20.20 UTC):
> 
> 	/usr/bin/ld: Undefined symbols:
> 	_apr_poll_revents_get
> 	_apr_poll_setup
> 	_apr_poll_socket_add
> 	_apr_poll_socket_clear
> 	_apr_poll_socket_mask
> 	_apr_poll_socket_remove
> 	_apr_socket_from_file
> 
> and should I go try and fix the above on BSD/MacOSX - or did I catch
> things in the middle of an update sequence ?
> 
> DW.



Re: POLL havoc

Posted by Aaron Bannert <aa...@clove.org>.
On Thu, Jul 11, 2002 at 09:55:39PM +0200, dirkx@covalent.net wrote:
> 	make distclean && cvs update && ./buildconf && ./configure && make

check your exports.c and export_vars.h files for the old definitions.

-aaron

Re: More recent ./configure entertainment

Posted by di...@covalent.net.
> Dirk, I build APR/HTTPD on a daily basis with 10.1.5 and never saw the
> problem you mentioned. I bet you're using the (screwed up) version of
> AutoConf/AutoMake coming with the developer tools... I had to patch that one
> as well...

Neither did I - until the day before yesterday and today ;-(

.. but I've been using the same homebuild glibtool(ize)  and homebuild
autoconf since march with a little pach for the two level namespace thing.

Perhaps time to do an update on everything to a recent version and do a
fresh checkout. The only change I can find in the last three date is an
update of sed and perl.

Dw



Re: More recent ./configure entertainment

Posted by Pier Fumagalli <pi...@betaversion.org>.
dirkx@covalent.net <di...@covalent.net> wrote:

> So questions about the above; is it worrysome that we have --prefix in
> there twice. And secondly that some still are ${prefix} i.e. not
> substituted ? And finally - anything obviously wrong ?

Dirk, I build APR/HTTPD on a daily basis with 10.1.5 and never saw the
problem you mentioned. I bet you're using the (screwed up) version of
AutoConf/AutoMake coming with the developer tools... I had to patch that one
as well... 

    Pier

--
[Perl] combines all the worst aspects of C and Lisp:  a billion of different
sublanguages in  one monolithic executable.  It combines the power of C with
the readability of PostScript. [Jamie Zawinski - DNA Lounge - San Francisco]


More recent ./configure entertainment

Posted by di...@covalent.net.
Hmm - on MacOSX 10.1.5 - one for the autoconf experts..

	cvs co apr; cd apr
	./configure
	......
	checking for mmap that can map /dev/zero... no
	decision on anonymous shared memory allocation method... 4.4BSD-style
	mmap() via MAP_ANON
	decision on namebased memory allocation method... SysV IPC shmget()
	checking for calloc... yes
	.....
	make && make install

==>	all happy

but:
	$ cvs co httpd-2.0
	$ cd srclib
	$ cvs co apr apr-util
	$ ./configure
	Cecking for os2.h... no
	/Users/dirkx/ORA/httpd-2.0/srclib/apr/configure:Error: decision on
		anonymous shared memory allocation method failed
	srclib/apr configured properly
	./configure: no such file or directory: ./srclib/apr/apr-config [2057]
	./configure: no such file or director

And the above can be reproduced by doing a 'cat config.log in the above
to see how the httpd-2.0 configure starts the apr configure:

	$ cvs co apr
	$ cd apr
	$ prefix=/foo /bar/httpd-2.0/srclib/apr/configure
	  --prefix=/foo --enable-auth-dbm --enable-auth-anon
	  --enable-access-dbm --enable-auth-digest
	  --enable-maintainer-mode --cache-file=/dev/null
	  --srcdir=/bar/httpd-2.0/apr --prefix=/foo
	  --exec-prefix=/foo --libdir=${prefix}/lib
          --includedir=/foo/include
	  --bindir=${prefix}/bin
	  --datadir=/foo
          --with-installbuilddir=${prefix}/build

So questions about the above; is it worrysome that we have --prefix in
there twice. And secondly that some still are ${prefix} i.e. not
substituted ? And finally - anything obviously wrong ?

Dw


RE: POLL havoc

Posted by Ryan Bloom <rb...@covalent.net>.
Yes, that is enough.  The changes are done, and since Mac OS/X is using
the standard Unix version, you shouldn't be having any problems.  Make
sure that your Makefile in poll/unix references pollacc.lo, because it
doesn't look like it does.

Ryan

> I do
> 
> 	make distclean && cvs update && ./buildconf && ./configure &&
make
> 
> is that enough ?
> 
> Dw
> --
> Dirk-Willem van Gulik
> 
> On Thu, 11 Jul 2002, Ryan Bloom wrote:
> 
> > Did you re-run ./configure?
> >
> > Ryan
> >
> > ----------------------------------------------
> > Ryan Bloom                  rbb@covalent.net
> > 645 Howard St.              rbb@apache.org
> > San Francisco, CA
> >
> > > -----Original Message-----
> > > From: Dirk-Willem van Gulik [mailto:dirkx@webweaving.org]
> > > Sent: Thursday, July 11, 2002 1:24 PM
> > > To: dev@apr.apache.org
> > > Subject: POLL havoc
> > >
> > >
> > > Are the poll changes done (cvs update of 20.20 UTC):
> > >
> > > 	/usr/bin/ld: Undefined symbols:
> > > 	_apr_poll_revents_get
> > > 	_apr_poll_setup
> > > 	_apr_poll_socket_add
> > > 	_apr_poll_socket_clear
> > > 	_apr_poll_socket_mask
> > > 	_apr_poll_socket_remove
> > > 	_apr_socket_from_file
> > >
> > > and should I go try and fix the above on BSD/MacOSX - or did I
catch
> > > things in the middle of an update sequence ?
> > >
> > > DW.
> >
> >
> >



RE: POLL havoc

Posted by di...@covalent.net.
I do

	make distclean && cvs update && ./buildconf && ./configure && make

is that enough ?

Dw
-- 
Dirk-Willem van Gulik

On Thu, 11 Jul 2002, Ryan Bloom wrote:

> Did you re-run ./configure?
>
> Ryan
>
> ----------------------------------------------
> Ryan Bloom                  rbb@covalent.net
> 645 Howard St.              rbb@apache.org
> San Francisco, CA
>
> > -----Original Message-----
> > From: Dirk-Willem van Gulik [mailto:dirkx@webweaving.org]
> > Sent: Thursday, July 11, 2002 1:24 PM
> > To: dev@apr.apache.org
> > Subject: POLL havoc
> >
> >
> > Are the poll changes done (cvs update of 20.20 UTC):
> >
> > 	/usr/bin/ld: Undefined symbols:
> > 	_apr_poll_revents_get
> > 	_apr_poll_setup
> > 	_apr_poll_socket_add
> > 	_apr_poll_socket_clear
> > 	_apr_poll_socket_mask
> > 	_apr_poll_socket_remove
> > 	_apr_socket_from_file
> >
> > and should I go try and fix the above on BSD/MacOSX - or did I catch
> > things in the middle of an update sequence ?
> >
> > DW.
>
>
>