httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Cutright <acutri...@borland.com>
Subject Re: Apache 2.0.39 Compile error on Solaris 8 /sparc
Date Wed, 24 Jul 2002 18:48:51 GMT
is it possible you don't have write permissions in the output directory? 
   that would account for two different compilers being unable to create 
an output file ('conftest' is what is trying to create).

the configure script is just a sh/ksh script. if you grep for the error 
listed below 'cannot create' you'll see that it's trying to run the 
compiler, and that configure is passing the compiler a number of flags. 
it's possible you're environment is configured improperly and the flags 
are interfering with compilation.

you say both compilers gave you problems. what other compiler was giving 
you problems? and are you certain that the gcc listed below by the 
configuration output is the gcc that you think it is? you can define the 
environment variable CC to be the full path to your compiler, and that 
full path will be used by the configure script:

### in a CSH environment
setenv CC /full/path/to/gcc

you should see '/full/path/to/gcc' echoed by the configure script.. put 
whatever the full path to the gcc binary is in place of '/full/path/to/'

cheers,
andy

Lists wrote:

> Platform: Solaris 8 on Sparc
> cc: gcc-2.95.3
> 
> Hi:
> 
> I am trying to get Apache 2.0.39 to compile on my Sun E3500 server. I'm striking out.
I downloaded and installed gcc-2.95.3 which I hoped would solve the compile problem but I
am getting the same error and am not sure what to look at. I have been through the FAQ and
am searching the archives etc for something, but nothing is working yet. What I get is below.

> 
> M5# ./configure prefix=/ardsley/apache2
> 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 ...
> 
> checking for APR... reconfig
> 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... configure: error: C compiler cannot create
executables
> configure failed for srclib/apr
> M5#
> 
> When I check to make sure I have the right compiler for this platform, I get this:
> 
> M5# gcc -v
> Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs
> gcc version 2.95.3 20010315 (release)
> 
> I am assuming this means I have the right version for the right platform (?)  I used
the pre-compiled version from sunfreeware.com for Solaris 8/sparc, so install was just a pgadd
-d     -Hoping to limit user error here!
> 
> Any insights would be welcomed. Cruel mocking laughter is fine as well. I am determined
to get everything onto Unix here.. just have a lot to learn!  Will post the solution when
I find it.
> Thanks!  
> 
> - Joe
> 
> 
> 
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
> 
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
> 
> www.mimesweeper.com
> **********************************************************************
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 


-- 
"all you have is this actual nowness"
--
Borland -- Enabling a new digital world where our customers have the
freedom of choice to develop, deploy, and integrate applications across
the enterprise and  the Internet. http://www.borland.com

This e-mail, and any attachments thereto, is intended only for use by the
addressee(s) named herein and may contain legally privileged and/or 
confidential
information.  If you are not the intended recipient of this e-mail, you 
are hereby
notified that any dissemination, distribution or copying of this e-mail, 
and any
attachments thereto, is strictly prohibited.  If you have received this 
e-mail in
error,
please immediately and permanently delete the original and any copy of 
any e-mail
and any printout thereof.


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


Mime
View raw message