Giter Site home page Giter Site logo

Make fails on Fedora 18 about fsv HOT 6 CLOSED

mcuelenaere avatar mcuelenaere commented on August 19, 2024
Make fails on Fedora 18

from fsv.

Comments (6)

mcuelenaere avatar mcuelenaere commented on August 19, 2024

Could you provide a log of a clean build?

git pull && git clean -x -f -d . && ./autogen.sh && ./configure && make

from fsv.

nvitucci avatar nvitucci commented on August 19, 2024

Here you go (sorry but the OS is localized in Italian language).


git pull && git clean -x -f -d . && ./autogen.sh && ./configure && make

remote: Counting objects: 5, done.
remote: Compressing objects: 100% (1/1), done.
remote: Total 3 (delta 2), reused 3 (delta 2)
Unpacking objects: 100% (3/3), done.
Da github.com:mcuelenaere/fsv
e94814e..38f275e master -> origin/master
Aggiornamento di a627aec..38f275e
Fast-forward
.gitignore | 28 ++++++++++++++++++++++++++
configure.in | 1 +
mkinstalldirs | 162 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/common.o | Bin 103176 -> 0 bytes
4 files changed, 191 insertions(+)
create mode 100644 .gitignore
create mode 100755 mkinstalldirs
delete mode 100644 src/common.o
Rimozione di Makefile
Rimozione di Makefile.in
Rimozione di aclocal.m4
Rimozione di autom4te.cache/
Rimozione di config.h
Rimozione di config.h.in
Rimozione di config.h.in~
Rimozione di config.log
Rimozione di config.status
Rimozione di configure
Rimozione di debug/.deps/
Rimozione di debug/Makefile
Rimozione di debug/Makefile.in
Rimozione di depcomp
Rimozione di doc/Makefile
Rimozione di doc/Makefile.in
Rimozione di fsv.spec
Rimozione di install-sh
Rimozione di intl/Makefile
Rimozione di intl/Makefile.in
Rimozione di lib/.deps/
Rimozione di lib/Makefile
Rimozione di lib/Makefile.in
Rimozione di lib/getopt.o
Rimozione di lib/getopt1.o
Rimozione di lib/gnome-color-picker.o
Rimozione di lib/gnome-dateedit.o
Rimozione di lib/libgnomeui.a
Rimozione di lib/libmisc.a
Rimozione di lib/nvstore.o
Rimozione di missing
Rimozione di po/Makefile.in
Rimozione di src/.deps/
Rimozione di src/Makefile
Rimozione di src/Makefile.in
Rimozione di stamp-h1
Preparing the src/fsv.c build system...please wait

Found GNU Autoconf version 2.69
Found GNU Automake version 1.12.2
Found GNU Libtool version 2.4.2

Automatically preparing build ... Warning: autoreconf failed
Attempting to run the preparation steps individually

Preparing build ...
Warning: autoconf seems to have succeeded by removing the following options:
AUTOCONF_OPTIONS="-f"

Removing those options should not be necessary and indicate some other
problem with the build system. The build preparation is highly suspect
and may result in configuration or compilation errors. Consider
rerunning the build preparation with verbose output enabled.
./autogen.sh --verbose

Continuing build preparation ... done

The src/fsv.c build system is now prepared. To build here, run:
./configure
make
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define EXTENSIONS... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for library containing strerror... none required
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for strings.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for mode_t... yes
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking for size_t... yes
checking for comparison_fn_t... yes
checking for struct stat.st_blocks... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working alloca.h... yes
checking for alloca... yes
checking for working POSIX fnmatch... yes
checking for strftime... yes
checking for getcwd... yes
checking for gettimeofday... yes
checking for mktime... yes
checking for strcspn... yes
checking for strdup... yes
checking for strspn... yes
checking for strtod... yes
checking for strtoul... yes
checking for scandir... yes
checking for hypot in -lm... yes
./configure: line 6032: AM_GNU_GETTEXT: command not found
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK... yes
checking for GLIB... yes
checking for glBegin in -lMesaGL... no
checking for glBegin in -lGL... yes
checking for GTKGL... yes
checking for file... /usr/bin/file
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating fsv.spec
config.status: creating Makefile
config.status: creating debug/Makefile
config.status: creating doc/Makefile
config.status: creating intl/Makefile
config.status: creating lib/Makefile
config.status: creating po/Makefile.in
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make all-recursive
make[1]: Entering directory /home/nick/Scaricati/fsv' Making all in debug make[2]: Entering directory/home/nick/Scaricati/fsv/debug'
make[2]: Nessuna operazione da eseguire per «all».
make[2]: Leaving directory /home/nick/Scaricati/fsv/debug' Making all in doc make[2]: Entering directory/home/nick/Scaricati/fsv/doc'
jade -d ./custom.dsl -t sgml -i html fsv.sgml
make[2]: jade: comando non trovato
make[2]: [about.html] Errore 127 (ignorato)
cp -f t1.html fsv.html
make[2]: Leaving directory /home/nick/Scaricati/fsv/doc' Making all in intl make[2]: Entering directory/home/nick/Scaricati/fsv/intl'
make[2]: Nessuna operazione da eseguire per «all».
make[2]: Leaving directory /home/nick/Scaricati/fsv/intl' Making all in lib make[2]: Entering directory/home/nick/Scaricati/fsv/lib'
gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -g -O2 -MT getopt.o -MD -MP -MF .deps/getopt.Tpo -c -o getopt.o getopt.c
mv -f .deps/getopt.Tpo .deps/getopt.Po
gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -g -O2 -MT getopt1.o -MD -MP -MF .deps/getopt1.Tpo -c -o getopt1.o getopt1.c
mv -f .deps/getopt1.Tpo .deps/getopt1.Po
gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -g -O2 -MT nvstore.o -MD -MP -MF .deps/nvstore.Tpo -c -o nvstore.o nvstore.c
mv -f .deps/nvstore.Tpo .deps/nvstore.Po
rm -f libmisc.a
ar cru libmisc.a getopt.o getopt1.o nvstore.o
ranlib libmisc.a
make[2]: Leaving directory /home/nick/Scaricati/fsv/lib' Making all in po make[2]: Entering directory/home/nick/Scaricati/fsv/po'
make[2]: *** Nessuna regola per generare l'obiettivo «all». Stop.
make[2]: Leaving directory /home/nick/Scaricati/fsv/po' make[1]: *** [all-recursive] Errore 1 make[1]: Leaving directory/home/nick/Scaricati/fsv'
make: *** [all] Errore 2

from fsv.

mcuelenaere avatar mcuelenaere commented on August 19, 2024

(you can fix the language issue by running export LANG=C)

Hmm, configure seems to be skipping the 'executing po-directories commands' step on your system (and thus doesn't generate po/Makefile).

However, autogen complained that autoreconf failed; could you please clean the git repo and run ./autogen.sh --verbose ?

from fsv.

nvitucci avatar nvitucci commented on August 19, 2024

(Thanks for the tip)

Here is the output you asked:


Checking autoreconf version: autoreconf --version
Checking autoconf version: autoconf --version
Found GNU Autoconf version 2.69
Checking if 2.69.0 is greater than 2.52.0
Checking automake version: automake --version
Found GNU Automake version 1.12.2
Checking if 1.12.2 is greater than 1.6.0
Checking libtoolize version: libtoolize --version
Found GNU Libtool version 2.4.2
Checking if 2.4.2 is greater than 1.4.2
Checking aclocal version: aclocal --version
Checking autoheader version: autoheader --version
Checking whether to only output version information
Backing up COPYING in /home/nick/Scaricati/fsv
cp -p COPYING COPYING.16470.protect_from_automake.backup
Backing up INSTALL in /home/nick/Scaricati/fsv
cp -p INSTALL INSTALL.16470.protect_from_automake.backup

Automatically preparing build ... autoreconf -i -f
configure.in:63: warning: macro 'AM_GNU_GETTEXT' not found in library
configure.in:63: error: possibly undefined macro: AM_GNU_GETTEXT
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
Warning: autoreconf failed
Attempting to run the preparation steps individually

Preparing build ... aclocal
configure.in:63: warning: macro 'AM_GNU_GETTEXT' not found in library
Searching for AC_PROG_LIBTOOL in ./configure.in
Searching for AM_PROG_LIBTOOL in ./configure.in
Searching for LT_INIT in ./configure.in

autoconf -f
configure.in:63: error: possibly undefined macro: AM_GNU_GETTEXT
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
Searching for AC_C_RESTRICT in ./configure.in
Searching for AC_INCLUDES_DEFAULT in ./configure.in
Searching for AC_LANG_ASSERT in ./configure.in
Searching for AC_LANG_WERROR in ./configure.in
Searching for AS_SET_CATFILE in ./configure.in
Searching for AC_COMPILER_IFELSE in ./configure.in
Searching for AC_FUNC_MBRTOWC in ./configure.in
Searching for AC_HEADER_STDBOOL in ./configure.in
Searching for AC_LANG_CONFTEST in ./configure.in
Searching for AC_LANG_SOURCE in ./configure.in
Searching for AC_LANG_PROGRAM in ./configure.in
Searching for AC_LANG_CALL in ./configure.in
Searching for AC_LANG_FUNC_TRY_LINK in ./configure.in
Searching for AC_MSG_FAILURE in ./configure.in
Searching for AC_PREPROC_IFELSE in ./configure.in
Searching for AC_C_BACKSLASH_A in ./configure.in
Searching for AC_CONFIG_LIBOBJ_DIR in ./configure.in
Searching for AC_GNU_SOURCE in ./configure.in
Searching for AC_PROG_EGREP in ./configure.in
Searching for AC_PROG_FGREP in ./configure.in
Searching for AC_REPLACE_FNMATCH in ./configure.in
Searching for AC_FUNC_FNMATCH_GNU in ./configure.in
Searching for AC_FUNC_REALLOC in ./configure.in
Searching for AC_TYPE_MBSTATE_T in ./configure.in

autoconf

Warning: autoconf seems to have succeeded by removing the following options:
AUTOCONF_OPTIONS="-f"

Removing those options should not be necessary and indicate some other
problem with the build system. The build preparation is highly suspect
and may result in configuration or compilation errors. Consider
reviewing the minimum GNU Autotools version settings contained in
this script along with the macros being used in your configure.in file.

Continuing build preparation ... Searching for AM_CONFIG_HEADER in ./configure.in
autoheader
autoheader: WARNING: Using auxiliary files such as acconfig.h',config.h.bot'
autoheader: WARNING: and config.h.top', to define templates forconfig.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of AC_DEFINE' and autoheader: WARNING:AC_DEFINE_UNQUOTED' allows one to define a template without
autoheader: WARNING: acconfig.h': autoheader: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader: [Define if a functionmain' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
Searching for AM_INIT_AUTOMAKE in ./configure.in
automake -a -c -f
configure.in:10: installing './install-sh'
configure.in:10: installing './missing'
debug/Makefile.am: installing './depcomp'
rm -f COPYING.16470.protect_from_automake.backup

Restoring INSTALL from backup (automake -f likely clobbered it)
rm -f INSTALL
mv INSTALL.16470.protect_from_automake.backup INSTALL
rm -f INSTALL.16470.protect_from_automake.backup
done

The src/fsv.c build system is now prepared. To build here, run:
./configure
make

from fsv.

mcuelenaere avatar mcuelenaere commented on August 19, 2024

The issue is probably related to this:

configure.in:63: warning: macro 'AM_GNU_GETTEXT' not found in library
configure.in:63: error: possibly undefined macro: AM_GNU_GETTEXT

Do you have gettext installed? If so, could you run gettext --version?

from fsv.

nvitucci avatar nvitucci commented on August 19, 2024

Yes, I had it installed but without the development libraries. Installing them solved the problem.

Thank you very much and congrats for the project!

from fsv.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.