bug-enscript
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-enscript] cannot build enscript from git. Someone can help ?


From: wim
Subject: Re: [bug-enscript] cannot build enscript from git. Someone can help ?
Date: Fri, 3 Mar 2023 16:12:38 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0

Hi ,
Finally found how to compile from the github source and wanted to share this.
Here are the change and commands to compile enscript from source with
automake 1.16.5
autoconf 2.71
gettext 0.21.1

sed -i '/AC_FUNC_ALLOCA/a dnl its save to say that in 2023 all compilers support prototypes\nAC_DEFINE([PROTOTYPES], [1], [Define to 1 if your compiler supports function prototypes.])' configure.ac
sed -i '/AM_GNU_GETTEXT$/c AM_GNU_GETTEXT([external])' configure.ac
sed -i 's/intl\/Makefile//' configure.ac
sed -i 's/po\/Makefile.in//' configure.ac
sed -i 's/po\/Makefile//' configure.ac
sed -i 's/intl//' Makefile.am
sed -i '/include/a #include<langinfo.h>' src/util.c

gettextize

aclocal -I m4
autoreconf --install
./configure
make
sudo make install


Is there still someone active on this mailling list
so i can sent in a patch for the configure.ac and add some install instruction in the README file.

Kind regards,
Wim Stockman


Op 27-02-2023 om 13:17 schreef wim:
Hi ,
I'm trying to build enscript from the git source but failing at it.
It seams the configure.ac is to old ? Can someone update it or explain how i can compile.
thx
Wim Stockman
P.S. this is my output ....

 automake --add-missing


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)
configure.ac:5: error: required file 'config.h.in' not found
configure.ac:121: error: required file 'intl/Makefile.in' not found
Makefile.am:25: error: required directory ./intl does not exist
/usr/share/automake-1.16/am/depend2.am: error: am__fastdepCC does not appear in AM_CONDITIONAL /usr/share/automake-1.16/am/depend2.am:   The usual way to define 'am__fastdepCC' is to add 'AC_PROG_CC' /usr/share/automake-1.16/am/depend2.am:   to 'configure.ac' and run 'aclocal' and 'autoconf' again /usr/share/automake-1.16/am/depend2.am: error: AMDEP does not appear in AM_CONDITIONAL /usr/share/automake-1.16/am/depend2.am:   The usual way to define 'AMDEP' is to add one of the compiler tests /usr/share/automake-1.16/am/depend2.am:     AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC, AC_PROG_OBJCXX, /usr/share/automake-1.16/am/depend2.am:     AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC /usr/share/automake-1.16/am/depend2.am:   to 'configure.ac' and run 'aclocal' and 'autoconf' again compat/Makefile.am:42: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/Makefile.am:45: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') /usr/share/automake-1.16/am/check2.am: error: am__EXEEXT does not appear in AM_CONDITIONAL states/Makefile.am:56: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
states/Makefile.am: error: Lex source seen but 'LEX' is undefined
states/Makefile.am:   The usual way to define 'LEX' is to add 'AM_PROG_LEX' states/Makefile.am:   to 'configure.ac' and run 'aclocal' and 'autoconf' again. /usr/share/automake-1.16/am/check2.am: error: am__EXEEXT does not appear in AM_CONDITIONAL






reply via email to

[Prev in Thread] Current Thread [Next in Thread]