You are not logged in.

#1 2015-12-30 08:52:17

asdfiex
Member
From: Eastern Europe
Registered: 2015-12-15
Posts: 71

[SOLVED] Building LightSpark ASM-NASM compiler identification unknown

After I launch the terminal command cmake -DCMAKE_BUILD_TYPE=Release .. I get:

-- Gnash not found
-- The ASM-NASM compiler identification is unknown
-- Found assembler: nasm
CMake Error at CMakeLists.txt:140 (ENABLE_LANGUAGE):
  The CMAKE_ASM-NASM_COMPILER:

    nasm

  is not a full path and was not found in the PATH.

  Tell CMake where to find the compiler by setting either the environment
  variable "ASM-NASM" or the CMake cache entry CMAKE_ASM-NASM_COMPILER to the
  full path to the compiler, or to the compiler name if it is in the PATH.


-- Configuring incomplete, errors occurred!
See also "/home/florea/Downloads/lightspark-0.7.2/obj/CMakeFiles/CMakeOutput.log".
See also "/home/florea/Downloads/lightspark-0.7.2/obj/CMakeFiles/CMakeError.log".

CMakeError.log

Checking whether the ASM-NASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)":
Checking whether the ASM-NASM compiler is HP using "-V" did not match "HP C":
Checking whether the ASM-NASM compiler is Intel using "--version" did not match "(ICC)":
Checking whether the ASM-NASM compiler is SunPro using "-V" did not match "Sun C":
Checking whether the ASM-NASM compiler is XL using "-qversion" did not match "XL C":
Checking whether the ASM-NASM compiler is MSVC using "/?" did not match "Microsoft":
Checking whether the ASM-NASM compiler is TI using "-h" did not match "Texas Instruments":
Checking whether the ASM-NASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)":
Checking whether the ASM-NASM compiler is IAR using "" did not match "IAR Assembler":
Checking whether the ASM-NASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)":
Checking whether the ASM-NASM compiler is HP using "-V" did not match "HP C":
Checking whether the ASM-NASM compiler is Intel using "--version" did not match "(ICC)":
Checking whether the ASM-NASM compiler is SunPro using "-V" did not match "Sun C":
Checking whether the ASM-NASM compiler is XL using "-qversion" did not match "XL C":
Checking whether the ASM-NASM compiler is MSVC using "/?" did not match "Microsoft":
Checking whether the ASM-NASM compiler is TI using "-h" did not match "Texas Instruments":
Checking whether the ASM-NASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)":
Checking whether the ASM-NASM compiler is IAR using "" did not match "IAR Assembler":
Checking whether the ASM-NASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)":
Checking whether the ASM-NASM compiler is HP using "-V" did not match "HP C":
Checking whether the ASM-NASM compiler is Intel using "--version" did not match "(ICC)":
Checking whether the ASM-NASM compiler is SunPro using "-V" did not match "Sun C":
Checking whether the ASM-NASM compiler is XL using "-qversion" did not match "XL C":
Checking whether the ASM-NASM compiler is MSVC using "/?" did not match "Microsoft":
Checking whether the ASM-NASM compiler is TI using "-h" did not match "Texas Instruments":
Checking whether the ASM-NASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)":
Checking whether the ASM-NASM compiler is IAR using "" did not match "IAR Assembler":
Checking whether the ASM-NASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)":
Checking whether the ASM-NASM compiler is HP using "-V" did not match "HP C":
Checking whether the ASM-NASM compiler is Intel using "--version" did not match "(ICC)":
Checking whether the ASM-NASM compiler is SunPro using "-V" did not match "Sun C":
Checking whether the ASM-NASM compiler is XL using "-qversion" did not match "XL C":
Checking whether the ASM-NASM compiler is MSVC using "/?" did not match "Microsoft":
Checking whether the ASM-NASM compiler is TI using "-h" did not match "Texas Instruments":
Checking whether the ASM-NASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)":
Checking whether the ASM-NASM compiler is IAR using "" did not match "IAR Assembler":
Checking whether the ASM-NASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)":
Checking whether the ASM-NASM compiler is HP using "-V" did not match "HP C":
Checking whether the ASM-NASM compiler is Intel using "--version" did not match "(ICC)":
Checking whether the ASM-NASM compiler is SunPro using "-V" did not match "Sun C":
Checking whether the ASM-NASM compiler is XL using "-qversion" did not match "XL C":
Checking whether the ASM-NASM compiler is MSVC using "/?" did not match "Microsoft":
Checking whether the ASM-NASM compiler is TI using "-h" did not match "Texas Instruments":
Checking whether the ASM-NASM compiler is GNU using "--version" did not match "(GNU assembler)|(GCC)|(Free Software Foundation)":
Checking whether the ASM-NASM compiler is IAR using "" did not match "IAR Assembler":

Ok, tried on my own so I set an environment variable, just added this line to the end of ~/.bashrc file :

export ASM-NASM=/usr/bin/gcc

After I log in again there's a  'bash: export: `ASM-NASM=/usr/bin/gcc': not a valid identifier' error. 
Also If I 'echo $ASM-NASM' I get '-NASM'.

How can I solve this? What am I wrong?

Last edited by asdfiex (2016-01-05 17:34:18)

Offline

#2 2015-12-30 12:13:22

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,615

Re: [SOLVED] Building LightSpark ASM-NASM compiler identification unknown

something appears to be wrong with your nasm installation or your PATH .

please  post echo $PATH and which nasm .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2015-12-30 12:55:46

asdfiex
Member
From: Eastern Europe
Registered: 2015-12-15
Posts: 71

Re: [SOLVED] Building LightSpark ASM-NASM compiler identification unknown

After installing NASM and another required packages:
echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
which nasm
/usr/bin/nasm

But this didn't solve the problem, now I get:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GLEW_INCLUDE_DIR (ADVANCED)
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/plugin
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/plugin
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/plugin
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/plugin
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/plugin
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/plugin
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/plugin
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/plugin
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/plugin
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/backends/interfaces
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/backends/interfaces
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/backends/interfaces
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/backends/interfaces
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/backends/interfaces
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/backends/interfaces
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/backends/interfaces
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/backends/interfaces
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/backends/interfaces/audio
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/backends/interfaces/audio
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/backends/interfaces/audio
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/backends/interfaces/audio
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/backends/interfaces/audio
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/backends/interfaces/audio
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/backends/interfaces/audio
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/backends/interfaces/audio
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/backends/interfaces/audio/pulse
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/backends/interfaces/audio/pulse
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/backends/interfaces/audio/pulse
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/backends/interfaces/audio/pulse
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/backends/interfaces/audio/pulse
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/backends/interfaces/audio/pulse
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/backends/interfaces/audio/pulse
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/backends/interfaces/audio/pulse
   used as include directory in directory /home/florea/Downloads/lightspark-0.7.2/src/backends/interfaces/audio/pulse

There were more packages to install. Like GLEW and anothers more. Now I'm using 'make', hope to work.

Last edited by asdfiex (2015-12-30 13:19:15)

Offline

#4 2015-12-30 13:09:43

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,615

Re: [SOLVED] Building LightSpark ASM-NASM compiler identification unknown

you are probably missing glew package on your system.

have you tried https://aur.archlinux.org/packages/lightspark-git/  ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#5 2015-12-30 14:38:20

asdfiex
Member
From: Eastern Europe
Registered: 2015-12-15
Posts: 71

Re: [SOLVED] Building LightSpark ASM-NASM compiler identification unknown

Finally I installed it. All the errors were caused by uninstalled package dependencies.

Offline

Board footer

Powered by FluxBB