lavv17 / lftp

sophisticated command line file transfer program (ftp, http, sftp, fish, torrent)
http://lftp.yar.ru
GNU General Public License v3.0
1.11k stars 162 forks source link

Is it possible to add the configuration file of CMakeLists.txt #739

Open ac169 opened 1 month ago

ac169 commented 1 month ago

Press Return to acknowledge the previous four paragraphs.
/usr/bin/gettextize: 1309: cannot open /dev/tty: No such device or address
Making ./aclocal.m4 writable ...
Running libtoolize...
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
mv: cannot stat 'Makefile.am~': No such file or directory
/home/gnulib/gnulib-tool.py: *** minimum supported autoconf version is 2.64. Try addingAC_PREREQ([2.64]) to your configure.ac.
/home/gnulib/gnulib-tool.py: *** Stop.
Running aclocal  -I m4 ...
sh: 1: build-aux/git-version-gen: not found
configure.ac:9: error: AC_INIT should be called with package and version arguments
/usr/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
configure.ac:9: the top level
autom4te: error: /usr/bin/m4 failed with exit status: 1
aclocal: error: autom4te failed with exit status: 1
Running autoheader...
sh: 1: build-aux/git-version-gen: not found
autoheader: error: error: AC_CONFIG_HEADERS not found in configure.ac
Running automake --gnu  ...
configure.ac: error: 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)
Makefile.am:4: error: NEED_TRIO does not appear in AM_CONDITIONAL
Makefile.am: installing './INSTALL'
Use of uninitialized value $line in pattern match (m//) at /usr/bin/automake line 4018.
Running autoconf ...
sh: 1: build-aux/git-version-gen: not found
configure.ac:354: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:354: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:354: the top level
configure.ac:356: warning: The macro `AC_HEADER_TIME' is obsolete.
configure.ac:356: You should run autoupdate.
./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from...
configure.ac:356: the top level
configure.ac:630: warning: AC_C_BIGENDIAN should be used with AC_CONFIG_HEADERS
configure.ac:8: error: possibly undefined macro: AM_CONFIG_HEADER
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:9: error: possibly undefined macro: AM_INIT_AUTOMAKE
configure.ac:27: error: possibly undefined macro: AC_DEFINE
configure.ac:137: error: possibly undefined macro: AM_ICONV
configure.ac:140: error: possibly undefined macro: AM_GNU_GETTEXT
configure.ac:141: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
configure.ac:157: error: possibly undefined macro: AC_DEFINE_UNQUOTED
configure.ac:196: error: possibly undefined macro: AC_MSG_ERROR
configure.ac:209: error: possibly undefined macro: AC_SUBST
configure.ac:225: error: possibly undefined macro: AM_CONDITIONAL
Running ./configure ...
./configure: line 2811: syntax error near unexpected token `lib/config.h'
./configure: line 2811: `AM_CONFIG_HEADER(lib/config.h)'

The dependency has been installed, and running the autogen.sh script after git clone prompts the above error. Can we add the CMakeLists.txt configuration file to generate binary files in cmake format? After all, there are many cmake development environments supported now!