1834142 Members
2293 Online
110064 Solutions
New Discussion

apache2/64 build

 
SOLVED
Go to solution
Michal Plandor
Occasional Advisor

apache2/64 build

hello there
my apologies for another thread about apache build, but i'm desperate
i've gone through the older threads, but nothing worked for me

i need 64-bit build of apache2, but i'm not able to suceed for last two days
only gcc compiler is available for me, no standard HP compiler (unfortunately :( )
i was trying many versions - from HP site, merijn's builds
always similar error about shared libraries
could anybody please briefly explain to such newbie as me what kind of gcc and other tools do i need and how to get working apache2 build?

my system is 64 pa-risc hp-ux 11.11

thanks in advance for any help :)
10 REPLIES 10
Michal Plandor
Occasional Advisor

Re: apache2/64 build

well, i've tried it again, because i desperately need that build, but no success so far

"make" always reports these warning:
Warning: linker path does not have real file for library -lgcc.
...
Last file checked: /usr/local/pa20_64/lib/gcc/hppa64-hp-hpux11.11/3.4.6/libgcc.a

i just don't get it
it looks like the correct libgcc.a, but it just keeps failing :(

my env:
LDFLAGS=-lgcc
PATH=/usr/local/pa20_64/lib:/usr/local/pa20_64/bin:/opt/perl64/bin:/usr/local/bin:...

perl -v
This is perl, v5.8.6 built for PA-RISC2.0-LP64

gcc -v
Reading specs from /usr/local/pa20_64/lib/../lib/gcc/hppa64-hp-hpux11.11/3.4.6/specs
Configured with: ../configure --enable-languages=c,c++ --prefix=/usr/local/pa20_64 --with-local-prefix=/usr/local/pa20_64 --with-gnu-as --with-as=/usr/local/pa20_64/bin/as --with-gnu-ld --with-ld=/usr/local/pa20_64/bin/ld --disable-shared --disable-nls --host=hppa64-hp-hpux11.11
Thread model: single
gcc version 3.4.6

autoconf --version
autoconf (GNU Autoconf) 2.59

bison --version
bison (GNU Bison) 2.1

flex --version
flex 2.5.33

libtool --version
ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)

m4 --version
GNU M4 1.4.4

make --version
GNU Make 3.80

my machine specs:
Model 9000/800/rp3440
Operating System HP-UX 11.11
Kernel Bits 64
CPU Type PA-RISC 2.0W

could anybody please check on my specs what's wrong or if i'm missing something?
Arunvijai_4
Honored Contributor

Re: apache2/64 build

Hi,

You can download and install HP Webserver suite, which has 64 bit apache as well.

http://www.hp.com/webserver

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Michal Plandor
Occasional Advisor

Re: apache2/64 build

thx for reply

unfortunately i can not :(
i'm installing some SAP product and it requires compiled apache 1.3 or 2.0.x, no prebuilt vendor package, because it has to be installed in a specific home directory of sap product user

is there any way how to suceed or should i start looking for somebody with hp-ux ansi c compiler? :)
Arunvijai_4
Honored Contributor
Solution

Re: apache2/64 build

Hello,

You can try with HP's Evaluation version of C compiler,

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B9007AAEVAL

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Steven E. Protter
Exalted Contributor

Re: apache2/64 build

Shalom,

I believe that HP's http://software.hp.com has several 64 bit versions of apache.

Search for hpws, which stands for hp web suite

You need not compile it.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Michal Plandor
Occasional Advisor

Re: apache2/64 build

i'm sorry, but i just cannot use hp binaries
there's a warning in docu for sap product:
PLEASE DONOT USE HP APACHE BINARIES FOR SAP CONTENT SERVER. This Apache dumps Core with SAP Content server.


right now i'm just trying to compile with eval version just posted ;)
Michal Plandor
Occasional Advisor

Re: apache2/64 build

i've installed the eval version of c compiler as proposed and now i'm dealing with a new error

./configure fails with:
checking for cc... cc
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

my env:
LDFLAGS=+DA2.0W -lcl
CPPFLAGS=+DA2.0W
CFLAGS=+DA2.0W

what /opt/aCC/bin/aCC
/opt/aCC/bin/aCC:
$Revision: 92453-07 linker linker crt0.o B.11.47 051104 $
HP aC++ B3910B A.03.70
HP aC++ B3910B A.03.66 Classic Iostream Library
HP aC++ B3910B A.03.66 Language Support Library

what /opt/aCC/lbin/ctcom
/opt/aCC/lbin/ctcom:
$Revision: 92453-07 linker linker crt0.o B.11.47 051104 $
HP aC++ B3910B A.03.70
HP aC++ B3910B A.03.70 Demangler Library
HP-UX SLLIC/OPTIMIZER UX.11.01.305: 03/06/06
linkstamp 03/20/06 09:59:48
HP aC++ B3910B A.03.66 Classic Iostream Library
HP aC++ B3910B A.03.66 Language Support Library
REV: HP SESD Support Code
Ucode Code Generator - UX11.01.74 (PACG Mar 06, 2006)
High Level Optimizer - UX.11.00.060306 (UX11.01-CURRENT) [-DHLO_RELEASE +noeh -z +O2 +Oinitcheck] - 20-Mar-2006.09:02
Ucode-2 - UCODE2_UX11.01_STABLE(v2.1) (October 19, 1998)
92453-07 linker command s800.sgs libelf PA64 B.11.53 REL 060320

any suggestion please?
Arunvijai_4
Honored Contributor

Re: apache2/64 build

Hello,

Did you install license (codeword) for eval-aCC compiler ?

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Michal Plandor
Occasional Advisor

Re: apache2/64 build

nope, i didn't
i'm sorry, but how to do this?

i just downloaded some PDF with license key, but no clue where to enter it :(
Michal Plandor
Occasional Advisor

Re: apache2/64 build

i've contacted licensing.hp.com, license is now installed
build process works
i'm able to build the apache, but it won't start when completed
no error message raised, no warning, no nothing
it just doesn't work :(

do you please know how to trace what's wrong?