You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Magnus M��tt� <n0...@kiruna.se> on 2002/04/12 21:38:15 UTC
CVS doesn't compile (2.0.36-dev)
Hi!
I don't know if this is the place to send it.. But here it goes:
Using latest CVS version, just a couple of minutes old..
/bin/sh /root/Apache/httpd-2.0/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -I../../include -I../../include/arch/unix -I../../include/arch/unix -c dir.c && touch dir.lo
In file included from ../../include/apr_portable.h:73,
from dir.c:57:
../../include/apr_thread_proc.h:655:26: "@" is not valid in #if expressions
make[4]: *** [dir.lo] Error 1
make[4]: Leaving directory `/root/Apache/apr/file_io/unix'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/Apache/apr/file_io/unix'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/Apache/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Apache/httpd-2.0/srclib'
make: *** [all-recursive] Error 1
Regards
Magnus Määttä
Re: CVS doesn't compile (2.0.36-dev)
Posted by Magnus M��tt� <n0...@kiruna.se>.
On 12 Apr 2002 16:01:05 -0400
Jeff Trawick <tr...@attglobal.net> wrote:
> Magnus Määttä <n0...@kiruna.se> writes:
>
> > Using latest CVS version, just a couple of minutes old..
> >
> > /bin/sh /root/Apache/httpd-2.0/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -I../../include -I../../include/arch/unix -I../../include/arch/unix -c dir.c && touch dir.lo
> > In file included from ../../include/apr_portable.h:73,
> > from dir.c:57:
> > ../../include/apr_thread_proc.h:655:26: "@" is not valid in #if expressions
>
> What are the few lines around 655 in your copy of the file? My copy
> doesn't have "@" there.
Neither does my.. That's the strange part..
>
> --
> Jeff Trawick | trawick@attglobal.net
> Born in Roswell... married an alien...
>
Re: CVS doesn't compile (2.0.36-dev)
Posted by Magnus M��tt� <n0...@kiruna.se>.
On Fri, 12 Apr 2002 16:07:25 -0400 (EDT)
Cliff Woolley <jw...@virginia.edu> wrote:
> On 12 Apr 2002, Jeff Trawick wrote:
>
> > > Using latest CVS version, just a couple of minutes old..
> > >
> > > /bin/sh /root/Apache/httpd-2.0/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -I../../include -I../../include/arch/unix -I../../include/arch/unix -c dir.c && touch dir.lo
> > > In file included from ../../include/apr_portable.h:73,
> > > from dir.c:57:
> > > ../../include/apr_thread_proc.h:655:26: "@" is not valid in #if expressions
> >
> > What are the few lines around 655 in your copy of the file? My copy
> > doesn't have "@" there.
>
>
> What are the contents of apr.h [specifically, the few lines around the
> definition of APR_HAVE_SIGWAIT]? This is one of those problems where a
> variable didn't get substituted correctly for some reason.
>
#define APR_HAVE_SETRLIMIT 1
#define APR_HAVE_SIGACTION 1
#define APR_HAVE_SIGSUSPEND @have_sigsuspend@
#define APR_HAVE_SIGWAIT 1
#define APR_HAVE_STRCASECMP 1
#define APR_HAVE_STRDUP 1
#define APR_HAVE_STRICMP 0
> You re-ran configure, right?
Everytime i recompiled (lost counting around 10), and ran make clean too..
> --Cliff
>
> --------------------------------------------------------------
> Cliff Woolley
> cliffwoolley@yahoo.com
> Charlottesville, VA
>
>
>
Re: CVS doesn't compile (2.0.36-dev)
Posted by Magnus M��tt� <n0...@kiruna.se>.
On Fri, 12 Apr 2002 22:25:09 +0200
Magnus Määttä <n0...@kiruna.se> wrote:
> On 12 Apr 2002 16:09:36 -0400
> Jeff Trawick <tr...@attglobal.net> wrote:
>
> > Cliff Woolley <jw...@virginia.edu> writes:
> >
> > > On 12 Apr 2002, Jeff Trawick wrote:
> > >
> > > > > Using latest CVS version, just a couple of minutes old..
> > > > >
> > > > > /bin/sh /root/Apache/httpd-2.0/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -I../../include -I../../include/arch/unix -I../../include/arch/unix -c dir.c && touch dir.lo
> > > > > In file included from ../../include/apr_portable.h:73,
> > > > > from dir.c:57:
> > > > > ../../include/apr_thread_proc.h:655:26: "@" is not valid in #if expressions
> > > >
> > > > What are the few lines around 655 in your copy of the file? My copy
> > > > doesn't have "@" there.
> > >
> > >
> > > What are the contents of apr.h [specifically, the few lines around the
> > > definition of APR_HAVE_SIGWAIT]? This is one of those problems where a
> > > variable didn't get substituted correctly for some reason.
> >
> > that must be it
> >
> > >
> > > You re-ran configure, right?
> >
> > since I changed configure.in, you'd need to
> >
> > make extraclean
> > ./buildconf
> > ./configure
> > make
> >
> > right?
> >
It worked now..
>
> I'll try that..
> Going to get drunk now.. bbl
>
> > --
> > Jeff Trawick | trawick@attglobal.net
> > Born in Roswell... married an alien...
> >
>
Re: CVS doesn't compile (2.0.36-dev)
Posted by Magnus M��tt� <n0...@kiruna.se>.
On 12 Apr 2002 16:09:36 -0400
Jeff Trawick <tr...@attglobal.net> wrote:
> Cliff Woolley <jw...@virginia.edu> writes:
>
> > On 12 Apr 2002, Jeff Trawick wrote:
> >
> > > > Using latest CVS version, just a couple of minutes old..
> > > >
> > > > /bin/sh /root/Apache/httpd-2.0/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -I../../include -I../../include/arch/unix -I../../include/arch/unix -c dir.c && touch dir.lo
> > > > In file included from ../../include/apr_portable.h:73,
> > > > from dir.c:57:
> > > > ../../include/apr_thread_proc.h:655:26: "@" is not valid in #if expressions
> > >
> > > What are the few lines around 655 in your copy of the file? My copy
> > > doesn't have "@" there.
> >
> >
> > What are the contents of apr.h [specifically, the few lines around the
> > definition of APR_HAVE_SIGWAIT]? This is one of those problems where a
> > variable didn't get substituted correctly for some reason.
>
> that must be it
>
> >
> > You re-ran configure, right?
>
> since I changed configure.in, you'd need to
>
> make extraclean
> ./buildconf
> ./configure
> make
>
> right?
>
I'll try that..
Going to get drunk now.. bbl
> --
> Jeff Trawick | trawick@attglobal.net
> Born in Roswell... married an alien...
>
Re: CVS doesn't compile (2.0.36-dev)
Posted by Cliff Woolley <jw...@virginia.edu>.
On 12 Apr 2002, Jeff Trawick wrote:
> since I changed configure.in, you'd need to
> make extraclean
> ./buildconf
> ./configure
> make
> right?
Yep. The make extraclean is optional but I highly recommend it... I use
it all the time and it works wonders. :)
--Cliff
--------------------------------------------------------------
Cliff Woolley
cliffwoolley@yahoo.com
Charlottesville, VA
Re: CVS doesn't compile (2.0.36-dev)
Posted by Jeff Trawick <tr...@attglobal.net>.
Cliff Woolley <jw...@virginia.edu> writes:
> On 12 Apr 2002, Jeff Trawick wrote:
>
> > > Using latest CVS version, just a couple of minutes old..
> > >
> > > /bin/sh /root/Apache/httpd-2.0/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -I../../include -I../../include/arch/unix -I../../include/arch/unix -c dir.c && touch dir.lo
> > > In file included from ../../include/apr_portable.h:73,
> > > from dir.c:57:
> > > ../../include/apr_thread_proc.h:655:26: "@" is not valid in #if expressions
> >
> > What are the few lines around 655 in your copy of the file? My copy
> > doesn't have "@" there.
>
>
> What are the contents of apr.h [specifically, the few lines around the
> definition of APR_HAVE_SIGWAIT]? This is one of those problems where a
> variable didn't get substituted correctly for some reason.
that must be it
>
> You re-ran configure, right?
since I changed configure.in, you'd need to
make extraclean
./buildconf
./configure
make
right?
--
Jeff Trawick | trawick@attglobal.net
Born in Roswell... married an alien...
Re: CVS doesn't compile (2.0.36-dev)
Posted by Cliff Woolley <jw...@virginia.edu>.
On Fri, 12 Apr 2002, Cliff Woolley wrote:
> What are the contents of apr.h [specifically, the few lines around the
> definition of APR_HAVE_SIGWAIT]? This is one of those problems where a
> variable didn't get substituted correctly for some reason.
PS: It's almost certainly APR_HAVE_SIGSUSPEND that didn't get
substituted...
--------------------------------------------------------------
Cliff Woolley
cliffwoolley@yahoo.com
Charlottesville, VA
Re: CVS doesn't compile (2.0.36-dev)
Posted by Cliff Woolley <jw...@virginia.edu>.
On 12 Apr 2002, Jeff Trawick wrote:
> > Using latest CVS version, just a couple of minutes old..
> >
> > /bin/sh /root/Apache/httpd-2.0/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -I../../include -I../../include/arch/unix -I../../include/arch/unix -c dir.c && touch dir.lo
> > In file included from ../../include/apr_portable.h:73,
> > from dir.c:57:
> > ../../include/apr_thread_proc.h:655:26: "@" is not valid in #if expressions
>
> What are the few lines around 655 in your copy of the file? My copy
> doesn't have "@" there.
What are the contents of apr.h [specifically, the few lines around the
definition of APR_HAVE_SIGWAIT]? This is one of those problems where a
variable didn't get substituted correctly for some reason.
You re-ran configure, right?
--Cliff
--------------------------------------------------------------
Cliff Woolley
cliffwoolley@yahoo.com
Charlottesville, VA
Re: CVS doesn't compile (2.0.36-dev)
Posted by Jeff Trawick <tr...@attglobal.net>.
Magnus Määttä <n0...@kiruna.se> writes:
> Using latest CVS version, just a couple of minutes old..
>
> /bin/sh /root/Apache/httpd-2.0/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -I../../include -I../../include/arch/unix -I../../include/arch/unix -c dir.c && touch dir.lo
> In file included from ../../include/apr_portable.h:73,
> from dir.c:57:
> ../../include/apr_thread_proc.h:655:26: "@" is not valid in #if expressions
What are the few lines around 655 in your copy of the file? My copy
doesn't have "@" there.
--
Jeff Trawick | trawick@attglobal.net
Born in Roswell... married an alien...
Re: CVS doesn't compile (2.0.36-dev)
Posted by Aaron Bannert <aa...@clove.org>.
Try removing your config.cache, rerunning buildconf and config.nice.
-aaron
On Fri, Apr 12, 2002 at 09:38:15PM +0200, Magnus Määttä wrote:
> Hi!
>
> I don't know if this is the place to send it.. But here it goes:
>
> Using latest CVS version, just a couple of minutes old..
>
> /bin/sh /root/Apache/httpd-2.0/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -I../../include -I../../include/arch/unix -I../../include/arch/unix -c dir.c && touch dir.lo
> In file included from ../../include/apr_portable.h:73,
> from dir.c:57:
> ../../include/apr_thread_proc.h:655:26: "@" is not valid in #if expressions
> make[4]: *** [dir.lo] Error 1
> make[4]: Leaving directory `/root/Apache/apr/file_io/unix'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/root/Apache/apr/file_io/unix'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/root/Apache/apr'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/Apache/httpd-2.0/srclib'
> make: *** [all-recursive] Error 1