on 10-25-2013 9:49 AM
Hi,
I need install Content server on AIX 7.1 but i have problem with compiling Apache server. I have followed SAP note 1299254 - Content Server on AIX 6.1 but during command "./buildconf" we got error
autom4te: need GNU m4 1.4 or later: /usr/bin/m4
autoheader: '/opt/freeware/bin/autom4te' failed with exit status: 1
Creating configure ...
autom4te: need GNU m4 1.4 or later: /usr/bin/m4
I was able to repair it to rewrite path in the file /opt/freeware/bin/autom4te.
Didn't help when I tried to put /opt/freeware/bin before /usr/bin in the PATH variable.
Next step i performed like: "./configure –-prefix=/usr/.../apache"
In the other step "./make" I got error:
saptest:/oracle/tmp/apache/httpd-2.0.63# make
Making all in srclib
make[1]: Entering directory `/oracle/tmp/apache/httpd-2.0.63/srclib'
Making all in apr
make[2]: Entering directory `/oracle/tmp/apache/httpd-2.0.63/srclib/apr'
Making all in strings
make[3]: Entering directory `/oracle/tmp/apache/httpd-2.0.63/srclib/apr/strings'
make[4]: Entering directory `/oracle/tmp/apache/httpd-2.0.63/srclib/apr/strings'
/bin/sh /oracle/tmp/apache/httpd-2.0.63/srclib/apr/libtool --silent --mode=compile gcc -O2 -maix64 -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -I../include -I../include/arch/unix -c apr_cpystrn.c && touch apr_cpystrn.lo
In file included from /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/include/ctype.h:143,
from ../include/apr_lib.h:32,
from apr_cpystrn.c:20:
/usr/include/sys/localedef.h:577: error: parse error before "cur_locale"
make[4]: *** [apr_cpystrn.lo] Error 1
make[4]: Leaving directory `/oracle/tmp/apache/httpd-2.0.63/srclib/apr/strings'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/oracle/tmp/apache/httpd-2.0.63/srclib/apr/strings'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/oracle/tmp/apache/httpd-2.0.63/srclib/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/oracle/tmp/apache/httpd-2.0.63/srclib'
make: *** [all-recursive] Error 1
I tried also newest version of httpd and autoconf but result was same.
Regards,
Martin
Hi Martin,
You need to have proper C-compiler to build the apache .
Check for requirements on the same .
Regards,
Deepak Kori
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
thank you for you answer. I have tried to understand it, but i think we have proper C compiler (GNU C/C+) or i have missed something?
Can you give me more info about it.
#echo $CC
gcc
#gcc --version
gcc (GCC) 3.3.2
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Regards,
Martin Klepac
Hi Roman,
AIX-rpm-7.1.2.0-5
apr0-0.9.19-1
apr0-util-0.9.19-1
apr-1.4.8-1
apr-util-1.5.2-1
atk-1.4.0-1
autoconf-2.69-1
automake-1.14-1
bash-2.05b-1
bzip2-1.0.6-1
expat-2.1.0-1
gcc-3.3.2-5
gcc-c++-3.3.2-5
gettext-0.10.40-8
glib-1.2.10-2
glib2-2.34.3-1
gmon-61-a
grep-2.14-1
gzip-1.5-1
info-5.1-1
less-374-2
libgcc-4.8.2-1
libiconv-1.14-2
libjpeg-6b-6
libpng-1.2.1-6
libsigsegv-2.10-1
libstdc++-4.2.0-3
libstdc++-devel-3.3.2-5
libtiff-3.6.1-2
libtool-1.5.26-2
m4-1.4.17-1
make-3.80-1
openssl-0.9.7d-1
pcre-8.33-1
pkg-config-0.28-1
readline-6.2-4
sed-4.2.2-1
sqlite-3.7.17-1
unixODBC-2.3.1-1
unzip-5.51-1
vim-common-6.0.147-5
vim-enhanced-6.0.147-5
wget-1.9-2ssl
xft-0.0-0
zip-2.3-3
zlib-1.2.8-1
zlib-devel-1.2.8-1
User | Count |
---|---|
77 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.