when run make in Momentics on windows I got error - qnx

When running cmake in Momentics 6.5 on Windows I got the following error:
bash.exe: warning: could not find /tmp, please create!
bash: Run_cmake: No such file or directory
Note: I have /tmp, /temp set in my environment variable to my appData/local/....
Any idea what is the problem?

Related

Can't get luarocks to install lua-cjson; Failed compiling module cjson.dll

I am trying to install lua-cjson using luarocks. I have installed mingw32 as well as set a environment variable in system. I keep getting error: I've tried re-directing my lua folder to user public (as another post suggested), however that didn't help, only to get the same error.
I've even verified that MinGW is installed by using the --version command in CMD prompt, which works.
Error: Build error: Failed compiling module cjson.dll
I don't know what else to do as there are absolutely no posts on stackoverflow covering this issue.
lua_objlen was removed. If you want this module to be working try
luarocks install lua-cjson "CFLAGS=-DLUA_COMPAT_5_3"
Output
Reference

stagehand command not found when trying to create new application

I just installed stagehand on my mac and the install went off without a hitch, but when I try using it to spawn a new dart application I get this error -bash: stagehand: command not found. Any ideas?
I've looked at my machine, and stagehand is in ~/.pub-cache/bin which I think I had to add to my .profile manually:
export PATH=$PATH:~/.pub-cache/bin
(edit: I've just found the confirming information tucked away in the pub pages: https://www.dartlang.org/tools/pub/cmd/pub-global#running-a-script-from-your-path)
I'm on mac too. I did this:
brew tap dart-lang/dart
brew install dart
stagehand
zsh: command not found: stagehand
And then this command fixed it:
pub global activate stagehand
Now it works:
stagehand
Welcome to Stagehand!
I came across same issue on my windows pc. I had to check flutter installation directory and add following .pub-cache\bin directory to Windows path environment variable.
D:\flutter\.pub-cache\bin
I think this might be helpful to any Windows user.
On MacOS run this command: export PATH="$PATH":"$HOME/.pub-cache/bin"
I installed it, but still gave me error not found, but I noticed warning in following message after running the command:
Package stagehand is currently active at version 3.3.11.
Resolving dependencies...
The package stagehand is already activated at newest available version.
To recompile executables, first run `global decativate stagehand`.
Installed executable stagehand.
Warning: Pub installs executables into C:\Users\Nijat\AppData\Local\Pub\Cache\bin, which is not on your path.
You can fix that by adding that directory to your system's "Path" environment variable.
A web search for "configure windows path" will show you how.
Activated stagehand 3.3.11.
The problem is this line:
Warning: Pub installs executables into C:\Users\Nijat\AppData\Local\Pub\Cache\bin, which is not on your path.
Thus, you also need to add that to your environment variables. This solved my problem and now I can run stagehand.

command not found error on Mac when running mfp from command line

I am getting mfp: command not found error on Mac. I obviously have installed mobilefirst-cli using npm install -g path-to-cli-.tgz-file
How can I check/verify if mobilefirst-cli is successfully installed on Mac? I tried to run mfp but got the error "Command not found".
If you are using MobileFirst 8.0 https://mobilefirstplatform.ibmcloud.com/downloads/ then the executable will be mfpdev
Specify PATH in zshrc or bashrc. Command: gedit ~/.zshrc
Also source it. Command: source ~/.zshrc
Once that is done. Restart terminal and you should be able to access mfp commands in cli.

"No such file or directory" when running cross compiled dart runtime

I'm running the cross compiled version of Dart runtime. The executable has been produced using the following instructions: https://code.google.com/p/dart/wiki/RaspberryPi
When I run it I get this error:
-bash: ./dart: No such file or directory
ldd output:
pi#raspberrypi ~/dart/runtime $ ldd dart
not a dynamic executable
file output:
pi#raspberrypi ~/dart/runtime $ file dart
dart: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=0xb0dc8037ff83ff0742749241be56d7b8935efa6f, not stripped
Not really an answer but I've found that using the last release of Raspbian (Debian Wheezy 2014-09-09) the executable works fine. So I think the cause is something old in my current Raspbian installation (I've updated it with the last updates but it is not sufficient).

Solaris 10: Latex post-installation error, looking for old libstdc++.so.5

I am trying to run Latex on Solaris 10/x86. I have successfully installed the tetex3.0 from sunfree. When I run Latex I get the following error:
ld.so.1: pdfetex: fatal: libstdc++.so.5: open failed: No such file or directory
and ldd pdfetex shows:
libstdc++.so.5 => (file not found)
I have the latest version (libstdc++.so.6) and tried to link libstdc++.so.5 to .6 however, the libstdc++.so.5 is not even installed in my machine. Is there a way to change the dependency from version 5 to 6? Or any other way around this problem? Thanks.
I think you missed their note stating that
[..] that you have the /usr/local/lib/libstdc++.so.5 and /usr/local/lib/libgcc_s.so.1 related files either from the gcc-3.3.2 or libgcc-3.3 or higher packages
Did you install [lib]gcc as well?

Resources