Re: libapreq2-2.12 +gmake on HP UX

2009-06-09 Thread mmm zzz
Hi,

I'm not sure it is really supported despite that in the libtool script HP UX
was mentioned.

I tried to compile it with gcc in HP itanium instead of the CC but without
succeed and I get this error.
bash-4.0# make
No suffix list.
Making all in .
No suffix list.
Making all in include
No suffix list.
make  all-am
No suffix list.
Making all in library
make  all-am
/bin/sh ../libtool --mode=link gcc  -g -O2-o libapreq2.la -rpath
/install/PARISCapache2.2/lib -version-info 10:1:7
/install/PARISCapache2.2/lib/libapr-1.la /install/PARISCapache2.2/lib/
libaprutil-1.la  -lrt -lm  -lpthread -ldld -lexpat util.lo version.lo
cookie.lo param.lo  parser.lo parser_urlencoded.lo parser_header.lo
parser_multipart.lo module.lo module_custom.lo module_cgi.lo  error.lo
gcc -shared -Wl,+h -Wl,libapreq2.so.10 -Wl,+nodefaultrpath -o
.libs/libapreq2.so.10.1  .libs/util.o .libs/version.o .libs/cookie.o
.libs/param.o .libs/parser.o .libs/parser_urlencoded.o .libs/parser_header.o
.libs/parser_multipart.o .libs/module.o .libs/module_custom.o
.libs/module_cgi.o .libs/error.o  +b /install/PARISCapache2.2/lib
/install/PARISCapache2.2/lib/libapr-1.so
/install/PARISCapache2.2/lib/libaprutil-1.so -L/install/PARISCapache2.2/lib
-lrt -lm -lpthread -ldld /install/PARISCapache2.2/lib/libexpat.so -lc
gcc: +b: No such file or directory
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

Thanks for your help.

2009/6/8, Philip M. Gollucci pgollu...@p6m7g8.com:

 mmm zzz wrote:
  Hi all,
 
  When making the libapreq2-2.12 with gmake on an HP UX PA-RISC I got this
  error :
 
  cc: /udir/libapreq2-2.12/glue/perl/xsbuilder/apreq_xs_postperl.h, line
 79:
  error 1521: Incorrect initialization.

  cc: Apache2.c, line 73: warning 527: Integral value implicitly
 converted
  to pointer in assignment.


 Do we support this plaform? I don't recall.  Whats on lines those lines
 79, 1521, 73 ?





Re: libapreq2-2.12 +gmake on HP UX

2009-06-09 Thread Bojan Smojver
On Tue, 2009-06-09 at 09:19 +0100, mmm zzz wrote:
 gcc: +b: No such file or directory

From memory, +b may be an option used by HP-UX specific linker, so maybe
GCC gets confused and sees it as a file. Don't have a box to try any
more... Maybe you need to give it -Wl,+b instead?

-- 
Bojan



Re: libapreq2-2.12 +gmake on HP UX

2009-06-09 Thread Bojan Smojver
On Tue, 2009-06-09 at 10:44 +0100, mmm zzz wrote:
 I'm just a newbie in the compilation and don't know a lot in the
 compilers options and can't deside what to add or to remove to be able
 to finish the compilation in HP with GCC or CC. 

I'm guessing you'll need to have a good GCC installed (when I was
working with the platform, one from HP gave me good results). Also,
you'll need to have gmake. I also found that unless the machines were
patched properly (i.e. brought up to date), many things would fail.

Unfortunately, I don't have access to that platform any more, so I
cannot really test.

-- 
Bojan



Re: libapreq2-2.12 +gmake on HP UX

2009-06-07 Thread Philip M. Gollucci
mmm zzz wrote:
 Hi all,
 
 When making the libapreq2-2.12 with gmake on an HP UX PA-RISC I got this
 error :
 
 cc: /udir/libapreq2-2.12/glue/perl/xsbuilder/apreq_xs_postperl.h, line 79:
 error 1521: Incorrect initialization.

 cc: Apache2.c, line 73: warning 527: Integral value implicitly converted
 to pointer in assignment.

Do we support this plaform? I don't recall.  Whats on lines those lines
79, 1521, 73 ?