Re: Help needed: autogen.sh problem - LyX 1.2.2cvs fails with SuSE 8.1
Garst == Garst R Reese [EMAIL PROTECTED] writes: Garst This comes from all of the unused, unsupported, unnecessary, Garst and buggy, qt, gtk, gnome crud in autogen.sh etc. --- talk to Garst Jean Marc. This comes mostly from the fact that the configure scripts of 1.2.x have not been ported to autoconf 2.5x and that they will proobably not be. I do not care a lot about it since lyx is distributed with already working configure scripts. I will nevertheless take a look at the changes that have been proposed and if they look clean enough, I'll try to do it. However, this will be after 1.2.2, methinks. Garst Trying to remove it is bound to introduce new bugs. We have Garst no time for that... See what happened with 1.2.1. There have been so many 'fixes' there' that we have at least 3 bad regressions from 1.2.0. This is not acceptable. JMarc
Re: Help needed: autogen.sh problem - LyX 1.2.2cvs fails with SuSE 8.1
> "Garst" == Garst R Reese <[EMAIL PROTECTED]> writes: Garst> This comes from all of the unused, unsupported, unnecessary, Garst> and buggy, qt, gtk, gnome crud in autogen.sh etc. --- talk to Garst> Jean Marc. This comes mostly from the fact that the configure scripts of 1.2.x have not been ported to autoconf 2.5x and that they will proobably not be. I do not care a lot about it since lyx is distributed with already working configure scripts. I will nevertheless take a look at the changes that have been proposed and if they look clean enough, I'll try to do it. However, this will be after 1.2.2, methinks. Garst> "Trying to remove it is bound to introduce new bugs. We have Garst> no time for that... See what happened with 1.2.1. There have been so many 'fixes' there' that we have at least 3 bad regressions from 1.2.0. This is not acceptable. JMarc
Help needed: autogen.sh problem - LyX 1.2.2cvs fails with SuSE 8.1
Hi, after upgrading to SuSE 8.1, I intended to recompile a fresh copy of LyX. But unfortunately, autogen.sh already generated a large list of warnings. Afterwards, configure fail due to a missing symbol/variable (I can't send you the output but I guess you already know the problem). SuSE 8.1. contains the following tools: gcc 3.2 automake 1.6.3 autoconf 2.53 libtool 1.4.2 Does anybody know how to fix the problem??? Thanks in advance, Michael
Re: Help needed: autogen.sh problem - LyX 1.2.2cvs fails with SuSE 8.1
-BEGIN PGP SIGNED MESSAGE- On Sunday 06 October 2002 10:35, Michael Schmitt wrote: Hi, after upgrading to SuSE 8.1, I intended to recompile a fresh copy of LyX. But unfortunately, autogen.sh already generated a large list of warnings. Afterwards, configure fail due to a missing symbol/variable (I can't send you the output but I guess you already know the problem). SuSE 8.1. contains the following tools: gcc 3.2 automake 1.6.3 autoconf 2.53 libtool 1.4.2 Does anybody know how to fix the problem??? Maybe, but I have only SuSE 8.0. There seems to be a missing ./config/configure.ac. Attached one is working here. Copy it to . and to ./config/. The command-sequence ./autogen.sh aclocal ./autogen.sh rm -f ./configure make may do it. (At least, I could compile it that way now) Kornel P.S. it may be sufficient to uncomment the lines #68 to #73 in configure.in - -- Kornel Benko [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: PGP 6.5.8 iQCVAwUBPaBPwLewfbDGmeqhAQGe+AQAumAEO7+G87YUs1AZvqb5g3ubc/+Wfvge 4s0T1wFPZV/+1VpZ1reZtmO3gsGGchHZSiGK332wy1qhO1q3sgo02Hruzcytre5r jl9ZnBEbQBdscKVn6qNhftrAViCFIWv6vatusquBpwIgAfRW9Gh4IBn2qN2S7IE3 E8yrRZ7vRio= =qWVJ -END PGP SIGNATURE- dnl Process with autoconf to generate configure script -*- sh -*- AC_INIT(lyx,1.2.2cvs,[EMAIL PROTECTED]) AC_PREREQ(2.52) AC_CONFIG_SRCDIR(src/main.C) AM_CONFIG_HEADER([src/config.h]) AC_CONFIG_AUX_DIR(config) PACKAGE=lyx${program_suffix} VERSION=1.2.2cvs LYX_CHECK_VERSION AC_CANONICAL_SYSTEM AC_VALIDATE_CACHE_SYSTEM_TYPE AC_CANONICAL_TARGET LYX_VERSION_SUFFIX AM_INIT_AUTOMAKE($lyxname, $VERSION) # The list of languages known to LyX # This is needed by GNU gettext ALL_LINGUAS=bg ca cs da de es eu fi fr he hu it nl no pl pt ro ru sk sl sv tr wa # fix the value of the prefixes. test x$prefix = xNONE prefix=$ac_default_prefix test x$exec_prefix = xNONE exec_prefix='${prefix}' ### Set the execute permissions of the various scripts correctly for file in config/install-sh config/mkinstalldirs lib/configure ; do chmod 755 ${srcdir}/${file} done ### Check for programs AC_PROG_MAKE_SET AC_PROG_INSTALL #AC_PROG_RANLIB AC_CHECK_PROG(KPSEWHICH, kpsewhich, kpsewhich, :) if test x$KPSEWHICH = xkpsewhich ; then AC_DEFINE(HAVE_KPSEWHICH, 1, [Define this if you have the kpsewhich program working on your system.]) fi AC_CHECK_PROGS(M4, gm4 gnum4 m4, m4) # Work around a problem in automake 1.4: when invoking install-strip, # INSTALL_PROGRAM is changed to 'install -s', and since # INSTALL_SCRIPT==INSTALL_PROGRAM, we get errors with fileutils-4.0 # which returns an error condition when stripping fails. INSTALL_SCRIPT='${INSTALL}' ### we will also need a C compiler to compile GNU gettext AC_PROG_CC ### check for special systems AC_ISC_POSIX AC_AIX LYX_HPUX LYX_SUNOS4 LYX_SCO ### Check for program extensions (.exe or nothing) AC_EXEEXT ### check which frontend we want to use LYX_USE_FRONTEND dnl The code below is not in a macro, because this would cause big dnl problems with the AC_REQUIRE contained in KDE_DO_IT_ALL. #case $lyx_use_frontend in # gnome) #GNOME_INIT #GNOME_COMPILE_WARNINGS #GNOME_X_CHECKS #esac ### Check for a C++ compiler LYX_PROG_CXX ### Some checks on what the C++ compiler can(not) do AC_LANG(C++) dnl we do not need that currently (and probably all our supported dnl compiler allow that) dnl LYX_CXX_PARTIAL LYX_CXX_EXPLICIT LYX_CXX_STL_STRING LYX_CXX_GOOD_STD_STRING LYX_CXX_CHEADERS LYX_CXX_GLOBAL_CSTD LYX_STD_COUNT dnl we disable rtti for now dnl LYX_CXX_RTTI AC_CHECK_HEADERS(ostream istream sstream locale limits) LYX_CXX_STL_MODERN_STREAMS ### and now some special lyx flags. AC_ARG_ENABLE(assertions, [ --enable-assertions add runtime sanity checks in the program],, [if test $lyx_devel_version = yes -o $lyx_prerelease = yes ; then enable_assertions=yes; else enable_assertions=no; fi;]) if test x$enable_assertions = xyes ; then lyx_flags=$lyx_flags assertions AC_DEFINE(ENABLE_ASSERTIONS,1, [Define if you want assertions to be enabled in the code]) fi ### We need a regex implementation, so we provide our own if none is found. LYX_REGEX ### Library Files dnl by testing these we check if it is ok to have dnl -lc and -lm as args to the compiler AC_CHECK_LIB(m, sin) AC_CHECK_LIB(c, fopen) ### Add extra directories to check for libraries. LYX_WITH_DIR([extra-lib],[extra library directory],extra_lib, NONE) LYX_LOOP_DIR($lyx_cv_extra_lib,LYX_ADD_LIB_DIR(lyx_ldflags,$dir)) test ! x$lyx_ldflags = x LDFLAGS=$lyx_ldflags $LDFLAGS ### Add extra directories to check for include files. LYX_WITH_DIR([extra-inc],[extra include directory],extra_inc, NONE) LYX_LOOP_DIR($lyx_cv_extra_inc,LYX_ADD_INC_DIR(lyx_cppflags,$dir)) test ! x$lyx_cppflags = x CPPFLAGS=$lyx_cppflags $CPPFLAGS ### Add both includes and libraries LYX_WITH_DIR([extra-prefix],[extra
Re: Help needed: autogen.sh problem - LyX 1.2.2cvs fails with SuSE 8.1
-BEGIN PGP SIGNED MESSAGE- On Sunday 06 October 2002 15:59, Kornel Benko wrote: aclocal ./autogen.sh rm -f I meant rm -f config.status Kornel - -- Kornel Benko [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: PGP 6.5.8 iQCVAwUBPaBSR7ewfbDGmeqhAQG8KQP+LODJqjjDZT+Fj8VRYweD28EO0otDc5F/ eilTAnanHYiK2ckevyzMlxxS51M+qtRKZ8kkOtwhsOLyqSDjKJfLSWhBu+pFTi8e azRAjUsiWDEmjtl8B1CKt7WNY5eARaVNhyUyU05HQnonvTGCA8RTehO77VmK4CZu 3O6uXcKJ8L0= =TOo1 -END PGP SIGNATURE-
Re: Help needed: autogen.sh problem - LyX 1.2.2cvs fails with SuSE 8.1
-BEGIN PGP SIGNED MESSAGE- On Sunday 06 October 2002 15:59, Kornel Benko wrote: P.S. it may be sufficient to uncomment the lines #68 to #73 in configure.in Here I meant comment. Sorry. Kornel - -- Kornel Benko [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: PGP 6.5.8 iQCVAwUBPaBW2LewfbDGmeqhAQFi1AP9GktdS8dULc1pBp8TvfYEIxTVVbWzFpZb b7pav/KjvwvASLN4MnOFDCfcIygdA3M6mE2toZ9gPA01fzrKcBISZA9T703VYF0u 8aYhPLtINV5M/l/gVcmF+xVPKmFiRdDK4fhQPM/mAl16isDai/sLy2tpkiLg0XZu vCpZelkcz7s= =eAxJ -END PGP SIGNATURE-
Re: Help needed: autogen.sh problem - LyX 1.2.2cvs fails with SuSE 8.1
On Sun, Oct 06, 2002 at 01:27:34PM -0300, Garst R. Reese wrote: This comes from all of the unused, unsupported, unnecessary, and buggy, qt, gtk, gnome crud in autogen.sh etc. --- talk to Jean Marc. Where is your evidence for this. Michael did not provide enough info to decide. john -- I will eat a rubber tire to the music of The Flight of the Bumblebee
Re: Re: Help needed: autogen.sh problem - LyX 1.2.2cvs fails with SuSE 8.1
Garst R. Reese [EMAIL PROTECTED] schrieb am 06.10.2002, 18:27:34: This comes from all of the unused, unsupported, unnecessary, and buggy, qt, gtk, gnome crud in autogen.sh etc. --- talk to Jean Marc. I found out that it is sufficient to do the following: In file aclocal.m4: line 8: remove gtk--.m4, gnome--.m4, gnome.m4 In file configure.in: comment out lines 68-73, comment out lines 207-228 With these modifications, I was able to configure and compile - except for one thing: Option --with-included-string does not work with gcc 3.2 due to a compile problem in the math code. Which brings me to the following question: Is option --with-included-string still relevant for gcc 3.2 or just intended for old systems? And how about --with-included-gettext? Thanks you for your quick response! Michael
Help needed: autogen.sh problem - LyX 1.2.2cvs fails with SuSE 8.1
Hi, after upgrading to SuSE 8.1, I intended to recompile a fresh copy of LyX. But unfortunately, autogen.sh already generated a large list of warnings. Afterwards, configure fail due to a missing symbol/variable (I can't send you the output but I guess you already know the problem). SuSE 8.1. contains the following tools: gcc 3.2 automake 1.6.3 autoconf 2.53 libtool 1.4.2 Does anybody know how to fix the problem??? Thanks in advance, Michael
Re: Help needed: autogen.sh problem - LyX 1.2.2cvs fails with SuSE 8.1
-BEGIN PGP SIGNED MESSAGE- On Sunday 06 October 2002 10:35, Michael Schmitt wrote: > Hi, > > after upgrading to SuSE 8.1, I intended to recompile a fresh copy of > LyX. But unfortunately, autogen.sh already generated a large list of > warnings. Afterwards, configure fail due to a missing symbol/variable (I > can't send you the output but I guess you already know the problem). > > SuSE 8.1. contains the following tools: > >gcc 3.2 >automake 1.6.3 >autoconf 2.53 >libtool 1.4.2 > > Does anybody know how to fix the problem??? Maybe, but I have only SuSE 8.0. There seems to be a missing ./config/configure.ac. Attached one is working here. Copy it to "." and to "./config/." The command-sequence ./autogen.sh aclocal ./autogen.sh rm -f ./configure make may do it. (At least, I could compile it that way now) Kornel P.S. it may be sufficient to uncomment the lines #68 to #73 in configure.in - -- Kornel Benko [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: PGP 6.5.8 iQCVAwUBPaBPwLewfbDGmeqhAQGe+AQAumAEO7+G87YUs1AZvqb5g3ubc/+Wfvge 4s0T1wFPZV/+1VpZ1reZtmO3gsGGchHZSiGK332wy1qhO1q3sgo02Hruzcytre5r jl9ZnBEbQBdscKVn6qNhftrAViCFIWv6vatusquBpwIgAfRW9Gh4IBn2qN2S7IE3 E8yrRZ7vRio= =qWVJ -END PGP SIGNATURE- dnl Process with autoconf to generate configure script -*- sh -*- AC_INIT(lyx,1.2.2cvs,[EMAIL PROTECTED]) AC_PREREQ(2.52) AC_CONFIG_SRCDIR(src/main.C) AM_CONFIG_HEADER([src/config.h]) AC_CONFIG_AUX_DIR(config) PACKAGE=lyx${program_suffix} VERSION="1.2.2cvs" LYX_CHECK_VERSION AC_CANONICAL_SYSTEM AC_VALIDATE_CACHE_SYSTEM_TYPE AC_CANONICAL_TARGET LYX_VERSION_SUFFIX AM_INIT_AUTOMAKE($lyxname, $VERSION) # The list of languages known to LyX # This is needed by GNU gettext ALL_LINGUAS="bg ca cs da de es eu fi fr he hu it nl no pl pt ro ru sk sl sv tr wa" # fix the value of the prefixes. test "x$prefix" = xNONE && prefix=$ac_default_prefix test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' ### Set the execute permissions of the various scripts correctly for file in config/install-sh config/mkinstalldirs lib/configure ; do chmod 755 ${srcdir}/${file} done ### Check for programs AC_PROG_MAKE_SET AC_PROG_INSTALL #AC_PROG_RANLIB AC_CHECK_PROG(KPSEWHICH, kpsewhich, kpsewhich, :) if test "x$KPSEWHICH" = xkpsewhich ; then AC_DEFINE(HAVE_KPSEWHICH, 1, [Define this if you have the kpsewhich program working on your system.]) fi AC_CHECK_PROGS(M4, gm4 gnum4 m4, m4) # Work around a problem in automake 1.4: when invoking install-strip, # INSTALL_PROGRAM is changed to 'install -s', and since # INSTALL_SCRIPT==INSTALL_PROGRAM, we get errors with fileutils-4.0 # which returns an error condition when stripping fails. INSTALL_SCRIPT='${INSTALL}' ### we will also need a C compiler to compile GNU gettext AC_PROG_CC ### check for special systems AC_ISC_POSIX AC_AIX LYX_HPUX LYX_SUNOS4 LYX_SCO ### Check for program extensions (.exe or nothing) AC_EXEEXT ### check which frontend we want to use LYX_USE_FRONTEND dnl The code below is not in a macro, because this would cause big dnl problems with the AC_REQUIRE contained in KDE_DO_IT_ALL. #case "$lyx_use_frontend" in # gnome) #GNOME_INIT #GNOME_COMPILE_WARNINGS #GNOME_X_CHECKS #esac ### Check for a C++ compiler LYX_PROG_CXX ### Some checks on what the C++ compiler can(not) do AC_LANG(C++) dnl we do not need that currently (and probably all our supported dnl compiler allow that) dnl LYX_CXX_PARTIAL LYX_CXX_EXPLICIT LYX_CXX_STL_STRING LYX_CXX_GOOD_STD_STRING LYX_CXX_CHEADERS LYX_CXX_GLOBAL_CSTD LYX_STD_COUNT dnl we disable rtti for now dnl LYX_CXX_RTTI AC_CHECK_HEADERS(ostream istream sstream locale limits) LYX_CXX_STL_MODERN_STREAMS ### and now some special lyx flags. AC_ARG_ENABLE(assertions, [ --enable-assertions add runtime sanity checks in the program],, [if test $lyx_devel_version = yes -o $lyx_prerelease = yes ; then enable_assertions=yes; else enable_assertions=no; fi;]) if test "x$enable_assertions" = xyes ; then lyx_flags="$lyx_flags assertions" AC_DEFINE(ENABLE_ASSERTIONS,1, [Define if you want assertions to be enabled in the code]) fi ### We need a regex implementation, so we provide our own if none is found. LYX_REGEX ### Library Files dnl by testing these we check if it is ok to have dnl -lc and -lm as args to the compiler AC_CHECK_LIB(m, sin) AC_CHECK_LIB(c, fopen) ### Add extra directories to check for libraries. LYX_WITH_DIR([extra-lib],[extra library directory],extra_lib, NONE) LYX_LOOP_DIR($lyx_cv_extra_lib,LYX_ADD_LIB_DIR(lyx_ldflags,$dir)) test ! x"$lyx_ldflags" = x && LDFLAGS="$lyx_ldflags $LDFLAGS" ### Add extra directories to check for include files. LYX_WITH_DIR([extra-inc],[extra include directory],extra_inc, NONE) LYX_LOOP_DIR($lyx_cv_extra_inc,LYX_ADD_INC_DIR(lyx_cppflags,$dir)) test ! x"$lyx_cppflags" = x && CPPFLAGS="$lyx_cppflags $CPPFLAGS" ### Add both includes and
Re: Help needed: autogen.sh problem - LyX 1.2.2cvs fails with SuSE 8.1
-BEGIN PGP SIGNED MESSAGE- On Sunday 06 October 2002 15:59, Kornel Benko wrote: > aclocal > ./autogen.sh > rm -f I meant "rm -f config.status" Kornel - -- Kornel Benko [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: PGP 6.5.8 iQCVAwUBPaBSR7ewfbDGmeqhAQG8KQP+LODJqjjDZT+Fj8VRYweD28EO0otDc5F/ eilTAnanHYiK2ckevyzMlxxS51M+qtRKZ8kkOtwhsOLyqSDjKJfLSWhBu+pFTi8e azRAjUsiWDEmjtl8B1CKt7WNY5eARaVNhyUyU05HQnonvTGCA8RTehO77VmK4CZu 3O6uXcKJ8L0= =TOo1 -END PGP SIGNATURE-
Re: Help needed: autogen.sh problem - LyX 1.2.2cvs fails with SuSE 8.1
-BEGIN PGP SIGNED MESSAGE- On Sunday 06 October 2002 15:59, Kornel Benko wrote: > P.S. > it may be sufficient to uncomment the lines #68 to #73 in configure.in Here I meant "comment". Sorry. Kornel - -- Kornel Benko [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: PGP 6.5.8 iQCVAwUBPaBW2LewfbDGmeqhAQFi1AP9GktdS8dULc1pBp8TvfYEIxTVVbWzFpZb b7pav/KjvwvASLN4MnOFDCfcIygdA3M6mE2toZ9gPA01fzrKcBISZA9T703VYF0u 8aYhPLtINV5M/l/gVcmF+xVPKmFiRdDK4fhQPM/mAl16isDai/sLy2tpkiLg0XZu vCpZelkcz7s= =eAxJ -END PGP SIGNATURE-
Re: Help needed: autogen.sh problem - LyX 1.2.2cvs fails with SuSE 8.1
On Sun, Oct 06, 2002 at 01:27:34PM -0300, Garst R. Reese wrote: > This comes from all of the unused, unsupported, unnecessary, and buggy, > qt, gtk, gnome crud in autogen.sh etc. --- talk to Jean Marc. Where is your evidence for this. Michael did not provide enough info to decide. john -- "I will eat a rubber tire to the music of The Flight of the Bumblebee"
Re: Re: Help needed: autogen.sh problem - LyX 1.2.2cvs fails with SuSE 8.1
"Garst R. Reese" <[EMAIL PROTECTED]> schrieb am 06.10.2002, 18:27:34: > This comes from all of the unused, unsupported, unnecessary, and buggy, > qt, gtk, gnome crud in autogen.sh etc. --- talk to Jean Marc. I found out that it is sufficient to do the following: In file aclocal.m4: line 8: remove "gtk--.m4", "gnome--.m4", "gnome.m4" In file configure.in: comment out lines 68-73, comment out lines 207-228 With these modifications, I was able to configure and compile - except for one thing: Option "--with-included-string" does not work with gcc 3.2 due to a compile problem in the math code. Which brings me to the following question: Is option "--with-included-string" still relevant for gcc 3.2 or just intended for old systems? And how about "--with-included-gettext"? Thanks you for your quick response! Michael