- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Errors compiling apache with gcc on HP-UX 10.20
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2021 04:53 PM - last edited on 09-03-2021 12:24 AM by support_s
09-02-2021 04:53 PM - last edited on 09-03-2021 12:24 AM by support_s
Errors compiling apache with gcc on HP-UX 10.20
Hello,
Using config file: Configuration
Creating Makefile
+ configured for HP-UX 10 platform
+ setting C compiler to /usr/local/pa11_32/bin/gcc
+ setting C pre-processor to NOT-AVAILABLE
+ checking for system header files
+ adding selected modules
+ checking sizeof various data types
+ doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. This is most likely because your C compiler
** is not ANSI. Apache requires an ANSI C Compiler, such
** as gcc. The above error message from your compiler
** will also provide a clue.
Aborting!
loading cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gcc... /usr/local/pa11_32/bin/gcc
checking whether the C compiler (/usr/local/pa11_32/bin/gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
declare -x CC="/usr/local/pa11_32/bin/gcc"
declare -x EDITOR="vi"
declare -x ERASE="^H"
declare -x HOME="/"
declare -x LOGNAME="root"
declare -x MAIL="/var/mail/root"
declare -x MANPATH="/usr/share/man/%L:/usr/share/man:/usr/contrib/man/%L:/usr/contrib/man:/usr/local/man/%L:/usr/local/man"
declare -x OLDPWD="/tmp/apache_1.3.9/src"
declare -x PATH="/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/usr/local/bin:/usr/local/pa11_32/bin:/sbin:/home/root"
declare -x PWD="/tmp/apache_1.3.9"
declare -x SHELL="/usr/local/bin/bash"
declare -x SHLVL="1"
declare -x SSH_CLIENT="192.168.20.134 60975 22"
declare -x SSH_CONNECTION="192.168.20.134 60975 192.168.20.100 22"
declare -x SSH_TTY="/dev/pts/0"
declare -x TERM="xterm"
declare -x TZ="PWT0PST"
declare -x USER="root"
Using built-in specs.
Target: hppa1.1-hp-hpux10.20
Configured with: ../src/configure --enable-languages=c,c++ --prefix=/usr/local/pa11_32 --with-local-prefix=/usr/local/pa11_32 --with-gnu-as --with-as=/usr/local/pa11_32/bin/as --with-ld=/usr/ccs/bin/ld --disable-shared --disable-nls --host=hppa1.1-hp-hpux10.20
Thread model: single
gcc version 4.2.2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2021 08:21 PM
09-02-2021 08:21 PM
Re: Errors compiling apache with gcc on HP-UX 10.20
> Do you have any clue why it is not working?
I have the same clues that you have:
> ** A test compilation with your Makefile configuration
> ** failed. [...]
> checking whether the C compiler (/usr/local/pa11_32/bin/gcc ) works... no
> configure: error: installation or configuration problem: C compiler cannot create executables.
Other than you, no one seems to believe that your C compiler works.
Rather than diving into some major thing like an Apache build, I'd
try compiling something simple, like, say, a "Hello world" program. If
that fails (with some useful error messages), then I'd try to determine
why. Otherwise, I'd look into what these "make" files are actually
doing. A description like "A test compilation" or "checking whether the
C compiler [...] works..." is nice if the compiler works, but it doesn't
tell you very much if it fails.