KJ7LNW / xnec2c

Xnec2c is a high-performance multi-threaded electromagnetic simulation package to model antenna near- and far-field radiation patterns for Linux and UNIX operating systems.
https://www.xnec2c.org/
GNU General Public License v3.0
78 stars 17 forks source link

error building in Lubuntu 16.04 #36

Closed celiponcio closed 11 months ago

celiponcio commented 11 months ago

Hello

I'm trying to build xnec2c in Lubuntu 16.04. Could build on other flavor, but I've no indication that it is a flavor issue. The issue is on ./configure ... checking whether make sets $(MAKE)... (cached) yes ./configure: line 5353: syntax error near unexpected token PACKAGE,' ./configure: line 5353:PKG_CHECK_MODULES(PACKAGE, $pkg_modules)'

tried versions (from repository) 4.4.12, 4.4.11 and 4.3.5.

Also tried to clone the git but get a dependency problem on make: /usr/lib/x86_64-linux-gnu/glib-2.0/glib-compile-resources --sourcedir=../resources --dependency-file=./.xnec2c-deps/xnec2c-resources.Pc --target=xnec2c-resources.c --generate-source ../resources/xnec2c.gresource.xml Opção --dependency-file=./.xnec2c-deps/xnec2c-resources.Pc unknown Makefile:1284: recipe for target 'xnec2c-resources.c' failed

Any advice? Thanks a lot

celiponcio commented 11 months ago

OK: tried again on a new installation of lubuntu 16.04 and it built from the repository without any problem. Probably it was some issue with previously installed packages. Thanks for the great work!

KJ7LNW commented 11 months ago

Glad you figured it out! I think it needed the autoconf-archive package.