Hi <@U01819B63HP> I am trying to install gaw from ...
# xschem
d
Hi @User I am trying to install gaw from Tim Edwards advice, using the repository for 
gaw
 that is your update:  https://github.com/StefanSchippers/xschem-gaw but when I do ./configure I get an error:
darunix@darunix-VirtualBox:/mnt_jarl/gaw_install_temp/xschem-gaw$ ./configure 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 whether make supports nested variables... yes Configuring gaw3 version 20200922 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 whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking for ranlib... ranlib 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking whether lstat correctly handles trailing slash... no checking whether stat accepts an empty string... no checking for working strtod... yes checking for vprintf... yes checking for _doprnt... no checking for _LARGEFILE_SOURCE value needed for large files... no checking for mkdir... yes checking for pow... no checking for regcomp... yes checking for strcasecmp... yes checking for strchr... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strrchr... yes checking for strspn... yes checking for strstr... yes checking for pkg-config... /usr/bin/pkg-config checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking libkern/OSByteOrder.h usability... no checking libkern/OSByteOrder.h presence... no checking for libkern/OSByteOrder.h... no checking sys/endian.h usability... no checking sys/endian.h presence... no checking for sys/endian.h... no checking for a sed that does not truncate output... /usr/bin/sed checking whether NLS is requested... yes checking for msgfmt... no checking for gmsgfmt... : checking for xgettext... no checking for msgmerge... no checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking 32-bit host C ABI... no checking for ELF binary format... yes checking for the common suffixes of directories in the library search path... lib,lib,lib64 checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyPreferredLanguages... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for alsa/pcm.h... no checking for alsa/mixer.h... no Alsa libs interface compilation is disabled. checking pkg-config is at least version 0.9.0... yes checking for gtk+-3.0 >= 3.0.0... yes checking for glib-2.0 >= 2.28.0... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: error: cannot find input file: `Makefile.in'
Do you know what can be causing it? Thanks
s
@User try to run this command before ./configure:
aclocal && automake --add-missing && autoconf
d
I run that and I got: darunix@darunix-VirtualBox:/mnt_jarl/gaw_install_temp/xschem-gaw$ aclocal && automake --add-missing && autoconf configure.ac:70: warning: macro 'AM_GNU_GETTEXT' not found in library configure.ac:71: warning: macro 'AM_GNU_GETTEXT_VERSION' not found in library src/Makefile.am19 warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') configure.ac:73: error: possibly undefined macro: AM_GNU_GETTEXT If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:74: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
After installing gettext, all I'm left with is: darunix@darunix-VirtualBox:/mnt_jarl/gaw_install_temp/xschem-gaw$ aclocal && automake --add-missing && autoconf src/Makefile.am19 warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
then ./configure works but make still fails complaining about gettext version: Making all in po make[2]: Entering directory '/mnt_jarl/gaw_install_temp/xschem-gaw/po' * error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version 0.20 but the autoconf macros are from gettext version 0.19 make[2]: * [Makefile198 check-macro-version] Error 1 make[2]: Leaving directory '/mnt_jarl/gaw_install_temp/xschem-gaw/po' make[1]: * [Makefile487 all-recursive] Error 1 make[1]: Leaving directory '/mnt_jarl/gaw_install_temp/xschem-gaw' make: * [Makefile386 all] Error 2
But currently my gettext version is: gettext --version gettext (GNU gettext-runtime) 0.19.8.1
Not quite sure how to fix it, should I just try to change gettext version or something else?
Even after getting gettext version 0.20, I still have issues. Now my version of gettext is: gettext --version gettext (GNU gettext-runtime) 0.20 But still, I get this warning when doing: aclocal && automake --add-missing && autoconf configure.ac:70: warning: macro 'AM_GNU_GETTEXT' not found in library configure.ac:71: warning: macro 'AM_GNU_GETTEXT_VERSION' not found in library src/Makefile.am19 warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') And if I try to do ./configure after that, I get: ./configure: line 5347: syntax error near unexpected token `external' ./configure: line 5347: `AM_GNU_GETTEXT(external)' I'm kind of stuck with
gaw
installation.
Hi @User what do you think I should try from here to get
gaw
installed? if you could give me some pointers I would really appreaciate it. Thanks