View previous topic :: View next topic |
Author |
Message |
dipy n00b
Joined: 03 Oct 2004 Posts: 7
|
Posted: Tue Oct 19, 2004 5:59 am Post subject: OpenOffice emerge problem |
|
|
I don't know if this topic has to go here, but I didn't found in which forum to put it:
when I wan't to emerge OpenOffice I get a problem:
first it says that it doesn't compile with gcc3.4.2, so I type:
Code: | gcc-config --list-profiles
[1] i386-pc-linux-gnu-3.3.3
[2] i686-pc-linux-gnu-3.4.2
[3] i686-pc-linux-gnu-3.4.2-hardened
[4] i686-pc-linux-gnu-3.4.2-hardenednossp |
and then switch to number [1] ans source /etc/profile
Then, when I type emerge openoffice, i get the following :
Code: |
emerge openoffice
Calculating dependencies ...done!
>>> emerge (1 of 1) app-office/openoffice-1.1.3 to /
>>> md5 src_uri ;-) OOo_1.1.3-1_source.tar.gz
>>> md5 src_uri ;-) gpc231.tar.Z
* ****************************************************************
* It is important to note that OpenOffice.org is a very fragile
* build when it comes to CFLAGS. A number of flags have already
* been filtered out. If you experience difficulty merging this
* package and use agressive CFLAGS, lower the CFLAGS and try to
* merge again.
* ****************************************************************
>>> Unpacking source...
>>> Unpacking OOo_1.1.3-1_source.tar.gz to /var/tmp/portage/openoffice-1.1.3/work
>>> Unpacking gpc231.tar.Z to /var/tmp/portage/openoffice-1.1.3/work
* Applying newstlportfix.patch... [ ok ]
* Applying openoffice-java.patch... [ ok ]
* Applying gcc-instlib.patch... [ ok ]
>>> Source unpacked.
* Configuring OpenOffice.org with language support for US English (default)...
********************************************************************
* *
* OpenOffice.org build configuration. *
* *
* The configure proces checks your platform to see whether *
* you can build OpenOffice.org on it. *
* This proces checks all pre-requisites and generates a file *
* containing the necessary environment variables. *
* Source this file after configure has ended successfully. *
* *
* Any warning that is generated during the configure process *
* must be taken into account, since it can be a reason for *
* an unsuccessfull build of OpenOffice.org *
* *
********************************************************************
********************************************************************
* *
* Checking the platform pre-requisites. *
* *
********************************************************************
checking for gawk... gawk
checking for gawk... /bin/gawk
checking for sed... /bin/sed
checking the operating system... checked (Linux)
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for gcc... /usr/bin/gcc
checking the GNU gcc compiler version... checked (gcc 3.3.3)
checking the GNU make version... checked (make 3.80)
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking pam_appl.h... yes
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking try to compile exception code... Exceptions type: dwarf2
checking for STLport4 headers... using internal stlport.
checking whether to build with Java support... yes
checking the installed JDK... checked (JDK 1.4.2-rc1)
checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
!!! ERROR: app-office/openoffice-1.1.3 failed.
!!! Function src_compile, Line 316, Exitcode 1
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
|
What is the problem, and how can I install open office?
Thanks |
|
Back to top |
|
|
kallamej Administrator
Joined: 27 Jun 2003 Posts: 4975 Location: Gothenburg, Sweden
|
Posted: Tue Oct 19, 2004 7:31 am Post subject: |
|
|
Moved from Installing Gentoo. _________________ Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat |
|
Back to top |
|
|
vlado n00b
Joined: 02 Dec 2003 Posts: 36
|
Posted: Tue Oct 19, 2004 7:31 am Post subject: |
|
|
I am not sure what the problem may be (did you do source /etc/profile after gcc-config changed gcc version? Or just log out and log in again:-).
But it may be easier to emerge openoffice-bin (or openoffice-ximian-bin). Compiling openoffice takes ages... |
|
Back to top |
|
|
dipy n00b
Joined: 03 Oct 2004 Posts: 7
|
Posted: Tue Oct 19, 2004 5:43 pm Post subject: |
|
|
Yes, I did a /etc/profile after changing the gcc-config.
So, you don't know where this problem come from ?
If nobody can help me, I think I will emerge the binaries, but I prefer to recompil it if it's possible. |
|
Back to top |
|
|
Halcy0n Developer
Joined: 17 Sep 2003 Posts: 1682 Location: Freehold, NJ
|
Posted: Tue Oct 19, 2004 6:28 pm Post subject: |
|
|
Could you post the relevant part of the config.log? It should be in /var/tmp/{package}/work/{package}/config.log _________________ Mark Loeser
http://www.halcy0n.com |
|
Back to top |
|
|
dipy n00b
Joined: 03 Oct 2004 Posts: 7
|
Posted: Sat Oct 23, 2004 7:53 am Post subject: |
|
|
Here is the config.log file:
Code: | 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.59. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = laptop
uname -m = i686
uname -r = 2.6.8-gentoo-r9
uname -s = Linux
uname -v = #6 Sun Oct 17 19:34:01 CEST 2004
/usr/bin/uname -p = Intel(R) Pentium(R) M processor 1500MHz
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /bin
PATH: /sbin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /usr/local/bin
PATH: /opt/bin
PATH: /usr/i386-pc-linux-gnu/gcc-bin/3.3
PATH: /opt/ati/bin
PATH: /usr/X11R6/bin
PATH: /opt/blackdown-jdk-1.4.2/bin
PATH: /opt/blackdown-jdk-1.4.2/jre/bin
PATH: /usr/qt/3/bin
PATH: /usr/kde/3.3/sbin
PATH: /usr/kde/3.3/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1825: checking for gawk
configure:1841: found /bin/gawk
configure:1851: result: gawk
configure:1863: checking for gawk
configure:1881: found /bin/gawk
configure:1893: result: /bin/gawk
configure:1910: checking for sed
configure:1928: found /bin/sed
configure:1940: result: /bin/sed
configure:1956: checking the operating system
configure:2033: result: checked (Linux)
configure:2237: checking for gcc
configure:2253: found /usr/bin/gcc
configure:2263: result: gcc
configure:2507: checking for C compiler version
configure:2510: gcc --version </dev/null >&5
gcc (GCC) 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2513: $? = 0
configure:2515: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.3/specs
Configured with: /var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/configure --prefix=/usr --bindir=/usr/i386-pc-linux-gnu/gcc-bin/3.3 --includedir=/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.3/include --datadir=/usr/share/gcc-data/i386-pc-linux-gnu/3.3 --mandir=/usr/share/gcc-data/i386-pc-linux-gnu/3.3/man --infodir=/usr/share/gcc-data/i386-pc-linux-gnu/3.3/info --enable-shared --host=i386-pc-linux-gnu --target=i386-pc-linux-gnu --with-system-zlib --enable-languages=c --enable-threads=posix --enable-long-long --disable-checking --disable-libunwind-exceptions --enable-cstdio=stdio --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.3/include/g++-v3 --with-local-prefix=/usr/local --disable-nls --disable-multilib --enable-__cxa_atexit --enable-clocale=generic
Thread model: posix
gcc version 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6)
configure:2518: $? = 0
configure:2520: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2523: $? = 1
configure:2546: checking for C compiler default output file name
configure:2549: gcc conftest.c >&5
configure:2552: $? = 0
configure:2598: result: a.out
configure:2603: checking whether the C compiler works
configure:2609: ./a.out
configure:2612: $? = 0
configure:2629: result: yes
configure:2636: checking whether we are cross compiling
configure:2638: result: no
configure:2641: checking for suffix of executables
configure:2643: gcc -o conftest conftest.c >&5
configure:2646: $? = 0
configure:2671: result:
configure:2677: checking for suffix of object files
configure:2698: gcc -c conftest.c >&5
configure:2701: $? = 0
configure:2723: result: o
configure:2727: checking whether we are using the GNU C compiler
configure:2751: gcc -c conftest.c >&5
configure:2757: $? = 0
configure:2760: test -z || test ! -s conftest.err
configure:2763: $? = 0
configure:2766: test -s conftest.o
configure:2769: $? = 0
configure:2782: result: yes
configure:2788: checking whether gcc accepts -g
configure:2809: gcc -c -g conftest.c >&5
configure:2815: $? = 0
configure:2818: test -z || test ! -s conftest.err
configure:2821: $? = 0
configure:2824: test -s conftest.o
configure:2827: $? = 0
configure:2838: result: yes
configure:2855: checking for gcc option to accept ANSI C
configure:2925: gcc -c -g -O2 conftest.c >&5
configure:2931: $? = 0
configure:2934: test -z || test ! -s conftest.err
configure:2937: $? = 0
configure:2940: test -s conftest.o
configure:2943: $? = 0
configure:2961: result: none needed
configure:2979: gcc -c -g -O2 conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:2985: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:3123: checking for gcc
configure:3141: found /usr/bin/gcc
configure:3153: result: /usr/bin/gcc
configure:3167: checking the GNU gcc compiler version
configure:3187: result: checked (gcc 3.3.3)
configure:3192: checking the GNU make version
configure:3210: result: checked (make 3.80)
configure:3828: checking how to run the C preprocessor
configure:3863: gcc -E conftest.c
configure:3869: $? = 0
configure:3901: gcc -E conftest.c
conftest.c:9:28: ac_nonexistent.h: No such file or directory
configure:3907: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3946: result: gcc -E
configure:3970: gcc -E conftest.c
configure:3976: $? = 0
configure:4008: gcc -E conftest.c
conftest.c:9:28: ac_nonexistent.h: No such file or directory
configure:4014: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4058: checking for egrep
configure:4068: result: grep -E
configure:4073: checking for ANSI C header files
configure:4098: gcc -c -g -O2 conftest.c >&5
configure:4104: $? = 0
configure:4107: test -z || test ! -s conftest.err
configure:4110: $? = 0
configure:4113: test -s conftest.o
configure:4116: $? = 0
configure:4205: gcc -o conftest -g -O2 conftest.c >&5
configure:4208: $? = 0
configure:4210: ./conftest
configure:4213: $? = 0
configure:4228: result: yes
configure:4241: checking pam_appl.h
configure:4244: result: yes
configure:4318: checking for g++
configure:4347: result: no
configure:4318: checking for c++
configure:4334: found /usr/bin/c++
configure:4344: result: c++
configure:4360: checking for C++ compiler version
configure:4363: c++ --version </dev/null >&5
gcc-config error: Could not run/locate "c++"
configure:4366: $? = 1
configure:4368: c++ -v </dev/null >&5
gcc-config error: Could not run/locate "c++"
configure:4371: $? = 1
configure:4373: c++ -V </dev/null >&5
gcc-config error: Could not run/locate "c++"
configure:4376: $? = 1
configure:4379: checking whether we are using the GNU C++ compiler
configure:4403: c++ -c conftest.cc >&5
gcc-config error: Could not run/locate "c++"
configure:4409: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| /* end confdefs.h. */
|
| int
| main ()
| {
| #ifndef __GNUC__
| choke me
| #endif
|
| ;
| return 0;
| }
configure:4434: result: no
configure:4440: checking whether c++ accepts -g
configure:4461: c++ -c -g conftest.cc >&5
gcc-config error: Could not run/locate "c++"
configure:4467: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:4490: result: no
configure:4532: c++ -c conftest.cc >&5
gcc-config error: Could not run/locate "c++"
configure:4538: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| /* end confdefs.h. */
|
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4532: c++ -c conftest.cc >&5
gcc-config error: Could not run/locate "c++"
configure:4538: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| extern "C" void std::exit (int) throw (); using std::exit;
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4532: c++ -c conftest.cc >&5
gcc-config error: Could not run/locate "c++"
configure:4538: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| extern "C" void std::exit (int); using std::exit;
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4532: c++ -c conftest.cc >&5
gcc-config error: Could not run/locate "c++"
configure:4538: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| extern "C" void exit (int) throw ();
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4532: c++ -c conftest.cc >&5
gcc-config error: Could not run/locate "c++"
configure:4538: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| extern "C" void exit (int);
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4532: c++ -c conftest.cc >&5
gcc-config error: Could not run/locate "c++"
configure:4538: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| void exit (int);
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4690: checking try to compile exception code
configure:4724: c++ -o conftest conftest.cc >&5
gcc-config error: Could not run/locate "c++"
configure:4730: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #include <iostream>
|
| extern "C" void __sjthrow(void) __attribute__ ((__noreturn__));
|
|
| int
| main ()
| {
| __sjthrow()
| ;
| return 0;
| }
configure:4757: result: Exceptions type: dwarf2
configure:5158: checking for STLport4 headers
configure:5257: result: using internal stlport.
configure:5267: checking whether to build with Java support
configure:5270: result: yes
configure:5285: checking for javac
configure:5315: result: /opt/blackdown-jdk-1.4.2/bin/javac
configure:5324: checking for java
configure:5342: found /opt/blackdown-jdk-1.4.2/bin/java
configure:5354: result: /opt/blackdown-jdk-1.4.2/bin/java
configure:5380: checking the installed JDK
configure:5420: result: checked (JDK 1.4.2)
configure:5509: checking how to run the C preprocessor
configure:5627: result: gcc -E
configure:5651: gcc -E conftest.c
configure:5657: $? = 0
configure:5689: gcc -E conftest.c
conftest.c:13:28: ac_nonexistent.h: No such file or directory
configure:5695: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:5745: checking how to run the C++ preprocessor
configure:5776: c++ -E conftest.cc
gcc-config error: Could not run/locate "c++"
configure:5782: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:5776: c++ -E conftest.cc
gcc-config error: Could not run/locate "c++"
configure:5782: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:5776: /lib/cpp conftest.cc
cpp: conftest.cc: C++ compiler not installed on this system
configure:5782: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:5776: /lib/cpp conftest.cc
cpp: conftest.cc: C++ compiler not installed on this system
configure:5782: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:5859: result: /lib/cpp
configure:5883: /lib/cpp conftest.cc
cpp: conftest.cc: C++ compiler not installed on this system
configure:5889: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:5883: /lib/cpp conftest.cc
cpp: conftest.cc: C++ compiler not installed on this system
configure:5889: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:5958: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=no
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_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_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_exeext=
ac_cv_header_stdc=yes
ac_cv_objext=o
ac_cv_path_AWK=/bin/gawk
ac_cv_path_COMPATH=/usr/bin/gcc
ac_cv_path_JAVA=/opt/blackdown-jdk-1.4.2/bin/java
ac_cv_path_JAVAC=/opt/blackdown-jdk-1.4.2/bin/javac
ac_cv_path_SED=/bin/sed
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CXXCPP=/lib/cpp
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=c++
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=no
ac_cv_prog_egrep='grep -E'
## ----------------- ##
## Output variables. ##
## ----------------- ##
ANT=''
ANT_HOME=''
ASM_HOME=''
AWK='/bin/gawk'
BISON=''
BUILD_DMAKE=''
CC='gcc'
CFLAGS='-g -O2'
COMEX=''
COMPATH='/usr/bin'
CORECLASS='rt.jar'
CPP='gcc -E'
CPPFLAGS=''
CXX='c++'
CXXCPP='/lib/cpp'
CXXFLAGS=''
CYGWIN_PATH=''
DEFS=''
DMAKE=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
ENABLE_CRASHDUMP=''
ENABLE_DEBUG='FALSE'
ENABLE_RPATH='yes'
ENABLE_STATIC_GTK=''
ENABLE_SYMBOLS=''
EXCEPTIONS='dwarf2'
EXEEXT=''
FLEX=''
FREETYPE_CFLAGS=''
FREETYPE_CONFIG=''
FREETYPE_LIBS=''
GCC_HOME=''
GNUCP=''
GNUMAKE='make'
GNUPATCH=''
GTK_CFLAGS=''
GTK_LIBS=''
GXX_INCLUDE_PATH='NO_GXX_INCLUDE'
JAVA='/opt/blackdown-jdk-1.4.2/bin/java'
JAVAC='/opt/blackdown-jdk-1.4.2/bin/javac'
JAVA_HOME='/opt/blackdown-jdk-1.4.2'
JDK=''
LDFLAGS=''
LIBART_CFLAGS=''
LIBART_LIBS=''
LIBOBJS=''
LIBS=''
LIBSN_CFLAGS=''
LIBSN_LIBS=''
LOCAL_SOLENV=''
LOCAL_SOLVER=''
LTLIBOBJS=''
MIDL_PATH=''
ML_EXE=''
MSPDB_PATH=''
NAS_INCLUDES=''
NEON_CFLAGS=''
NEON_CONFIG=''
NEON_LIBS=''
OBJEXT='o'
OSVERSION=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATCH=''
PATH_SEPARATOR=':'
PERL=''
PKG_CONFIG=''
PSDK_HOME=''
PTHREAD_CFLAGS=''
PTHREAD_LIBS=''
SCPDEFS=''
SED='/bin/sed'
SHELL='/bin/sh'
SOLAR_JAVA='TRUE'
SOURCEVERSION=''
STLPORT4='NO_STLPORT4'
SYSTEM_CURL=''
SYSTEM_FREETYPE=''
SYSTEM_MSPACK=''
SYSTEM_NAS=''
SYSTEM_NEON=''
SYSTEM_ZLIB=''
TCSH=''
UPD=''
USE_GCC3='TRUE'
USE_SHELL='tcsh'
USE_XINERAMA=''
VC_STANDARD=''
WDEVENV_PATH=''
WITH_DICT=''
WITH_FONTOOO=''
WITH_FONTS=''
WITH_GPC=''
WITH_LANG=''
WITH_LIBART=''
WITH_LIBSN=''
WITH_MINGWIN='0'
WITH_MOZILLA=''
XINC=''
XINERAMA_LINK=''
XLIB=''
XMKMF=''
XSLTPROC='NO_XSLTPROC'
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ZIP=''
ZIP_HOME=''
_cc=''
ac_ct_CC='gcc'
ac_ct_CXX='c++'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define STDC_HEADERS 1
#endif
#ifdef __cplusplus
void exit (int);
configure: exit 1
|
it seems that it has a problem with the locate c++, however, if I type locate "c++" in the shell, it seems to work.
Any idea ? |
|
Back to top |
|
|
evilshenaniganz Tux's lil' helper
Joined: 18 Dec 2003 Posts: 107 Location: /dev/random
|
Posted: Sun Oct 24, 2004 3:30 pm Post subject: |
|
|
I am having the exact same problem building OpenOffice.org 1.1.3. I switched to gcc-config to "i386-pc-linux-gnu-3.3.3" and was sure to execute Code: | source /etc/profile | and it's failing at the exact same place. Here is my config file as well:
Code: |
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.59. Invocation command line was
$ ./configure --with-jdk-home=/opt/blackdown-jdk-1.4.2 --with-system-curl --enable-libart --with-lang=ENUS,ENUS --enable-libsn --without-fonts --with-system-zlib --with-system-freetype
## --------- ##
## Platform. ##
## --------- ##
hostname = gandalf
uname -m = i686
uname -r = 2.6.8-gentoo-r10
uname -s = Linux
uname -v = #1 Mon Oct 18 02:06:32 EST 2004
/usr/bin/uname -p = AMD Athlon(tm) XP 2600+
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/lib/portage/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/local/bin
PATH: /opt/bin
PATH: /usr/i386-pc-linux-gnu/gcc-bin/3.3
PATH: /opt/intel/compiler80/bin
PATH: /usr/X11R6/bin
PATH: /opt/blackdown-jdk-1.4.2/bin
PATH: /opt/blackdown-jdk-1.4.2/jre/bin
PATH: /usr/qt/3/bin
PATH: /usr/kde/3.3/sbin
PATH: /usr/kde/3.3/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1825: checking for gawk
configure:1841: found /bin/gawk
configure:1851: result: gawk
configure:1863: checking for gawk
configure:1881: found /bin/gawk
configure:1893: result: /bin/gawk
configure:1910: checking for sed
configure:1928: found /bin/sed
configure:1940: result: /bin/sed
configure:1956: checking the operating system
configure:2033: result: checked (Linux)
configure:2237: checking for gcc
configure:2263: result: gcc
configure:2507: checking for C compiler version
configure:2510: gcc --version </dev/null >&5
gcc (GCC) 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2513: $? = 0
configure:2515: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.3/specs
Configured with: /var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/configure --prefix=/usr --bindir=/usr/i386-pc-linux-gnu/gcc-bin/3.3 --includedir=/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.3/include --datadir=/usr/share/gcc-data/i386-pc-linux-gnu/3.3 --mandir=/usr/share/gcc-data/i386-pc-linux-gnu/3.3/man --infodir=/usr/share/gcc-data/i386-pc-linux-gnu/3.3/info --enable-shared --host=i386-pc-linux-gnu --target=i386-pc-linux-gnu --with-system-zlib --enable-languages=c --enable-threads=posix --enable-long-long --disable-checking --disable-libunwind-exceptions --enable-cstdio=stdio --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.3/include/g++-v3 --with-local-prefix=/usr/local --disable-nls --disable-multilib --enable-__cxa_atexit --enable-clocale=generic
Thread model: posix
gcc version 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6)
configure:2518: $? = 0
configure:2520: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2523: $? = 1
configure:2546: checking for C compiler default output file name
configure:2549: gcc -march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow -O2 -pipe -fno-stack-protector -fno-strict-aliasing conftest.c >&5
configure:2552: $? = 0
configure:2598: result: a.out
configure:2603: checking whether the C compiler works
configure:2609: ./a.out
configure:2612: $? = 0
configure:2629: result: yes
configure:2636: checking whether we are cross compiling
configure:2638: result: no
configure:2641: checking for suffix of executables
configure:2643: gcc -o conftest -march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow -O2 -pipe -fno-stack-protector -fno-strict-aliasing conftest.c >&5
configure:2646: $? = 0
configure:2671: result:
configure:2677: checking for suffix of object files
configure:2698: gcc -c -march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow -O2 -pipe -fno-stack-protector -fno-strict-aliasing conftest.c >&5
configure:2701: $? = 0
configure:2723: result: o
configure:2727: checking whether we are using the GNU C compiler
configure:2751: gcc -c -march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow -O2 -pipe -fno-stack-protector -fno-strict-aliasing conftest.c >&5
configure:2757: $? = 0
configure:2760: test -z || test ! -s conftest.err
configure:2763: $? = 0
configure:2766: test -s conftest.o
configure:2769: $? = 0
configure:2782: result: yes
configure:2788: checking whether gcc accepts -g
configure:2809: gcc -c -g conftest.c >&5
configure:2815: $? = 0
configure:2818: test -z || test ! -s conftest.err
configure:2821: $? = 0
configure:2824: test -s conftest.o
configure:2827: $? = 0
configure:2838: result: yes
configure:2855: checking for gcc option to accept ANSI C
configure:2925: gcc -c -march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow -O2 -pipe -fno-stack-protector -fno-strict-aliasing conftest.c >&5
configure:2931: $? = 0
configure:2934: test -z || test ! -s conftest.err
configure:2937: $? = 0
configure:2940: test -s conftest.o
configure:2943: $? = 0
configure:2961: result: none needed
configure:2979: gcc -c -march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow -O2 -pipe -fno-stack-protector -fno-strict-aliasing conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:2985: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:3123: checking for gcc
configure:3141: found /usr/bin/gcc
configure:3153: result: /usr/bin/gcc
configure:3167: checking the GNU gcc compiler version
configure:3187: result: checked (gcc 3.3.3)
configure:3192: checking the GNU make version
configure:3210: result: checked (make 3.80)
configure:3828: checking how to run the C preprocessor
configure:3863: gcc -E conftest.c
configure:3869: $? = 0
configure:3901: gcc -E conftest.c
conftest.c:9:28: ac_nonexistent.h: No such file or directory
configure:3907: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3946: result: gcc -E
configure:3970: gcc -E conftest.c
configure:3976: $? = 0
configure:4008: gcc -E conftest.c
conftest.c:9:28: ac_nonexistent.h: No such file or directory
configure:4014: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4058: checking for egrep
configure:4068: result: grep -E
configure:4073: checking for ANSI C header files
configure:4098: gcc -c -march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow -O2 -pipe -fno-stack-protector -fno-strict-aliasing conftest.c >&5
configure:4104: $? = 0
configure:4107: test -z || test ! -s conftest.err
configure:4110: $? = 0
configure:4113: test -s conftest.o
configure:4116: $? = 0
configure:4205: gcc -o conftest -march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow -O2 -pipe -fno-stack-protector -fno-strict-aliasing conftest.c >&5
configure:4208: $? = 0
configure:4210: ./conftest
configure:4213: $? = 0
configure:4228: result: yes
configure:4241: checking pam_appl.h
configure:4244: result: yes
configure:4360: checking for C++ compiler version
configure:4363: g++ --version </dev/null >&5
./configure: line 4364: g++: command not found
configure:4366: $? = 127
configure:4368: g++ -v </dev/null >&5
./configure: line 4369: g++: command not found
configure:4371: $? = 127
configure:4373: g++ -V </dev/null >&5
./configure: line 4374: g++: command not found
configure:4376: $? = 127
configure:4379: checking whether we are using the GNU C++ compiler
configure:4403: g++ -c -march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow -O2 -pipe -fno-strict-aliasing -fno-for-scope -fpermissive -fno-rtti conftest.cc >&5
./configure: line 4404: g++: command not found
configure:4409: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| /* end confdefs.h. */
|
| int
| main ()
| {
| #ifndef __GNUC__
| choke me
| #endif
|
| ;
| return 0;
| }
configure:4434: result: no
configure:4440: checking whether g++ accepts -g
configure:4461: g++ -c -g conftest.cc >&5
./configure: line 4462: g++: command not found
configure:4467: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:4490: result: no
configure:4532: g++ -c -march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow -O2 -pipe -fno-strict-aliasing -fno-for-scope -fpermissive -fno-rtti conftest.cc >&5
./configure: line 4533: g++: command not found
configure:4538: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| /* end confdefs.h. */
|
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4532: g++ -c -march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow -O2 -pipe -fno-strict-aliasing -fno-for-scope -fpermissive -fno-rtti conftest.cc >&5
./configure: line 4533: g++: command not found
configure:4538: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| extern "C" void std::exit (int) throw (); using std::exit;
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4532: g++ -c -march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow -O2 -pipe -fno-strict-aliasing -fno-for-scope -fpermissive -fno-rtti conftest.cc >&5
./configure: line 4533: g++: command not found
configure:4538: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| extern "C" void std::exit (int); using std::exit;
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4532: g++ -c -march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow -O2 -pipe -fno-strict-aliasing -fno-for-scope -fpermissive -fno-rtti conftest.cc >&5
./configure: line 4533: g++: command not found
configure:4538: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| extern "C" void exit (int) throw ();
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4532: g++ -c -march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow -O2 -pipe -fno-strict-aliasing -fno-for-scope -fpermissive -fno-rtti conftest.cc >&5
./configure: line 4533: g++: command not found
configure:4538: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| extern "C" void exit (int);
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4532: g++ -c -march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow -O2 -pipe -fno-strict-aliasing -fno-for-scope -fpermissive -fno-rtti conftest.cc >&5
./configure: line 4533: g++: command not found
configure:4538: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| /* end confdefs.h. */
| void exit (int);
| #include <stdlib.h>
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
configure:4690: checking try to compile exception code
configure:4724: g++ -o conftest -march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow -O2 -pipe -fno-strict-aliasing -fno-for-scope -fpermissive -fno-rtti conftest.cc >&5
./configure: line 4725: g++: command not found
configure:4730: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #include <iostream>
|
| extern "C" void __sjthrow(void) __attribute__ ((__noreturn__));
|
|
| int
| main ()
| {
| __sjthrow()
| ;
| return 0;
| }
configure:4757: result: Exceptions type: dwarf2
configure:5158: checking for STLport4 headers
configure:5257: result: using internal stlport.
configure:5267: checking whether to build with Java support
configure:5270: result: yes
configure:5380: checking the installed JDK
configure:5420: result: checked (JDK 1.4.2)
configure:5509: checking how to run the C preprocessor
configure:5627: result: gcc -E
configure:5651: gcc -E conftest.c
configure:5657: $? = 0
configure:5689: gcc -E conftest.c
conftest.c:13:28: ac_nonexistent.h: No such file or directory
configure:5695: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:5745: checking how to run the C++ preprocessor
configure:5776: g++ -E conftest.cc
./configure: line 5777: g++: command not found
configure:5782: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:5776: g++ -E conftest.cc
./configure: line 5777: g++: command not found
configure:5782: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:5776: /lib/cpp conftest.cc
cpp: conftest.cc: C++ compiler not installed on this system
configure:5782: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:5776: /lib/cpp conftest.cc
cpp: conftest.cc: C++ compiler not installed on this system
configure:5782: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:5859: result: /lib/cpp
configure:5883: /lib/cpp conftest.cc
cpp: conftest.cc: C++ compiler not installed on this system
configure:5889: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:5883: /lib/cpp conftest.cc
cpp: conftest.cc: C++ compiler not installed on this system
configure:5889: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #ifdef __cplusplus
| void exit (int);
| #endif
| /* end confdefs.h. */
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| Syntax error
configure:5958: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=no
ac_cv_env_CC_set=set
ac_cv_env_CC_value=gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow -O2 -pipe -fno-stack-protector -fno-strict-aliasing'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow -O2 -pipe -fno-strict-aliasing -fno-for-scope -fpermissive -fno-rtti'
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=g++
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_exeext=
ac_cv_header_stdc=yes
ac_cv_objext=o
ac_cv_path_AWK=/bin/gawk
ac_cv_path_COMPATH=/usr/bin/gcc
ac_cv_path_SED=/bin/sed
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CXXCPP=/lib/cpp
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=no
ac_cv_prog_egrep='grep -E'
## ----------------- ##
## Output variables. ##
## ----------------- ##
ANT=''
ANT_HOME='/usr/share/ant-core'
ASM_HOME=''
AWK='/bin/gawk'
BISON=''
BUILD_DMAKE=''
CC='gcc'
CFLAGS='-march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow -O2 -pipe -fno-stack-protector -fno-strict-aliasing'
COMEX=''
COMPATH='/usr/bin'
CORECLASS='rt.jar'
CPP='gcc -E'
CPPFLAGS=''
CXX='g++'
CXXCPP='/lib/cpp'
CXXFLAGS='-march=athlon-xp -mfpmath=sse -mmmx -msse -m3dnow -O2 -pipe -fno-strict-aliasing -fno-for-scope -fpermissive -fno-rtti'
CYGWIN_PATH=''
DEFS=''
DMAKE=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
ENABLE_CRASHDUMP=''
ENABLE_DEBUG='FALSE'
ENABLE_RPATH='yes'
ENABLE_STATIC_GTK=''
ENABLE_SYMBOLS=''
EXCEPTIONS='dwarf2'
EXEEXT=''
FLEX=''
FREETYPE_CFLAGS=''
FREETYPE_CONFIG=''
FREETYPE_LIBS=''
GCC_HOME=''
GNUCP=''
GNUMAKE='make'
GNUPATCH=''
GTK_CFLAGS=''
GTK_LIBS=''
GXX_INCLUDE_PATH='NO_GXX_INCLUDE'
JAVA='/opt/blackdown-jdk-1.4.2/bin/java'
JAVAC='/opt/blackdown-jdk-1.4.2/bin/javac'
JAVA_HOME='/opt/blackdown-jdk-1.4.2'
JDK=''
LDFLAGS=''
LIBART_CFLAGS=''
LIBART_LIBS=''
LIBOBJS=''
LIBS=''
LIBSN_CFLAGS=''
LIBSN_LIBS=''
LOCAL_SOLENV=''
LOCAL_SOLVER=''
LTLIBOBJS=''
MIDL_PATH=''
ML_EXE=''
MSPDB_PATH=''
NAS_INCLUDES=''
NEON_CFLAGS=''
NEON_CONFIG=''
NEON_LIBS=''
OBJEXT='o'
OSVERSION=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATCH=''
PATH_SEPARATOR=':'
PERL=''
PKG_CONFIG=''
PSDK_HOME=''
PTHREAD_CFLAGS=''
PTHREAD_LIBS=''
SCPDEFS=''
SED='/bin/sed'
SHELL='/bin/sh'
SOLAR_JAVA='TRUE'
SOURCEVERSION=''
STLPORT4='NO_STLPORT4'
SYSTEM_CURL=''
SYSTEM_FREETYPE=''
SYSTEM_MSPACK=''
SYSTEM_NAS=''
SYSTEM_NEON=''
SYSTEM_ZLIB=''
TCSH=''
UPD=''
USE_GCC3='TRUE'
USE_SHELL='tcsh'
USE_XINERAMA=''
VC_STANDARD=''
WDEVENV_PATH=''
WITH_DICT=''
WITH_FONTOOO=''
WITH_FONTS=''
WITH_GPC=''
WITH_LANG=''
WITH_LIBART=''
WITH_LIBSN=''
WITH_MINGWIN='0'
WITH_MOZILLA=''
XINC=''
XINERAMA_LINK=''
XLIB=''
XMKMF=''
XSLTPROC='NO_XSLTPROC'
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ZIP=''
ZIP_HOME=''
_cc=''
ac_ct_CC='gcc'
ac_ct_CXX=''
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define STDC_HEADERS 1
#endif
#ifdef __cplusplus
void exit (int);
configure: exit 1
|
Any ideas? |
|
Back to top |
|
|
DaveAtFraud n00b
Joined: 20 Jun 2004 Posts: 13 Location: Parker, Colorado USA
|
Posted: Sun Oct 24, 2004 10:14 pm Post subject: |
|
|
Could be the ebuild file is slightly broken. It appears that the function pkg_setup does a check for which version of gcc is to be used and barfs if it isn't strictly gcc 3.2 or gcc 3.3. Later, in function oo_setup, the ebuild script "does the right thing" and uses gcc-config to set the right personality. SIGH.
I changed the gcc version check in pkg_config to allow gcc 3.4 which lets me get a litlle further but the build dies on a make error (Error 65280). Still researching that one.
Update: According to a few posts on one of the openoffice forums, openoffice doesn't like to build with a 2.6.x kernel. Grrrr. _________________ When buying and selling are controlled by legislation, the first things bought and sold are the legislators.
-- P.J. O'Rourke
Last edited by DaveAtFraud on Sun Oct 24, 2004 10:37 pm; edited 1 time in total |
|
Back to top |
|
|
mirko_3 l33t
Joined: 02 Nov 2003 Posts: 605 Location: Birreria
|
Posted: Sun Oct 24, 2004 10:18 pm Post subject: |
|
|
Check for some gcc-3.4 specific CFLAGS in make.conf... _________________ Non fa male! Non fa male! |
|
Back to top |
|
|
localghost Apprentice
Joined: 28 Oct 2004 Posts: 185 Location: Sint-Niklaas, Belgium
|
Posted: Wed Nov 03, 2004 8:08 pm Post subject: |
|
|
Did you guys finally find a solution for this one? I still have this error Code: | checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details. |
|
|
Back to top |
|
|
zortech n00b
Joined: 16 Apr 2004 Posts: 40 Location: In front of my laptop
|
Posted: Thu Nov 04, 2004 2:20 am Post subject: |
|
|
Does anybody know if there is a possibility to compile OOo with gcc-3.4 ? |
|
Back to top |
|
|
localghost Apprentice
Joined: 28 Oct 2004 Posts: 185 Location: Sint-Niklaas, Belgium
|
Posted: Thu Nov 04, 2004 8:20 am Post subject: |
|
|
zortech wrote: | Does anybody know if there is a possibility to compile OOo with gcc-3.4 ? |
Indeed, good question.
All my other software is compiled with gcc-3.4, so wouldn't it raise a problem when I do an emerge world? |
|
Back to top |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
|
Back to top |
|
|
|