1827594 Members
2833 Online
109965 Solutions
New Discussion

Apache 2.0.58 on hp-ux

 
SOLVED
Go to solution
Maxim Rozin
Frequent Advisor

Apache 2.0.58 on hp-ux

Hello people,

I'm trying to build Apache 2.0.58 on hp-ux and have a problem.

labm1hp2 ~#uname -a
HP-UX labm1hp2 B.11.23 U ia64 0817728773 unlimited-user license

configure works fine.
make ends with the following error:
...
Making all in modules
Making all in aaa
Making all in filters
Making all in loggers
Making all in metadata
Making all in http
Making all in generators
Making all in mappers
Making all in support
/tmp/httpd-2.0.58/srclib/apr/libtool --silent --mode=link gcc -g -O2 -pthread -DHPUX11 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED -DAP_HAVE_DESIGNATED_INITIALIZER -I/tmp/httpd-2.0.58/srclib/apr/include -I/tmp/httpd-2.0.58/srclib/apr-util/include -I/tmp/httpd-2.0.58/srclib/apr-util/xml/expat/lib -I. -I/tmp/httpd-2.0.58/os/unix -I/tmp/httpd-2.0.58/server/mpm/prefork -I/tmp/httpd-2.0.58/modules/http -I/tmp/httpd-2.0.58/modules/filters -I/tmp/httpd-2.0.58/modules/proxy -I/tmp/httpd-2.0.58/include -I/tmp/httpd-2.0.58/modules/generators -I/tmp/httpd-2.0.58/modules/dav/main -export-dynamic -L/tmp/httpd-2.0.58/srclib/apr-util/xml/expat/lib -o htpasswd htpasswd.lo /tmp/httpd-2.0.58/srclib/pcre/libpcre.la /tmp/httpd-2.0.58/srclib/apr-util/libaprutil-0.la /tmp/httpd-2.0.58/srclib/apr-util/xml/expat/lib/libexpat.la /tmp/httpd-2.0.58/srclib/apr/libapr-0.la -lm -lnsl -lpthread -ldld
ld: Unknown input file type: "/tmp/httpd-2.0.58/srclib/apr/.libs/libapr-0.so"
Fatal error.
collect2: ld returned 1 exit status
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

Any idea what's the problem?

10x,
Max.
3 REPLIES 3
Steven E. Protter
Exalted Contributor
Solution

Re: Apache 2.0.58 on hp-ux

Shalom Max,

It would appear the contents of the file:

/tmp/httpd-2.0.58/srclib/apr/.libs/libapr-0.so

Are not wht the compiler needs and epxects. This normally happens when a download fails or the untar process didn't finish due to space concerns and such.

Maybe /tmp was full when you expanded the tarball.

I'm wondering why you need to compile it. http://software.hp.com search for hpws when the site is working again.

If this version of apache is not available now, I'm sure it soon will be.

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
Peter Godron
Honored Contributor

Re: Apache 2.0.58 on hp-ux

Maxim Rozin
Frequent Advisor

Re: Apache 2.0.58 on hp-ux

Thanks/Toda guys for your reply.

I copied the downloaded source tar.gz file to another filesystem, extracted it, configure, make, and it worked fine.

May be it was a space on /tmp problem or a corrupted file.

Anyway, now it works.
Have a nice day,
Max.