I tried to follow the instructions on the lyx web site and those recently 
provided by Richard on the lyx-users list in order to build trunk. Autogen 
fails to produce a workable configure file. Richard thinks this is a bug and 
recommended posting to the devel list. Here is the output from configure and 
autogen.sh:


configure says:

stef...@polus:~/temp/lyx-devel/trunk$ ./configure
./configure: line 1875: LYX_CHECK_VERSION: command not found
./configure: line 1876: LYX_VERSION_SUFFIX: command not found
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
./configure: line 2004: LYX_USE_PACKAGING: command not found
./configure: line 2016: AM_MAINTAINER_MODE: command not found
./configure: line 2019: syntax error near unexpected token `foreign'
./configure: line 2019: `AM_INIT_AUTOMAKE(foreign dist-bzip2 no-define 1.5)'



autogen.sh had previously produced a long series of warnings of various kinds:

stef...@polus:~/temp/lyx-devel/trunk$ ./autogen.sh 
Using automake (GNU automake) 1.7.9                
Using autoconf (GNU Autoconf) 2.63                 
Building macros...                                 
aclocal: macro `AM_PROG_MKDIR_P' required but not defined
aclocal: macro `AM_PROG_MKDIR_P' required but not defined
Building config header template...                       
Building Makefile templates...                           
configure.ac: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,       
configure.ac: and that aclocal.m4 was recently regenerated (using aclocal).
config/common.am:11: LYX_BUILD_PCH does not appear in AM_CONDITIONAL       
config/common.am:31: USE_INCLUDED_BOOST does not appear in AM_CONDITIONAL  
Makefile.am:10: BUILD_CLIENT_SUBDIR does not appear in AM_CONDITIONAL      
Makefile.am:14: USE_INCLUDED_BOOST does not appear in AM_CONDITIONAL       
Makefile.am:19: directory should not contain `/'                           
config/common.am:11: LYX_BUILD_PCH does not appear in AM_CONDITIONAL       
config/common.am:31: USE_INCLUDED_BOOST does not appear in AM_CONDITIONAL  
boost/Makefile.am:17: MONOLITHIC_BOOST does not appear in AM_CONDITIONAL   
boost/Makefile.am:3: library used but `RANLIB' is undefined                
boost/Makefile.am:3:                                                       
boost/Makefile.am:3: The usual way to define `RANLIB' is to add `AC_PROG_RANLIB'
boost/Makefile.am:3: to `configure.ac' and run `autoconf' again.                
/usr/share/automake-1.7/am/depend2.am: am__fastdepCXX does not appear in 
AM_CONDITIONAL
/usr/share/automake-1.7/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL  
       
config/common.am:11: LYX_BUILD_PCH does not appear in AM_CONDITIONAL            
       
config/common.am:31: USE_INCLUDED_BOOST does not appear in AM_CONDITIONAL       
       
config/common.am:11: LYX_BUILD_PCH does not appear in AM_CONDITIONAL            
       
config/common.am:31: USE_INCLUDED_BOOST does not appear in AM_CONDITIONAL       
       
config/common.am:11: LYX_BUILD_PCH does not appear in AM_CONDITIONAL            
       
config/common.am:31: USE_INCLUDED_BOOST does not appear in AM_CONDITIONAL       
       
config/common.am:11: LYX_BUILD_PCH does not appear in AM_CONDITIONAL            
       
config/common.am:31: USE_INCLUDED_BOOST does not appear in AM_CONDITIONAL       
       
development/Makefile.am:3: INSTALL_MACOSX does not appear in AM_CONDITIONAL     
       
development/Makefile.am:7: INSTALL_CYGWIN does not appear in AM_CONDITIONAL     
       
config/common.am:11: LYX_BUILD_PCH does not appear in AM_CONDITIONAL            
       
config/common.am:31: USE_INCLUDED_BOOST does not appear in AM_CONDITIONAL       
       
/usr/share/automake-1.7/am/depend2.am: am__fastdepCC does not appear in 
AM_CONDITIONAL 
/usr/share/automake-1.7/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL  
       
config/common.am:11: LYX_BUILD_PCH does not appear in AM_CONDITIONAL            
       
config/common.am:31: USE_INCLUDED_BOOST does not appear in AM_CONDITIONAL       
       
lib/Makefile.am: Python sources seen but `PYTHON' is undefined                  
       
lib/Makefile.am:                                                                
       
lib/Makefile.am: The usual way to define `PYTHON' is to add `AM_PATH_PYTHON'    
       
lib/Makefile.am: to `configure.ac' and run `aclocal' and `autoconf' again.      
       
config/common.am:11: LYX_BUILD_PCH does not appear in AM_CONDITIONAL            
       
config/common.am:31: USE_INCLUDED_BOOST does not appear in AM_CONDITIONAL       
       
config/common.am:11: LYX_BUILD_PCH does not appear in AM_CONDITIONAL            
       
config/common.am:31: USE_INCLUDED_BOOST does not appear in AM_CONDITIONAL       
       
lib/lyx2lyx/Makefile.am: Python sources seen but `PYTHON' is undefined          
       
lib/lyx2lyx/Makefile.am:                                                        
       
lib/lyx2lyx/Makefile.am: The usual way to define `PYTHON' is to add 
`AM_PATH_PYTHON'   
lib/lyx2lyx/Makefile.am: to `configure.ac' and run `aclocal' and `autoconf' 
again.     
config/common.am:11: LYX_BUILD_PCH does not appear in AM_CONDITIONAL            
       
config/common.am:31: USE_INCLUDED_BOOST does not appear in AM_CONDITIONAL       
       
config/common.am:11: LYX_BUILD_PCH does not appear in AM_CONDITIONAL            
       
config/common.am:31: USE_INCLUDED_BOOST does not appear in AM_CONDITIONAL       
       
src/Makefile.am:10: BUILD_CLIENT_SUBDIR does not appear in AM_CONDITIONAL       
       
src/Makefile.am:41: LYX_WIN_RESOURCE does not appear in AM_CONDITIONAL          
       
src/Makefile.am:51: USE_ASPELL does not appear in AM_CONDITIONAL                
       
src/Makefile.am:55: USE_HUNSPELL does not appear in AM_CONDITIONAL              
       
src/Makefile.am:78: LYX_WIN_RESOURCE does not appear in AM_CONDITIONAL          
       
src/Makefile.am:287: MONOLITHIC_CORE does not appear in AM_CONDITIONAL          
       
src/Makefile.am:300: INSTALL_WINDOWS does not appear in AM_CONDITIONAL          
       
src/Makefile.am:486: MONOLITHIC_MATHED does not appear in AM_CONDITIONAL        
       
src/Makefile.am:617: MONOLITHIC_INSETS does not appear in AM_CONDITIONAL        
       
src/Makefile.am:26: library used but `RANLIB' is undefined                      
       
src/Makefile.am:26:                                                             
       
src/Makefile.am:26: The usual way to define `RANLIB' is to add `AC_PROG_RANLIB' 
       
src/Makefile.am:26: to `configure.ac' and run `autoconf' again.                 
       
/usr/share/automake-1.7/am/depend2.am: am__fastdepCXX does not appear in 
AM_CONDITIONAL
/usr/share/automake-1.7/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL  
       
config/common.am:11: LYX_BUILD_PCH does not appear in AM_CONDITIONAL            
       
config/common.am:31: USE_INCLUDED_BOOST does not appear in AM_CONDITIONAL       
       
src/client/Makefile.am:39: MONOLITHIC_CLIENT does not appear in AM_CONDITIONAL  
       
/usr/share/automake-1.7/am/depend2.am: am__fastdepCXX does not appear in 
AM_CONDITIONAL
/usr/share/automake-1.7/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL  
       
config/common.am:11: LYX_BUILD_PCH does not appear in AM_CONDITIONAL            
       
config/common.am:31: USE_INCLUDED_BOOST does not appear in AM_CONDITIONAL
src/frontends/Makefile.am:7: library used but `RANLIB' is undefined
src/frontends/Makefile.am:7:
src/frontends/Makefile.am:7: The usual way to define `RANLIB' is to add 
`AC_PROG_RANLIB'
src/frontends/Makefile.am:7: to `configure.ac' and run `autoconf' again.
/usr/share/automake-1.7/am/depend2.am: am__fastdepCXX does not appear in 
AM_CONDITIONAL
/usr/share/automake-1.7/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
SUBDIRS: variable `FRONTENDS_SUBDIRS' is used but `FRONTENDS_SUBDIRS' is 
undefined
config/common.am:11: LYX_BUILD_PCH does not appear in AM_CONDITIONAL
config/common.am:31: USE_INCLUDED_BOOST does not appear in AM_CONDITIONAL
src/frontends/qt4/Makefile.am:334: MONOLITHIC_FRONTEND_QT4 does not appear in 
AM_CONDITIONAL
src/frontends/qt4/Makefile.am:34: library used but `RANLIB' is undefined
src/frontends/qt4/Makefile.am:34:
src/frontends/qt4/Makefile.am:34: The usual way to define `RANLIB' is to add 
`AC_PROG_RANLIB'
src/frontends/qt4/Makefile.am:34: to `configure.ac' and run `autoconf' again.
/usr/share/automake-1.7/am/depend2.am: am__fastdepCXX does not appear in 
AM_CONDITIONAL
/usr/share/automake-1.7/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
config/common.am:11: LYX_BUILD_PCH does not appear in AM_CONDITIONAL
config/common.am:31: USE_INCLUDED_BOOST does not appear in AM_CONDITIONAL
src/support/Makefile.am:104: INSTALL_MACOSX does not appear in AM_CONDITIONAL
src/support/Makefile.am:8: library used but `RANLIB' is undefined
src/support/Makefile.am:8:
src/support/Makefile.am:8: The usual way to define `RANLIB' is to add 
`AC_PROG_RANLIB'
src/support/Makefile.am:8: to `configure.ac' and run `autoconf' again.
/usr/share/automake-1.7/am/depend2.am: am__fastdepCXX does not appear in 
AM_CONDITIONAL
/usr/share/automake-1.7/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
/usr/share/automake-1.7/am/depend2.am: am__fastdepOBJC does not appear in 
AM_CONDITIONAL
config/common.am:11: LYX_BUILD_PCH does not appear in AM_CONDITIONAL
config/common.am:31: USE_INCLUDED_BOOST does not appear in AM_CONDITIONAL
/usr/share/automake-1.7/am/depend2.am: am__fastdepCXX does not appear in 
AM_CONDITIONAL
/usr/share/automake-1.7/am/depend2.am: AMDEP does not appear in AM_CONDITIONAL
Building configure...
configure.ac:26: error: possibly undefined macro: AM_MAINTAINER_MODE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:29: error: possibly undefined macro: AM_INIT_AUTOMAKE
configure.ac:42: error: possibly undefined macro: AM_PATH_PYTHON
configure.ac:77: error: possibly undefined macro: _AM_DEPENDENCIES
configure.ac:125: error: possibly undefined macro: AM_ICONV
configure.ac:186: error: possibly undefined macro: AM_GNU_GETTEXT
configure.ac:187: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
configure.ac:212: error: possibly undefined macro: AC_FUNC_MKDIR
configure.ac:237: error: possibly undefined macro: AM_CONDITIONAL
configure.ac:373: error: possibly undefined macro: MSYS_AC_CANONICAL_PATH
Building po/POTFILES.in...

run "./configure ; make"



______________________________________________________________
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas A&M University              Fax: (979) 845-0458
305B Bolton Hall                  fran...@philosophy.tamu.edu
College Station, TX 77843-4237

-------------------------------------------------------
______________________________________________________________
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas A&M University              Fax: (979) 845-0458
305B Bolton Hall                  fran...@philosophy.tamu.edu
College Station, TX 77843-4237

Reply via email to