Sponsored Content
Operating Systems AIX Bison -pap_expr_yy invalid character:% unexpected "identifier" while running make for Apache2.4.3 64 Post 302756533 by Ashish Gupta on Wednesday 16th of January 2013 04:48:43 AM
Old 01-16-2013
IBM Bison -pap_expr_yy invalid character:% unexpected "identifier" while running make for Apache2.4.3 64

The Follwing packages are installed on my AIX 6.1 box
Code:
gcc-4.7.2-1
gcc-c++-4.7.2-1
gcc-cpp-4.7.2-1
gcc-gfortran-4.7.2-1
libgcc-4.7.2-1
libgomp-4.7.2-1
libstdc++-4.7.2-1
libstdc++-devel-4.7.2-1
gmp-5.0.5-1
libmpc-1.0.1-2
libmpc-devel-1.0.1-2
libmpcdec-1.2.6-1
libmpcdec-devel-1.2.6-1
mpfr-3.1.1-1
mpfr-devel-3.1.1-1
flex-2.5.4a-6
m4-1.4.1-1
bison-1.875-3
libiconv-1.14-2
gettext-0.17-1
gettext-devel-0.17-1

I used follwing command to confiure the apache:
Code:
./configure CC="gcc -maix64" CFLAGS="-maix64" CXX="gcc -maix64" CPPFLAGS="-maix64" NM="nm -X64" AR="ar -X64" LDFLAGS="-L/usr/ccs/bin/ld" --prefix=/usr/local/share/bld/apache2 --enable-ssl=shared --with-ssl=/usr/local/share/bld/ssl --enable-deflate=shared --with-z=/usr/local/share/bld/zlib --enable-mods-shared=all --with-expat=builtin --with-pcre=/usr/local/share/bld/pcre --with-included-apr --enable-v4-mapped

The above command executed successfully. While executing the make command follwing error is reported:
Code:
bison -pap_expr_yy --defines=/usr/local/share/bld/httpd-2.4.3/server/util_expr_parse.h -o /usr/local/share/bld/httpd-2.4.3/server/util_expr_parse.c /usr/local/share/bld/httpd-2.4.3/server/util_expr_parse.y
/usr/local/share/bld/httpd-2.4.3/server/util_expr_parse.y:28.1: invalid character: `%'
/usr/local/share/bld/httpd-2.4.3/server/util_expr_parse.y:28.2-4: parse error, unexpected "identifier"
make: 1254-004 The error code from the last command is 1.


Last edited by Scrutinizer; 01-16-2013 at 06:09 AM.. Reason: code tags
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

"./cofigure" and "make" turmoil

I am a Unix newbie and I downloaded some X11 programs. I have gcc, but I cannot compile the files. I NEED HELP!!!! :confused: (16 Replies)
Discussion started by: gnerd
16 Replies

2. Programming

how could i make a program mixed with many "|", "<" and ">"

I have written following code to do: ls -l | wc -w, it works: but when there are not only a single "|", if there are more such as: ls -l | sort -r | sort | sort -r, This program does not work, i want to know how could i deal with it when there are more "|", another situation is that, if it mixes... (2 Replies)
Discussion started by: strugglingman
2 Replies

3. HP-UX

script running with "ksh" dumping core but not with "sh"

Hi, I have small script written in korn shell. When it is called from different script, its dumping core, but no core dump when we run it standalone. And its not dumping core if we run the script using "/bin/sh" instead of "ksh" Can some body please help me how to resolve this issue. ... (9 Replies)
Discussion started by: simhe02
9 Replies

4. UNIX for Dummies Questions & Answers

Command Character size limit in the "sh" and "bourne" shell

Hi!!.. I would like to know what is maximum character size for a command in the "sh" or "bourne" shell? Thanks in advance.. Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies

5. UNIX for Advanced & Expert Users

Command Character size limit in the "sh" and "bourne" shell

Hi!!.. I would like to know what is maximum character size for a command in the "sh" or "bourne" shell? Thanks in advance.. Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies

6. Shell Programming and Scripting

Command Character size limit in the "sh" and "bourne" shell

Hi!!.. I would like to know what is maximum character size for a command in the "sh" or "bourne" shell? Thanks in advance.. Roshan. (1 Reply)
Discussion started by: Roshan1286
1 Replies

7. Shell Programming and Scripting

Make scipt except from "Y","y" and "yes" to take [Enter] as being "yes"

This is the script: #!/bin/sh if ; then rm -rf /usr/share/WallpaperChanger; fi if ; then rm -rf /usr/bin/wallch; fi; if ; then rm -rf /usr/share/applications/wallch.desktop; fi if ; then rm -rf /usr/share/doc/wallch; fi if ; then rm -rf /usr/share/man/man1/wallch.1.gz; fi echo "Delete... (4 Replies)
Discussion started by: hakermania
4 Replies

8. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

9. Shell Programming and Scripting

Using sed to find text between a "string " and character ","

Hello everyone Sorry I have to add another sed question. I am searching a log file and need only the first 2 occurances of text which comes after (note the space) "string " and before a ",". I have tried sed -n 's/.*string \(*\),.*/\1/p' filewith some, but limited success. This gives out all... (10 Replies)
Discussion started by: haggismn
10 Replies

10. Shell Programming and Scripting

exec perl in expect script yields "invalid command"

I'm trying to execute something like this: exec perl -i -pe 's/\015/\012/g' '${file}' in my expect script and I get: error "invalid command name \"perl\". however, if I run perl -i -pe 's/\015/\012/g' "/Users/Shared/menu-items.txt" directly in my terminal, it runs fine. I'm an... (4 Replies)
Discussion started by: dpouliot
4 Replies
apacheconf(1)						       Apache configuration						     apacheconf(1)

NAME
apacheconf - Apache configuration utility SYNTAX
apacheconf DESCRIPTION
This is a new graphical tool to configure the common web server Apache in an easy and simple way. It supports the basic configuration options and even allows to set up multiple virtual hosts. OPTIONS
None FILES
/usr/bin/apacheconf /usr/share/apacheconf/* /etc/alchemist/switchboard/apache.switchboard.adl /etc/alchemist/namespace/apache/local.adl /etc/alchemist/namespace/apache/rpm.adl /var/cache/alchemist/apache/* EXAMPLES
To run this program simply type: apacheconf SEE ALSO
httpd(8) BUGS
Not all possible checks for correct values are done yet. The current /etc/httpd/conf/httpd.conf file is NOT parsed, so changing the configuration with apacheconf will overwrite any manual changes to the httpd.conf file or the changes done with apacheconf are discarded. In case of overwriting the manually editied file a backup file will be generated. AUTHORS
Jonathan Blandford <jrb@redhat.com> Philipp Knirsch <pknirsch@redhat.com> Philipp Knirsch 0.63 apacheconf(1)
All times are GMT -4. The time now is 04:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy