cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: curl 7.9.4 build - hp-ux 11i

From: Erick Nuwendam <erick.nuwendam_at_corobor.com>
Date: Mon, 8 Apr 2002 15:14:22 -0000

I add unistd.h in lib/file.c

#include "setup.h"

/* -- WIN32 approved -- */
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <stdlib.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h> // <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

#include <errno.h>

#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
#include <winsock.h>
#include <time.h>
#include <io.h>
#include <fcntl.h>
#else
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif

 ==> still the same error

Here is the config.log
Thanks

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.52. Invocation command line was

  $ ./configure

## ---------- ##
## Platform. ##
## ---------- ##

hostname = messira
uname -m = 9000/800
uname -r = B.11.11
uname -s = HP-UX
uname -v = U

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH =
/usr/sbin:/opt/softbench/bin:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/ans
ic/bin:/opt/nettladm/bin:/opt/fc/bin:/opt/fcms/bin:/opt/upgrade/bin:/opt/pd/
bin:/usr/bin/X11:/usr/contrib/bin/X11:/opt/aCC/bin:/opt/langtools/bin:/opt/i
make/bin:/opt/resmon/bin:/usr/sbin/stm/uut/bin/progs:/opt/hparray/bin:/opt/s
cr/bin:/opt/mx/bin:/opt/perf/bin:/opt/prm/bin:/opt/wlm/bin:/opt/OV/bin/OpC:/
opt/dynatext/bin:/opt/ignite/bin:/sbin:.:/usr/met/bin:/usr/met/adm:.

## ------------ ##
## Core tests. ##
## ------------ ##

configure:1141: PATH=".;."; conftest.sh
./configure[1142]: conftest.sh: not found.
configure:1144: $? = 127
configure:1197: checking for a BSD compatible install
configure:1246: result: /opt/imake/bin/install -c
configure:1257: checking whether build environment is sane
configure:1300: result: yes
configure:1333: checking for mawk
configure:1359: result: no
configure:1333: checking for gawk
configure:1359: result: no
configure:1333: checking for nawk
configure:1359: result: no
configure:1333: checking for awk
configure:1348: found /usr/bin/awk
configure:1356: result: awk
configure:1366: checking whether make sets ${MAKE}
configure:1386: result: yes
configure:1487: checking build system type
configure:1505: result: hppa2.0w-hp-hpux11.11
configure:1512: checking host system type
configure:1526: result: hppa2.0w-hp-hpux11.11
configure:1545: checking for style of include used by make
configure:1572: result: GNU
configure:1619: checking for gcc
configure:1634: found /opt/softbench/bin/gcc
configure:1642: result: gcc
configure:1870: checking for C compiler version
configure:1873: gcc --version </dev/null >&5
3.0.4
configure:1876: $? = 0
configure:1878: gcc -v </dev/null >&5
/usr/local/bin/gcc -v
Reading specs from /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.0.4/specs
Configured with: ./configure : (reconfigured) ./configure : (reconfigured)
./configure
Thread model: posix
gcc version 3.0.4
configure:1881: $? = 0
configure:1883: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:1886: $? = 1
configure:1906: checking for C compiler default output
configure:1909: gcc conftest.c >&5
as: warning 2: Unknown option "--traditional-format" ignored.
as: "/var/tmp/ccCcnZNc.s", line 15: error 1052: Directive name not
recognized - NSUBSPA
configure:1912: $? = 1
configure: failed program was:
#line 1890 "configure"
#include "confdefs.h"

int
main ()
{

  ;
  return 0;
}
configure:1935: error: C compiler cannot create executables

## ----------------- ##
## Cache variables. ##
## ----------------- ##

ac_cv_build=hppa2.0w-hp-hpux11.11
ac_cv_build_alias=hppa2.0w-hp-hpux11.11
ac_cv_env_CC_set=''
ac_cv_env_CC_value=''
ac_cv_env_CFLAGS_set=''
ac_cv_env_CFLAGS_value=''
ac_cv_env_CPPFLAGS_set=''
ac_cv_env_CPPFLAGS_value=''
ac_cv_env_CPP_set=''
ac_cv_env_CPP_value=''
ac_cv_env_LDFLAGS_set=''
ac_cv_env_LDFLAGS_value=''
ac_cv_env_build_alias_set=''
ac_cv_env_build_alias_value=''
ac_cv_env_host_alias_set=''
ac_cv_env_host_alias_value=''
ac_cv_env_target_alias_set=''
ac_cv_env_target_alias_value=''
ac_cv_host=hppa2.0w-hp-hpux11.11
ac_cv_host_alias=hppa2.0w-hp-hpux11.11
ac_cv_path_install='/opt/imake/bin/install -c'
ac_cv_prog_AWK=awk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
lt_cv_sys_path_separator=:

## ------------ ##
## confdefs.h. ##
## ------------ ##

#define PACKAGE "curl"
#define VERSION "7.9.5"
#define OS "hppa2.0w-hp-hpux11.11"

configure: exit 77
Received on 2002-04-08