Phalcon installation issue on PHP 5.6 - phalcon

I struggling install Phalcon for 2 days but still fail. my server has lasted Direct Admin installed.
below is my installation command
cd /root/cphalcon/ext && /usr/local/php56/bin/phpize --clean && /usr/local/php56/bin/phpize && ./configure --enable-phalcon --with-php-config=/usr/local/php56/bin/php-config56 && make
which generate error in config.log as below
please suggest how to fix this
Thank so much in advanced.
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.63. Invocation command line was
$ ./configure --enable-phalcon
## --------- ##
## Platform. ##
## --------- ##
hostname = hidden
uname -m = x86_64
uname -r = 2.6.32-504.23.4.el6.x86_64
uname -s = Linux
uname -v = #1 SMP Tue Jun 9 20:57:37 UTC 2015
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /root/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1984: checking for grep that handles long lines and -e
configure:2044: result: /bin/grep
configure:2049: checking for egrep
configure:2113: result: /bin/grep -E
configure:2118: checking for a sed that does not truncate output
configure:2184: result: /bin/sed
configure:2318: checking for cc
configure:2334: found /usr/bin/cc
configure:2345: result: cc
configure:2379: checking for C compiler version
configure:2387: cc --version >&5
cc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-11)
Copyright (C) 2010 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:2391: $? = 0
configure:2398: cc -v >&5
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)
configure:2402: $? = 0
configure:2409: cc -V >&5
cc: '-V' option must have argument
configure:2413: $? = 1
configure:2436: checking for C compiler default output file name
configure:2458: cc -O2 --fvisibility=hidden conftest.c >&5
cc1: error: unrecognized command line option "-ffvisibility=hidden"
configure:2462: $? = 1
configure:2500: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2506: error: in `/root/cphalcon/build/64bits':
configure:2509: error: C compiler cannot create executables
See `config.log' for more details.

Related

configure: error: cannot run C compiled programs while installing HPCToolkit with Spack

I was tring installing HPCToolkit following this tutorial:
http://hpctoolkit.org/software-instructions.html#Prerequisites
and, after entering "Spack install hpctoolkit" I got some error messages
2 errors found in build log:
10 checking whether make supports nested variables... yes
11 checking whether make sets $(MAKE)... (cached) yes
12 checking for x86_64-conda-linux-gnu-gcc... /home/ncaa/spack/lib/spack/env/gcc/gcc
13 checking whether the C compiler works... yes
14 checking for C compiler default output file name... a.out
15 checking for suffix of executables...
>> 16 checking whether we are cross compiling... configure: error: in `/tmp/ncaa/spack-stage/spack-stage-libiconv-1.16-e7emipnlb4kfxggwdzwb7fgpbu5hpupy/spack-src':
>> 17 configure: error: cannot run C compiled programs.
18 If you meant to cross compile, use `--host'.
19 See `config.log' for more details
See build log for details:
/tmp/ncaa/spack-stage/spack-stage-libiconv-1.16-e7emipnlb4kfxggwdzwb7fgpbu5hpupy/spack-build-out.txt
spack-build-out.txt:
==> libiconv: Executing phase: 'autoreconf'
==> libiconv: Executing phase: 'configure'
==> [2021-03-13-20:45:16.501013] Copying ./build-aux/config.guess to libcharset/build-aux/config.guess
==> [2021-03-13-20:45:16.510159] '/tmp/ncaa/spack-stage/spack-stage-libiconv-1.16-e7emipnlb4kfxggwdzwb7fgpbu5hpupy/spack-src/configure' '--prefix=/home/ncaa/spack/opt/spack/linux-centos7-x86_64/gcc-8.4.0/libiconv-1.16-e7emipnlb4kfxggwdzwb7fgpbu5hpupy' '--enable-extra-encodings'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make sets $(MAKE)... (cached) yes
checking for x86_64-conda-linux-gnu-gcc... /home/ncaa/spack/lib/spack/env/gcc/gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/tmp/ncaa/spack-stage/spack-stage-libiconv-1.16-e7emipnlb4kfxggwdzwb7fgpbu5hpupy/spack-src':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
config.log (on OneDrive):https://1drv.ms/u/s!Ah8JdDB38REth3K7XSgq6TZQ46eV?e=4z2bQI
my platform and user environment
(env0) [ncaa#localhost ~]$ uname -a
Linux localhost.localdomain 3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6 11:36:42 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
(env0) [ncaa#localhost ~]$ cat /etc/redhat-release
CentOS Linux release 7.1.1503 (Core)
(env0) [ncaa#localhost ~]$ gcc --version
gcc (crosstool-NG 1.24.0.133_b0863d8_dirty) 8.4.0
Copyright (C) 2018 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.
(env0) [ncaa#localhost ~]$ rpm -qa | grep glibc
glibc-2.17-157.el7_3.2.i686
compat-glibc-headers-2.12-4.el7.centos.x86_64
glibc-common-2.17-157.el7_3.2.x86_64
glibc-devel-2.17-157.el7_3.2.i686
compat-glibc-2.12-4.el7.centos.x86_64
glibc-2.17-157.el7_3.2.x86_64
glibc-devel-2.17-157.el7_3.2.x86_64
glibc-headers-2.17-157.el7_3.2.x86_64
(env0) [ncaa#localhost ~]$ spack config get compilers
compilers:
- compiler:
spec: gcc#8.4.0
paths:
cc: /home/ncaa/anaconda3/envs/env0/bin/gcc
cxx: /home/ncaa/anaconda3/envs/env0/bin/g++
f77:
fc:
flags: {}
operating_system: centos7
target: x86_64
modules: []
environment: {}
extra_rpaths: []
config.yaml (on OneDrive):https://1drv.ms/u/s!Ah8JdDB38REth3P-jV-PP9P-bSjS?e=6ucN9e
packages.yaml (on OneDrive):https://1drv.ms/u/s!Ah8JdDB38REth3RTTTJGckufGQVT?e=fFs2YH
running "spack install xz" gives:
(env0) [ncaa#localhost ~]$ spack install xz
==> Installing xz-5.2.5-ilny777kxpjghq6abvl7hv5skt5sxo3k
==> No binary for xz-5.2.5-ilny777kxpjghq6abvl7hv5skt5sxo3k found: installing from source
==> Using cached archive: /home/ncaa/spack/var/spack/cache/_source-cache/archive/51/5117f930900b341493827d63aa910ff5e011e0b994197c3b71c08a20228a42df.tar.bz2
==> No patches needed for xz
==> xz: Executing phase: 'autoreconf'
==> xz: Executing phase: 'configure'
==> Error: ProcessError: Command exited with status 1:
'/tmp/ncaa/spack-stage/spack-stage-xz-5.2.5-ilny777kxpjghq6abvl7hv5skt5sxo3k/spack-src/configure' '--prefix=/home/ncaa/spack/opt/spack/linux-centos7-x86_64/gcc-8.4.0/xz-5.2.5-ilny777kxpjghq6abvl7hv5skt5sxo3k'
2 errors found in build log:
34 checking whether ln -s works... yes
35 checking whether make supports the include directive... yes (GNU style)
36 checking for x86_64-conda-linux-gnu-gcc... /home/ncaa/spack/lib/spack/env/gcc/gcc
37 checking whether the C compiler works... yes
38 checking for C compiler default output file name... a.out
39 checking for suffix of executables...
>> 40 checking whether we are cross compiling... configure: error: in `/tmp/ncaa/spack-stage/spack-stage-xz-5.2.5-ilny777kxpjghq6abvl7hv5skt5sxo3k/spack-src':
>> 41 configure: error: cannot run C compiled programs.
42 If you meant to cross compile, use `--host'.
43 See `config.log' for more details
See build log for details:
/tmp/ncaa/spack-stage/spack-stage-xz-5.2.5-ilny777kxpjghq6abvl7hv5skt5sxo3k/spack-build-out.txt
It seems the problem has something to do with cross compiling check
switching gcc version to 7.3.0 fixed this problem. The cross compiling check get result "no" now.

How do I configure and compile apache 2.4 with ldap support on redat 6

System info:
cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.4 (Santiago)
uname -a
Linux lb-cam-bca-13 2.6.32-642.15.1.el6.x86_64 #1 SMP Fri Feb 24 14:31:22 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
httpd -version
Server version: Apache/2.4.25 (Unix)
Server built: Jun 27 2017 16:23:25
gcc --version
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-17)
I have installed a local version of apache 2.4 on my rhel 6 machine and is currently up and running fine.
However I now wish to enable ldap support on it and so initially tried to configure using the following:
./configure --prefix=/lb-cam-bca-13/usr/local/apache --with-included-apr --enable-ldap --enable-authnz-ldap --enable-ssl --enable-so --with-ldap
which seems to configure ol, but when I try to build I get the following errors:
gcc -std=gnu99 -g -O2 -pthread -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/os/unix -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/include -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/srclib/apr/include -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/srclib/apr-util/include -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/aaa -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/cache -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/core -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/database -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/filters -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/ldap -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/loggers -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/lua -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/proxy -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/session -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/ssl -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/test -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/server -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/arch/unix -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/dav/main -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/generators -I/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/modules/mappers -c /lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/server/buildmark.c
/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/srclib/apr/libtool --silent --mode=link gcc -std=gnu99 -g -O2 -pthread -o httpd modules.lo buildmark.o -export-dynamic server/libmain.la modules/core/libmod_so.la modules/http/libmod_http.la server/mpm/event/libevent.la os/unix/libos.la -lpcre /lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/srclib/apr-util/libaprutil-1.la -lexpat /lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25/srclib/apr/libapr-1.la -lrt -lcrypt -lpthread
server/.libs/libmain.a(exports.o):(.data+0x2758): undefined reference to `apr_ldap_ssl_init'
server/.libs/libmain.a(exports.o):(.data+0x2760): undefined reference to `apr_ldap_ssl_deinit'
server/.libs/libmain.a(exports.o):(.data+0x2768): undefined reference to `apr_ldap_init'
server/.libs/libmain.a(exports.o):(.data+0x2770): undefined reference to `apr_ldap_info'
server/.libs/libmain.a(exports.o):(.data+0x2778): undefined reference to `apr_ldap_get_option'
server/.libs/libmain.a(exports.o):(.data+0x2780): undefined reference to `apr_ldap_set_option'
server/.libs/libmain.a(exports.o):(.data+0x2788): undefined reference to `apr_ldap_rebind_init'
server/.libs/libmain.a(exports.o):(.data+0x2790): undefined reference to `apr_ldap_rebind_add'
server/.libs/libmain.a(exports.o):(.data+0x2798): undefined reference to `apr_ldap_rebind_remove'
server/.libs/libmain.a(exports.o):(.data+0x27a0): undefined reference to `apr_ldap_is_ldap_url'
server/.libs/libmain.a(exports.o):(.data+0x27a8): undefined reference to `apr_ldap_is_ldaps_url'
server/.libs/libmain.a(exports.o):(.data+0x27b0): undefined reference to `apr_ldap_is_ldapi_url'
server/.libs/libmain.a(exports.o):(.data+0x27b8): undefined reference to `apr_ldap_url_parse_ext'
server/.libs/libmain.a(exports.o):(.data+0x27c0): undefined reference to `apr_ldap_url_parse'
collect2: ld returned 1 exit status
make[1]: *** [httpd] Error 1
make[1]: Leaving directory `/lb-cam-bca-13/usr/local/src/apache/httpd-2.4.25'
make: *** [all-recursive] Error 1
I also noticed that there is a --with-openldap option, so I tried that as well, but this resulted in configuration errors:
configure: WARNING: apr/apr-util is compiled without ldap support
checking whether to enable mod_authnz_ldap... configure: error: mod_authnz_ldap has been requested but can not be built due to prerequisite failures
looking at config.log and seraching for error I see:
...
configure:5860: gcc -E -DLINUX -D_REENTRANT -D_GNU_SOURCE conftest.c
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
134 configure:5860: $? = 1
135 configure: failed program was:
136 | /* confdefs.h */
137 | #define PACKAGE_NAME ""
138 | #define PACKAGE_TARNAME ""
139 | #define PACKAGE_VERSION ""
140 | #define PACKAGE_STRING ""
141 | #define PACKAGE_BUGREPORT ""
142 | #define PACKAGE_URL ""
143 | /* end confdefs.h. */
144 | #include <ac_nonexistent.h>
145 configure:5889: checking for gcc option to accept ISO C99
146 configure:6038: gcc -c -g -O2 -pthread -DLINUX -D_REENTRANT -D_GNU_SOURCE conftest.c >&5
147 conftest.c:59: error: expected ';', ',' or ')' before 'text'
148 conftest.c: In function 'main':
149 conftest.c:113: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar'
150 conftest.c:113: error: 'newvar' undeclared (first use in this function)
151 conftest.c:113: error: (Each undeclared identifier is reported only once
152 conftest.c:113: error: for each function it appears in.)
153 conftest.c:123: error: 'for' loop initial declarations are only allowed in C99 mode
154 conftest.c:123: note: use option -std=c99 or -std=gnu99 to compile your code
...
configure:6954: gcc -std=gnu99 -c -g -O2 -pthread -DLINUX -D_REENTRANT -D_GNU_SOURCE conftest.c >&5
conftest.c:52:26: error: minix/config.h: No such file or directory
...
configure:6954: gcc -E -DLINUX -D_REENTRANT -D_GNU_SOURCE conftest.c
conftest.c:19:26: error: minix/config.h: No such file or directory
...
configure:7397: gcc -std=gnu99 -c -g -O2 -pthread -DLINUX -D_REENTRANT -D_GNU_SOURCE conftest.c >&5
531 conftest.c:66:27: error: sys/processor.h: No such file or directory
...
configure:7397: gcc -E -DLINUX -D_REENTRANT -D_GNU_SOURCE conftest.c
603 conftest.c:33:27: error: sys/processor.h: No such file or directory
...
configure:7397: gcc -std=gnu99 -c -g -O2 -pthread -DLINUX -D_REENTRANT -D_GNU_SOURCE conftest.c >&5
664 conftest.c:68:25: error: sys/loadavg.h: No such file or directory
...
configure:7397: gcc -E -DLINUX -D_REENTRANT -D_GNU_SOURCE conftest.c
738 conftest.c:35:25: error: sys/loadavg.h: No such file or directory
...
configure:10876: checking whether to enable mod_authnz_ldap
1075 configure:10882: error: mod_authnz_ldap has been requested but can not be built due to prerequisite failures
Given that I am using openladap over ssl for authentication - can anyone tell me how I should configure and build apache to include ldap authentication support ?
Does anyone know what the difference between --with-ldap and --with-openldap is ? And under which conditions one or the other should be specified ?
Looking at the make errors in the first case I initially thought that the included apr was not built with ldap, but searching the source files it looks like ldap is included.
Does anyone know if the default included apr includes ldap support, or do I need to down load and build a separate version (which includes ldap support) ?
Looking at the config errors in the second case - are these related to the gcc version used ?
Update:
Thinking that may be the included apr either does not support ldap or is in someway not compatible with my version of gcc thought I'd try building apr and apr-util from scratch and use --with directives to include then in the httpd build. This seemed to build ok, but when trying to run apache I get a link error.
I did the following:
download and unpack apr-1.7.0
download and unpack apr-util-1.6.1
confgure apr-1.7.0 and build it
$ cd apr/apr-1.7.0
./configure --prefix=/lb-cam-bca-13/usr/local/apache
make
make install
configure apr-util-1.6.1 and build it
$ ./configure --with-crypto --with-ldap=ldap --with-openssl --with-mysql --with-apr=../../apr/apr-1.7.0 --enable-so
make
make install
configure and build httpd
$ ./configure --prefix=/lb-cam-bca-13/usr/local/apache --with-apr=../apr/apr-1.7.0 --with-apr-util=../aprutil/apr-util-1.6.1 --with-ldap --enable-authnz-ldap --enable-so --enable-ssl --enable-md --enable-log-forensic
make
make install
ready to start apache
$ apachectl stop
httpd: Syntax error on line 74 of /lb-cam-bca-13/usr/local/apache/conf/httpd.conf: Cannot load modules/mod_authnz_ldap.so into server: /lb-cam-bca-13/usr/local/apache/modules/mod_authnz_ldap.so: undefined symbol: apr_ldap_url_parse
indeed the symbol is there, but undefined:
$ objdump -awx modules/mod_authnz_ldap.so | grep url
0000000000002260 l F .text 0000000000000460 mod_auth_ldap_parse_url
0000000000000000 *UND* 0000000000000000 apr_ldap_url_parse
it is defined in apr-utils - apr_ldap_url.o ...
$ objdump -awx ./ldap/.libs/apr_ldap_url.o | grep ' F ' | grep ldap
0000000000000000 l F .text 00000000000000bd apr_ldap_pvt_hex_unescape
0000000000000290 l F .text 0000000000000118 apr_ldap_str2charray.clone.0
00000000000001c0 g F .text 0000000000000026 apr_ldap_is_ldap_url
00000000000001f0 g F .text 0000000000000047 apr_ldap_is_ldapi_url
0000000000000240 g F .text 0000000000000047 apr_ldap_is_ldaps_url
00000000000003b0 g F .text 00000000000006c1 apr_ldap_url_parse_ext
0000000000000a80 g F .text 0000000000000039 apr_ldap_url_parse
... but not in apr_ldap-1.so
$ objdump -awx ./ldap/.libs/apr_ldap-1.so | grep ' F ' | grep ldap
0000000000001350 l F .text 000000000000000a apr_ldap_pool_cleanup_set_null
0000000000001400 l F .text 0000000000000010 apr_ldap_rebind_remove_helper
0000000000000000 F *UND* 0000000000000000 ldap_get_option
0000000000001360 g F .text 0000000000000095 apr__ldap_rebind_remove
0000000000000000 F *UND* 0000000000000000 ldap_set_option
0000000000000d10 g F .text 0000000000000003 apr__ldap_ssl_deinit
0000000000000f30 g F .text 000000000000034b apr__ldap_set_option
0000000000000d20 g F .text 000000000000002f apr__ldap_info
0000000000001280 g F .text 00000000000000c3 apr__ldap_get_option
0000000000000000 F *UND* 0000000000000000 ldap_init
0000000000000000 F *UND* 0000000000000000 ldap_set_rebind_proc
0000000000000000 F *UND* 0000000000000000 ldap_bind_s
0000000000000000 F *UND* 0000000000000000 ldap_start_tls_s
0000000000000000 F *UND* 0000000000000000 ldap_err2string
00000000000015c0 g F .text 0000000000000042 apr__ldap_rebind_init
0000000000000e30 g F .text 00000000000000f7 apr__ldap_ssl_init
0000000000000d50 g F .text 00000000000000d8 apr__ldap_init
0000000000001410 g F .text 0000000000000128 apr__ldap_rebind_add
Has anyone seen this problem before ? I have done some searching, but have been unable to find a suitable solution (though I have seen that similar error has happened to some people before)
Does anyone know what I should do to make sure the full apr-util is included in the build ?
Is there another --with directive I need use when building or is this a problem with creation of the .so file ?
Finally resolved. I was using incorrect syntax for the LoadModule line in the configuration file.
The LoadModule line that I put in:
LoadModule mod_authnz_ldap modules/mod_authnz_ldap.so
should be:
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
Then it works. Clearly it was looking for mod_authnz_ldap in some table somewhere and not finding it.
Using the correct name it seems to be loading (though I have not tried actually using it)
I was led down the garden path by the error message.

Building QtWebEngine for Raspberry Pi2 using Yocto Poky - vcos_platform_types.h: No such file or directory

Context
NUC on Debian 7.8 for building my images with Yocto
Yocto Poky
REQUIREMENT Q5 QtWebEngine + QML plugins + SSH
TARGET Raspberry Pi 2
Heavily inspired by this excellent tutorial for Raspberry Pi
Yocto Poky fido branch
mkdir -p ~/yocto/dl
cd ~/yocto
git clone -b fido git://git.yoctoproject.org/poky poky
cd poky
git clone git://git.yoctoproject.org/meta-raspberrypi
git clone -b fido https://github.com/meta-qt5/meta-qt5.git
git clone -b fido git://git.openembedded.org/meta-openembedded
git clone -b fido https://bitbucket.org/embarcados/meta-embarcados.git
bblayer.conf & local.conf
# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
LCONF_VERSION = "6"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
BBLAYERS ?= " \
${TOPDIR}/../poky/meta-embarcados \
${TOPDIR}/../poky/meta-embarcados/meta-rpi \
${TOPDIR}/../poky/meta-raspberrypi \
${TOPDIR}/../poky/meta-qt5 \
${TOPDIR}/../poky/meta-openembedded/meta-oe \
${TOPDIR}/../poky/meta-openembedded/meta-ruby \
/home/otto/yocto/poky/meta \
/home/otto/yocto/poky/meta-yocto \
/home/otto/yocto/poky/meta-yocto-bsp \
"
BBLAYERS_NON_REMOVABLE ?= " \
/home/otto/yocto/poky/meta \
/home/otto/yocto/poky/meta-yocto \
"
In the /home/otto/yocto/build/conf/local.conf add MACHINE = "raspberrypi2"
Build
cd ~/yocto
. poky/oe-init-build-env build
bitbake -cclean qtwebengine; bitbake qtwebengine
Fails with the following error about vcos_platform_types.h
| FAILED: arm-poky-linux-gnueabi-g++ -march=armv7-a -marm -mthumb-interwork -mfloat-abi=hard -mfpu=neon-vfpv4 -mtune=cortex-a7 --sysroot=/home/otto/yocto/build/tmp/sysroots/raspberrypi2 -MMD -MF obj/src/3rdparty/chromium/ui/ozone/platform/egltest/ozone_platform_egltest.ozone_platform_egltest.o.d -DV8_DEPRECATION_WARNINGS -DBLINK_SCALE_FILTERS_AT_RECORD_TIME -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES '-DOPENSSLDIR="/usr/lib/ssl"' -DOPENSSL_LOAD_CONF -DEGL_API_FB=1 -DLINUX=1 -DCHROMIUM_BUILD -DTOOLKIT_VIEWS=1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_OZONE=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_PRE_SYNC_BACKUP -DENABLE_EGLIMAGE=1 -DCLD_VERSION=2 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DOZONE_IMPLEMENTATION -DSK_ENABLE_INST_COUNT=0 -DSK_SUPPORT_GPU=1 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' -DSK_ENABLE_LEGACY_API_ALIASING=1 -DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1 -DGR_GL_IGNORE_ES3_MSAA=0 -DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT -DSK_SUPPORT_LEGACY_GETTOPDEVICE -DSK_SUPPORT_LEGACY_BITMAP_CONFIG -DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE -DSK_SUPPORT_LEGACY_N32_NAME -DSK_SUPPORT_LEGACY_SETCONFIG -DSK_IGNORE_ETC1_SUPPORT -DSK_IGNORE_GPU_DITHER -DSK_SUPPORT_LEGACY_GETTOTALCLIP -DSK_USE_POSIX_THREADS -DSK_DEFERRED_CANVAS_USES_FACTORIES=1 -DU_USING_ICU_NAMESPACE=0 -DUSE_OPENSSL=1 -DUSE_OPENSSL_CERTS=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -D_FORTIFY_SOURCE=2 -Igen/shim_headers/icui18n/target -Igen/shim_headers/icuuc/target -Igen -I../../../src/3rdparty/chromium -I../../../src/3rdparty/chromium/skia/config -I../../../src/3rdparty/chromium/third_party/skia/src/core -I../../../src/3rdparty/chromium/third_party/skia/include/core -I../../../src/3rdparty/chromium/third_party/skia/include/effects -I../../../src/3rdparty/chromium/third_party/skia/include/pdf -I../../../src/3rdparty/chromium/third_party/skia/include/gpu -I../../../src/3rdparty/chromium/third_party/skia/include/lazy -I../../../src/3rdparty/chromium/third_party/skia/include/pathops -I../../../src/3rdparty/chromium/third_party/skia/include/pipe -I../../../src/3rdparty/chromium/third_party/skia/include/ports -I../../../src/3rdparty/chromium/third_party/skia/include/utils -I../../../src/3rdparty/chromium/skia/ext -fstack-protector --param=ssp-buffer-size=4 -pthread -fno-exceptions -fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -march=armv7-a -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -mthumb --sysroot=/home/otto/yocto/build/tmp/sysroots/raspberrypi2 -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -O2 -pipe -g -feliminate-unused-debug-types -fvisibility-inlines-hidden -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare -Wno-abi -c ../../../src/3rdparty/chromium/ui/ozone/platform/egltest/ozone_platform_egltest.cc -o obj/src/3rdparty/chromium/ui/ozone/platform/egltest/ozone_platform_egltest.ozone_platform_egltest.o
| In file included from /home/otto/yocto/build/tmp/sysroots/raspberrypi2/usr/include/interface/vcos/vcos_assert.h:149:0,
| from /home/otto/yocto/build/tmp/sysroots/raspberrypi2/usr/include/interface/vcos/vcos.h:114,
| from /home/otto/yocto/build/tmp/sysroots/raspberrypi2/usr/include/interface/vmcs_host/vc_dispmanx.h:33,
| from /home/otto/yocto/build/tmp/sysroots/raspberrypi2/usr/include/EGL/eglplatform.h:110,
| from /home/otto/yocto/build/tmp/sysroots/raspberrypi2/usr/include/EGL/egl.h:36,
| from ../../../src/3rdparty/chromium/ui/ozone/platform/egltest/ozone_platform_egltest.cc:28:
| /home/otto/yocto/build/tmp/sysroots/raspberrypi2/usr/include/interface/vcos/vcos_types.h:38:33: fatal error: vcos_platform_types.h: No such file or directory
| #include "vcos_platform_types.h"
| ^
| compilation terminated.
| ninja: build stopped: subcommand failed.
| make[3]: *** [invoke_ninja] Error 1
| make[3]: Leaving directory `/home/otto/yocto/build/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/qtwebengine/5.4.1-r0/qtwebengine-opensource-src-5.4.1/src/core'
| make[2]: *** [sub-gyp_run-pro-make_first] Error 2
| make[2]: Leaving directory `/home/otto/yocto/build/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/qtwebengine/5.4.1-r0/qtwebengine-opensource-src-5.4.1/src/core'
| make[1]: *** [sub-core-make_first] Error 2
| make[1]: Leaving directory `/home/otto/yocto/build/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/qtwebengine/5.4.1-r0/qtwebengine-opensource-src-5.4.1/src'
| make: *** [sub-src-make_first] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/otto/yocto/build/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/qtwebengine/5.4.1-r0/temp/log.do_compile.24134)
ERROR: Task 754 (/home/otto/yocto/build/../poky/meta-qt5/recipes-qt/qt5/qtwebengine_5.4.1.bb, do_compile) failed with exit code '1'
Currently 3 running tasks (3091 of 4520):
0: qttools-5.4.1-r0 do_compile (pid 24033)
1: qtquick1-5.4.1-r0 do_package (pid 24131)
2: qtwebkit-examples-5.4.1-r0 do_compile (pid 24135)
Add the dependencies in your own .bbappend as such:
otto#marvin:~/yocto/poky$ more meta-embarcados/meta-rpi/recipes-qt/qt5/qtwebengine_%.bbappend
CXXFLAGS +=" -I${STAGING_DIR_TARGET}/usr/include/interface/vcos/pthreads \
-I${STAGING_DIR_TARGET}/usr/include/interface/vmcs_host/linux \
"
# Do not get out of memory
LDFLAGS += "-Wl,--no-keep-memory"
The issue is discussed in length here
Tutorial to create Yocto distro for RPi2 that contains QT5.4

configure: error: Objective C compiler cannot create executables

I'm having trouble installing TikZit. When I run ./configure I get this message:
configure: error: Objective C compiler cannot create executables
Hope you guys can help me. Here is the 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 TikZiT configure 1.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = rafa-K53E
uname -m = x86_64
uname -r = 3.13.0-45-generic
uname -s = Linux
uname -v = #74-Ubuntu SMP Tue Jan 13 19:36:28 UTC 2015
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2432: checking for a BSD-compatible install
configure:2500: result: /usr/bin/install -c
configure:2511: checking whether build environment is sane
configure:2566: result: yes
configure:2717: checking for a thread-safe mkdir -p
configure:2756: result: /bin/mkdir -p
configure:2763: checking for gawk
configure:2779: found /usr/bin/gawk
configure:2790: result: gawk
configure:2801: checking whether make sets $(MAKE)
configure:2823: result: yes
configure:2852: checking whether make supports nested variables
configure:2869: result: yes
configure:2959: checking whether make supports nested variables
configure:2976: result: yes
configure:3134: checking that generated files are newer than configure
configure:3140: result: done
configure:3148: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by TikZiT config.status 1.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on rafa-K53E
config.status:795: creating Makefile
config.status:795: creating src/Makefile
config.status:795: creating share/Makefile
configure:4244: checking for gcc
configure:4260: found /usr/bin/gcc
configure:4271: result: gcc
configure:4296: checking for Objective C compiler version
configure:4305: gcc --version >&5
gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
Copyright (C) 2013 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:4316: $? = 0
configure:4305: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
configure:4316: $? = 0
configure:4305: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:4316: $? = 4
configure:4305: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:4316: $? = 4
configure:4336: checking whether the Objective C compiler works
configure:4358: gcc conftest.m >&5
gcc: error trying to exec 'cc1obj': execvp: No such file or directory
configure:4362: $? = 1
configure:4400: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "TikZiT"
| #define PACKAGE_TARNAME "tikzit"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "TikZiT 1.0"
| #define PACKAGE_BUGREPORT "http://sourceforge.net/apps/trac/tikzit"
| #define PACKAGE_URL "http://tikzit.sourceforge.net"
| #define PACKAGE "tikzit"
| #define VERSION "1.0"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:4405: error: in `/home/rafa/tikzit-1.0':
configure:4407: error: Objective C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_GTK_CFLAGS_set=
ac_cv_env_GTK_CFLAGS_value=
ac_cv_env_GTK_LIBS_set=
ac_cv_env_GTK_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_OBJCFLAGS_set=
ac_cv_env_OBJCFLAGS_value=
ac_cv_env_OBJCPP_set=
ac_cv_env_OBJCPP_value=
ac_cv_env_OBJC_set=
ac_cv_env_OBJC_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_YACC_set=
ac_cv_env_YACC_value=
ac_cv_env_YFLAGS_set=
ac_cv_env_YFLAGS_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_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_OBJC=gcc
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/rafa/tikzit-1.0/missing aclocal-1.13'
ALLOCA=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
AUTOCONF='${SHELL} /home/rafa/tikzit-1.0/missing autoconf'
AUTOHEADER='${SHELL} /home/rafa/tikzit-1.0/missing autoheader'
AUTOMAKE='${SHELL} /home/rafa/tikzit-1.0/missing automake-1.13'
AWK='gawk'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS='-DPACKAGE_NAME=\"TikZiT\" -DPACKAGE_TARNAME=\"tikzit\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"TikZiT\ 1.0\" -DPACKAGE_BUGREPORT=\"http://sourceforge.net/apps/trac/tikzit\" -DPACKAGE_URL=\"http://tikzit.sourceforge.net\" -DPACKAGE=\"tikzit\" -DVERSION=\"1.0\"'
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FOUNDATION_LIBS=''
FOUNDATION_OBJCFLAGS=''
GREP=''
GTK_CFLAGS=''
GTK_LIBS=''
HAVE_POPPLER_FALSE=''
HAVE_POPPLER_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=''
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/rafa/tikzit-1.0/missing makeinfo'
MKDIR_P='/bin/mkdir -p'
OBJC='gcc'
OBJCDEPMODE=''
OBJCFLAGS=''
OBJCPP=''
OBJEXT=''
PACKAGE='tikzit'
PACKAGE_BUGREPORT='http://sourceforge.net/apps/trac/tikzit'
PACKAGE_NAME='TikZiT'
PACKAGE_STRING='TikZiT 1.0'
PACKAGE_TARNAME='tikzit'
PACKAGE_URL='http://tikzit.sourceforge.net'
PACKAGE_VERSION='1.0'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
VERSION='1.0'
WIN32=''
WINDOWS=''
WINDOWS_FALSE=''
WINDOWS_TRUE=''
YACC=''
YFLAGS=''
_WIN32=''
ac_ct_OBJC='gcc'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepOBJC_FALSE=''
am__fastdepOBJC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/rafa/tikzit-1.0/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "TikZiT"
#define PACKAGE_TARNAME "tikzit"
#define PACKAGE_VERSION "1.0"
#define PACKAGE_STRING "TikZiT 1.0"
#define PACKAGE_BUGREPORT "http://sourceforge.net/apps/trac/tikzit"
#define PACKAGE_URL "http://tikzit.sourceforge.net"
#define PACKAGE "tikzit"
#define VERSION "1.0"
#
#configure: exit 77
I've looked for this problem around the forum but it appears there are lots of things that can cause this.
I had some trouble with it too. I finally solved the problem by installing gobjc++.
Just run sudo apt-get install gobjc++ and it worked fine for me.

Why do I get "configure:error: no acceptable C compiler found in $PATH" when installing GCC on my Apache server?

I'm attempting to install GCC 4.5.1 on my Apache server, but it says there is no acceptable C compiler found in $PATH. Any suggestions on what to do would be greatly appreciated.
When I use echo $PATH it prints:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/:/var/lib/:/usr/share/
These are the commands I used to configure GCC:
sudo mkdir /usr/bin/gcc/
cd /usr/bin/gcc/
sudo /gcc-4.5.1/configure
These are the results of those commands:
checking build system type...
x86_64-unknown-linux-gnu checking
host system type...
x86_64-unknown-linux-gnu checking
target system type...
x86_64-unknown-linux-gnu checking
for a BSD-compatible install...
/usr/bin/install -c checking
whether ln works... yes checking
whether ln -s works... yes
checking for a sed that does not
truncate output... /bin/sed
checking for gawk... no checking
for mawk... mawk checking for
gcc... no checking for cc...
no checking for cl.exe... no
configure: error: in
'/usr/bin/gcc:'` configure: error:
no acceptable C compiler found in
$PATH See 'config.log' for more
details.
The file config.log contains:
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.64.
Invocation command line was
$ /gcc-4.5.1/configure
---------
Platform.
---------
hostname = wordpress-juicesite uname
-m = x86_64 uname -r = 2.6.31-302-rs uname -s = Linux uname -v = #7 SMP Thu
Oct 29 22:57:03 UTC 2009
/usr/bin/uname -p = unknown /bin/uname
-X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/sbin PATH:
/usr/local/bin PATH: /usr/sbin PATH:
/usr/bin PATH: /sbin PATH: /bin PATH:
/usr/X11R6/bin
-----------
Core tests.
-----------
configure:2429: checking build system
type configure:2443: result:
x86_64-unknown-linux-gnu
configure:2490: checking host system
type configure:2503: result:
x86_64-unknown-linux-gnu
configure:2523: checking target system
type configure:2536: result:
x86_64-unknown-linux-gnu
configure:2590: checking for a
BSD-compatible install configure:2658:
result: /usr/bin/install -c
configure:2669: checking whether ln
works configure:2691: result: yes
configure:2695: checking whether ln -s
works configure:2699: result: yes
configure:2706: checking for a sed
that does not truncate output
configure:2770: result: /bin/sed
configure:2779: checking for gawk
configure:2809: result: no
configure:2779: checking for mawk
configure:2795: found /usr/bin/mawk
configure:2806: result: mawk
configure:4039: checking for gcc
configure:4069: result: no
configure:4132: checking for cc
configure:4179: result: no
configure:4235: checking for cl.exe
configure:4265: result: no
configure:4289: error: in
/usr/bin/gcc': configure:4292: error:
no acceptable C compiler found in
$PATH Seeconfig.log' for more
details.
----------------
Cache variables.
----------------
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_env_AR_FOR_TARGET_set=
ac_cv_env_AR_FOR_TARGET_value=
ac_cv_env_AR_set= ac_cv_env_AR_value=
ac_cv_env_AS_FOR_TARGET_set=
ac_cv_env_AS_FOR_TARGET_value=
ac_cv_env_AS_set= ac_cv_env_AS_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_FOR_TARGET_set=
ac_cv_env_CC_FOR_TARGET_value=
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_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_FOR_TARGET_set=
ac_cv_env_CXX_FOR_TARGET_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_DLLTOOL_FOR_TARGET_set=
ac_cv_env_DLLTOOL_FOR_TARGET_value=
ac_cv_env_DLLTOOL_set=
ac_cv_env_DLLTOOL_value=
ac_cv_env_GCC_FOR_TARGET_set=
ac_cv_env_GCC_FOR_TARGET_value=
ac_cv_env_GCJ_FOR_TARGET_set=
ac_cv_env_GCJ_FOR_TARGET_value=
ac_cv_env_GFORTRAN_FOR_TARGET_set=
ac_cv_env_GFORTRAN_FOR_TARGET_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LD_FOR_TARGET_set=
ac_cv_env_LD_FOR_TARGET_value=
ac_cv_env_LD_set= ac_cv_env_LD_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LIPO_FOR_TARGET_set=
ac_cv_env_LIPO_FOR_TARGET_value=
ac_cv_env_LIPO_set=
ac_cv_env_LIPO_value=
ac_cv_env_NM_FOR_TARGET_set=
ac_cv_env_NM_FOR_TARGET_value=
ac_cv_env_NM_set= ac_cv_env_NM_value=
ac_cv_env_OBJCOPY_set=
ac_cv_env_OBJCOPY_value=
ac_cv_env_OBJDUMP_FOR_TARGET_set=
ac_cv_env_OBJDUMP_FOR_TARGET_value=
ac_cv_env_OBJDUMP_set=
ac_cv_env_OBJDUMP_value=
ac_cv_env_RANLIB_FOR_TARGET_set=
ac_cv_env_RANLIB_FOR_TARGET_value=
ac_cv_env_RANLIB_set=
ac_cv_env_RANLIB_value=
ac_cv_env_STRIP_FOR_TARGET_set=
ac_cv_env_STRIP_FOR_TARGET_value=
ac_cv_env_STRIP_set=
ac_cv_env_STRIP_value=
ac_cv_env_WINDMC_FOR_TARGET_set=
ac_cv_env_WINDMC_FOR_TARGET_value=
ac_cv_env_WINDMC_set=
ac_cv_env_WINDMC_value=
ac_cv_env_WINDRES_FOR_TARGET_set=
ac_cv_env_WINDRES_FOR_TARGET_value=
ac_cv_env_WINDRES_set=
ac_cv_env_WINDRES_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=x86_64-unknown-linux-gnu
ac_cv_path_SED=/bin/sed
ac_cv_path_install='/usr/bin/install
-c' ac_cv_prog_AWK=mawk ac_cv_target=x86_64-unknown-linux-gnu
acx_cv_prog_LN=ln
-----------------
Output variables.
-----------------
AR='' AR_FOR_BUILD='$(AR)'
AR_FOR_TARGET='' AS=''
AS_FOR_BUILD='$(AS)' AS_FOR_TARGET=''
AWK='mawk' BISON='' BUILD_CONFIG=''
CC='' CC_FOR_BUILD='$(CC)'
CC_FOR_TARGET='' CFLAGS=''
CFLAGS_FOR_BUILD=''
CFLAGS_FOR_TARGET=''
COMPILER_AS_FOR_TARGET=''
COMPILER_LD_FOR_TARGET=''
COMPILER_NM_FOR_TARGET=''
CONFIGURE_GDB_TK='' CPP='' CPPFLAGS=''
CXX='' CXXFLAGS=''
CXXFLAGS_FOR_BUILD=''
CXXFLAGS_FOR_TARGET=''
CXX_FOR_BUILD='$(CXX)'
CXX_FOR_TARGET=''
DEBUG_PREFIX_CFLAGS_FOR_TARGET=''
DEFS='' DLLTOOL=''
DLLTOOL_FOR_BUILD='$(DLLTOOL)'
DLLTOOL_FOR_TARGET='' ECHO_C=''
ECHO_N='-n' ECHO_T='' EGREP=''
EXEEXT='' EXPECT=''
FLAGS_FOR_TARGET='' FLEX=''
GCC_FOR_TARGET='' GCC_SHLIB_SUBDIR=''
GCJ_FOR_BUILD='$(GCJ)'
GCJ_FOR_TARGET='' GDB_TK=''
GFORTRAN_FOR_BUILD='$(GFORTRAN)'
GFORTRAN_FOR_TARGET='' GNATBIND=''
GNATMAKE='' GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_GDB_TK=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}' LD=''
LDFLAGS='' LDFLAGS_FOR_BUILD=''
LD_FOR_BUILD='$(LD)' LD_FOR_TARGET=''
LEX='' LIBOBJS='' LIBS='' LIPO=''
LIPO_FOR_TARGET='' LN='ln' LN_S='ln
-s' LTLIBOBJS='' M4='' MAINT='' MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='' MAKEINFO=''
NM='' NM_FOR_BUILD='$(NM)'
NM_FOR_TARGET='' OBJCOPY='' OBJDUMP=''
OBJDUMP_FOR_TARGET='' OBJEXT=''
PACKAGE_BUGREPORT='' PACKAGE_NAME=''
PACKAGE_STRING='' PACKAGE_TARNAME=''
PACKAGE_URL='' PACKAGE_VERSION=''
PATH_SEPARATOR=':' RANLIB=''
RANLIB_FOR_BUILD='$(RANLIB)'
RANLIB_FOR_TARGET=''
RAW_CXX_FOR_TARGET='' RPATH_ENVVAR=''
RUNTEST='' SED='/bin/sed'
SHELL='/bin/bash' STRIP=''
STRIP_FOR_TARGET=''
SYSROOT_CFLAGS_FOR_TARGET=''
TOPLEVEL_CONFIGURE_ARGUMENTS='/gcc-4.5.1/configure'
WINDMC='' WINDMC_FOR_BUILD='$(WINDMC)'
WINDMC_FOR_TARGET='' WINDRES=''
WINDRES_FOR_BUILD='$(WINDRES)'
WINDRES_FOR_TARGET='' YACC=''
ac_ct_CC='' ac_ct_CXX=''
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias='' build_configargs=''
build_configdirs='build-libiberty
build-texinfo build-byacc build-flex
build-bison build-m4
build-fixincludes' build_cpu='x86_64'
build_libsubdir='build-x86_64-unknown-linux-gnu'
build_noncanonical='x86_64-unknown-linux-gnu'
build_os='linux-gnu'
build_subdir='build-x86_64-unknown-linux-gnu'
build_tooldir=''
build_vendor='unknown' clooginc=''
clooglibs='' compare_exclusions=''
config_shell='/bin/bash'
configdirs='intl mmalloc libiberty
opcodes bfd readline tcl tk itcl
libgui zlib libcpp libdecnumber gmp
mpfr mpc ppl cloog libelf libiconv
texinfo byacc flex bison binutils gas
ld fixincludes gcc cgen sid sim gdb
make patch prms send-pr gprof etc
expect dejagnu ash bash bzip2 m4
autoconf automake libtool diff rcs
fileutils shellutils time textutils
wdiff find uudecode hello tar gzip
indent recode release sed utils guile
perl gawk findutils gettext zip
fastjar gnattools'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
do_compare=''
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}' exec_prefix='NONE'
extra_host_libiberty_configure_flags=''
extra_mpc_gmp_configure_flags=''
extra_mpc_mpfr_configure_flags=''
extra_mpfr_configure_flags=''
gmpinc='' gmplibs=''
host='x86_64-unknown-linux-gnu'
host_alias='' host_configargs=''
host_cpu='x86_64'
host_noncanonical='x86_64-unknown-linux-gnu'
host_os='linux-gnu' host_subdir='.'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libelfinc='' libelflibs=''
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
poststage1_ldflags=''
poststage1_libs='' pplinc=''
ppllibs='' prefix='NONE'
program_transform_name='s,y,y,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
stage1_cflags='' stage1_checking=''
stage1_languages='' stage1_ldflags=''
stage1_libs='' stage2_werror_flag=''
sysconfdir='${prefix}/etc'
target='x86_64-unknown-linux-gnu'
target_alias='' target_configargs=''
target_configdirs='target-libgcc
target-libiberty target-libgloss
target-newlib target-libgomp
target-libstdc++-v3 target-libmudflap
target-libssp target-libgfortran
target-boehm-gc target-libffi
target-zlib target-qthreads
target-libjava target-libobjc
target-libada target-examples
target-groff target-gperf target-rda'
target_cpu='x86_64'
target_noncanonical='x86_64-unknown-linux-gnu'
target_os='linux-gnu'
target_subdir='x86_64-unknown-linux-gnu'
target_vendor='unknown' tooldir=''
-------------------
File substitutions.
-------------------
alphaieee_frag=''
host_makefile_frag='/dev/null'
ospace_frag=''
serialization_dependencies=''
target_makefile_frag=''
-----------
confdefs.h.
-----------
/* confdefs.h */
define PACKAGE_NAME ""
define PACKAGE_TARNAME ""
define PACKAGE_VERSION ""
define PACKAGE_STRING ""
define PACKAGE_BUGREPORT ""
define PACKAGE_URL ""
configure: exit 1
Are you trying to build gcc from source ? Then you need a compiler to compile it.. (that's a Catch 22...).
Can't you install a binary package with the compiler already compiled ?