- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Having trouble compiling Apache 2.3.3 in 32bit...
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
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
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-27-2006 01:00 AM
тАО09-27-2006 01:00 AM
Having trouble compiling Apache 2.3.3 in 32bit HP-UX 11.00
I'm using the configure command:
./configure --with-apxs2=/opt/apache2.2/bin/apxs --with-openssl=/usr/local/openssl \
--with-zlib-dir=/usr/local/lib --prefix=/opt/apache2.2 --with-gettext --enable-ftp \
--enable-calendar --enable-soap --enable-rewrite=shared --enable-spelling=shared
Also, I'm using the HP ANSI/C compiler, not gcc (with gcc I get the error: C compiler cannot create executables. Using gcc 4.1.1) I have GNU libtool 1.5.8 installed.
Configure finishes with no errors. When I run "make" (using /usr/ccs/bin/make), it completes with two notes/warnings:
libtool: link: warning: this platform does not like uninstalled shared libraries
libtool: link: `httpd' will be relinked during installation
When I run "make install", it bombs with the following error:
libtool: link: unable to infer tagged configuration
libtool: link: specify a tag with `--tag'
libtool: install: error: relink `libaprutil-1.la' with the above command before installing it
*** Error exit code 1
Stop.
*** Error exit code 1
Anybody seen this? By the way, I need the shared libraries because I'm trying to add "mod_perl" and "libapreq2-2.08" to the Apache installation.
I have seen a lot of references on the web to problems with shared libraries in 32bit HP-UX. Anybody seen, or better yet, overcome any problems like this?
Thanks in advance.
-greg
- Tags:
- Apache
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2006 01:51 AM
тАО09-27-2006 01:51 AM
Re: Having trouble compiling Apache 2.3.3 in 32bit HP-UX 11.00
I would suggest you to check with "gmake" instead of "make". You can download gmake from
http://hpux.connect.org.uk/hppd/hpux/Gnu/make-3.81/
-Arun
- Tags:
- gmake
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2006 03:50 AM
тАО09-27-2006 03:50 AM
Re: Having trouble compiling Apache 2.3.3 in 32bit HP-UX 11.00
C compiler cannot make executables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2006 03:53 AM
тАО09-27-2006 03:53 AM
Re: Having trouble compiling Apache 2.3.3 in 32bit HP-UX 11.00
I think gmake is the way to go.
I think you are missing some gtk tools that gmake needs. On the site Arun provided make sure all dependencies are installed.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2006 05:13 AM
тАО09-27-2006 05:13 AM
Re: Having trouble compiling Apache 2.3.3 in 32bit HP-UX 11.00
[cadb02a]# pwd
/UTIL/httpd-2.2.3
[cadb02a]# uname -a
HP-UX cadb02a B.11.00 A 9000/800 529706577 two-user license
[cadb02a]# gmake --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for hppa2.0w-hp-hpux11.11
[cadb02a]# gcc --version
gcc (GCC) 4.1.1
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[cadb02a]# perl --version
This is perl, v5.8.8 built for PA-RISC2.0
Copyright 1987-2006, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
[cadb02a]# export CC=gcc
[cadb02a]# ./configure --with-apxs2=/opt/apache2.2/bin/apxs --with-openssl=/usr/local/openssl \
> --with-zlib-dir=/usr/local/lib --prefix=/opt/apache2.2 --with-gettext --enable-ftp \
> --enable-calendar --enable-soap --enable-shared=all
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... hppa2.0w-hp-hpux11.00
checking host system type... hppa2.0w-hp-hpux11.00
checking target system type... hppa2.0w-hp-hpux11.00
Configuring Apache Portable Runtime library ...
checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... hppa2.0w-hp-hpux11.00
checking host system type... hppa2.0w-hp-hpux11.00
checking target system type... hppa2.0w-hp-hpux11.00
Configuring APR library
Platform: hppa2.0w-hp-hpux11.00
checking for working mkdir -p... yes
APR Version: 1.2.7
checking for chosen layout... apr
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
configure failed for srclib/apr
[cadb02a]# tail config.log
shared_build=''
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/conf'
target='hppa2.0w-hp-hpux11.00'
target_alias=''
target_cpu='hppa2.0w'
target_os='hpux11.00'
target_vendor='hp'
configure: exit 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-27-2006 08:34 AM
тАО09-27-2006 08:34 AM
Re: Having trouble compiling Apache 2.3.3 in 32bit HP-UX 11.00
Anyway, when I installed it, it didn't work at first. I ended up deleting the apache 2.3.3 source and re-extracting it. I still had a problem with libaprutil-1.a and I had to copy one from a previous make (without shared libraries in the configure), as in
cp /opt/apache2.2.OLD/lib/libaprutil-1.a /UTIL/httpd-2.2.3/srclib/apr-util/.libs/libaprutil-1.a ... and it worked.
Thanks for the help, guys!