cURL / Mailing Lists / curl-library / Single Mail

curl-library

Compiling curl on HPUX 11

From: Cadime <ricardo-v-cadime_at_ptinovacao.pt>
Date: Wed, 28 Nov 2001 16:12:22 -0000

Hello!

I am trying to compile the last curl version on a HP-UX 11 workstation using
aCC but I have little experience on that.

Seems like few people are using/compiling in this environment...
Thus, I hope I can compile the tool and contribute to its portability
posting my questions

Running CC=aCC ./configure returns the following output:
(...)
checking for netdb.h... yes
checking for sys/select.h... no
checking for sys/socket.h... yes
(...)
checking return type of signal handlers... void
checking for socket... yes
checking for select... no
checking for strdup... yes
checking for strstr... yes
(...)
checking for utime... yes
configure: error: Can't work without an existing select() function

Since my select function is defined on <sys/time.h>, seems something should
be done...

************************************************************
However, if I run CC=cc ./configure it runs successfully
Then I try to MAKE and...

automake: not found.
WARNING: `automake' is missing on your system. You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.in'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
        cd ../.. && \
          CONFIG_HEADERS= CONFIG_LINKS= \
          CONFIG_FILES=docs/examples/Makefile /bin/sh ./config.status
config.status: creating docs/examples/Makefile
done
        cd .. && \
          CONFIG_HEADERS= CONFIG_LINKS= \
          CONFIG_FILES=docs/Makefile /bin/sh ./config.status
No suffix list.
        cd . && /bin/sh /home/ricardo/sequira/curl-7.9.1/missing --run
autoheader
/home/ricardo/sequira/curl-7.9.1/missing[46]: autoheader: not found.
WARNING: `autoheader' is missing on your system. You should only need it if
         you modified `acconfig.h' or `configure.in'. You might want
         to install the `Autoconf' and `GNU m4' packages. Grab them
         from any GNU archive site.
        cd . \
          && CONFIG_FILES= CONFIG_HEADERS=config.h \
             /bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
        make all-recursive
No suffix list.
Making all in docs
Making all in examples
No suffix list.
done
Making all in lib
        /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I..
-I../src -I../include -g
 -c -o ftp.lo `test -f ftp.c || echo './'`ftp.c
rm -f .libs/ftp.lo
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I../include -g -c ftp.c +Z -DPIC
-o .libs/ftp.lo
cc: "ftp.c", line 142: warning 604: Pointers are not assignment-compatible.
cc: "ftp.c", line 142: warning 563: Argument #3 is not the correct type.
cc: "ftp.c", line 143: warning 604: Pointers are not assignment-compatible.
cc: "ftp.c", line 143: warning 563: Argument #3 is not the correct type.
cc: "ftp.c", line 1172: warning 604: Pointers are not assignment-compatible.
cc: "ftp.c", line 1172: warning 563: Argument #3 is not the correct type.
cc: "ftp.c", line 1510: warning 604: Pointers are not assignment-compatible.
cc: "ftp.c", line 1510: warning 563: Argument #3 is not the correct type.
cc: "ftp.c", line 1682: warning 604: Pointers are not assignment-compatible.
cc: "ftp.c", line 1682: warning 563: Argument #3 is not the correct type.
cc: "ftp.c", line 1918: error 1584: Inconsistent type declaration:
"Curl_ftpsendf".
*** Error exit code 1

Is it extremely needed that I have automake? I didn't modified any file!

Thanks for any help

Ricardo
Received on 2001-11-28