httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lee Fellows <lfell...@4lane.com>
Subject Re: Apache 2.0.36 - config error - Solaris
Date Thu, 16 May 2002 20:59:34 GMT
Douglas,

  Take a look at the config.log in ${build_dir}/srclib/apr.  The error
is happening there.  The log will provide more information then the one
in the ${build_dir}.  Perhaps enough to correct the problem.

  

On Thu, 2002-05-16 at 15:34, Douglas Younger wrote:
> Hello,
>    Getting the following error when trying to configure:
> 
> # CC=gcc ./configure
> checking for chosen layout... Apache
> checking for working mkdir -p... yes
> checking build system type... sparc-sun-solaris2.8
> checking host system type... sparc-sun-solaris2.8
> checking target system type... sparc-sun-solaris2.8
> 
> Configuring Apache Portable Runtime library ...
> 
> configuring package in srclib/apr now
> checking build system type... sparc-sun-solaris2.8
> checking host system type... sparc-sun-solaris2.8
> checking target system type... sparc-sun-solaris2.8
> Configuring APR library
> Platform: sparc-sun-solaris2.8
> checking for gcc... gcc
> checking for C compiler default output... total
> checking whether the C compiler works... configure: error: cannot run C 
> compiled programs.
> If you meant to cross compile, use `--host'.
> configure failed for srclib/apr
> 
> # gcc -v
> Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.1/specs
> Configured with: ../configure --with-as=/usr/local/bin/as 
> --with-ld=/usr/local/bin/ld --enable-libgcj
> Thread model: posix
> gcc version 3.0.1
> 
> Binutils 2.11.2 installed.
> 
> I have compiled this before on another Solaris box set up in what I thought 
> was the same way, but I can't find any obvious differences as to why it 
> doesn't work on the 2nd box.
> 
> The "checking for C compiler default output... total" is puzzling since I 
> thought it should give a.out
> 
> 
> # cat config.log
> 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.53.  Invocation command line was
> 
>    $ ./configure
> 
> ## --------- ##
> ## Platform. ##
> ## --------- ##
> 
> hostname = server2
> uname -m = sun4u
> uname -r = 5.8
> uname -s = SunOS
> uname -v = Generic_108528-10
> 
> /usr/bin/uname -p = sparc
> /bin/uname -X     = System = SunOS
> Node = server22
> Release = 5.8
> KernelID = Generic_108528-10
> Machine = sun4u
> BusType = <unknown>
> Serial = <unknown>
> Users = <unknown>
> OEM# = 0
> Origin# = 1
> NumCPU = 1
> 
> /bin/arch              = sun4
> /usr/bin/arch -k       = sun4u
> /usr/convex/getsysinfo = unknown
> hostinfo               = unknown
> /bin/machine           = unknown
> /usr/bin/oslevel       = unknown
> /bin/universe          = unknown
> 
> PATH: /bin
> PATH: /usr/bin
> PATH: /usr/local/bin
> PATH: /sbin
> PATH: /usr/sbin
> PATH: /usr/local/sbin
> PATH: /usr/ccs/bin
> PATH: /usr/dt/bin
> PATH: /usr/openwin/bin
> PATH: /usr/ucb
> PATH: /opt/OBSDssh/bin
> PATH: /u01/app/oracle/product/8.1.7/bin
> 
> 
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
> 
> configure:1539: checking for chosen layout
> configure:1541: result: Apache
> configure:2321: checking for working mkdir -p
> configure:2337: result: yes
> configure:2354: checking build system type
> configure:2372: result: sparc-sun-solaris2.8
> configure:2380: checking host system type
> configure:2394: result: sparc-sun-solaris2.8
> configure:2402: checking target system type
> configure:2416: result: sparc-sun-solaris2.8
> 
> ## ---------------- ##
> ## Cache variables. ##
> ## ---------------- ##
> 
> ac_cv_build=sparc-sun-solaris2.8
> ac_cv_build_alias=sparc-sun-solaris2.8
> ac_cv_env_CC_set=set
> ac_cv_env_CC_value=gcc
> 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=sparc-sun-solaris2.8
> ac_cv_host_alias=sparc-sun-solaris2.8
> ac_cv_mkdir_p=yes
> ac_cv_target=sparc-sun-solaris2.8
> ac_cv_target_alias=sparc-sun-solaris2.8
> 
> configure: exit 1
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message