[zeromq-dev] patch for aix support
George Neill
georgen at neillnet.com
Mon Dec 8 23:08:22 CET 2008
Malo,
Sorry for the delayed response, I was on vacation last week.
On Fri, Dec 5, 2008 at 5:20 AM, Pavol Malosek <malosek at fastmq.com> wrote:
> Hello George
>
> Thanks for the patch, I have commited it into the trunk (rev. 747), can you
> please give it a try?
The compilation works! But my out-of-source "make install" fails with,
Target "install-exec-am" is up to date.
test -z "/home/gneill/zmq/share/man/man1" ||
/home/gneill/src/zmq/trunk/config/install-sh -d
"/home/gneill/zmq/share/man/man1"
../../trunk/config/install-sh -c -m 644
'../../trunk/man/man1/zmq_server.1'
'/home/gneill/zmq/share/man/man1/zmq_server.1'
make install-data-hook
/home/gneill/src/zmq/trunk/config/install-sh -d
"/home/gneill/zmq/share/man/man3";
../../trunk/config/install-sh -c -m 644
"./man3/zmq__api_thread_t.3"
"/home/gneill/zmq/share/man/man3/zmq::api_thread_t.3";
../../trunk/config/install-sh: ./man3/zmq__api_thread_t.3 does not exist.
make: The error code from the last command is 1.
Stop.
make: The error code from the last command is 2.
Stop.
make: The error code from the last command is 2.
Stop.
make: The error code from the last command is 1.
Stop.
If I build in-source, it works fine.
>> I probably need to spend some more time on the configure.in ... what
>> is your preference on compiler usage eg. should it look for a native
>> compiler first, then use gnu? Or is it acceptable to have the user
>> override to a native compiler with environment variables?
>
> Setting proper CC and CXX env. variables is perfectly ok for us.
Ok.
>> Also, on
>> the AIX platform, one can build either 32 or 64 bit binaries/libs ..
>> is there a specific way you guys want this done?
>
> If it is possible 64bit versions should be build.
> Maybe some environment variable AIX_32 can be taken into
> the account for forcing to build 32bits bins & libs?
Well for g++ you have to pass -m64, with xlC you pass -q64 (or set
OBJECT_MODE=64), solaris used to be -xarch but I think you can do -m64
now, so each compiler is a bit different. However on most UN*X
platforms I believe you can just set CXXFLAGS with the approprate
flags before you run configure.
Thanks,
George.
More information about the zeromq-dev
mailing list