Hello Marko. It wants both aC++ and the ANSI C compiler as you
suspected. It compiles successfully with these versions on 11i v1:
B3901BA B.11.11.01 HP C/ANSI C Developer's Bundle for HP-UX 11.00 (S800)
B3913DB C.03.26 HP aC++ Compiler (S800)
Is there anything revealing in config.log about why your aCC isn't
working? I don't remember any C++ code in NSS or NSPR but aCC will be
required to build other components like libICU, so it will need to be
functional at some point anyway.
BTW, lets move to the fedora-directory-devel list...
Marko Asplund wrote:
hi
i'm a Fedora directory newbie trying to build the software on a HP-UX
11i (PA-RISC) system. i'm trying to follow the instructions found in
http://directory.fedora.redhat.com/wiki/Building but i'm stuck in the
Netscape NSS build phase.
the compiler section on the build instructions page states that i
need to have the:
+ HP/UX - ANSI-C compliant compiler (aCC) (usually found in /opt/ansic)
which compiler does this refer to exactly? the 'HP C/ANSI C compiler'
lives in /opt/ansic by default while the 'HP aC++ Compiler' (a.k.a.
aCC) lives in /opt/aCC). what about compiler version numbers?
here's what happens when i try to run the build command:
nebbiolo% gmake BUILD_OPT=1 USE_64=1 nss_build_all
cd ../coreconf ; gmake
gmake[1]: Entering directory `/home/aspa/ldap/mozilla/security/coreconf'
cd nsinstall; gmake export
gmake[2]: Entering directory `/home/aspa/ldap/mozilla/security/
coreconf/nsinstall'
gmake[2]: Nothing to be done for `export'.
gmake[2]: Leaving directory `/home/aspa/ldap/mozilla/security/
coreconf/nsinstall'
cd nsinstall; gmake libs
gmake[2]: Entering directory `/home/aspa/ldap/mozilla/security/
coreconf/nsinstall'
true -m 775 HP-UXB.11.11_64_OPT.OBJ/nsinstall ../../../dist/HP-UXB.
11.11_64_OPT.OBJ/bin
gmake[2]: Leaving directory `/home/aspa/ldap/mozilla/security/
coreconf/nsinstall'
gmake[1]: Leaving directory `/home/aspa/ldap/mozilla/security/coreconf'
../coreconf/nsinstall/HP-UXB.11.11_64_OPT.OBJ/nsinstall -D ../../
nsprpub/HP-UXB.11.11_64_OPT.OBJ
cd ../../nsprpub/HP-UXB.11.11_64_OPT.OBJ ; \
sh ../configure \
--disable-debug --enable-optimize --enable-64bit \
--with-dist-prefix='/home/aspa/ldap/mozilla/security/nss/../../dist/
HP-UXB.11.11_64_OPT.OBJ' \
--with-dist-includedir='/home/aspa/ldap/mozilla/security/nss/../../
dist/HP-UXB.11.11_64_OPT.OBJ/include'
loading cache ./config.cache
checking host system type... hppa2.0w-hp-hpux11.11
checking target system type... hppa2.0w-hp-hpux11.11
checking build system type... hppa2.0w-hp-hpux11.11
checking for whoami... /usr/bin/whoami
checking for c++... aCC
checking whether the C++ compiler (aCC ) works... no
configure: error: installation or configuration problem: C++ compiler
cannot create executables.
gmake: *** [../../nsprpub/HP-UXB.11.11_64_OPT.OBJ/config.status] Error 1
br. aspa
--
Fedora-directory-users mailing list
Fedora-directory-users(a)redhat.com
https://www.redhat.com/mailman/listinfo/fedora-directory-users