Re: Problems building httpd on AIX 6.1 64 bit with GCC

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

 



Hi Eric,

thanks for the advice. Unfortunately that did not quite solve the
issue but running libtool without --silent I found out what was wrong:
libtool calls ar and nm and both need the -X 64 flag - so fixing the
configure command line to
NM="nm -B -X 64" LDFLAGS="-maix64" LD=gcc AR="ar -X 64" CC="gcc
-maix64" ./configure --prefix=/home/labuser/apache/httpd-22-x64
--enable-mods-shared=all --enable-cache --enable-mem-cache
--enable-headers --enable-proxy --enable-proxy-http --enable-http
--enable-cgi --enable-rewrite --enable-deflate --with-included-apr
did the trick.
The wrong path to the odbc libraries was still in the Makefile and I
did not find a configure option to change that but that is easily
fixed up in the Makefile itself.

Thanks again,
-- Ignaz

2012/2/2 Eric Covener <covener@xxxxxxxxx>:
> On Thu, Feb 2, 2012 at 10:22 AM, Ignaz Birnstingl <ignazb@xxxxxxxxx> wrote:
>> Hi,
>>
>> I'm trying to build Apache 2.2.22 on AIX 6.1 PPC 64 bit with gcc 4.4.6.
>> The configure line looks like this:
>> LDFLAGS="-maix64" LD=gcc AR="ar -X 64" CFLAGS="-maix64" ./configure
>> --prefix=/home/labuser/apache/httpd-22-x64 --enable-mods-shared=all
>> --enable-cache --enable-mem-cache --enable-headers --enable-proxy
>> --enable-proxy-http --enable-http --enable-cgi --enable-rewrite
>> --enable-deflate --with-included-apr
>
> Seems like people generally have more luck with CC="gcc -maix64" then
> just putting it in CFLAGS -- can you give that a try?
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[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