masneyb / gftp

gFTP is a free multithreaded file transfer client for *NIX based machines. 56 language translations available.
http://www.gftp.org
MIT License
116 stars 20 forks source link

autogen.sh fails #112

Closed php4fan closed 3 years ago

php4fan commented 3 years ago

From https://github.com/masneyb/gftp

How do I install gFTP? Git repository:

./autogen.sh ./configure --prefix=/usr make install

The first step ./autogen.sh fails:

 ./autogen.sh 
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'autoconf'.
libtoolize: copying file 'autoconf/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'autoconf-m4'.
libtoolize: copying file 'autoconf-m4/libtool.m4'
libtoolize: copying file 'autoconf-m4/ltoptions.m4'
libtoolize: copying file 'autoconf-m4/ltsugar.m4'
libtoolize: copying file 'autoconf-m4/ltversion.m4'
libtoolize: copying file 'autoconf-m4/lt~obsolete.m4'
configure.ac:184: warning: macro 'AM_GLIB_GNU_GETTEXT' not found in library
configure.ac:10: installing 'autoconf/compile'
configure.ac:6: installing 'autoconf/missing'
lib/Makefile.am: installing 'autoconf/depcomp'
configure.ac:184: error: possibly undefined macro: AM_GLIB_GNU_GETTEXT
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

If I'm missing something then the installation instructions are incomplete.

This is on OpenSUSE Tumbleweed.

Operating System: openSUSE Tumbleweed 20210513
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.12.2-1-default
OS Type: 64-bit
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-1065G7 CPU @ 1.30GHz
Memory: 7.3 GiB of RAM
Graphics Processor: Mesa DRI Intel® Iris® Plus Graphics
wdlkmpx commented 3 years ago

I think it requires this file from the glib2 package: %{_datadir}/aclocal/glib-gettext.m4 /usr/share/aclocal/glib-gettext.m4

In ubuntu i see it's somewhat hidden https://packages.ubuntu.com/hirsute/i386/libglib2.0-dev-bin/filelist

Debian stretch https://packages.debian.org/stretch/libglib2.0-dev

Try to locate that file using your package manager

wdlkmpx commented 3 years ago

This issue should be fixed now, reopen if it's not...