httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Szabo <steve.sz...@fundserv.com>
Subject RE: [users@httpd] Error while installing Apache 1.3.33 on Solaris10
Date Thu, 12 May 2005 19:50:56 GMT
luthien [/opt/SUNWwbsvr/docs] # gcc -v
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-
ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-
shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)



luthien [/opt/SUNWwbsvr/docs] # whence make
/usr/ccs/bin/make



Before patching I would get the same error while building
other apps

luthien [/opt/SUNWwbsvr/docs] # smpatch analyze
luthien [/opt/SUNWwbsvr/docs] # smpatch update



On Fri, 2005-05-13 at 01:16 +0530, Rahul Kohli wrote:
> Craig, Steve,
> 
>  
> 
> I did both "make clean" and "gmake clean" and now on fresh set up execute "configure"
command.
> 
>  
> 
> Configure runs fine but on giving the command "gmake" I am still getting the error but
it seems the gmake compiled a little extra than earlier.
> 
>  
> 
> Steve, 
> 
>  
> 
> Please you tell me the patches required for Solaris 10, also the gcc and gmake version
you are using to build to Apache 1.3.33 on your Sol 10 box.
> 
>  
> 
> 
> 
> ===> src
> gmake[1]: Entering directory `/test/self/INs/apache_1.3.33'
> gmake[2]: Entering directory `/test/self/INs/apache_1.3.33/src'
> ===> src/regex
> gcc -I.  -I../os/unix -I../include   -DSOLARIS2=2100 -DUSE_HSREGEX `../apaci` -DPOSIX_MISTAKE
  -c -o regcomp.o regcomp.c
> gcc -I.  -I../os/unix -I../include   -DSOLARIS2=2100 -DUSE_HSREGEX `../apaci` -DPOSIX_MISTAKE
  -c -o regexec.o regexec.c
> gcc -I.  -I../os/unix -I../include   -DSOLARIS2=2100 -DUSE_HSREGEX `../apaci` -DPOSIX_MISTAKE
  -c -o regerror.o regerror.c
> gcc -I.  -I../os/unix -I../include   -DSOLARIS2=2100 -DUSE_HSREGEX `../apaci` -DPOSIX_MISTAKE
  -c -o regfree.o regfree.c
> rm -f libregex.a
> ar cr libregex.a regcomp.o regexec.o regerror.o regfree.o
> ranlib libregex.a
> <=== src/regex
> ===> src/os/unix
> gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=2100 -DUSE_HSREGEX `../../apaci`
os.c
> In file included from /usr/include/signal.h:26,
>                  from /usr/include/sys/siginfo.h:25,
>                  from /usr/include/sys/wait.h:24,
>                  from ../../include/ap_config.h:1079,
>                  from os.c:21:
> /usr/include/sys/signal.h:85: error: syntax error before "siginfo_t"
> In file included from /usr/include/sys/siginfo.h:25,
>                  from /usr/include/sys/wait.h:24,
>                  from ../../include/ap_config.h:1079,
>                  from os.c:21:
> /usr/include/signal.h:111: error: syntax error before "siginfo_t"
> /usr/include/signal.h:113: error: syntax error before "siginfo_t"
> gmake[3]: *** [os.o] Error 1
> gmake[2]: *** [subdirs] Error 1
> gmake[2]: Leaving directory `/test/self/INs/apache_1.3.33/src'
> gmake[1]: *** [build-std] Error 2
> gmake[1]: Leaving directory `/test/self/INs/apache_1.3.33'
> gmake: *** [build] Error 2
> 
> 
> Thanks,
> 
> Rahul
> 
>  
> 
> -----Original Message-----
> From: Steve Szabo [mailto:steve.szabo@fundserv.com] 
> Sent: Thursday, May 12, 2005 3:06 PM
> To: users@httpd.apache.org
> Subject: RE: [users@httpd] Error while installing Apache 1.3.33 on Solaris10
> 
>  
> 
> I was able to build 1.3.33 on my sol10 system with no such error
> 
>  
> 
> did you install the sol10 patches?
> 
>  
> 
> 
> 
> On Fri, 2005-05-13 at 00:29 +0530, Rahul Kohli wrote:
> 
> > Craig,
> 
> >  
> 
> > The results of gmake are also same (given below)
> 
> >  
> 
> > # gmake
> 
> > ===> src
> 
> > gmake[1]: Entering directory `/test/self/INs/apache_1.3.33'
> 
> > gmake[2]: Entering directory `/test/self/INs/apache_1.3.33/src'
> 
> > ===> src/regex
> 
> > gmake[3]: Nothing to be done for `all'.
> 
> > <=== src/regex
> 
> > ===> src/os/unix
> 
> > gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=2100 -DUSE_HSREGEX `../../apaci`
os.c
> 
> > In file included from /usr/include/signal.h:26,
> 
> >                  from /usr/include/sys/siginfo.h:25,
> 
> >                  from /usr/include/sys/wait.h:24,
> 
> >                  from ../../include/ap_config.h:1079,
> 
> >                  from os.c:21:
> 
> > /usr/include/sys/signal.h:85: error: syntax error before "siginfo_t"
> 
> > In file included from /usr/include/sys/siginfo.h:25,
> 
> >                  from /usr/include/sys/wait.h:24,
> 
> >                  from ../../include/ap_config.h:1079,
> 
> >                  from os.c:21:
> 
> > /usr/include/signal.h:111: error: syntax error before "siginfo_t"
> 
> > /usr/include/signal.h:113: error: syntax error before "siginfo_t"
> 
> > gmake[3]: *** [os.o] Error 1
> 
> > gmake[2]: *** [subdirs] Error 1
> 
> > gmake[2]: Leaving directory `/test/self/INs/apache_1.3.33/src'
> 
> > gmake[1]: *** [build-std] Error 2
> 
> > gmake[1]: Leaving directory `/test/self/INs/apache_1.3.33'
> 
> > gmake: *** [build] Error 2
> 
> >  
> 
> > -Rahul 
> 
> > 
> 
> > -----Original Message-----
> 
> > From: Craig Dunigan [mailto:cdunigan@doit.wisc.edu] 
> 
> > Sent: Thursday, May 12, 2005 2:54 PM
> 
> > To: users@httpd.apache.org
> 
> > Subject: RE: [users@httpd] Error while installing Apache 1.3.33 on Solaris10
> 
> > The command name is gmake, not make. :)
> 
> > Craig
> 
> > On Fri, 13 May 2005, Rahul Kohli wrote:
> 
> > > Craig,
> 
> > > 
> 
> > >  
> 
> > > 
> 
> > > Now I have installed gmake ver 3.80 even after this the error while executing
the "make" command remains the same.
> 
> > > 
> 
> > >  
> 
> > > 
> 
> > > # make
> 
> > > 
> 
> > > ===> src
> 
> > > 
> 
> > > make[1]: Entering directory `/test/self/INs/apache_1.3.33'
> 
> > > 
> 
> > > make[2]: Entering directory `/test/self/INs/apache_1.3.33/src'
> 
> > > 
> 
> > > ===> src/regex
> 
> > > 
> 
> > > make[3]: Nothing to be done for `all'.
> 
> > > 
> 
> > > <=== src/regex
> 
> > > 
> 
> > > ===> src/os/unix
> 
> > > 
> 
> > > gcc -c  -I../../os/unix -I../../include   -DSOLARIS2=2100 -DUSE_HSREGEX `../../apaci`
os.c
> 
> > > 
> 
> > > In file included from /usr/include/signal.h:26,
> 
> > > 
> 
> > >                  from /usr/include/sys/siginfo.h:25,
> 
> > > 
> 
> > >                  from /usr/include/sys/wait.h:24,
> 
> > > 
> 
> > >                  from ../../include/ap_config.h:1079,
> 
> > > 
> 
> > >                  from os.c:21:
> 
> > > 
> 
> > > /usr/include/sys/signal.h:85: error: syntax error before "siginfo_t"
> 
> > > 
> 
> > > In file included from /usr/include/sys/siginfo.h:25,
> 
> > > 
> 
> > >                  from /usr/include/sys/wait.h:24,
> 
> > > 
> 
> > >                  from ../../include/ap_config.h:1079,
> 
> > > 
> 
> > >                  from os.c:21:
> 
> > > 
> 
> > > /usr/include/signal.h:111: error: syntax error before "siginfo_t"
> 
> > > 
> 
> > > /usr/include/signal.h:113: error: syntax error before "siginfo_t"
> 
> > > 
> 
> > > make[3]: *** [os.o] Error 1
> 
> > > 
> 
> > > make[2]: *** [subdirs] Error 1
> 
> > > 
> 
> > > make[2]: Leaving directory `/test/self/INs/apache_1.3.33/src'
> 
> > > 
> 
> > > make[1]: *** [build-std] Error 2
> 
> > > 
> 
> > > make[1]: Leaving directory `/test/self/INs/apache_1.3.33'
> 
> > > 
> 
> > > make: *** [build] Error 2
> 
> > > 
> 
> > >  
> 
> > > 
> 
> > > - Rahul
> 
> > > 
> 
> > >  
> 
> > > 
> 
> > > -----Original Message-----
> 
> > > From: Craig Dunigan [mailto:cdunigan@doit.wisc.edu] 
> 
> > > Sent: Thursday, May 12, 2005 1:01 PM
> 
> > > To: users@httpd.apache.org
> 
> > > Subject: RE: [users@httpd] Error while installing Apache 1.3.33 on Solaris10
> 
> > > 
> 
> > >  
> 
> > > 
> 
> > > Whoops, I didn't realize you were using Sun's make.  Go get gmake (GNU make)
and 
> 
> > > 
> 
> > > use that instead.  Sun's 'make' is notorious for its troubles with gcc.  
> 
> > > 
> 
> > >  
> 
> > > 
> 
> > > Craig
> 
> > > 
> 
> > >  
> 
> > > 
> 
> > > On Thu, 12 May 2005, Rahul Kohli wrote:
> 
> > > 
> 
> > >  
> 
> > > 
> 
> > > > 
> 
> > > 
> 
> > > > In order to ensure this is not permission issue I have done the same using
> 
> > > 
> 
> > > > root user. Also checked for Ctrl-M characters and the files are perfectly
> 
> > > 
> 
> > > > fine.
> 
> > > 
> 
> > > > 
> 
> > > 
> 
> > > > Now I am not getting the errors when running "configure" command but on
> 
> > > 
> 
> > > > execute the "make" the error still remains the same (shown below)
> 
> > > 
> 
> > > > 
> 
> > > 
> 
> > > > The version of make on my machine is "RELEASE VERSION SunOS 5.10 s10_73
> 
> > > 
> 
> > > > November 2004". Do I need to use other version of "make" (make version
3.80
> 
> > > 
> 
> > > > available under sunfreeware.com). Please suggest.
> 
> > > 
> 
> > > > 
> 
> > > 
> 
> > >  
> 
> > > 
> 
> > >  
> 
> > > 
> 
> > > ---------------------------------------------------------------------
> 
> > > 
> 
> > > The official User-To-User support forum of the Apache HTTP Server Project.
> 
> > > 
> 
> > > See <URL:http://httpd.apache.org/userslist.html <http://httpd.apache.org/userslist.html>
> for more info.
> 
> > > 
> 
> > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> 
> > > 
> 
> > >    "   from the digest: users-digest-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 <http://httpd.apache.org/userslist.html>
> for more info.
> 
> > > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> 
> > >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> 
> > > For additional commands, e-mail: users-help@httpd.apache.org
> 
> > > 
> 
-- 

Thanks
-----------------------------------------------------------------
A lot of people I know believe in positive thinking, and so do I.
I believe everything positively stinks. -- Lew Col

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


Mime
View raw message