Hello Abdel,
I wasn't able to configure LyX, I got this error:
gcc version 3.4.4 (mingw special)
configure:3067: $? = 0
configure:3069: gcc -V </dev/null >&5
gcc.exe: `-V' option must have argument
configure:3072: $? = 1
configure:3095: checking for C compiler default output file name
configure:3098: gcc -Lc:/Aspell/lib/aspell-0.60 -laspell -lopengl32
-lglu32 -lkernel32 -luser32 -lgdi32 -lcomdlg32 -ladvapi32 -lshell32
-lole32 -loleaut32 -luuid -limm32 -lwinmm -lwsock32 -lwinspool
conftest.c >&5
c:\mingw\bin\..\lib\gcc\mingw32\3.4.4\..\..\..\..\mingw32\bin\ld.exe:
cannot find -laspell
collect2: ld returned 1 exit status
configure:3101: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "LyX"
| #define PACKAGE_TARNAME "lyx"
| #define PACKAGE_VERSION "1.5.0svn"
| #define PACKAGE_STRING "LyX 1.5.0svn"
| #define PACKAGE_BUGREPORT "lyx-devel@lists.lyx.org"
| #define DEVEL_VERSION 1
| #define USE_WINDOWS_PACKAGING 1
| #define PACKAGE "LyX-svn"
| #define HAVE_KPSEWHICH 1
| /* end confdefs.h. */
The "-V" problem comes because there is no /dev/null on my XP system.
I don't know why -laspell isn't found. Any idea?
Btw. the configure script also fails when a program like python is
installed in a path with spaces. Should I report this to the list or is
there an easy workaround.
thanks and regards Uwe
p.s. attached the whole 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 LyX configure 1.5.0svn, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure --with-packaging=windows --prefix=d:/LyXSVN/lyx-devel
--without-x --with-aspell --with-version-suffix=-svn --with-frontend=qt4
--disable-maintainer-mode --disable-debug --enable-optimization=3 --disable-pch
--disable-stdlib-debug --disable-concept-checks --with-qt4-dir=c:/Qt/4.1.2
--with-extra-prefix=c:/Aspell
## --------- ##
## Platform. ##
## --------- ##
hostname = keiner
uname -m = i686
uname -r = 1.0.10(0.46/3/2)
uname -s = MINGW32_NT-5.2
uname -v = 2004-03-15 07:17
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: .
PATH: /usr/local/bin
PATH: /mingw/bin
PATH: /bin
PATH: /c/texmf/miktex/bin
PATH: /c/WINDOWS/system32
PATH: /c/WINDOWS
PATH: /c/WINDOWS/System32/Wbem
PATH: /c/Program Files (x86)/Common Files/MDL Shared/ISIS
PATH: /c/PROGRA~2/F-SECU~1
PATH: /c/Program Files (x86)/Common Files/Roxio Shared/DLLShared/
PATH: /c/Program Files (x86)/Common Files/Adobe/AGL
PATH: /c/Program Files (x86)/Subversion/bin
PATH: /mingw/bin
PATH: /c/python24
PATH: /c/Qt/4.1.2/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1620: checking for version suffix
configure:1636: result: -svn
configure:1646: checking build system type
configure:1664: result: i686-pc-mingw32
configure:1672: checking host system type
configure:1686: result: i686-pc-mingw32
configure:1694: checking target system type
configure:1708: result: i686-pc-mingw32
configure:1722: checking what packaging should be used
configure:1737: result: windows
configure:1793: checking whether to enable maintainer-specific portions of
Makefiles
configure:1802: result: no
configure:1833: checking for a BSD-compatible install
configure:1888: result: /bin/install -c
configure:1899: checking whether build environment is sane
configure:1942: result: yes
configure:2007: checking for gawk
configure:2023: found /bin/gawk
configure:2033: result: gawk
configure:2043: checking whether make sets $(MAKE)
configure:2063: result: yes
configure:2217: checking how to create a ustar tar archive
configure:2230: tar --version
tar (GNU tar) 1.13.19
Copyright 2001 Free Software Foundation, Inc.
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute it under the terms of the GNU General Public License;
see the file named COPYING for details.
Written by John Gilmore and Jay Fenlason.
configure:2233: $? = 0
configure:2273: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir"
>conftest.tar
tar: unrecognized option `--format=ustar'
Try `tar --help' for more information.
configure:2276: $? = 2
configure:2273: tardir=conftest.dir && eval pax -L -x ustar -w "$tardir"
>conftest.tar
./configure: pax: command not found
configure:2276: $? = 127
configure:2273: tardir=conftest.dir && eval find "$tardir" -print | cpio -o -H
ustar -L >conftest.tar
./configure: cpio: command not found
configure:2276: $? = 127
configure:2273: tardir=conftest.dir && eval false >conftest.tar
configure:2276: $? = 1
configure:2296: result: none
configure:2311: checking whether make sets $(MAKE)
configure:2331: result: yes
configure:2353: checking for a BSD-compatible install
configure:2408: result: /bin/install -c
configure:2424: checking for gawk
configure:2450: result: gawk
configure:2465: checking for kpsewhich
configure:2481: found /c/texmf/miktex/bin/kpsewhich
configure:2492: result: kpsewhich
configure:2510: checking for gm4
configure:2539: result: no
configure:2510: checking for gnum4
configure:2539: result: no
configure:2510: checking for m4
configure:2526: found /bin/m4
configure:2536: result: m4
configure:2581: checking for a Python interpreter with version >= 1.5.2
configure:2596: 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('1.5.2', '.')) + [0, 0, 0] minverhex
= 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
sys.exit(sys.hexversion < minverhex)
configure:2599: $? = 0
configure:2606: result: python
configure:2614: checking for python
configure:2632: found /c/python24/python
configure:2644: result: /c/python24/python
configure:2661: checking for python version
configure:2668: result: 2.4
configure:2680: checking for python platform
configure:2687: result: win32
configure:2694: checking for python script directory
configure:2702: result: c:\python24\Lib\site-packages
configure:2711: checking for python extension module directory
configure:2719: result: c:\python24\Lib\site-packages
configure:2786: checking for gcc
configure:2802: found /mingw/bin/gcc
configure:2812: result: gcc
configure:3056: checking for C compiler version
configure:3059: gcc --version </dev/null >&5
gcc.exe (GCC) 3.4.4 (mingw special)
Copyright (C) 2004 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:3062: $? = 0
configure:3064: gcc -v </dev/null >&5
Reading specs from c:/mingw/bin/../lib/gcc/mingw32/3.4.4/specs
Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as
--host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls
--enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry
--disable-shared --enable-sjlj-exceptions --enable-libgcj --disable-java-awt
--without-x --enable-java-gc=boehm --disable-libgcj-debug --enable-interpreter
--enable-hash-synchronization --enable-libstdcxx-debug
Thread model: win32
gcc version 3.4.4 (mingw special)
configure:3067: $? = 0
configure:3069: gcc -V </dev/null >&5
gcc.exe: `-V' option must have argument
configure:3072: $? = 1
configure:3095: checking for C compiler default output file name
configure:3098: gcc -Lc:/Aspell/lib/aspell-0.60 -laspell -lopengl32 -lglu32
-lkernel32 -luser32 -lgdi32 -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32
-luuid -limm32 -lwinmm -lwsock32 -lwinspool conftest.c >&5
c:\mingw\bin\..\lib\gcc\mingw32\3.4.4\..\..\..\..\mingw32\bin\ld.exe: cannot
find -laspell
collect2: ld returned 1 exit status
configure:3101: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "LyX"
| #define PACKAGE_TARNAME "lyx"
| #define PACKAGE_VERSION "1.5.0svn"
| #define PACKAGE_STRING "LyX 1.5.0svn"
| #define PACKAGE_BUGREPORT "lyx-devel@lists.lyx.org"
| #define DEVEL_VERSION 1
| #define USE_WINDOWS_PACKAGING 1
| #define PACKAGE "LyX-svn"
| #define HAVE_KPSEWHICH 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3140: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-mingw32
ac_cv_build_alias=i686-pc-mingw32
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_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-Lc:/Aspell/lib/aspell-0.60 -laspell -lopengl32
-lglu32 -lkernel32 -luser32 -lgdi32 -lcomdlg32 -ladvapi32 -lshell32 -lole32
-loleaut32 -luuid -limm32 -lwinmm -lwsock32 -lwinspool'
ac_cv_env_QT4DIR_set=
ac_cv_env_QT4DIR_value=
ac_cv_env_QTDIR_set=set
ac_cv_env_QTDIR_value='C:\Qt\4.1.2'
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=i686-pc-mingw32
ac_cv_host_alias=i686-pc-mingw32
ac_cv_path_PYTHON=/c/python24/python
ac_cv_path_install='/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_KPSEWHICH=kpsewhich
ac_cv_prog_M4=m4
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
ac_cv_target=i686-pc-mingw32
ac_cv_target_alias=i686-pc-mingw32
am_cv_pathless_PYTHON=python
am_cv_prog_tar_ustar=none
am_cv_python_platform=win32
am_cv_python_pyexecdir='c:\python24\Lib\site-packages'
am_cv_python_pythondir='c:\python24\Lib\site-packages'
am_cv_python_version=2.4
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /d/lyxsvn/lyx-devel/config/missing --run aclocal-1.9'
AIKSAURUS_LIBS=''
ALLOCA=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /d/lyxsvn/lyx-devel/config/missing --run tar'
AM_CFLAGS=''
AM_CPPFLAGS=''
AM_CXXFLAGS=''
AM_LDFLAGS=''
AR=''
AS=''
AUTOCONF='${SHELL} /d/lyxsvn/lyx-devel/config/missing --run autoconf'
AUTOHEADER='${SHELL} /d/lyxsvn/lyx-devel/config/missing --run autoheader'
AUTOMAKE='${SHELL} /d/lyxsvn/lyx-devel/config/missing --run automake-1.9'
AWK='gawk --posix'
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=''
F77=''
FFLAGS=''
FORMS_H_LOCATION=''
FRONTENDS=''
FRONTENDS_PROGS=''
FRONTENDS_SUBDIRS=''
GENCAT=''
GLIBC21=''
GMSGFMT=''
GTK_FRONTEND_CFLAGS=''
GTK_FRONTEND_LIBS=''
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='-Lc:/Aspell/lib/aspell-0.60 -laspell -lopengl32 -lglu32 -lkernel32
-luser32 -lgdi32 -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid
-limm32 -lwinmm -lwsock32 -lwinspool'
LIBICONV=''
LIBINTL=''
LIBOBJS=''
LIBS=''
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=''
M4='m4'
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /d/lyxsvn/lyx-devel/config/missing --run makeinfo'
MKINSTALLDIRS=''
MOC4=''
MOC=''
MSGFMT=''
MSGMERGE=''
OBJDUMP=''
OBJEXT=''
PACKAGE='LyX-svn'
PACKAGE_BUGREPORT='lyx-devel@lists.lyx.org'
PACKAGE_NAME='LyX'
PACKAGE_STRING='LyX 1.5.0svn'
PACKAGE_TARNAME='lyx'
PACKAGE_VERSION='1.5.0svn'
PATH_SEPARATOR=':'
PKG_CONFIG=''
POSUB=''
PYTHON='/c/python24/python'
PYTHON_EXEC_PREFIX='${exec_prefix}'
PYTHON_PLATFORM='win32'
PYTHON_PREFIX='${prefix}'
PYTHON_VERSION='2.4'
QT4DIR=''
QT4_CPPFLAGS=''
QT4_INCLUDES=''
QT4_LDFLAGS=''
QT4_LIB=''
QT4_VERSION=''
QTDIR='C:\Qt\4.1.2'
QT_CPPFLAGS=''
QT_INCLUDES=''
QT_LDFLAGS=''
QT_LIB=''
QT_VERSION=''
RANLIB=''
RPM_FRONTEND=''
RPM_VERSION_SUFFIX='--with-version-suffix=-svn'
SET_MAKE=''
SHELL='/bin/sh'
SOCKET_LIBS=''
STRIP=''
UIC4=''
UIC=''
USE_ASPELL_FALSE=''
USE_ASPELL_TRUE=''
USE_COMPRESSION_FALSE=''
USE_COMPRESSION_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.0svn'
VERSION_INFO=''
XFORMS_LIBS=''
XGETTEXT=''
XPM_H_LOCATION=''
X_CFLAGS=''
X_EXTRA_LIBS=''
X_LIBS=''
X_PRE_LIBS=''
ac_ct_AR=''
ac_ct_AS=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_DLLTOOL=''
ac_ct_F77=''
ac_ct_OBJDUMP=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='false'
am__untar='false'
bindir='${prefix}/bin'
build='i686-pc-mingw32'
build_alias=''
build_cpu='i686'
build_os='mingw32'
build_vendor='pc'
datadir='${prefix}/Resources'
exec_prefix='NONE'
host='i686-pc-mingw32'
host_alias=''
host_cpu='i686'
host_os='mingw32'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/d/lyxsvn/lyx-devel/config/install-sh'
libdir='${prefix}/Resources'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
lyx_devel_version='yes'
mandir='${prefix}/Resources/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
pkgdatadir='${datadir}'
pkgpyexecdir='${pyexecdir}/LyX-svn'
pkgpythondir='${pythondir}/LyX-svn'
prefix='d:/LyXSVN/lyx-devel'
program_transform_name='s,$$,-svn,'
pyexecdir='c:\python24\Lib\site-packages'
pythondir='c:\python24\Lib\site-packages'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i686-pc-mingw32'
target_alias=''
target_cpu='i686'
target_os='mingw32'
target_vendor='pc'
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define DEVEL_VERSION 1
#define HAVE_KPSEWHICH 1
#define PACKAGE "LyX-svn"
#define PACKAGE_BUGREPORT "lyx-devel@lists.lyx.org"
#define PACKAGE_NAME "LyX"
#define PACKAGE_STRING "LyX 1.5.0svn"
#define PACKAGE_TARNAME "lyx"
#define PACKAGE_VERSION "1.5.0svn"
#define USE_WINDOWS_PACKAGING 1
configure: exit 77