Apache upgrading error


 
Thread Tools Search this Thread
Operating Systems Solaris Apache upgrading error
# 1  
Old 04-15-2012
Apache upgrading error

hi every one , i am facing a problem and i am stuck i need you help :

i am trying to upgrade apache 2.0.63 to apache 2.0.64 with ssl option enabled when i try to compile by using make command i face the below error :

Code:
ssl_engine_init.c: In function `ssl_init_ctx_protocol':
 ssl_engine_init.c:392: warning: assignment discards qualifiers from pointer target type
 ssl_engine_init.c:398: warning: assignment discards qualifiers from pointer target type
 ssl_engine_init.c: In function `ssl_init_ctx_verify':
 ssl_engine_init.c:538: error: `STACK' undeclared (first use in this function)
 ssl_engine_init.c:538: error: (Each undeclared identifier is reported only once
 ssl_engine_init.c:538: error: for each function it appears in.)
 ssl_engine_init.c:538: error: syntax error before ')' token
 ssl_engine_init.c: In function `ssl_init_FindCAList':
 ssl_engine_init.c:1113: warning: pointer type mismatch in conditional expression
 *** Error code 1
 make: Fatal error: Command failed for target `ssl_engine_init.lo'
 Current working directory /usr/local/raj/httpd-2.0.64/modules/ssl
 *** Error code 1
 The following command caused the error:
 otarget=`echo all-recursive|sed s/-recursive//`; \
 list='  '; \
 for i in $list; do \
     if test -d "$i"; then \
         target="$otarget"; \
         echo "Making $target in $i"; \
         if test "$i" = "."; then \
                 made_local=yes; \
                 target="local-$target"; \
         fi; \
         (cd $i && make $target) || exit 1; \
     fi; \
 done; \
 if test "$otarget" = "all" && test -z 'mod_ssl.la'; then \
     made_local=yes; \
 fi; \
 if test "$made_local" != "yes"; then \
     make "local-$otarget" || exit 1; \
 fi
 make: Fatal error: Command failed for target `all-recursive'
 Current working directory /usr/local/raj/httpd-2.0.64/modules/ssl
 *** Error code 1
 The following command caused the error:
 otarget=`echo all-recursive|sed s/-recursive//`; \
 list='  aaa filters loggers metadata ssl http generators mappers'; \
 for i in $list; do \
     if test -d "$i"; then \
         target="$otarget"; \
         echo "Making $target in $i"; \
         if test "$i" = "."; then \
                 made_local=yes; \
                 target="local-$target"; \
         fi; \
         (cd $i && make $target) || exit 1; \
     fi; \
 done; \
 if test "$otarget" = "all" && test -z ''; then \
     made_local=yes; \
 fi; \
 if test "$made_local" != "yes"; then \
     make "local-$otarget" || exit 1; \
 fi
 make: Fatal error: Command failed for target `all-recursive'
 Current working directory /usr/local/raj/httpd-2.0.64/modules
 *** Error code 1
 The following command caused the error:
 otarget=`echo all-recursive|sed s/-recursive//`; \
 list='  srclib os server modules support'; \
 for i in $list; do \
     if test -d "$i"; then \
         target="$otarget"; \
         echo "Making $target in $i"; \
         if test "$i" = "."; then \
                 made_local=yes; \
                 target="local-$target"; \
         fi; \
         (cd $i && make $target) || exit 1; \
     fi; \
 done; \
 if test "$otarget" = "all" && test -z 'httpd  '; then \
     made_local=yes; \
 fi; \
 if test "$made_local" != "yes"; then \
     make "local-$otarget" || exit 1; \
 fi



i tryed to use gmake but this compiler is only skipping the error ??

please help.

thx

Moderator's Comments:
Mod Comment How to use code tags

Last edited by Scrutinizer; 04-15-2012 at 08:38 AM..
# 2  
Old 04-26-2012
finally , solved it Smilie

but really strange that no one face this issue before!!
# 3  
Old 04-26-2012
Solved it how? Nearly all of our posters come here from search engines; if other people have the same problem they could easily end up here looking for it.

Also, most upgrades are done with whatever your package manager is, not by hand-compiling.
# 4  
Old 04-29-2012
Yes your correct the upgrade is done by running configure.nice in your new apache package.
In my post I should not mentioned upgrade I should mention changing apache to higher version .
How I solved it , well I am installing apache with ssl enabled and when run make its give me an error like the one I included in my previous post so I removed the ssl option in my configure line and go through the process of installing apache and it was installed without the error.
Now I know that there is something wrong with my ssl Directory , so I created new ssl directory and name it ssl2 compiled and run the OpenSSL 0.9.8 and configure and install apache with ssl enabled and used this option to point to my new ssl directory --with-ssl=DIR , updated the PATH to my new ssl DIR and this solved the apache issue . Please feel free to ask me any question thanks.
This User Gave Thanks to core99 For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

Error when starting apache

Due to an activity scheduled on the server, I had stop the apache process and then restart when the activity completed. The activity started at 9am and ended around 9 pm. To list the apache processes that were running on the server before I stopped it, I used ps -ef | grep apache, and these were... (11 Replies)
Discussion started by: anaigini45
11 Replies

2. Red Hat

Apache start error

I have a new server, installed everything and tried to get it all up and running. Got the following issue: # /usr/local/apache/bin/apachectl start httpd: Syntax error on line 54 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/libphp5.so into server:... (0 Replies)
Discussion started by: Tommyk
0 Replies

3. Solaris

Apache installation error

Hi, I'm getting the below error when trying to run configure from apache 2.0.64. configure: error: C preprocessor "/lib/cpp" fails sanity check I navigated through the forum and found some users experiencing this problem and the solution was to install kernel-headers. But i'm not able to... (1 Reply)
Discussion started by: prithvirao17
1 Replies

4. HP-UX

Questions Regarding Upgrading To New Version Of Apache Web Server

In September 2010, HP released the following bulletin: Subject: End of Support Life for “Apache version 2.0 along with WSS version 2.x” on 11iv2 and 11iv3. Reference: http://www.hp.com/softwarereleases/releases-media2​/notices/082010Apache.pdf I have some questions about this... (4 Replies)
Discussion started by: Rob Sandifer
4 Replies

5. UNIX for Dummies Questions & Answers

Upgrading Apache

Hi I run FEDORA CORE 4 and I have been asked to upgrade the apache to the latest version--this machine is using 2.0.54 Apache which is really OLD. The problem is that upgrading the RPM fails because of all these dependencies. Those dependencies in turn have other dependencies. I am new to... (1 Reply)
Discussion started by: mojoman
1 Replies

6. Solaris

Error while upgrading firmware on X4500.

I get an error message when I try to upgrade the firmware. The error message is displayed below. Image has no uboot. DO NOT RESET OR YOU WILL BRICK THE ILOM. Please retry with the correct image I do not understand anything about this message. May I know what does it mean ? How can I get rid... (6 Replies)
Discussion started by: bharu_sri
6 Replies

7. Solaris

apache error

dear all i install apache in solaris 10 and configure it but when i start catalina it give the error below : Exception in thread "main" java.lang.NoClassDefFoundError: cat/conf/krb5/conf does any one know about this error ?? (2 Replies)
Discussion started by: murad.jaber
2 Replies

8. UNIX for Dummies Questions & Answers

Error installing apache

I've installed apache server following all the instructions witch accuracy, but i can't start the server. I extraxt the files Configure to /usr/local/apache make make install But when I want to /usr/local/apache/bin/apachectl start I can't There are a lot of files in the bin folder... (3 Replies)
Discussion started by: ncatdesigner
3 Replies

9. UNIX for Dummies Questions & Answers

Apache Error

Hi, I am getting the error given below in the apache error_log. Error: tcgetattr: Invalid argument ioctl I_PUSH ttcompat: No such device or address sh: /xyz: not found the file xyz is there in the location with the necessary permissions. Could anyone help me with this. Thanks,... (1 Reply)
Discussion started by: amitsayshii
1 Replies

10. UNIX for Dummies Questions & Answers

upgrading apache

How can I find out what options were used to build the apache currently running on my computer? I'd like to upgrade and want to make sure not to break any sites running on it. I've been going through the sites to figure out just what is needed, but want to be sure not to miss anything before... (2 Replies)
Discussion started by: lungs
2 Replies
Login or Register to Ask a Question