[users@httpd] Make Error Apache 2.4.3 (UNCLASSIFIED)
Classification: UNCLASSIFIED Caveats: NONE I am trying to compile on a Solaris 9 box apache 2.4.3. I complied with ./configure --enable-so --enable-rewrite --with-z=/usr/local I already have apr/apr-utils/pcre on the box from 2.4.2. I also have the dependencies in ./srclib and used switch --with-included-apr to see if it made a difference. When I run make I get this. If anyone has seen this before or knows what it is tell me I would appreciate it. ___ t/src/httpd-2.4.3/modules/generators -I/opt/src/httpd-2.4.3/modules/mappers -prefer-non-pic -static -c util_expr_scan.c && touch util_expr_scan.lo util_expr_scan.c:2204: error: parse error before numeric constant util_expr_scan.c: In function `ap_expr_yy_scan_string': util_expr_scan.c:2205: error: number of arguments doesn't match prototype util_expr_scan.c:289: error: prototype declaration util_expr_scan.c:2207: warning: passing arg 1 of `strlen' makes pointer from integer without a cast util_expr_scan.c:2207: error: `yyscanner' undeclared (first use in this function) util_expr_scan.c:2207: error: (Each undeclared identifier is reported only once util_expr_scan.c:2207: error: for each function it appears in.) util_expr_scan.c:2207: warning: passing arg 1 of `ap_expr_yy_scan_bytes' makes pointer from integer without a cast make[2]: *** [util_expr_scan.lo] Error 1 make[2]: Leaving directory `/opt/src/httpd-2.4.3/server' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/src/httpd-2.4.3/server' make: *** [all-recursive] Error 1 Classification: UNCLASSIFIED Caveats: NONE smime.p7s Description: S/MIME cryptographic signature
Re: [users@httpd] Make error, apache 2.4.1
On 24.02.2012 11:45, Zaxy wrote: On 23.2.2012 19:33, Rainer Jung wrote: On 23.02.2012 18:46, Zaxy wrote: On 23.02.2012 16:11, Zaxy wrote: As you write, your srclib/Makefile is different. Correct? Can you please post the full srclib/Makefile? Apart from Makefile, Makefile.in and the two directories apr and apr-util, there is an additional directory .deps and nothing else in srclib, correct? As it turns out, this was not correct. Which got me thinking. So instead of "make clean" I reproduced my steps from the beginning. It seems that I mistakenly copied some apr files into the srclib and (possibly later) copied it also properly into the apr/apr-util. Which in turn made me think I did it correctly when in fact I did not. Now make works perfectly! I'm very sorry if I wasted your time and very grateful for your replies. Thank you again. :) No problem, everything is very fresh, and even the result "Sorry I was wrong myself" is helping in growing confidence that what we delivered does not only work on our test systems, but for our huge user community as well. Have fun! Rainer - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Make error, apache 2.4.1
On 23.2.2012 19:33, Rainer Jung wrote: On 23.02.2012 18:46, Zaxy wrote: On 23.02.2012 16:11, Zaxy wrote: Hi, first time posting here. Before I go to my problem, let me just clarify that I did everything in my power to solve it before writing here. The problem is as follows: After a successful ./configure --prefix=/usr/local/apache2.4.1 the "make" command exits with an error. Making all in srclib make[1]: Entering directory `/usr/local/src/httpd-2.4.1/srclib' Makefile:49: *** missing separator. Stop. make[1]: Leaving directory `/usr/local/src/httpd-2.4.1/srclib' make: *** [all-recursive] Error 1 49th line of srclib/Makefile: @INCLUDE_RULES@ The system is Ubuntu 11.04 32-bit. I would really appreciate any ideas. If I need to post more information, I will do so gladly. The line you quoted is expected in a Makefile coming from the apr library (or apr-util). Such a Makefile is not expected in srclib, but insteadf in srclib/apr resp. srclib/apr-util. So if you tell us how you try to build, we might be able to guide you. - Where is your apr and apr-util? If you added it to srclib, how exactly did you do that? They are both in srclib located in srclib/apr and srclib/apr-util. Good Basically I downloaded them from apr.apache.org, extracted, copied into srclib, then renamed to apr/apr-util to remove the versions. Correct I double checked that files are actually in the srclib/apr/ directory, not in the srclib/apr/apr-1.6.4 dir or something else. OK - is the above configure command complete, ie.e. you didn't give additional flags like telling configure where your apr is? I tried with --with-included-apr flag but got this make error. Then I thought I'd try without the flag and got the same result. OK, --with-included-apr should be safer, but from what you write that's not related to the root cause of your problem. - if the line is complete, do your have the approprite apr and apr-util versions installed in your system default library location? To be honest, I have no idea how to install it. So my guess would be that I don't. The configure output shows that you are successfully configuring against the one provided in srclib. - did configure complain about anything (and you tried to call "make" nevertheless) - rephrased: is there a way you can post your configure output? I didn't notice any errors in configure. The whole configure output can be found here: http://pastebin.com/3t1BrsvH Output looks good! So back to the original error message .. Making all in srclib make[1]: Entering directory `/usr/local/src/httpd-2.4.1/srclib' Makefile:49: *** missing separator. Stop. make[1]: Leaving directory `/usr/local/src/httpd-2.4.1/srclib' make: *** [all-recursive] Error 1 49th line of srclib/Makefile: @INCLUDE_RULES@ Directly in srclib there should be a file named Makefile.in and with the contents: BUILD_SUBDIRS = $(AP_BUILD_SRCLIB_DIRS) CLEAN_SUBDIRS = $(AP_CLEAN_SRCLIB_DIRS) include $(top_builddir)/build/rules.mk Correct? This file comes directly from expanding the httpd source download. Then configure should add another file named Makefile with the content: top_srcdir = /usr/local/src/httpd-2.4.1 top_builddir = /usr/local/src/httpd-2.4.1 srcdir = /usr/local/src/httpd-2.4.1/srclib builddir = /usr/local/src/httpd-2.4.1/srclib VPATH= /usr/local/src/httpd-2.4.1/srclib BUILD_SUBDIRS = $(AP_BUILD_SRCLIB_DIRS) CLEAN_SUBDIRS = $(AP_CLEAN_SRCLIB_DIRS) include $(top_builddir)/build/rules.mk As you write, your srclib/Makefile is different. Correct? Can you please post the full srclib/Makefile? Apart from Makefile, Makefile.in and the two directories apr and apr-util, there is an additional directory .deps and nothing else in srclib, correct? As it turns out, this was not correct. Which got me thinking. So instead of "make clean" I reproduced my steps from the beginning. It seems that I mistakenly copied some apr files into the srclib and (possibly later) copied it also properly into the apr/apr-util. Which in turn made me think I did it correctly when in fact I did not. Now make works perfectly! I'm very sorry if I wasted your time and very grateful for your replies. Thank you again. :) Next: the file srclib/Makefile is generated from srclib/Makefile.in using the script build/fastgen.sh. It could be something is wrong when running this script, but note that this script hasn't changed since the days of Apache 2.0 so is very stable. Let us first check until here, and if we do not find anything new, we'll proceed with how the file srclib/Makefile is generated from srclib/Makefile.in. Regards, Rainer - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache
Re: [users@httpd] Make error, apache 2.4.1
On 23.02.2012 18:46, Zaxy wrote: On 23.02.2012 16:11, Zaxy wrote: Hi, first time posting here. Before I go to my problem, let me just clarify that I did everything in my power to solve it before writing here. The problem is as follows: After a successful ./configure --prefix=/usr/local/apache2.4.1 the "make" command exits with an error. Making all in srclib make[1]: Entering directory `/usr/local/src/httpd-2.4.1/srclib' Makefile:49: *** missing separator. Stop. make[1]: Leaving directory `/usr/local/src/httpd-2.4.1/srclib' make: *** [all-recursive] Error 1 49th line of srclib/Makefile: @INCLUDE_RULES@ The system is Ubuntu 11.04 32-bit. I would really appreciate any ideas. If I need to post more information, I will do so gladly. The line you quoted is expected in a Makefile coming from the apr library (or apr-util). Such a Makefile is not expected in srclib, but insteadf in srclib/apr resp. srclib/apr-util. So if you tell us how you try to build, we might be able to guide you. - Where is your apr and apr-util? If you added it to srclib, how exactly did you do that? They are both in srclib located in srclib/apr and srclib/apr-util. Good Basically I downloaded them from apr.apache.org, extracted, copied into srclib, then renamed to apr/apr-util to remove the versions. Correct I double checked that files are actually in the srclib/apr/ directory, not in the srclib/apr/apr-1.6.4 dir or something else. OK - is the above configure command complete, ie.e. you didn't give additional flags like telling configure where your apr is? I tried with --with-included-apr flag but got this make error. Then I thought I'd try without the flag and got the same result. OK, --with-included-apr should be safer, but from what you write that's not related to the root cause of your problem. - if the line is complete, do your have the approprite apr and apr-util versions installed in your system default library location? To be honest, I have no idea how to install it. So my guess would be that I don't. The configure output shows that you are successfully configuring against the one provided in srclib. - did configure complain about anything (and you tried to call "make" nevertheless) - rephrased: is there a way you can post your configure output? I didn't notice any errors in configure. The whole configure output can be found here: http://pastebin.com/3t1BrsvH Output looks good! So back to the original error message .. Making all in srclib make[1]: Entering directory `/usr/local/src/httpd-2.4.1/srclib' Makefile:49: *** missing separator. Stop. make[1]: Leaving directory `/usr/local/src/httpd-2.4.1/srclib' make: *** [all-recursive] Error 1 49th line of srclib/Makefile: @INCLUDE_RULES@ Directly in srclib there should be a file named Makefile.in and with the contents: BUILD_SUBDIRS = $(AP_BUILD_SRCLIB_DIRS) CLEAN_SUBDIRS = $(AP_CLEAN_SRCLIB_DIRS) include $(top_builddir)/build/rules.mk Correct? This file comes directly from expanding the httpd source download. Then configure should add another file named Makefile with the content: top_srcdir = /usr/local/src/httpd-2.4.1 top_builddir = /usr/local/src/httpd-2.4.1 srcdir = /usr/local/src/httpd-2.4.1/srclib builddir = /usr/local/src/httpd-2.4.1/srclib VPATH= /usr/local/src/httpd-2.4.1/srclib BUILD_SUBDIRS = $(AP_BUILD_SRCLIB_DIRS) CLEAN_SUBDIRS = $(AP_CLEAN_SRCLIB_DIRS) include $(top_builddir)/build/rules.mk As you write, your srclib/Makefile is different. Correct? Can you please post the full srclib/Makefile? Apart from Makefile, Makefile.in and the two directories apr and apr-util, there is an additional directory .deps and nothing else in srclib, correct? Next: the file srclib/Makefile is generated from srclib/Makefile.in using the script build/fastgen.sh. It could be something is wrong when running this script, but note that this script hasn't changed since the days of Apache 2.0 so is very stable. Let us first check until here, and if we do not find anything new, we'll proceed with how the file srclib/Makefile is generated from srclib/Makefile.in. Regards, Rainer - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Make error, apache 2.4.1
On 23.02.2012 16:11, Zaxy wrote: Hi, first time posting here. Before I go to my problem, let me just clarify that I did everything in my power to solve it before writing here. The problem is as follows: After a successful ./configure --prefix=/usr/local/apache2.4.1 the "make" command exits with an error. Making all in srclib make[1]: Entering directory `/usr/local/src/httpd-2.4.1/srclib' Makefile:49: *** missing separator. Stop. make[1]: Leaving directory `/usr/local/src/httpd-2.4.1/srclib' make: *** [all-recursive] Error 1 49th line of srclib/Makefile: @INCLUDE_RULES@ The system is Ubuntu 11.04 32-bit. I would really appreciate any ideas. If I need to post more information, I will do so gladly. The line you quoted is expected in a Makefile coming from the apr library (or apr-util). Such a Makefile is not expected in srclib, but insteadf in srclib/apr resp. srclib/apr-util. So if you tell us how you try to build, we might be able to guide you. - Where is your apr and apr-util? If you added it to srclib, how exactly did you do that? They are both in srclib located in srclib/apr and srclib/apr-util. Basically I downloaded them from apr.apache.org, extracted, copied into srclib, then renamed to apr/apr-util to remove the versions. I double checked that files are actually in the srclib/apr/ directory, not in the srclib/apr/apr-1.6.4 dir or something else. - is the above configure command complete, ie.e. you didn't give additional flags like telling configure where your apr is? I tried with --with-included-apr flag but got this make error. Then I thought I'd try without the flag and got the same result. - if the line is complete, do your have the approprite apr and apr-util versions installed in your system default library location? To be honest, I have no idea how to install it. So my guess would be that I don't. - did configure complain about anything (and you tried to call "make" nevertheless) - rephrased: is there a way you can post your configure output? I didn't notice any errors in configure. The whole configure output can be found here: http://pastebin.com/3t1BrsvH Thank you for your response! ... Regards, Rainer - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org Regards, M. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [users@httpd] Make error, apache 2.4.1
On 23.02.2012 16:11, Zaxy wrote: Hi, first time posting here. Before I go to my problem, let me just clarify that I did everything in my power to solve it before writing here. The problem is as follows: After a successful ./configure --prefix=/usr/local/apache2.4.1 the "make" command exits with an error. Making all in srclib make[1]: Entering directory `/usr/local/src/httpd-2.4.1/srclib' Makefile:49: *** missing separator. Stop. make[1]: Leaving directory `/usr/local/src/httpd-2.4.1/srclib' make: *** [all-recursive] Error 1 49th line of srclib/Makefile: @INCLUDE_RULES@ The system is Ubuntu 11.04 32-bit. I would really appreciate any ideas. If I need to post more information, I will do so gladly. The line you quoted is expected in a Makefile coming from the apr library (or apr-util). Such a Makefile is not expected in srclib, but insteadf in srclib/apr resp. srclib/apr-util. So if you tell us how you try to build, we might be able to guide you. - Where is your apr and apr-util? If you added it to srclib, how exactly did you do that? - is the above configure command complete, ie.e. you didn't give additional flags like telling configure where your apr is? - if the line is complete, do your have the approprite apr and apr-util versions installed in your system default library location? - did configure complain about anything (and you tried to call "make" nevertheless) - rephrased: is there a way you can post your configure output? ... Regards, Rainer - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[users@httpd] Make error, apache 2.4.1
Hi, first time posting here. Before I go to my problem, let me just clarify that I did everything in my power to solve it before writing here. The problem is as follows: After a successful ./configure --prefix=/usr/local/apache2.4.1 the "make" command exits with an error. Making all in srclib make[1]: Entering directory `/usr/local/src/httpd-2.4.1/srclib' Makefile:49: *** missing separator. Stop. make[1]: Leaving directory `/usr/local/src/httpd-2.4.1/srclib' make: *** [all-recursive] Error 1 49th line of srclib/Makefile: @INCLUDE_RULES@ The system is Ubuntu 11.04 32-bit. I would really appreciate any ideas. If I need to post more information, I will do so gladly. Thanks in advance! Regards, M. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org