I must just have bad luck.
I've previously compiled LyX 1.5.0beta2 with a qt4.3snapshot and
qt4.2.3. I thought I would try to compile LyX b2 with a newer
qt4.3snapshot but during the ./configure I get the following error:
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
I followed the same steps as I did with the other compilations. Which
I've included below.
bob-lounsburys-ibook:~/Desktop/lyx-1.5.0beta2 Bob$ export
PKG_CONFIG_PATH=/Users/Bob/qt-4.3.0-0508/lib/pkgconfig
bob-lounsburys-ibook:~/Desktop/lyx-1.5.0beta2 Bob$ export
LDFLAGS="-framework Carbon -framework OpenGL -framework AGL - framework
QuickTime -lz -framework Cocoa"
bob-lounsburys-ibook:~/Desktop/lyx-1.5.0beta2 Bob$ ./autogen.sh
Using automake (GNU automake) 1.9.6
Using autoconf (GNU Autoconf) 2.60
Locating GNU m4... /sw/bin/gm4
Generate acinclude.m4... done.
Building macros...
.
/sw/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
done.
Building config header template...
.
done.
Building Makefile templates...
.
done.
Building configure...
.
done.
run "./configure ; make"
bob-lounsburys-ibook:~/Desktop/lyx-1.5.0beta2 Bob$ ./configure
--prefix=/Applications/LyX.app --disable-concept-checks
--with-version-suffix=-1.5b2-2 --with-qt4-dir=/Users/Bob/qt-4.3.0-0508
--enable-optimization=-Os --without-x --with-included-gettext
--with-frontend=qt4 --disable-stdlib-debug
configuring LyX version 1.5.0beta2
WARNING: This is a prerelease. Be careful and backup your documents.
checking for version suffix... -1.5b2-2
checking build system type... powerpc-apple-darwin8.9.0
checking host system type... powerpc-apple-darwin8.9.0
checking target system type... powerpc-apple-darwin8.9.0
checking what packaging should be used... macosx
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... (cached) awk
checking for kpsewhich... kpsewhich
checking for gm4... gm4
checking for a Python interpreter with version >= 2.3... python
checking for python... /usr/bin/python
checking for python version... 2.3
checking for python platform... darwin
checking for python script directory...
${prefix}/lib/python2.3/site-packages
checking for python extension module directory...
${exec_prefix}/lib/python2.3/site-packages
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
bob-lounsburys-ibook:~/Desktop/lyx-1.5.0beta2 Bob$
I've also attached the config.log. Does anyone know what this means or
why this is happening when it worked a couple of weeks ago?
Thanks,
Bob Lounsbury
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by LyX configure 1.5.0beta2, which was
generated by GNU Autoconf 2.60. Invocation command line was
$ ./configure --prefix=/Applications/LyX.app --disable-concept-checks
--with-version-suffix=-1.5b2-2 --with-qt4-dir=/Users/Bob/qt-4.3.0-0508
--enable-optimization=-Os --without-x --with-included-gettext
--with-frontend=qt4 --disable-stdlib-debug
## --------- ##
## Platform. ##
## --------- ##
hostname = bob-lounsburys-ibook.local
uname -m = Power Macintosh
uname -r = 8.9.0
uname -s = Darwin
uname -v = Darwin Kernel Version 8.9.0: Thu Feb 22 20:54:07 PST 2007;
root:xnu-792.17.14~1/RELEASE_PPC
/usr/bin/uname -p = powerpc
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = Mach kernel version:
Darwin Kernel Version 8.9.0: Thu Feb 22 20:54:07 PST 2007;
root:xnu-792.17.14~1/RELEASE_PPC
Kernel configured for a single processor only.
1 processor is physically available.
Processor type: ppc750 (PowerPC 750)
Processor active: 0
Primary memory available: 384.00 megabytes
Default processor set: 57 tasks, 184 threads, 1 processors
Load average: 3.64, Mach factor: 0.22
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /sw/qt-4.1.5/bin
PATH: /sw/qt-4.2.3/bin
PATH: /sw/qt-4.3.0/bin
PATH: /sw/bin
PATH: /sw/sbin
PATH: /bin
PATH: /sbin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2124: checking for version suffix
configure:2140: result: -1.5b2-2
configure:2150: checking build system type
configure:2168: result: powerpc-apple-darwin8.9.0
configure:2190: checking host system type
configure:2205: result: powerpc-apple-darwin8.9.0
configure:2227: checking target system type
configure:2242: result: powerpc-apple-darwin8.9.0
configure:2270: checking what packaging should be used
configure:2285: result: macosx
configure:2341: checking whether to enable maintainer-specific portions of
Makefiles
configure:2350: result: no
configure:2381: checking for a BSD-compatible install
configure:2437: result: /usr/bin/install -c
configure:2448: checking whether build environment is sane
configure:2491: result: yes
configure:2556: checking for gawk
configure:2586: result: no
configure:2556: checking for mawk
configure:2586: result: no
configure:2556: checking for nawk
configure:2586: result: no
configure:2556: checking for awk
configure:2572: found /usr/bin/awk
configure:2583: result: awk
configure:2594: checking whether make sets $(MAKE)
configure:2615: result: yes
configure:2785: checking how to create a ustar tar archive
configure:2798: tar --version
tar (GNU tar) 1.15.1
configure:2801: $? = 0
configure:2841: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir"
>conftest.tar
configure:2844: $? = 0
configure:2848: tar -xf - <conftest.tar
configure:2851: $? = 0
configure:2864: result: gnutar
configure:2879: checking whether make sets $(MAKE)
configure:2900: result: yes
configure:2922: checking for a BSD-compatible install
configure:2978: result: /usr/bin/install -c
configure:2994: checking for gawk
configure:3021: result: awk
configure:3037: checking for kpsewhich
configure:3053: found /sw/bin/kpsewhich
configure:3065: result: kpsewhich
configure:3084: checking for gm4
configure:3100: found /sw/bin/gm4
configure:3111: result: gm4
configure:3157: checking for a Python interpreter with version >= 2.3
configure:3172: python -c import sys, string # split strings by '.' and convert
to numeric. Append some zeros # because we need at least 4 digits for the hex
conversion. minver = map(int, string.split('2.3', '.')) + [0, 0, 0] minverhex =
0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
sys.exit(sys.hexversion < minverhex)
configure:3175: $? = 0
configure:3182: result: python
configure:3190: checking for python
configure:3208: found /usr/bin/python
configure:3220: result: /usr/bin/python
configure:3238: checking for python version
configure:3245: result: 2.3
configure:3257: checking for python platform
configure:3264: result: darwin
configure:3271: checking for python script directory
configure:3279: result: ${prefix}/lib/python2.3/site-packages
configure:3288: checking for python extension module directory
configure:3296: result: ${exec_prefix}/lib/python2.3/site-packages
configure:3365: checking for gcc
configure:3381: found /usr/bin/gcc
configure:3392: result: gcc
configure:3630: checking for C compiler version
configure:3637: gcc --version >&5
powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5250)
Copyright (C) 2005 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:3640: $? = 0
configure:3647: gcc -v >&5
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5250.obj~12/src/configure
--disable-checking -enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
--with-gxx-include-dir=/include/c++/4.0.0 --build=powerpc-apple-darwin8
--host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5250)
configure:3650: $? = 0
configure:3657: gcc -V >&5
gcc: argument to `-V' is missing
configure:3660: $? = 1
configure:3683: checking for C compiler default output file name
configure:3710: gcc -framework Carbon -framework OpenGL -framework AGL -
framework QuickTime -lz -framework Cocoa conftest.c >&5
powerpc-apple-darwin8-gcc-4.0.1: framework: No such file or directory
powerpc-apple-darwin8-gcc-4.0.1: QuickTime: No such file or directory
powerpc-apple-darwin8-gcc-4.0.1: -E or -x required when input is from standard
input
configure:3713: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "LyX"
| #define PACKAGE_TARNAME "lyx"
| #define PACKAGE_VERSION "1.5.0beta2"
| #define PACKAGE_STRING "LyX 1.5.0beta2"
| #define PACKAGE_BUGREPORT "lyx-devel@lists.lyx.org"
| #define USE_MACOSX_PACKAGING 1
| #define PACKAGE "LyX-1.5b2-2"
| #define HAVE_KPSEWHICH 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3752: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=powerpc-apple-darwin8.9.0
ac_cv_env_CCC_set=
ac_cv_env_CCC_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_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=set
ac_cv_env_LDFLAGS_value='-framework Carbon -framework OpenGL -framework AGL -
framework QuickTime -lz -framework Cocoa'
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_QT4DIR_set=
ac_cv_env_QT4DIR_value=
ac_cv_env_QT4_CORE_CFLAGS_set=
ac_cv_env_QT4_CORE_CFLAGS_value=
ac_cv_env_QT4_CORE_LIBS_set=
ac_cv_env_QT4_CORE_LIBS_value=
ac_cv_env_QT4_FRONTEND_CFLAGS_set=
ac_cv_env_QT4_FRONTEND_CFLAGS_value=
ac_cv_env_QT4_FRONTEND_LIBS_set=
ac_cv_env_QT4_FRONTEND_LIBS_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_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=powerpc-apple-darwin8.9.0
ac_cv_path_PYTHON=/usr/bin/python
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=awk
ac_cv_prog_KPSEWHICH=kpsewhich
ac_cv_prog_M4=gm4
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
ac_cv_target=powerpc-apple-darwin8.9.0
am_cv_pathless_PYTHON=python
am_cv_prog_tar_ustar=gnutar
am_cv_python_platform=darwin
am_cv_python_pyexecdir='${exec_prefix}/lib/python2.3/site-packages'
am_cv_python_pythondir='${prefix}/lib/python2.3/site-packages'
am_cv_python_version=2.3
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /Users/Bob/Desktop/lyx-1.5.0beta2/config/missing --run
aclocal-1.9'
AIKSAURUS_LIBS=''
ALLOCA=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /Users/Bob/Desktop/lyx-1.5.0beta2/config/missing --run tar'
AM_CFLAGS=''
AM_CPPFLAGS=''
AM_CXXFLAGS=''
AM_LDFLAGS=''
AR=''
AS=''
AUTOCONF='${SHELL} /Users/Bob/Desktop/lyx-1.5.0beta2/config/missing --run
autoconf'
AUTOHEADER='${SHELL} /Users/Bob/Desktop/lyx-1.5.0beta2/config/missing --run
autoheader'
AUTOMAKE='${SHELL} /Users/Bob/Desktop/lyx-1.5.0beta2/config/missing --run
automake-1.9'
AWK='awk'
BUILD_CLIENT_SUBDIR_FALSE=''
BUILD_CLIENT_SUBDIR_TRUE=''
BUILD_INCLUDED_LIBINTL=''
CATOBJEXT=''
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR=''
DLLTOOL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FRONTENDS=''
FRONTENDS_PROGS=''
FRONTENDS_SUBDIRS=''
GENCAT=''
GLIBC21=''
GMSGFMT=''
GREP=''
HAVE_ASPRINTF=''
HAVE_POSIX_PRINTF=''
HAVE_SNPRINTF=''
HAVE_WPRINTF=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
INSTOBJEXT=''
INTLBISON=''
INTLLIBS=''
INTLOBJS=''
INTL_LIBTOOL_SUFFIX_PREFIX=''
KPSEWHICH='kpsewhich'
LDFLAGS='-framework Carbon -framework OpenGL -framework AGL - framework
QuickTime -lz -framework Cocoa'
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBS=''
LIBSHLWAPI=''
LIBTOOL=''
LN_S=''
LTLIBICONV=''
LTLIBINTL=''
LTLIBOBJS=''
LYX_ABS_INSTALLED_DATADIR=''
LYX_ABS_INSTALLED_LOCALEDIR=''
LYX_ABS_TOP_SRCDIR=''
LYX_BUILD_PCH_FALSE=''
LYX_BUILD_PCH_TRUE=''
LYX_DATE='Sat, April 21, 2007'
M4='gm4'
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /Users/Bob/Desktop/lyx-1.5.0beta2/config/missing --run
makeinfo'
MKINSTALLDIRS=''
MOC4=''
MSGFMT=''
MSGMERGE=''
OBJDUMP=''
OBJEXT=''
PACKAGE='LyX-1.5b2-2'
PACKAGE_BUGREPORT='lyx-devel@lists.lyx.org'
PACKAGE_NAME='LyX'
PACKAGE_STRING='LyX 1.5.0beta2'
PACKAGE_TARNAME='lyx'
PACKAGE_VERSION='1.5.0beta2'
PATH_SEPARATOR=':'
PKG_CONFIG=''
POSUB=''
PYTHON='/usr/bin/python'
PYTHON_EXEC_PREFIX='${exec_prefix}'
PYTHON_PLATFORM='darwin'
PYTHON_PREFIX='${prefix}'
PYTHON_VERSION='2.3'
QT4DIR=''
QT4_CORE_CFLAGS=''
QT4_CORE_INCLUDES=''
QT4_CORE_LDFLAGS=''
QT4_CORE_LIB=''
QT4_CORE_LIBS=''
QT4_CPPFLAGS=''
QT4_FRONTEND_CFLAGS=''
QT4_FRONTEND_LIBS=''
QT4_INCLUDES=''
QT4_LDFLAGS=''
QT4_LIB=''
QT4_VERSION=''
RANLIB=''
RPM_FRONTEND=''
RPM_VERSION_SUFFIX='--with-version-suffix=-1.5b2-2'
SET_MAKE=''
SHELL='/bin/sh'
SOCKET_LIBS=''
STRIP=''
UIC4=''
USE_ASPELL_FALSE=''
USE_ASPELL_TRUE=''
USE_INCLUDED_BOOST_FALSE=''
USE_INCLUDED_BOOST_TRUE=''
USE_INCLUDED_LIBINTL=''
USE_ISPELL_FALSE=''
USE_ISPELL_TRUE=''
USE_NLS=''
USE_PSPELL_FALSE=''
USE_PSPELL_TRUE=''
VERSION='1.5.0beta2'
VERSION_INFO=''
XGETTEXT=''
XMKMF=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_CC='gcc'
ac_ct_CXX=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='tar --format=ustar -chf - "$$tardir"'
am__untar='tar -xf -'
bindir='${prefix}/Contents/MacOS'
build='powerpc-apple-darwin8.9.0'
build_alias=''
build_cpu='powerpc'
build_os='darwin8.9.0'
build_vendor='apple'
datadir='${prefix}/Contents/Resources'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='powerpc-apple-darwin8.9.0'
host_alias=''
host_cpu='powerpc'
host_os='darwin8.9.0'
host_vendor='apple'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='/Users/Bob/Desktop/lyx-1.5.0beta2/config/install-sh'
libdir='${prefix}/Contents/Resources'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
lyx_devel_version='no'
mandir='${datadir}/man'
mkdir_p='$(mkinstalldirs)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgdatadir='${datadir}'
pkgpyexecdir='${pyexecdir}/LyX-1.5b2-2'
pkgpythondir='${pythondir}/LyX-1.5b2-2'
prefix='/Applications/LyX.app'
program_suffix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
pyexecdir='${exec_prefix}/lib/python2.3/site-packages'
pythondir='${prefix}/lib/python2.3/site-packages'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='powerpc-apple-darwin8.9.0'
target_alias=''
target_cpu='powerpc'
target_os='darwin8.9.0'
target_vendor='apple'
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME "LyX"
#define PACKAGE_TARNAME "lyx"
#define PACKAGE_VERSION "1.5.0beta2"
#define PACKAGE_STRING "LyX 1.5.0beta2"
#define PACKAGE_BUGREPORT "lyx-devel@lists.lyx.org"
#define USE_MACOSX_PACKAGING 1
#define PACKAGE "LyX-1.5b2-2"
#define HAVE_KPSEWHICH 1
configure: exit 77