[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Lzip-bug] build issues - AIX and not gcc
From: |
Michael Felt |
Subject: |
[Lzip-bug] build issues - AIX and not gcc |
Date: |
Fri, 10 Feb 2017 23:40:03 +0300 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 |
FYI: the c++ compiler for vac/xlc from ibm is not c++, but xlc++ and/or
xlc_r++ (and many more, but I recommend xlc* as the better names to use
(e.g., cc, c89, c99, etc).
I know (i.e., just read) you are not a GNU project - so that explains
why the configure arguments are not working.
However, assuming that CXX is c++ when g++ does not work - "is a bug".
And I cannot explain why gnu make is needed - except perhaps .cc might
not be recognixed as an automatic "source" for .o by POSIX make. (Not a
bug of yours - just something to be aware of).
Hope this helps!
Michael
address@hidden:[/data/prj/gnu/lzip-1.18]buildaix
xlc is /usr/vacpp/bin/xlc
+ CPPFLAGS="-I/opt/include -I/opt/buildaix/include"
CFLAGS="-I/opt/include -O2 -qmaxmem=-1 -qarch=pwr5
-I/opt/buildaix/includes"\
../src/lzip-1.18/configure\
--prefix=/opt \
--sysconfdir=/var/lzip/etc\
--sharedstatedir=/var/lzip/com\
--localstatedir=/var/lzip\
--mandir=/usr/share/man\
--infodir=/opt/share/info/lzip \
> .buildaix/configure.out
configure: WARNING: unrecognized option: '--sysconfdir=/var/lzip/etc'
configure: WARNING: unrecognized option: '--sharedstatedir=/var/lzip/com'
configure: WARNING: unrecognized option: '--localstatedir=/var/lzip'
+ /opt/bin/make > .buildaix/make.out
make: Warning: File 'Makefile' has modification time 0.0043 s in the future
make: c++: Command not found
make: *** [arg_parser.o] Error 127
- [Lzip-bug] build issues - AIX and not gcc,
Michael Felt <=