Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Solairs 10 SPARC End User Group - with GCC Support

807557Jan 26 2007 — edited Jan 27 2007
Dear all,

I've set up a Solairs machine, using the 'End User Group' install option, to try to minimise the amount of hardrive space occupied by installation.

I've installed from "Sun Freeware" binary releases of Apache, PHP, MySql, and all works fine.

However, the reason I used binaries over compiling it myself, is that I CANNOT get GCC to compile.
And now I have to get GCC to compile, so I can add modules to PHP.
This is utterly frustrating!


--------------------------------------------------------------------------------------------
eg> When running ./configure in 'php-src'.
--------------------------------------------------------------------------------------------
#PATH=$PATH:/usr/local/bin:/usr/ccs/bin
#export PATH

# ./configure
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... egrep
checking for a sed that does not truncate output... /usr/bin/sed
checking host system type... sparc-sun-solaris2.10
checking target system type... sparc-sun-solaris2.10
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.




--------------------------------------------------------------------------------------------
(inside 'php-src/config.log')
--------------------------------------------------------------------------------------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:2174: checking for Cygwin environment
configure:2190: gcc -c conftest.c 1>&5
configure: In function `main':
configure:2186: error: `__CYGWIN32__' undeclared (first use in this function)
configure:2186: error: (Each undeclared identifier is reported only once
configure:2186: error: for each function it appears in.)
configure: failed program was:
#line 2179 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:2207: checking for mingw32 environment
configure:2219: gcc -c conftest.c 1>&5
configure: In function `main':
configure:2215: error: `__MINGW32__' undeclared (first use in this function)
configure:2215: error: (Each undeclared identifier is reported only once
configure:2215: error: for each function it appears in.)
configure: failed program was:
#line 2212 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
configure:2238: checking for egrep
configure:2253: checking for a sed that does not truncate output
configure:2390: checking host system type
configure:2411: checking target system type
configure:2510: checking for gcc
configure:2623: checking whether the C compiler (gcc ) works
configure:2639: gcc -o conftest conftest.c 1>&5
ld: fatal: file values-Xa.o: open failed: No such file or directory
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
configure: failed program was:

#line 2634 "configure"
#include "confdefs.h"

main(){return(0);}



--------------------------------------------------------------------------------------------
INSTALLED BINARIES (additional to End User Group)
--------------------------------------------------------------------------------------------
(apache dependant):

db-4.2.52.NC-sol10-sparc-local
gdbm-1.8.3-sol10-sparc-local
expat-1.95.5-sol10-sparc-local
openssl-0.9.8d-sol10-sparc-local

('we will say GCC compile' dependant):

autoconf-2.60-sol10-sparc-local
libiconv-1.11-sol10-sparc-local
automake-1.10-sol10-sparc-local
libtool-1.5-sol10-sparc-local
bison-2.3-sol10-sparc-local
libxml2-2.6.26-sol10-sparc-local
flex-2.5.33-sol10-sparc-local
make-3.81-sol10-sparc-local
gcc-3.4.6-sol10-sparc-local
SFWgbinS
glib-2.6.2-sol10-sparc-local
SUNWsprot
indent-2.2.9-sol10-sparc-local
zlib-1.2.3-sol10-sparc-local
libgcc-3.4.6-sol10-sparc-local

(mysql dependant):
ncurses-5.6-sol10-sparc-local

--------------------------------------------------------------------------------------------

I've google-ed alot, and I cant seem to find any aother information to what I already have found (which has lead me to install the above packages under "'we will say GCC compile' dependant" section)

I'm really hoping one of you can work this out, as i've being driven mad!

Thanks! I look forward to your reply!

If you need any other information, i'll be happy to provide it.

-Brody

Comments

Srini Chavali-Oracle

XE is not patch-able - there is no support available.

1 - 1
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Feb 24 2007
Added on Jan 26 2007
4 comments
437 views