You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Cameron Moredock <mo...@lucent.com> on 2002/04/22 19:41:57 UTC

Compilation error with 2.0.35

Has anyone else had difficulties compiling for Solaris 2.8???

Upon successful completion of a basic CONFIGURE, I get the following error:

make[4]: Entering directory `/tmp/httpd-2.0.35/srclib/apr/atomic/solaris_sparc'
D_ASM -D__STDC__=0 
/tmp/httpd-2.0.35/srclib/apr/atomic/solaris_sparc/apr_atomic_sparc.s > 
apr_atomic_sparc.S
/bin/sh: D_ASM: not found
make[4]: [apr_atomic_sparc.lo] Error 1 (ignored)
as -xarch=v8plus -K PIC -o apr_atomic_sparc.lo apr_atomic_sparc.S
Assembler messages:
Error: Can't open apr_atomic_sparc.S for reading.
apr_atomic_sparc.S: No such file or directory
make[4]: *** [apr_atomic_sparc.lo] Error 1
make[4]: Leaving directory `/tmp/httpd-2.0.35/srclib/apr/atomic/solaris_sparc'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/httpd-2.0.35/srclib/apr/atomic/solaris_sparc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/httpd-2.0.35/srclib/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/httpd-2.0.35/srclib'
make: *** [all-recursive] Error 1


It appears as though the make process is splitting the line...The second 
error is an obvious failure as a result of the preceeding failure..


Here is the contents of the Makefile in 
/tmp/httpd-2.0.35/srclib/apr/atomic/solaris_sparc

# Generated automatically from Makefile.in by configure.

TARGETS =  apr_atomic_sparc.lo

ASFLAGS += -xarch=v8plus -K PIC
ASCPPFLAGS = -D_ASM -D__STDC__=0
AS = as
ASCPP =

# bring in rules.mk for standard functionality
include /tmp/httpd-2.0.35/srclib/apr/build/rules.mk
srcdir=/tmp/httpd-2.0.35/srclib/apr/atomic/solaris_sparc

apr_atomic_sparc.lo: $(srcdir)/apr_atomic_sparc.s
         $(ASCPP) $(ASCPPFLAGS) $(srcdir)/$*.s > $*.S
         $(AS) $(ASFLAGS) -o $@ $*.S


DEFOSDIR=$(INCDIR)/arch/unix
INCDIR=../../include
INCLUDES=-I$(INCDIR) -I$(DEFOSDIR)

# DO NOT REMOVE


TIA

Cheers



---------------------------------------------------------------------
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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Compilation error with 2.0.35

Posted by Cameron Moredock <mo...@lucent.com>.
Thank you..It appears to be compiling better now.


On a semi-related note, does anyone know is the AuthNIS modules work with 
Apache 2.0???

At 02:14 PM 4/22/2002 -0400, Lee Fellows wrote:
>Actually, it appears configure is not creating the Makefile properly.
>
>Note in your extract from the Makefile that ASCPP is undefined.  When
>make hits the rule for apr_atomic_sparc.lo $(ASCPP) is null.  On my
>Sparc 5 box running Solaris 8, ASCPP gets defined as cpp.  Looks like
>configure is not finding cpp.  You may need to check you PATH
>environment variable.
>
>
>On Mon, 2002-04-22 at 13:41, Cameron Moredock wrote:
> > Has anyone else had difficulties compiling for Solaris 2.8???
> >
> > Upon successful completion of a basic CONFIGURE, I get the following error:
> >
> > make[4]: Entering directory 
> `/tmp/httpd-2.0.35/srclib/apr/atomic/solaris_sparc'
> > D_ASM -D__STDC__=0
> > /tmp/httpd-2.0.35/srclib/apr/atomic/solaris_sparc/apr_atomic_sparc.s >
> > apr_atomic_sparc.S
> > /bin/sh: D_ASM: not found
> > make[4]: [apr_atomic_sparc.lo] Error 1 (ignored)
> > as -xarch=v8plus -K PIC -o apr_atomic_sparc.lo apr_atomic_sparc.S
> > Assembler messages:
> > Error: Can't open apr_atomic_sparc.S for reading.
> > apr_atomic_sparc.S: No such file or directory
> > make[4]: *** [apr_atomic_sparc.lo] Error 1
> > make[4]: Leaving directory 
> `/tmp/httpd-2.0.35/srclib/apr/atomic/solaris_sparc'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory 
> `/tmp/httpd-2.0.35/srclib/apr/atomic/solaris_sparc'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/tmp/httpd-2.0.35/srclib/apr'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/tmp/httpd-2.0.35/srclib'
> > make: *** [all-recursive] Error 1
> >
> >
> > It appears as though the make process is splitting the line...The second
> > error is an obvious failure as a result of the preceeding failure..
> >
> >
> > Here is the contents of the Makefile in
> > /tmp/httpd-2.0.35/srclib/apr/atomic/solaris_sparc
> >
> > # Generated automatically from Makefile.in by configure.
> >
> > TARGETS =  apr_atomic_sparc.lo
> >
> > ASFLAGS += -xarch=v8plus -K PIC
> > ASCPPFLAGS = -D_ASM -D__STDC__=0
> > AS = as
> > ASCPP =
> >
> > # bring in rules.mk for standard functionality
> > include /tmp/httpd-2.0.35/srclib/apr/build/rules.mk
> > srcdir=/tmp/httpd-2.0.35/srclib/apr/atomic/solaris_sparc
> >
> > apr_atomic_sparc.lo: $(srcdir)/apr_atomic_sparc.s
> >          $(ASCPP) $(ASCPPFLAGS) $(srcdir)/$*.s > $*.S
> >          $(AS) $(ASFLAGS) -o $@ $*.S
> >
> >
> > DEFOSDIR=$(INCDIR)/arch/unix
> > INCDIR=../../include
> > INCLUDES=-I$(INCDIR) -I$(DEFOSDIR)
> >
> > # DO NOT REMOVE
> >
> >
> > TIA
> >
> > Cheers
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.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@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Compilation error with 2.0.35

Posted by Ted Packwood <ma...@cray.com>.
Yes, I'm sorry, I wasn't specific enough.  I wasn't able to
compile.  Turned out to be a path problem.  For some reason,
the configure script doesn't error out when it can't find
required binaries for 'as', 'cpp', 'flex', and a couple of
others.  This is for apache 2.0.35 on Solaris8

I have some other questions.  Any help would be appreciated.

Thanks!
Ted

1) Where do you find out verbose descriptions of what all the
./configure options do?  For instance, I can't find a useful
description of --enable-cache anywhere (and I've looked).  The
one-line description you get with ./configure --help doesn't
quite do it for me.
2) It seems there are some comments missing out of the default
ssl.conf which is built with apache 2.0.35.  Specifically, this
is an exact copy of the lines from my ssl.conf after build.
#
# When we also provide SSL we have to listen to the 
# standard HTTP port (see above) and to the HTTPS port
#
Listen 443

#
# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a DSO you
#    ErrorLog logs/dummy-host.example.com-error_log
#    CustomLog logs/dummy-host.example.com-access_log common

You'll notice the line above "ErrorLog logs/dummy-host.example.com-error_log"
looks like there should be some more information, which is missing.
Where can I find those missing lines?  =)  I searched and found
only this, which has no useful information
http://httpd.apache.org/docs-2.0/mod/mod_ssl.html

3) Last, and most important, I cannot get httpd to run after
compilation.  It looks to me like I need to link my libraries in
but want to be sure.

My config options:
./configure \
        --prefix=/usr/local/apache2 \
        --enable-ssl \
        --with-mpm=worker \
        --with-perl=/sw/pd/perl/5.6.1/bin/perl \
        --enable-cgi \
        --with-ssl=/opt/openssl \
        --enable-mods-shared=all \
        --enable-static-logresolve \
        --enable-so
OS and other versions:
GNU Make version 3.79.1
gcc version 2.95.3 20010315 (release)
SunOS <hostname> 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-5_10

# ./apachectl configtest
Syntax error on line 222 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/mod_auth_digest.so into server: ld.so.1:
/usr/local/apache2/bin/httpd: fatal: relocation error: file
/usr/local/apache2/modules/mod_auth_digest.so: symbol __floatdidf: referenced
symbol not found


Josh Glover wrote:
> 
> Ted Packwood wrote:
> > Has anyone reported this?  I get the same problem compiling 2.0.35
> > on SunOS 5.8
> >
> > SunOS <hostname> 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-5_10
> 
> Wait, which problem do you get? You cannot echo $PATH, or?
> 
> I had no luck compiling 2.0.35 on Solaris 9 with gcc 2.95.3, and I stuck
> it in Bugzilla here:
> 
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8214
> 
> It has been fixed in the CVS. It seems that there is some trouble with
> 2.0.35 compiles that is related to the Sparc assembler code.
> 
> --
> Josh Glover <jm...@incogen.com>
> 
> Associate Systems Administrator
> INCOGEN, Inc.
> 
> ---------------------------------------------------------------------
> 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@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org

Re: Compilation error with 2.0.35

Posted by Josh Glover <jm...@incogen.com>.
Ted Packwood wrote:
> Has anyone reported this?  I get the same problem compiling 2.0.35
> on SunOS 5.8
> 
> SunOS <hostname> 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-5_10

Wait, which problem do you get? You cannot echo $PATH, or?

I had no luck compiling 2.0.35 on Solaris 9 with gcc 2.95.3, and I stuck 
it in Bugzilla here:

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8214

It has been fixed in the CVS. It seems that there is some trouble with 
2.0.35 compiles that is related to the Sparc assembler code.


-- 
Josh Glover <jm...@incogen.com>

Associate Systems Administrator
INCOGEN, Inc.


---------------------------------------------------------------------
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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Compilation error with 2.0.35

Posted by Ted Packwood <ma...@cray.com>.
Has anyone reported this?  I get the same problem compiling 2.0.35
on SunOS 5.8

SunOS <hostname> 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-5_10

Lee Fellows wrote:
> 
> I am confused.  You say `echo $PATH` does not work!?!
> 
>   Are you using GNU tools installed in /usr/local?  If so, I would set
> the path by issuing the command
> 'PATH=/usr/local/bin:/usr/bin:/usr/sbin:/usr/ccs/bin; export PATH'.
> 
>   Then run configure again and try to make it.
> 
> On Mon, 2002-04-22 at 14:30, Florent Garcin wrote:
> >
> [snip]
> >
> > > Actually, it appears configure is not creating the Makefile properly.
> > >
> > > Note in your extract from the Makefile that ASCPP is undefined.  When
> > > make hits the rule for apr_atomic_sparc.lo $(ASCPP) is null.  On my
> > > Sparc 5 box running Solaris 8, ASCPP gets defined as cpp.  Looks like
> > > configure is not finding cpp.  You may need to check you PATH
> > > environment variable.
> >
> > So what have I exactly to do?
> > how can I check the path?
> > echo $PATH doesn't work.
> >
> > thx
> >
> 
> ---------------------------------------------------------------------
> 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@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org

Re: Compilation error with 2.0.35

Posted by Lee Fellows <lf...@4lane.com>.
I am confused.  You say `echo $PATH` does not work!?!  

  Are you using GNU tools installed in /usr/local?  If so, I would set
the path by issuing the command
'PATH=/usr/local/bin:/usr/bin:/usr/sbin:/usr/ccs/bin; export PATH'.

  Then run configure again and try to make it.



On Mon, 2002-04-22 at 14:30, Florent Garcin wrote:
> 
[snip]
> 
> > Actually, it appears configure is not creating the Makefile properly.
> >
> > Note in your extract from the Makefile that ASCPP is undefined.  When
> > make hits the rule for apr_atomic_sparc.lo $(ASCPP) is null.  On my
> > Sparc 5 box running Solaris 8, ASCPP gets defined as cpp.  Looks like
> > configure is not finding cpp.  You may need to check you PATH
> > environment variable.
> 
> So what have I exactly to do?
> how can I check the path?
> echo $PATH doesn't work.
> 
> thx
> 



---------------------------------------------------------------------
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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Compilation error with 2.0.35

Posted by Florent Garcin <cy...@gmx.net>.
----- Original Message -----
From: "Lee Fellows" <lf...@4lane.com>
To: <us...@httpd.apache.org>
Sent: Monday, April 22, 2002 8:14 PM
Subject: Re: Compilation error with 2.0.35


> Actually, it appears configure is not creating the Makefile properly.
>
> Note in your extract from the Makefile that ASCPP is undefined.  When
> make hits the rule for apr_atomic_sparc.lo $(ASCPP) is null.  On my
> Sparc 5 box running Solaris 8, ASCPP gets defined as cpp.  Looks like
> configure is not finding cpp.  You may need to check you PATH
> environment variable.

So what have I exactly to do?
how can I check the path?
echo $PATH doesn't work.

thx


>
>
> On Mon, 2002-04-22 at 13:41, Cameron Moredock wrote:
> > Has anyone else had difficulties compiling for Solaris 2.8???
> >
> > Upon successful completion of a basic CONFIGURE, I get the following
error:
> >
> > make[4]: Entering directory
`/tmp/httpd-2.0.35/srclib/apr/atomic/solaris_sparc'
> > D_ASM -D__STDC__=0
> > /tmp/httpd-2.0.35/srclib/apr/atomic/solaris_sparc/apr_atomic_sparc.s >
> > apr_atomic_sparc.S
> > /bin/sh: D_ASM: not found
> > make[4]: [apr_atomic_sparc.lo] Error 1 (ignored)
> > as -xarch=v8plus -K PIC -o apr_atomic_sparc.lo apr_atomic_sparc.S
> > Assembler messages:
> > Error: Can't open apr_atomic_sparc.S for reading.
> > apr_atomic_sparc.S: No such file or directory
> > make[4]: *** [apr_atomic_sparc.lo] Error 1
> > make[4]: Leaving directory
`/tmp/httpd-2.0.35/srclib/apr/atomic/solaris_sparc'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory
`/tmp/httpd-2.0.35/srclib/apr/atomic/solaris_sparc'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/tmp/httpd-2.0.35/srclib/apr'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/tmp/httpd-2.0.35/srclib'
> > make: *** [all-recursive] Error 1
> >
> >
> > It appears as though the make process is splitting the line...The second
> > error is an obvious failure as a result of the preceeding failure..
> >
> >
> > Here is the contents of the Makefile in
> > /tmp/httpd-2.0.35/srclib/apr/atomic/solaris_sparc
> >
> > # Generated automatically from Makefile.in by configure.
> >
> > TARGETS =  apr_atomic_sparc.lo
> >
> > ASFLAGS += -xarch=v8plus -K PIC
> > ASCPPFLAGS = -D_ASM -D__STDC__=0
> > AS = as
> > ASCPP =
> >
> > # bring in rules.mk for standard functionality
> > include /tmp/httpd-2.0.35/srclib/apr/build/rules.mk
> > srcdir=/tmp/httpd-2.0.35/srclib/apr/atomic/solaris_sparc
> >
> > apr_atomic_sparc.lo: $(srcdir)/apr_atomic_sparc.s
> >          $(ASCPP) $(ASCPPFLAGS) $(srcdir)/$*.s > $*.S
> >          $(AS) $(ASFLAGS) -o $@ $*.S
> >
> >
> > DEFOSDIR=$(INCDIR)/arch/unix
> > INCDIR=../../include
> > INCLUDES=-I$(INCDIR) -I$(DEFOSDIR)
> >
> > # DO NOT REMOVE
> >
> >
> > TIA
> >
> > Cheers
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.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@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: Compilation error with 2.0.35

Posted by Lee Fellows <lf...@4lane.com>.
Actually, it appears configure is not creating the Makefile properly.

Note in your extract from the Makefile that ASCPP is undefined.  When
make hits the rule for apr_atomic_sparc.lo $(ASCPP) is null.  On my
Sparc 5 box running Solaris 8, ASCPP gets defined as cpp.  Looks like
configure is not finding cpp.  You may need to check you PATH
environment variable.


On Mon, 2002-04-22 at 13:41, Cameron Moredock wrote:
> Has anyone else had difficulties compiling for Solaris 2.8???
> 
> Upon successful completion of a basic CONFIGURE, I get the following error:
> 
> make[4]: Entering directory `/tmp/httpd-2.0.35/srclib/apr/atomic/solaris_sparc'
> D_ASM -D__STDC__=0 
> /tmp/httpd-2.0.35/srclib/apr/atomic/solaris_sparc/apr_atomic_sparc.s > 
> apr_atomic_sparc.S
> /bin/sh: D_ASM: not found
> make[4]: [apr_atomic_sparc.lo] Error 1 (ignored)
> as -xarch=v8plus -K PIC -o apr_atomic_sparc.lo apr_atomic_sparc.S
> Assembler messages:
> Error: Can't open apr_atomic_sparc.S for reading.
> apr_atomic_sparc.S: No such file or directory
> make[4]: *** [apr_atomic_sparc.lo] Error 1
> make[4]: Leaving directory `/tmp/httpd-2.0.35/srclib/apr/atomic/solaris_sparc'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/tmp/httpd-2.0.35/srclib/apr/atomic/solaris_sparc'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/tmp/httpd-2.0.35/srclib/apr'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/httpd-2.0.35/srclib'
> make: *** [all-recursive] Error 1
> 
> 
> It appears as though the make process is splitting the line...The second 
> error is an obvious failure as a result of the preceeding failure..
> 
> 
> Here is the contents of the Makefile in 
> /tmp/httpd-2.0.35/srclib/apr/atomic/solaris_sparc
> 
> # Generated automatically from Makefile.in by configure.
> 
> TARGETS =  apr_atomic_sparc.lo
> 
> ASFLAGS += -xarch=v8plus -K PIC
> ASCPPFLAGS = -D_ASM -D__STDC__=0
> AS = as
> ASCPP =
> 
> # bring in rules.mk for standard functionality
> include /tmp/httpd-2.0.35/srclib/apr/build/rules.mk
> srcdir=/tmp/httpd-2.0.35/srclib/apr/atomic/solaris_sparc
> 
> apr_atomic_sparc.lo: $(srcdir)/apr_atomic_sparc.s
>          $(ASCPP) $(ASCPPFLAGS) $(srcdir)/$*.s > $*.S
>          $(AS) $(ASFLAGS) -o $@ $*.S
> 
> 
> DEFOSDIR=$(INCDIR)/arch/unix
> INCDIR=../../include
> INCLUDES=-I$(INCDIR) -I$(DEFOSDIR)
> 
> # DO NOT REMOVE
> 
> 
> TIA
> 
> Cheers
> 
> 
> 
> ---------------------------------------------------------------------
> 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@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org