httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chew, Darren" <darr...@vicscouts.asn.au>
Subject Re: [users@httpd] Building httpd v2.0.47 on SunOS
Date Wed, 10 Sep 2003 00:45:25 GMT
Hi Brett,

Are you using Solaris or SunOS (4.x)? Try "CC=gcc;export CC". Hope it helps.

Darren


Quoting Brett Helbig <bchelbig@gorca.com>:

> 
> ----- Original Message -----
> From: "lee fellows" <lfellows@4lane.com>
> To: <users@httpd.apache.org>
> Sent: Tuesday, September 09, 2003 4:41 PM
> Subject: Re: [users@httpd] Building httpd v2.0.47 on SunOS
> 
> 
> >   More information is generally better then too little.  My guess would be
> >   a shell incompatibility with configure.  But the config.log should give
> more
> >   information regarding precisely what configure was attempting at the
> time
> >   of the error.  That might help to better diagnose your problem.
> 
> I looked in the config.log in the top level directory and didn't see
> anything that stood out as being wrong. I then looked at the config.log in
> the srclib/apr directory and saw the following:
> 
> configure:2616: checking for C compiler default output
> configure:2619: gcc    conftest.c  >&5
> ld: Undefined symbol
>    _main
> collect2: ld returned 2 exit status
> configure:2622: $? = 1
> configure: failed program was:
> configure:2648: error: C compiler cannot create executables
> 
> However, if I manually create the conftest.c file similar to how the
> configure script creates it, then run gcc on it, it seems to work OK.
> 
> The following is the complete transcript from trying to run configure. Maybe
> this will give some more information.
> 
> configure.lineno: loading cache /dev/null
> checking for chosen layout... Apache
> checking for working mkdir -p... yes
> checking build system type... sparc-sun-sunos4.1.4
> checking host system type... sparc-sun-sunos4.1.4
> checking target system type... sparc-sun-sunos4.1.4
> 
> Configuring Apache Portable Runtime library ...
> 
> checking for APR... reconfig
> configuring package in srclib/apr now
> /usr/local/src/httpd-2.0.47/srclib/apr/configure: /tmp/sh44656: No such file
> or
> directory
> /usr/local/src/httpd-2.0.47/srclib/apr/configure: /tmp/sh44657: No such file
> or
> directory
> /usr/local/src/httpd-2.0.47/srclib/apr/configure: /tmp/sh44658: No such file
> or
> directory
> /usr/local/src/httpd-2.0.47/srclib/apr/configure: /tmp/sh44659: No such file
> or
> directory
> /usr/local/src/httpd-2.0.47/srclib/apr/configure: /tmp/sh446510: No such
> file or
>  directory
> /usr/local/src/httpd-2.0.47/srclib/apr/configure: /tmp/sh446511: No such
> file or
>  directory
> /usr/local/src/httpd-2.0.47/srclib/apr/configure: /tmp/sh446512: No such
> file or
>  directory
> /usr/local/src/httpd-2.0.47/srclib/apr/configure: /tmp/sh446513: No such
> file or
>  directory
> configure: loading cache /dev/null
> /usr/local/src/httpd-2.0.47/srclib/apr/configure: /tmp/sh446514: No such
> file or
>  directory
> checking build system type... sparc-sun-sunos4.1.4
> checking host system type... sparc-sun-sunos4.1.4
> checking target system type... sparc-sun-sunos4.1.4
> Configuring APR library
> Platform: sparc-sun-sunos4.1.4
> checking for working mkdir -p... yes
> APR Version: 0.9.4
> checking for chosen layout... apr
> checking for gcc... gcc
> /usr/local/src/httpd-2.0.47/srclib/apr/configure: /tmp/sh446515: No such
> file or
>  directory
> checking for C compiler default output... configure: error: C compiler
> cannot cr
> eate executables
> check `config.log' for details.
> configure failed for srclib/apr
> 
> 
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 

-------------------------------------------------
This mail was sent using Scout WebMail
https://webmail.vicscouts.asn.au/


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message