HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- probLems when configuring apache on HP-UX11.11
Operating System - HP-UX
1834094
Members
2302
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
11-27-2002 11:51 PM
11-27-2002 11:51 PM
probLems when configuring apache on HP-UX11.11
Hi
I'm very glad to find your mail on php.net, where you post a thread on
configuring php on hp-ux.
I meet a headache while confirguring Apache, the error is as follows:
# ./configure --prefix=/usr/apache
Configuring for Apache, Version 1.3.27
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for HP-UX 11 platform
+ setting C compiler to cc
+ setting C pre-processor to cc -E
+ checking for system header files
+ adding selected modules
+ using builtin Expat
+ checking sizeof various data types
+ doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.
======== Error Output for sanity check ========
cd ..; cc -DHPUX11 -Aa -Ae -D_HPUX_SOURCE -DUSE_HSREGEX -DUSE_EXPAT -I.
/lib/expat-lite -DNO_DL_NEEDED `./apaci` -o helpers/dummy helpers/dummy.c
-lm -lpthread
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI
C pro
duct; ignored.
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI
C pro
duct; ignored.
(Bundled) cc: "helpers/dummy.c", line 3: warning 5: "const" will become a
keywor
d.
(Bundled) cc: "helpers/dummy.c", line 3: error 1000: Unexpected symbol:
"char".
(Bundled) cc: "helpers/dummy.c", line 4: warning 5: "const" will become a
keywor
d.
(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1
Stop.
============= End of Error Report =============
Aborting!
My system environments are HP-UX11.11, apache 1.3.12 for unix, php4.1.2,
mysql3.2.53.depot
i follow the manual php.net provides:
http://www.php.net/manual/en/install.hpux.php ,i have installed the patches
as the manual said,but i didn't know how to use the patches in the right
path
could you give me a complete solution?
I have installed gcc 3.1 for hp_ux11.0, is it helpful to these errors? but
,after installation ,i don't know how to use gcc,is it necessary to edit
some apache files?
If this disturbs you, i have to express my regret.
Thanks.
I'm very glad to find your mail on php.net, where you post a thread on
configuring php on hp-ux.
I meet a headache while confirguring Apache, the error is as follows:
# ./configure --prefix=/usr/apache
Configuring for Apache, Version 1.3.27
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for HP-UX 11 platform
+ setting C compiler to cc
+ setting C pre-processor to cc -E
+ checking for system header files
+ adding selected modules
+ using builtin Expat
+ checking sizeof various data types
+ doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.
======== Error Output for sanity check ========
cd ..; cc -DHPUX11 -Aa -Ae -D_HPUX_SOURCE -DUSE_HSREGEX -DUSE_EXPAT -I.
/lib/expat-lite -DNO_DL_NEEDED `./apaci` -o helpers/dummy helpers/dummy.c
-lm -lpthread
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI
C pro
duct; ignored.
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI
C pro
duct; ignored.
(Bundled) cc: "helpers/dummy.c", line 3: warning 5: "const" will become a
keywor
d.
(Bundled) cc: "helpers/dummy.c", line 3: error 1000: Unexpected symbol:
"char".
(Bundled) cc: "helpers/dummy.c", line 4: warning 5: "const" will become a
keywor
d.
(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1
Stop.
============= End of Error Report =============
Aborting!
My system environments are HP-UX11.11, apache 1.3.12 for unix, php4.1.2,
mysql3.2.53.depot
i follow the manual php.net provides:
http://www.php.net/manual/en/install.hpux.php ,i have installed the patches
as the manual said,but i didn't know how to use the patches in the right
path
could you give me a complete solution?
I have installed gcc 3.1 for hp_ux11.0, is it helpful to these errors? but
,after installation ,i don't know how to use gcc,is it necessary to edit
some apache files?
If this disturbs you, i have to express my regret.
Thanks.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2002 11:56 PM
11-27-2002 11:56 PM
Re: probLems when configuring apache on HP-UX11.11
Hi,
Edit Makefile and configure files under apache directory and see the path of the gcc command. If it meets your setup leave it as it is and run configure command again.
As you have installed gcc apache installation should be sucessful now.
regards,
U.SivaKumar
Edit Makefile and configure files under apache directory and see the path of the gcc command. If it meets your setup leave it as it is and run configure command again.
As you have installed gcc apache installation should be sucessful now.
regards,
U.SivaKumar
Innovations are made when conventions are broken
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2002 12:00 AM
11-28-2002 12:00 AM
Re: probLems when configuring apache on HP-UX11.11
Hi,
Simply download the hp-ux apache software depot and install using swinstall command.
http://www.software.hp.com/ISS_products_list.html
regards,
U.SivaKumar
Simply download the hp-ux apache software depot and install using swinstall command.
http://www.software.hp.com/ISS_products_list.html
regards,
U.SivaKumar
Innovations are made when conventions are broken
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2002 03:08 AM
11-28-2002 03:08 AM
Re: probLems when configuring apache on HP-UX11.11
Hi,
From the error report, I can say that you don't use gcc to compile but the K&R HP c compiler (bundle one), that 's why it doesn't work !
you have installed gcc 3.1? then it should be installed in /opt/gcc or /usr/local/bin
To make you compilation OK,
You just have to change PATH :
and add /opt/gcc/bin or /usr/local/bin !!
hth
Benoit
-- Une application mal pans??e aboutit ?? une usine ?? gaze (GHG) --
From the error report, I can say that you don't use gcc to compile but the K&R HP c compiler (bundle one), that 's why it doesn't work !
you have installed gcc 3.1? then it should be installed in /opt/gcc or /usr/local/bin
To make you compilation OK,
You just have to change PATH :
and add /opt/gcc/bin or /usr/local/bin !!
hth
Benoit
-- Une application mal pans??e aboutit ?? une usine ?? gaze (GHG) --
Une application mal pansée aboutit à une usine à gaze (GHG)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP