View Single Post
Old 3rd March 2020, 14:59   #7  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
OK, I've re-installed compiler again,

Code:
steve@Plex-780:~$ sudo apt-get install build-essential cmake git ninja-build checkinstall
[sudo] password for steve:            
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version (12.4ubuntu1).
checkinstall is already the newest version (1.6.2-4ubuntu2).
ninja-build is already the newest version (1.8.2-1).
cmake is already the newest version (3.10.2-1ubuntu2.18.04.1).
git is already the newest version (1:2.17.1-1ubuntu0.5).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
steve@Plex-780:~$ sudo add-apt-repository ppa:ubuntu-toolchain-r/test
You are about to add the following PPA:
 Toolchain test builds; see https://wiki.ubuntu.com/ToolChain

 More info: https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test
Press Enter to continue or Ctrl+C to cancel

Executing: /tmp/apt-key-gpghome.7YLFPl4fzu/gpg.1.sh --keyserver hkps://keyserver.ubuntu.com:443 --recv-keys 60C317803A41BA51845E371A1E9377A2BA9EF27F
gpg: key 1E9377A2BA9EF27F: "Launchpad Toolchain builds" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
steve@Plex-780:~$ sudo apt-get update
Hit:1 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu bionic InRelease                                                                                                                      
Ign:2 http://mirrors.evowise.com/linuxmint/packages tricia InRelease                                                                                                                                                                       
Hit:3 http://archive.canonical.com/ubuntu bionic InRelease                                                                                                                                                                                 
Hit:4 http://mirrors.evowise.com/linuxmint/packages tricia Release                                                                                                                    
Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]                                                                                                           
Hit:7 http://archive.ubuntu.com/ubuntu bionic InRelease                                                                                                                                                                                    
Ign:8 http://dl.google.com/linux/earth/deb stable InRelease                                                                                                                                                                                
Get:9 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]                                                                                                                                                                  
Hit:10 http://dl.google.com/linux/earth/deb stable Release                                                                                                                                                                                 
Hit:11 https://repo.skype.com/deb stable InRelease                                                                                                                                                                                         
Get:13 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]                                                                                                                                                               
Fetched 252 kB in 22s (11.3 kB/s)                                                                                                                                                                                                          
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://dl.google.com/linux/earth/deb stable InRelease' doesn't support architecture 'i386'
steve@Plex-780:~$ 
steve@Plex-780:~$ sudo apt-get install build-essential cmake git ninja-build gcc-9
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version (12.4ubuntu1).
ninja-build is already the newest version (1.8.2-1).
cmake is already the newest version (3.10.2-1ubuntu2.18.04.1).
git is already the newest version (1:2.17.1-1ubuntu0.5).
gcc-9 is already the newest version (9.2.1-17ubuntu1~18.04.1).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
steve@Plex-780:~$
Downed AvsPlus
Code:
steve@Plex-780:~$ git clone git://github.com/AviSynth/AviSynthPlus.git
Cloning into 'AviSynthPlus'...
remote: Enumerating objects: 408, done.
remote: Counting objects: 100% (408/408), done.
remote: Compressing objects: 100% (246/246), done.
remote: Total 24585 (delta 254), reused 261 (delta 162), pack-reused 24177
Receiving objects: 100% (24585/24585), 31.05 MiB | 169.00 KiB/s, done.
Resolving deltas: 100% (16849/16849), done.
Line by line (separately)
Code:
steve@Plex-780:~$ cd AviSynthPlus
steve@Plex-780:~/AviSynthPlus$ ls
avs_core  CMakeLists.txt  cmake_uninstall.cmake.in  distrib  GNUmakefile  plugins  README.md

steve@Plex-780:~/AviSynthPlus$ mkdir avisynth-build
steve@Plex-780:~/AviSynthPlus$ cd avisynth-build
steve@Plex-780:~/AviSynthPlus/avisynth-build$ 
steve@Plex-780:~/AviSynthPlus/avisynth-build$ ls
steve@Plex-780:~/AviSynthPlus/avisynth-build$ CC=gcc-9 CXX=g++-9 LD=gcc-9 cmake ../ -G Ninja -DCMAKE_CXX_FLAGS="-fpermissive" && ninja
-- The C compiler identification is GNU 9.2.1
CMake Error at /usr/share/cmake-3.10/Modules/CMakeDetermineCXXCompiler.cmake:47 (message):
  Could not find compiler set in environment variable CXX:

  g++-9.

Call Stack (most recent call first):
  CMakeLists.txt:12 (project)


CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "/home/steve/AviSynthPlus/avisynth-build/CMakeFiles/CMakeOutput.log".
steve@Plex-780:~/AviSynthPlus/avisynth-build$
Quote:
The CC/CXX/LD overrides likely need to use 'gcc-9/g++-9' so it sees the correct version of GCC
What does that mean, I am real new to linux, and never used command line compiler since the 90's.

EDIT: executing
Code:
CC=gcc-9 CXX=g++-9 LD=gcc-9
and then
Code:
printenv
shows nothing for eg CC, dont know if it should.

EDIT:
Quote:
I am real new to linux
Well, Pinterf pretty much spoke for me also
[mc pretty much always been the 1st prog I install on linux, since the 90's when I first used RedHat 6.0, I think. (Cinnamon Mint is the first version Linux that has not left me feeling disappointed, though it could still be improved)],
Quote:
Originally Posted by pinterf View Post
At least for someone (me) who is using linux in every five years for only a day or two. All I can say that Midnight Commander rulez
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 3rd March 2020 at 15:56.
StainlessS is offline   Reply With Quote