Re: Configure errors whild building apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 24, 2013 at 2:45 AM, sachin goyal <gosachin@xxxxxxxxx> wrote:
The Follwing packages are installed on my AIX 6.1 box
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.0.1-1
info-4.13-3
gettext-0.17-7
mpfr-devel-3.0.1-1
zlib-1.2.5-4
libmpc-1.0.1-2
libmpc-devel-1.0.1-2
libmpcdec-devel-1.2.6-1
libmpcdec-1.2.6-1
gdbm-1.10-1
db-4.4.20-2
libgcrypt-devel-1.4.6-2
diffutils-2.8.1-1
bison-devel-2.7-1
binutils-2.14-3
coreutils-5.2.1-2
flex-2.5.35-1
gcc-gfortran-4.7.2-1
libffi-3.0.11-2
libffi-devel-3.0.11-2
autoconf-2.68-1
automake-1.11.1-1
bzip2-1.0.6-2
libgpg-error-1.10-2
libtool-1.5.8-2
bison-2.7-1

I used follwing command to confiure the apache:
./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

But I am getting multiple "failed program was" like errors as following-->

---------------
configure:5818: gcc -E -maix64 -U__STR__ -D_THREAD_SAFE conftest.c
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:5818: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""

---------------
configure:5996: gcc  -c -maix64 -pthread -maix64 -U__STR__ -D_THREAD_SAFE
conftest.c >&5
conftest.c:59:29: error: expected ';', ',' or ')' before 'text'
conftest.c: In function 'main':
conftest.c:113:18: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'newvar'
conftest.c:113:18: error: 'newvar' undeclared (first use in this function)
conftest.c:113:18: note: each undeclared identifier is reported only once for
each function it appears in
conftest.c:123:3: error: 'for' loop initial declarations are only allowed in C99
mode
conftest.c:123:3: note: use option -std=c99 or -std=gnu99 to compile your code
configure:5996: $? = 1
configure: failed program was:
| /* confdefs.h */

----------------
configure:6906: gcc -std=gnu99 -c -maix64 -pthread -maix64 -U__STR__ -
D_THREAD_SAFE conftest.c >&5
conftest.c:52:26: fatal error: minix/config.h: No such file or directory
compilation terminated.
configure:6906: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
|


Expect to see lots of errors in the configure log file on any machine.  That's part of detecting the platform capabilities.

Did you get a fatal error from configure?  What was that?  (It may be associated with the last set of output in config.log.)


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




--
Born in Roswell... married an alien...
http://emptyhammock.com/

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux