On Fri, Nov 5, 2010 at 12:22 PM, Aaron Richton <richton@nbcs.rutgers.edu> wrote:
ITS # 6547.

Knowing absolutely nothing about the platform, and assuming you're not comfortable doing your own autoconf regeneration, I'd just s/aix5/aix6/g in ./configure (i.e. edit the file) and see where you end up -- maybe it'll work, maybe it won't, but my guess is it would be an extremely crude starting point that might be usable after setting appropriate environment variables.

Ok... I'm not 100% comfortable doing autoconf regenration.  but happy to run any tests where needed and reply with logs.
 
If you're willing to help the Project validate new autoconf files, that would be really helpful (I'm guessing we're limited in access to AIX nowadays), and it would save you from having to do such disgusting things in future releases. You can follow up to the ITS via e-mail if that's an area of interest.

Absoutely... I had hoped to use GNU GCC and the full GNU stack on AIX... but the gnu stack is poorly supported on AIX so I was forced to go down the IBM xL Path, which is a bit of a learning curve for me too.
 


On Wed, 3 Nov 2010, Peter Lambrechtsen wrote:

configure:8914: checking whether the cc_r -qlanglvl=extc89 linker (/usr/ccs/bin/ld) supports shared libraries
configure:9790: result: no

--- Any way to get a more verbose output from what it's trying to do??

"bash -x ./configure"?

Tried that, and my aix compile machine has no bash :( ... but ./configure seems to call itself and then becomes less verbose, the next time I had time to debug it I was planning to find out where configure was doing it and add a -x in there too.  And log all those results to a file.
 

configure:10642: cc_r -qlanglvl=extc89 -o conftest -I/opt/openldap/include -I/opt/openldap/include -L/opt/openldap/lib conftest.c  >&5
ld: 0711-317 ERROR: Undefined symbol: .shl_load

-- I think this is the prolbem, shl_load, looks like I may need another include or figure out why it's complaining.

I understand that "ERROR" is an eye opener, but please realize that autoconf basically just tries everything and uses anything that doesn't error out. If shl_load isn't The Right Thing on AIX, this is a non-issue.

Cheers... I'll run through what the autoconf does for OpenSSL since that compiled fine on aix, and see what quirks it's doing that OpenLDAP isn't.

Cheers

Peter