parnoldx / nasc

Do maths like a normal person
http://parnoldx.github.io/nasc/
GNU General Public License v3.0
560 stars 37 forks source link

Cannot build for Ubuntu 20.04 #156

Closed solrevdev closed 4 years ago

solrevdev commented 4 years ago

Describe the bug

The project does not compile for Ubuntu 20.04

To Reproduce

I expected the build to succeed with no errors

Screenshots

Build Logs

Build started at 2020-06-20T11:15:01.042493
Main binary: /home/linuxbrew/.linuxbrew/opt/python@3.8/bin/python3.8
Build Options: -Dprefix=/usr
Python system: Linux
The Meson build system
Version: 0.54.3
Source dir: /home/solrevdev/Code/github/nasc
Build dir: /home/solrevdev/Code/github/nasc/build
Build type: native build
None of 'PKG_CONFIG_PATH' are defined in the environment, not changing global flags.
None of 'PKG_CONFIG_PATH' are defined in the environment, not changing global flags.
Project name: com.github.parnold-x.nasc
Project version: 0.7.3
None of 'CC' are defined in the environment, not changing global flags.
None of 'CFLAGS' are defined in the environment, not changing global flags.
None of 'LDFLAGS' are defined in the environment, not changing global flags.
None of 'CPPFLAGS' are defined in the environment, not changing global flags.
None of 'CC_LD' are defined in the environment, not changing global flags.
Sanity testing C compiler: cc
Is cross compiler: False.
Sanity check compiler command line: cc /home/solrevdev/Code/github/nasc/build/meson-private/sanitycheckc.c -o /home/solrevdev/Code/github/nasc/build/meson-private/sanitycheckc.exe -pipe -D_FILE_OFFSET_BITS=64
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command: /home/solrevdev/Code/github/nasc/build/meson-private/sanitycheckc.exe
C compiler for the build machine: cc (gcc 5.5.0 "cc (Homebrew GCC 5.5.0_7) 5.5.0")
C linker for the build machine: cc ld.bfd 2.34
None of 'AR' are defined in the environment, not changing global flags.
None of 'CXX' are defined in the environment, not changing global flags.
None of 'CXXFLAGS' are defined in the environment, not changing global flags.
None of 'LDFLAGS' are defined in the environment, not changing global flags.
None of 'CPPFLAGS' are defined in the environment, not changing global flags.
None of 'CXX_LD' are defined in the environment, not changing global flags.
Sanity testing C++ compiler: c++
Is cross compiler: False.
Sanity check compiler command line: c++ /home/solrevdev/Code/github/nasc/build/meson-private/sanitycheckcpp.cc -o /home/solrevdev/Code/github/nasc/build/meson-private/sanitycheckcpp.exe -pipe -D_FILE_OFFSET_BITS=64
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command: /home/solrevdev/Code/github/nasc/build/meson-private/sanitycheckcpp.exe
C++ compiler for the build machine: c++ (gcc 5.5.0 "c++ (Homebrew GCC 5.5.0_7) 5.5.0")
C++ linker for the build machine: c++ ld.bfd 2.34
None of 'VALAC' are defined in the environment, not changing global flags.
None of 'VALAFLAGS' are defined in the environment, not changing global flags.
Running compile:
Working directory:  /tmp/tmps412pj6r
Command line:  valac /tmp/tmps412pj6r/testfile.vala -C 

Code:
 class MesonSanityCheck : Object { }
Compiler stdout:

Compiler stderr:

Vala compiler for the build machine: valac (valac 0.48.6)
None of 'CC' are defined in the environment, not changing global flags.
None of 'CFLAGS' are defined in the environment, not changing global flags.
None of 'LDFLAGS' are defined in the environment, not changing global flags.
None of 'CPPFLAGS' are defined in the environment, not changing global flags.
None of 'CC_LD' are defined in the environment, not changing global flags.
Sanity testing C compiler: cc
Is cross compiler: False.
Sanity check compiler command line: cc /home/solrevdev/Code/github/nasc/build/meson-private/sanitycheckc.c -o /home/solrevdev/Code/github/nasc/build/meson-private/sanitycheckc.exe -pipe -D_FILE_OFFSET_BITS=64
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command: /home/solrevdev/Code/github/nasc/build/meson-private/sanitycheckc.exe
C compiler for the host machine: cc (gcc 5.5.0 "cc (Homebrew GCC 5.5.0_7) 5.5.0")
C linker for the host machine: cc ld.bfd 2.34
None of 'AR' are defined in the environment, not changing global flags.
None of 'CXX' are defined in the environment, not changing global flags.
None of 'CXXFLAGS' are defined in the environment, not changing global flags.
None of 'LDFLAGS' are defined in the environment, not changing global flags.
None of 'CPPFLAGS' are defined in the environment, not changing global flags.
None of 'CXX_LD' are defined in the environment, not changing global flags.
Sanity testing C++ compiler: c++
Is cross compiler: False.
Sanity check compiler command line: c++ /home/solrevdev/Code/github/nasc/build/meson-private/sanitycheckcpp.cc -o /home/solrevdev/Code/github/nasc/build/meson-private/sanitycheckcpp.exe -pipe -D_FILE_OFFSET_BITS=64
Sanity check compile stdout:

-----
Sanity check compile stderr:

-----
Running test binary command: /home/solrevdev/Code/github/nasc/build/meson-private/sanitycheckcpp.exe
C++ compiler for the host machine: c++ (gcc 5.5.0 "c++ (Homebrew GCC 5.5.0_7) 5.5.0")
C++ linker for the host machine: c++ ld.bfd 2.34
None of 'VALAC' are defined in the environment, not changing global flags.
None of 'VALAFLAGS' are defined in the environment, not changing global flags.
Using cached compile:
Cached command line:  valac /tmp/tmps412pj6r/testfile.vala -C 

Code:
 class MesonSanityCheck : Object { }
Cached compiler stdout:

Cached compiler stderr:

Vala compiler for the host machine: valac (valac 0.48.6)
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: x86_64
Host machine cpu: x86_64
Target machine cpu family: x86_64
Target machine cpu: x86_64
Configuring config.vala using configuration

Executing subproject libqalculate method meson 

None of 'PKG_CONFIG_PATH' are defined in the environment, not changing global flags.
None of 'PKG_CONFIG_PATH' are defined in the environment, not changing global flags.
Project name: libqalculate
Project version: 3.10.0
C compiler for the build machine: cc (gcc 5.5.0 "cc (Homebrew GCC 5.5.0_7) 5.5.0")
C linker for the build machine: cc ld.bfd 2.34
C++ compiler for the build machine: c++ (gcc 5.5.0 "c++ (Homebrew GCC 5.5.0_7) 5.5.0")
C++ linker for the build machine: c++ ld.bfd 2.34
C compiler for the host machine: cc (gcc 5.5.0 "cc (Homebrew GCC 5.5.0_7) 5.5.0")
C linker for the host machine: cc ld.bfd 2.34
C++ compiler for the host machine: c++ (gcc 5.5.0 "c++ (Homebrew GCC 5.5.0_7) 5.5.0")
C++ linker for the host machine: c++ ld.bfd 2.34
Pkg-config binary for MachineChoice.HOST is not cached.
None of 'PKG_CONFIG' are defined in the environment, not changing global flags.
Pkg-config binary missing from cross or native file, or env var undefined.
Trying a default Pkg-config fallback at pkg-config
Trying pkg-config binary pkg-config for machine MachineChoice.HOST at ['/home/linuxbrew/.linuxbrew/bin/pkg-config']
Found pkg-config: /home/linuxbrew/.linuxbrew/bin/pkg-config (0.29.2)
Determining dependency 'gio-2.0' with pkg-config executable '/home/linuxbrew/.linuxbrew/bin/pkg-config'
PKG_CONFIG_PATH: 
Called `/home/linuxbrew/.linuxbrew/bin/pkg-config --modversion gio-2.0` -> 0
2.64.3
PKG_CONFIG_PATH: 
Called `/home/linuxbrew/.linuxbrew/bin/pkg-config --cflags gio-2.0` -> 0
-pthread -I/home/linuxbrew/.linuxbrew/Cellar/libffi/3.3/include -I/home/linuxbrew/.linuxbrew/Cellar/glib/2.64.3/include -I/home/linuxbrew/.linuxbrew/Cellar/zlib/1.2.11/include -I/home/linuxbrew/.linuxbrew/Cellar/util-linux/2.35.2_1/include/libmount -I/home/linuxbrew/.linuxbrew/Cellar/util-linux/2.35.2_1/include/blkid -I/home/linuxbrew/.linuxbrew/Cellar/glib/2.64.3/include -I/home/linuxbrew/.linuxbrew/Cellar/glib/2.64.3/include/glib-2.0 -I/home/linuxbrew/.linuxbrew/Cellar/glib/2.64.3/lib/glib-2.0/include -I/home/linuxbrew/.linuxbrew/opt/gettext/include -I/home/linuxbrew/.linuxbrew/Cellar/pcre/8.44/include
PKG_CONFIG_PATH: 
Called `/home/linuxbrew/.linuxbrew/bin/pkg-config gio-2.0 --libs` -> 0
-L/home/linuxbrew/.linuxbrew/Cellar/glib/2.64.3/lib -L/home/linuxbrew/.linuxbrew/opt/gettext/lib -lgio-2.0 -lgobject-2.0 -lglib-2.0
PKG_CONFIG_PATH: 
Called `/home/linuxbrew/.linuxbrew/bin/pkg-config gio-2.0 --libs` -> 0
-L/home/linuxbrew/.linuxbrew/Cellar/glib/2.64.3/lib -L/home/linuxbrew/.linuxbrew/opt/gettext/lib -lgio-2.0 -lgobject-2.0 -lglib-2.0
None of 'PKG_CONFIG_PATH' are defined in the environment, not changing global flags.
Running compile:
Working directory:  /home/solrevdev/Code/github/nasc/build/meson-private/tmpd25lr9_o
Command line:  c++ /home/solrevdev/Code/github/nasc/build/meson-private/tmpd25lr9_o/testfile.cpp -o /home/solrevdev/Code/github/nasc/build/meson-private/tmpd25lr9_o/output.exe -pipe -D_FILE_OFFSET_BITS=64 -O0 -fpermissive 

Code:
 #include<stdio.h>

        int main(void) {
            printf("%ld\n", (long)(sizeof(void *)));
            return 0;
        };
Compiler stdout:

Compiler stderr:

Program stdout:

8

Program stderr:

Running compile:
Working directory:  /home/solrevdev/Code/github/nasc/build/meson-private/tmp5o3unbze
Command line:  c++ /home/solrevdev/Code/github/nasc/build/meson-private/tmp5o3unbze/testfile.cpp -o /home/solrevdev/Code/github/nasc/build/meson-private/tmp5o3unbze/output.obj -pipe -c -D_FILE_OFFSET_BITS=64 -O0 -fpermissive --print-search-dirs 

Code:

Compiler stdout:
 install: /home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/
programs: =/home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/libexec/gcc/x86_64-unknown-linux-gnu/5.5.0/:/home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/libexec/gcc/x86_64-unknown-linux-gnu/5.5.0/:/home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/libexec/gcc/x86_64-unknown-linux-gnu/:/home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/:/home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/lib/gcc/x86_64-unknown-linux-gnu/:/home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/../../../../x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu/5.5.0/:/home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/../../../../x86_64-unknown-linux-gnu/bin/x86_64-linux-gnu/:/home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/../../../../x86_64-unknown-linux-gnu/bin/
libraries: =/home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/:/home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/../../../../x86_64-unknown-linux-gnu/lib/x86_64-unknown-linux-gnu/5.5.0/:/home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/../../../../x86_64-unknown-linux-gnu/lib/x86_64-linux-gnu/:/home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/../../../../x86_64-unknown-linux-gnu/lib/:/home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/../../../x86_64-unknown-linux-gnu/5.5.0/:/home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/../../../x86_64-linux-gnu/:/home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7/lib/gcc/x86_64-unknown-linux-gnu/5.5.0/../../../:/lib/x86_64-unknown-linux-gnu/5.5.0/:/lib/x86_64-linux-gnu/:/lib/:/usr/lib/x86_64-unknown-linux-gnu/5.5.0/:/usr/lib/x86_64-linux-gnu/:/usr/lib/

Compiler stderr:

Run-time dependency gio-2.0 found: YES 2.64.3
Pkg-config binary for MachineChoice.BUILD is not cached.
None of 'PKG_CONFIG' are defined in the environment, not changing global flags.
Pkg-config binary missing from cross or native file, or env var undefined.
Trying a default Pkg-config fallback at pkg-config
Trying pkg-config binary pkg-config for machine MachineChoice.BUILD at ['/home/linuxbrew/.linuxbrew/bin/pkg-config']
Found pkg-config: /home/linuxbrew/.linuxbrew/bin/pkg-config (0.29.2)
Determining dependency 'glib-2.0' with pkg-config executable '/home/linuxbrew/.linuxbrew/bin/pkg-config'
PKG_CONFIG_PATH: 
Called `/home/linuxbrew/.linuxbrew/bin/pkg-config --modversion glib-2.0` -> 0
2.64.3
PKG_CONFIG_PATH: 
Called `/home/linuxbrew/.linuxbrew/bin/pkg-config --cflags glib-2.0` -> 0
-I/home/linuxbrew/.linuxbrew/Cellar/glib/2.64.3/include/glib-2.0 -I/home/linuxbrew/.linuxbrew/Cellar/glib/2.64.3/lib/glib-2.0/include -I/home/linuxbrew/.linuxbrew/opt/gettext/include -I/home/linuxbrew/.linuxbrew/Cellar/pcre/8.44/include
PKG_CONFIG_PATH: 
Called `/home/linuxbrew/.linuxbrew/bin/pkg-config glib-2.0 --libs` -> 0
-L/home/linuxbrew/.linuxbrew/Cellar/glib/2.64.3/lib -L/home/linuxbrew/.linuxbrew/opt/gettext/lib -lglib-2.0
PKG_CONFIG_PATH: 
Called `/home/linuxbrew/.linuxbrew/bin/pkg-config glib-2.0 --libs` -> 0
-L/home/linuxbrew/.linuxbrew/Cellar/glib/2.64.3/lib -L/home/linuxbrew/.linuxbrew/opt/gettext/lib -lglib-2.0
None of 'PKG_CONFIG_PATH' are defined in the environment, not changing global flags.
Pkg-config binary for MachineChoice.HOST is cached.
Determining dependency 'libcurl' with pkg-config executable '/home/linuxbrew/.linuxbrew/bin/pkg-config'
PKG_CONFIG_PATH: 
Called `/home/linuxbrew/.linuxbrew/bin/pkg-config --modversion libcurl` -> 0
7.70.0
PKG_CONFIG_PATH: 
Called `/home/linuxbrew/.linuxbrew/bin/pkg-config --cflags libcurl` -> 0
-I/home/linuxbrew/.linuxbrew/Cellar/curl/7.70.0/include
PKG_CONFIG_PATH: 
Called `/home/linuxbrew/.linuxbrew/bin/pkg-config libcurl --libs` -> 0
-L/home/linuxbrew/.linuxbrew/Cellar/curl/7.70.0/lib -lcurl
PKG_CONFIG_PATH: 
Called `/home/linuxbrew/.linuxbrew/bin/pkg-config libcurl --libs` -> 0
-L/home/linuxbrew/.linuxbrew/Cellar/curl/7.70.0/lib -lcurl
None of 'PKG_CONFIG_PATH' are defined in the environment, not changing global flags.
Run-time dependency libcurl found: YES 7.70.0
Pkg-config binary for MachineChoice.HOST is cached.
Determining dependency 'icu-uc' with pkg-config executable '/home/linuxbrew/.linuxbrew/bin/pkg-config'
PKG_CONFIG_PATH: 
Called `/home/linuxbrew/.linuxbrew/bin/pkg-config --modversion icu-uc` -> 0
67.1
PKG_CONFIG_PATH: 
Called `/home/linuxbrew/.linuxbrew/bin/pkg-config --cflags icu-uc` -> 0
-I/home/linuxbrew/.linuxbrew/Cellar/icu4c/67.1/include
PKG_CONFIG_PATH: 
Called `/home/linuxbrew/.linuxbrew/bin/pkg-config icu-uc --libs` -> 0
-L/home/linuxbrew/.linuxbrew/Cellar/icu4c/67.1/lib -licuuc -licudata
PKG_CONFIG_PATH: 
Called `/home/linuxbrew/.linuxbrew/bin/pkg-config icu-uc --libs` -> 0
-L/home/linuxbrew/.linuxbrew/Cellar/icu4c/67.1/lib -licuuc -licudata
None of 'PKG_CONFIG_PATH' are defined in the environment, not changing global flags.
Run-time dependency icu-uc found: YES 67.1
Running compile:
Working directory:  /home/solrevdev/Code/github/nasc/build/meson-private/tmpex4yy8ep
Command line:  c++ /home/solrevdev/Code/github/nasc/build/meson-private/tmpex4yy8ep/testfile.cpp -o /home/solrevdev/Code/github/nasc/build/meson-private/tmpex4yy8ep/output.exe -pipe -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Wl,--start-group -lmpfr -Wl,--end-group -Wl,--allow-shlib-undefined 

Code:
 int main(void) { return 0; }
Compiler stdout:

Compiler stderr:

Library mpfr found: YES
Running compile:
Working directory:  /home/solrevdev/Code/github/nasc/build/meson-private/tmp6bzmpn6v
Command line:  c++ /home/solrevdev/Code/github/nasc/build/meson-private/tmp6bzmpn6v/testfile.cpp -o /home/solrevdev/Code/github/nasc/build/meson-private/tmp6bzmpn6v/output.exe -pipe -D_FILE_OFFSET_BITS=64 -O0 -fpermissive -Wl,--start-group -lgmp -Wl,--end-group -Wl,--allow-shlib-undefined 

Code:
 int main(void) { return 0; }
Compiler stdout:

Compiler stderr:

Library gmp found: YES
Pkg-config binary for MachineChoice.HOST is cached.
Determining dependency 'libxml-2.0' with pkg-config executable '/home/linuxbrew/.linuxbrew/bin/pkg-config'
PKG_CONFIG_PATH: 
Called `/home/linuxbrew/.linuxbrew/bin/pkg-config --modversion libxml-2.0` -> 0
2.9.10
PKG_CONFIG_PATH: 
Called `/home/linuxbrew/.linuxbrew/bin/pkg-config --cflags libxml-2.0` -> 0
-I/home/linuxbrew/.linuxbrew/Cellar/libxml2/2.9.10_1/include/libxml2
PKG_CONFIG_PATH: 
Called `/home/linuxbrew/.linuxbrew/bin/pkg-config libxml-2.0 --libs` -> 0
-L/home/linuxbrew/.linuxbrew/Cellar/libxml2/2.9.10_1/lib -lxml2
PKG_CONFIG_PATH: 
Called `/home/linuxbrew/.linuxbrew/bin/pkg-config libxml-2.0 --libs` -> 0
-L/home/linuxbrew/.linuxbrew/Cellar/libxml2/2.9.10_1/lib -lxml2
None of 'PKG_CONFIG_PATH' are defined in the environment, not changing global flags.
Run-time dependency libxml-2.0 found: YES 2.9.10
Run-time dependency threads found: YES
Configuring config.h using configuration
Configuring support.h using configuration
Build targets in project: 11
Subproject libqalculate finished.

Pkg-config binary for MachineChoice.HOST is cached.
Determining dependency 'gee-0.8' with pkg-config executable '/home/linuxbrew/.linuxbrew/bin/pkg-config'
PKG_CONFIG_PATH: 
Called `/home/linuxbrew/.linuxbrew/bin/pkg-config --modversion gee-0.8` -> 1

CMake binary for MachineChoice.HOST is not cached
None of 'CMAKE' are defined in the environment, not changing global flags.
CMake binary missing from cross or native file, or env var undefined.
Trying a default CMake fallback at cmake
Trying CMake binary cmake for machine MachineChoice.HOST at ['/home/linuxbrew/.linuxbrew/bin/cmake']
Found CMake: /home/linuxbrew/.linuxbrew/bin/cmake (3.17.3)
None of 'CMAKE_PREFIX_PATH' are defined in the environment, not changing global flags.
Extracting basic cmake information
Try CMake generator: auto
None of 'FC' are defined in the environment, not changing global flags.
None of 'FFLAGS' are defined in the environment, not changing global flags.
None of 'LDFLAGS' are defined in the environment, not changing global flags.
None of 'FC_LD' are defined in the environment, not changing global flags.
None of 'F_LD' are defined in the environment, not changing global flags.
Called `/home/linuxbrew/.linuxbrew/bin/cmake --trace-expand --trace-format=json-v1 --no-warn-unused-cli --trace-redirect=cmake_trace.txt .` in /home/solrevdev/Code/github/nasc/build/meson-private/cmake_gee-0.8 -> 0
  -- Module search paths:    ['/', '/home/linuxbrew/.linuxbrew/Cellar/cmake/3.17.3', '/opt', '/usr', '/usr/local']
  -- CMake root:             /home/linuxbrew/.linuxbrew/Cellar/cmake/3.17.3/share/cmake
  -- CMake architectures:    ['i386-linux-gnu', 'x86_64-linux-gnu']
  -- CMake lib search paths: ['lib', 'lib32', 'lib64', 'libx32', 'share', 'lib/i386-linux-gnu', 'lib/x86_64-linux-gnu']
Preliminary CMake check failed. Aborting.
Run-time dependency gee-0.8 found: NO (tried pkgconfig and cmake)

meson.build:57:0: ERROR: Dependency "gee-0.8" not found, tried pkgconfig and cmake

Desktop (please complete the following information):

screenfetch -n
 solrevdev@hplaptop
 OS: Ubuntu 20.04 focal
 Kernel: x86_64 Linux 5.4.0-37-generic
 Uptime: 21h 49m
 Packages: 3049
 Shell: bash 5.0.16
 Resolution: 1920x1080
 DE: GNOME 3.36.2
 WM: Mutter
 WM Theme: 
 GTK Theme: Yaru [GTK2/3]
 Icon Theme: Yaru
 Font: Ubuntu 11
 Disk: 142G / 243G (62%)
 CPU: Intel Core i5-7200U @ 4x 3.1GHz [51.0°C]
 GPU: Intel Corporation HD Graphics 620 (rev 02)
 RAM: 5812MiB / 7878MiB
parnoldx commented 4 years ago

Hi, strange. It says it does not find libgee.

Also it says something about cmake but there is no cmake in this repo?

Meson must find the dependencies. So it must look like

2020-06-20T00:46:30.4421277Z |Subproject libqalculate finished.
2020-06-20T00:46:30.4421355Z 
2020-06-20T00:46:30.4421608Z Run-time dependency gee-0.8 found: YES 0.20.3
2020-06-20T00:46:30.4421858Z Run-time dependency glib-2.0 found: YES 2.64.2
2020-06-20T00:46:30.4422121Z Run-time dependency granite found: YES 5.5.0
2020-06-20T00:46:30.4422386Z Run-time dependency gtk+-3.0 found: YES 3.24.18
2020-06-20T00:46:30.4422659Z Run-time dependency gtksourceview-3.0 found: YES 3.24.11
2020-06-20T00:46:30.4422931Z Run-time dependency webkit2gtk-4.0 found: YES 2.28.2
2020-06-20T00:46:30.4423048Z Library posix found: YES
2020-06-20T00:46:30.4423162Z Library QalculateNasc found: YES
2020-06-20T00:46:30.4423267Z Program python3 found: YES (/usr/bin/python3)
2020-06-20T00:46:30.4423387Z Program /usr/bin/python3 found: YES (/usr/bin/python3)
2020-06-20T00:46:30.4423504Z Build targets in project: 20

Maybe your homebrew thing does not have it or something. I think that's the problem

solrevdev commented 4 years ago

Firstly thanks so much for replying and helping out it is very much appreciated.

Ok so I did a brew uninstall cmake && brew ininstall pkg-config followed by sudo apt-get install cmake && sudo apt-get install pkg-config and that seemed to move me forward a little.

However, the ninja compile seemed to fail.

So I worked out I also needed to use the system GCC not the linuxbrew/homebrew version

And this is my output. Does this look like it has worked?

What will be my binary output if so?

Below is the file system post build

Any further help would be great


solrevdev@hplaptop  ~/.../github/nasc   master  brew uninstall --ignore-dependencies gcc
Uninstalling /home/linuxbrew/.linuxbrew/Cellar/gcc/5.5.0_7... (1,350 files, 174.8MB)
 solrevdev@hplaptop  ~/.../github/nasc   master  which gcc
/usr/bin/gcc
 solrevdev@hplaptop  ~/.../github/nasc   master  ninja -C build install
ninja: Entering directory `build'
[47/63] Compiling C++ object 'subprojects/libqalcu...lculate/163e77a@@qalculate@sta/QalculateNasc.cc.o'
../subprojects/libqalculate/libqalculate/QalculateNasc.cc: In function ‘char* Calculator_calculate(const char*)’:
../subprojects/libqalculate/libqalculate/QalculateNasc.cc:157:23: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=]
  157 |         } catch (std::exception) {
      |                       ^~~~~~~~~
../subprojects/libqalculate/libqalculate/QalculateNasc.cc: In function ‘char* Calculator_calculate_store_variable(const char*, const char*)’:
../subprojects/libqalculate/libqalculate/QalculateNasc.cc:191:23: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=]
  191 |         } catch (std::exception) {
      |                       ^~~~~~~~~
[62/63] Installing files.
Installing com.github.parnold-x.nasc to /usr/bin
RPATH changes at install time disabled
Installing data/com.github.parnold-x.nasc.desktop to /usr/share/applications
RPATH changes at install time disabled
Installing data/com.github.parnold-x.nasc.appdata.xml to /usr/share/metainfo
RPATH changes at install time disabled
Installing /home/solrevdev/Code/github/nasc/data/com.github.parnold-x.nasc.gschema.xml to /usr/share/glib-2.0/schemas
Installing /home/solrevdev/Code/github/nasc/data/styles/def.lang to /usr/share/nasc/styles
Installing /home/solrevdev/Code/github/nasc/data/styles/language.dtd to /usr/share/nasc/styles
Installing /home/solrevdev/Code/github/nasc/data/styles/language.rng to /usr/share/nasc/styles
Installing /home/solrevdev/Code/github/nasc/data/styles/language2.rng to /usr/share/nasc/styles
Installing /home/solrevdev/Code/github/nasc/data/styles/nasc.lang to /usr/share/nasc/styles
Installing /home/solrevdev/Code/github/nasc/data/styles/nasc.xml to /usr/share/nasc/styles
Installing /home/solrevdev/Code/github/nasc/data/styles/nasc_dark.xml to /usr/share/nasc/styles
Installing /home/solrevdev/Code/github/nasc/data/styles/styles.rng to /usr/share/nasc/styles
Installing /home/solrevdev/Code/github/nasc/icons/16/com.github.parnold-x.nasc.svg to /usr/share/icons/hicolor/16x16/apps
Installing /home/solrevdev/Code/github/nasc/icons/24/com.github.parnold-x.nasc.svg to /usr/share/icons/hicolor/24x24/apps
Installing /home/solrevdev/Code/github/nasc/icons/32/com.github.parnold-x.nasc.svg to /usr/share/icons/hicolor/32x32/apps
Installing /home/solrevdev/Code/github/nasc/icons/48/com.github.parnold-x.nasc.svg to /usr/share/icons/hicolor/48x48/apps
Installing /home/solrevdev/Code/github/nasc/icons/64/com.github.parnold-x.nasc.svg to /usr/share/icons/hicolor/64x64/apps
Installing /home/solrevdev/Code/github/nasc/icons/128/com.github.parnold-x.nasc.svg to /usr/share/icons/hicolor/128x128/apps
Running custom install script '/home/linuxbrew/.linuxbrew/bin/python3 /home/solrevdev/Code/github/nasc/meson/post_install.py --schemadir /usr/share/glib-2.0/schemas --iconsdir /usr/share/icons'
Compiling gsettings schemas ...
Warning: Schema “com.canonical.indicator.session” has path “/apps/indicator-session/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “com.ubuntu.update-manager” has path “/apps/update-manager/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.freedesktop.ibus” has path “/desktop/ibus/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.freedesktop.ibus.general” has path “/desktop/ibus/general/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.freedesktop.ibus.general.hotkey” has path “/desktop/ibus/general/hotkey/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.freedesktop.ibus.panel” has path “/desktop/ibus/panel/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.freedesktop.ibus.panel.emoji” has path “/desktop/ibus/panel/emoji/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.crypto.cache” has path “/desktop/gnome/crypto/cache/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.crypto.pgp” has path “/desktop/gnome/crypto/pgp/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.seahorse” has path “/apps/seahorse/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.seahorse.manager” has path “/apps/seahorse/listing/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.locale” has path “/system/locale/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy” has path “/system/proxy/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.http” has path “/system/proxy/http/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.https” has path “/system/proxy/https/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.ftp” has path “/system/proxy/ftp/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.socks” has path “/system/proxy/socks/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “guake” has path “/apps/guake/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “guake.general” has path “/apps/guake/general/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “guake.style” has path “/apps/guake/style/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “guake.style.font” has path “/apps/guake/style/font/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “guake.style.background” has path “/apps/guake/style/background/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “guake.keybindings” has path “/apps/guake/keybindings/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “guake.keybindings.global” has path “/apps/guake/keybindings/global/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “guake.keybindings.local” has path “/apps/guake/keybindings/local/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “guake.hooks” has path “/apps/guake/hooks/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Compiling icon cache ...
gtk-update-icon-cache: Cache file created successfully.
Running custom install script '/home/linuxbrew/.linuxbrew/Cellar/meson/0.54.3/libexec/bin/meson --internal gettext install --subdir=po --localedir=share/locale --pkgname=com.github.parnold-x.nasc'

File system post build

 solrevdev@hplaptop  ~/.../nasc/build   master  tree .
.
├── build.ninja
├── com.github.parnold-x.nasc
├── com.github.parnold-x.nasc@exe
│   ├── build
│   │   └── config.c
│   ├── meson-generated_.._subprojects_libqalculate_data_definitions.c.o
│   ├── meson-generated_build_config.c.o
│   ├── meson-generated_src_Calculator.c.o
│   ├── meson-generated_src_Controller.c.o
│   ├── meson-generated_src_HelpBox.c.o
│   ├── meson-generated_src_InputView.c.o
│   ├── meson-generated_src_ListFooter.c.o
│   ├── meson-generated_src_MainWindow.c.o
│   ├── meson-generated_src_MathBinDialog.c.o
│   ├── meson-generated_src_Nasc.c.o
│   ├── meson-generated_src_NascSettings.c.o
│   ├── meson-generated_src_OpenBox.c.o
│   ├── meson-generated_src_PeriodicTable.c.o
│   ├── meson-generated_src_ResultBoxWidget.c.o
│   ├── meson-generated_src_ResultLine.c.o
│   ├── meson-generated_src_ResultView.c.o
│   ├── meson-generated_src_Tutorial.c.o
│   └── src
│       ├── Calculator.c
│       ├── Controller.c
│       ├── HelpBox.c
│       ├── InputView.c
│       ├── ListFooter.c
│       ├── MainWindow.c
│       ├── MathBinDialog.c
│       ├── Nasc.c
│       ├── NascSettings.c
│       ├── OpenBox.c
│       ├── PeriodicTable.c
│       ├── ResultBoxWidget.c
│       ├── ResultLine.c
│       ├── ResultView.c
│       └── Tutorial.c
├── compile_commands.json
├── config.vala
├── data
│   ├── com.github.parnold-x.nasc.appdata.xml
│   └── com.github.parnold-x.nasc.desktop
├── icons
├── meson-info
│   ├── intro-benchmarks.json
│   ├── intro-buildoptions.json
│   ├── intro-buildsystem_files.json
│   ├── intro-dependencies.json
│   ├── intro-installed.json
│   ├── intro-projectinfo.json
│   ├── intro-targets.json
│   ├── intro-tests.json
│   └── meson-info.json
├── meson-logs
│   ├── install-log.txt
│   └── meson-log.txt
├── meson-private
│   ├── build.dat
│   ├── cleantrees.dat
│   ├── cmake_gee-0.8
│   │   ├── CMakeCache.txt
│   │   ├── CMakeFiles
│   │   │   ├── 3.16.3
│   │   │   │   ├── CMakeCCompiler.cmake
│   │   │   │   ├── CMakeCXXCompiler.cmake
│   │   │   │   ├── CMakeFortranCompiler.cmake
│   │   │   │   └── CMakeSystem.cmake
│   │   │   ├── 3.17.3
│   │   │   │   ├── CMakeCCompiler.cmake
│   │   │   │   ├── CMakeCXXCompiler.cmake
│   │   │   │   ├── CMakeFortranCompiler.cmake
│   │   │   │   └── CMakeSystem.cmake
│   │   │   ├── CMakeDirectoryInformation.cmake
│   │   │   ├── CMakeOutput.log
│   │   │   ├── Makefile.cmake
│   │   │   ├── Makefile2
│   │   │   ├── TargetDirectories.txt
│   │   │   ├── cmake.check_cache
│   │   │   └── progress.marks
│   │   ├── CMakeLists.txt
│   │   ├── Makefile
│   │   ├── cmake_install.cmake
│   │   └── cmake_trace.txt
│   ├── cmd_line.txt
│   ├── coredata.dat
│   ├── install.dat
│   ├── meson.lock
│   ├── meson_benchmark_setup.dat
│   ├── meson_test_setup.dat
│   ├── sanitycheckc.c
│   ├── sanitycheckc.exe
│   ├── sanitycheckcpp.cc
│   └── sanitycheckcpp.exe
├── po
│   └── extra
└── subprojects
    └── libqalculate
        ├── config.h
        ├── data
        │   ├── currencies.xml
        │   ├── datasets.xml
        │   ├── definitions.c
        │   ├── definitions.h
        │   ├── elements.xml
        │   ├── functions.xml
        │   ├── planets.xml
        │   ├── prefixes.xml
        │   ├── units.xml
        │   └── variables.xml
        └── libqalculate
            ├── 163e77a@@qalculate@sta
            │   ├── BuiltinFunctions-algebra.cc.o
            │   ├── BuiltinFunctions-calculus.cc.o
            │   ├── BuiltinFunctions-combinatorics.cc.o
            │   ├── BuiltinFunctions-datetime.cc.o
            │   ├── BuiltinFunctions-explog.cc.o
            │   ├── BuiltinFunctions-logical.cc.o
            │   ├── BuiltinFunctions-matrixvector.cc.o
            │   ├── BuiltinFunctions-number.cc.o
            │   ├── BuiltinFunctions-special.cc.o
            │   ├── BuiltinFunctions-statistics.cc.o
            │   ├── BuiltinFunctions-trigonometry.cc.o
            │   ├── BuiltinFunctions-util.cc.o
            │   ├── Calculator-calculate.cc.o
            │   ├── Calculator-convert.cc.o
            │   ├── Calculator-definitions.cc.o
            │   ├── Calculator-parse.cc.o
            │   ├── Calculator-plot.cc.o
            │   ├── Calculator.cc.o
            │   ├── DataSet.cc.o
            │   ├── ExpressionItem.cc.o
            │   ├── Function.cc.o
            │   ├── MathStructure-calculate.cc.o
            │   ├── MathStructure-convert.cc.o
            │   ├── MathStructure-decompose.cc.o
            │   ├── MathStructure-differentiate.cc.o
            │   ├── MathStructure-eval.cc.o
            │   ├── MathStructure-factor.cc.o
            │   ├── MathStructure-gcd.cc.o
            │   ├── MathStructure-integrate.cc.o
            │   ├── MathStructure-isolatex.cc.o
            │   ├── MathStructure-limit.cc.o
            │   ├── MathStructure-matrixvector.cc.o
            │   ├── MathStructure-polynomial.cc.o
            │   ├── MathStructure-print.cc.o
            │   ├── MathStructure.cc.o
            │   ├── Number.cc.o
            │   ├── Prefix.cc.o
            │   ├── QalculateDateTime.cc.o
            │   ├── QalculateNasc.cc.o
            │   ├── Unit.cc.o
            │   ├── Variable.cc.o
            │   ├── meson-generated_.._.._data_definitions.c.o
            │   └── util.cc.o
            ├── libqalculate.a
            └── support.h

19 directories, 138 files
solrevdev commented 4 years ago

It worked!

I may submit a PR once I work out how I could package this up so folk could sudo apt-get install nasc or snap install nasc etc although that may be beyond my skill level!

Thanks for your help. This looks like a great Linux alternative to soulver :+1: