Unable to install Haxelib Flixel - haxe

I am trying to download source code for a project, and it requires a list of installations for "HaxeFlixel". However, when I attempt to install Filxel in the command prompt. It states the following:
C:\Users\mimin>haxelib install flixel
Downloading flixel-5,0,2.zip...
Failed to download https://lib.haxe.org:443/files/3.0/flixel-5,0,2.zip. (1/3)
Failed to write to C:/Program Files/haxe/lib/flixel-5,0,2.zip: [file_open,C:/Program Files/haxe/lib/flixel-5,0,2.zip]
Failed to download https://lib.haxe.org:443/files/3.0/flixel-5,0,2.zip. (2/3)
Failed to write to C:/Program Files/haxe/lib/flixel-5,0,2.zip: [file_open,C:/Program Files/haxe/lib/flixel-5,0,2.zip]
Failed to download https://lib.haxe.org:443/files/3.0/flixel-5,0,2.zip. (3/3)
Failed to write to C:/Program Files/haxe/lib/flixel-5,0,2.zip: [file_open,C:/Program Files/haxe/lib/flixel-5,0,2.zip]
Error: [file_open,C:/Program Files/haxe/lib/flixel-5,0,2.zip]
I'm not entirely sure what I did wrong. But I've been sitting in my desk for a while confused on what to do.
I attempted to type in "haxelib install flixel" in order to install Flixel. Every other program I've installed this way worked but for flixel it doesn't.

Looks like you don't have permissions to write in folder or can't download. Try to download lib manually https://lib.haxe.org/files/3.0/flixel-5,0,2.zip
Or try to download and install flixel lib manually.

Related

GSL not installing in Windows 10 using GIT Bash

When I run the config file for installing GSL library for Windows 10 I get the following error:
error: Something went wrong bootstrapping makefile fragments for
automatic dependency tracking. If GNU make was not used, consider
re-running the configure script with MAKE="gmake" (or whatever is
necessary). You can also try re-running configure with the
'--disable-dependency-tracking' option to at least be able to build
the package (albeit without support for automatic dependency
tracking).
If I run ./config MAKE="gmake" I still get the error. I have searched in StackOverflow and on the web and still haven't found a solution.

opkg failed to install ipk package

I have created an image with buildroot for raspberry pi 2 and i have included "Opkg" in it. I then manually downloaded "gcc_4.8.3-1_brcm2708.ipk" for it and moved this file into the SD card and logged in to the pi, but now when i run the command "opkg install gcc_4.8.3-1_brcm2708.ipk" , i get the following error:
* open_outer: Failed to open package 'gcc_4.8.3-1_brcm2708.ipk': Unrecognized archive format
* pkg_extract_control_file_to_stream: Failed to extract control.tar.gz from package 'gcc_4.8.3.
* pkg_init_from_file: Failed to extract control file from gcc_4.8.3-1_brcm2708.ipk.
Is there a problem with the package or the image or it is something else?
Thanks in advance.
Read the documentation of the project, especially http://buildroot.org/downloads/manual/manual.html#faq-no-binary-packages, which tells you that Buildroot does not support generating binary packages.
Plus, you cannot take some random .ipk found on the Internet, and expect it to work on a random Buildroot generated system. How can you be sure it's generated for the right architecture, with the same C library, the same ABI, etc.

Installation of missing C libraries when installing HDBC-Sqlite3

I am trying to set up my PC running windows XP to run the Haskell Platform and the SQLite3 database. I also have to install 2 additional Libraries from Hackage database (home of the additional haskell libraries)
HDBC
HDBC.sqlite3
I downloaded the Haskell platform and installed it on the following location on my computer
C:\Program Files\Haskell Platform\2013.2.0.0
from the command line I installed the HDBC library with the following command
C:\Document and setting\oke\cabal install HDBC
from the command line I tried to install the HDBC-sqlite3
C:\Document and setting\oke\cabal install HDBC-sqlite3
this gave an error message stating …...
cabal missing dependency on foreign library
*Missing C library:sqlite3
ExitFailure 1
please can somebody give details as to how I get the missing C libraries and
what exact folders, do I place them in ?
and how I install the HDBC-sqlite3 library using cabal ?
Do I install the Sqlite3 before installing libraries and what folder is best to do so?
Get the SQLite DLL from the SQLite download page, copy it to somewhere sensible (say, C:\sqlite3, and not Program Files nor anywhere in the Windows directory), add your chosen directory to the PATH (see the answers to this question for details) and, finally, install HDBC-sqlite3 with cabal. In general, cabal will not install C libraries, so whenever you install a package which depends on one you will have to set it up in your system beforehand.

How to install pecl-event on FreeBSD?

I've try to install pecl-event on FreeBSD 8.0, but get error:
# pecl install event
Failed to download pecl/event within preferred state "stable", latest release is version 0.9.1, stability "beta", use "channel://pecl.php.net/event-0.9.1" to install
install failed
# pecl install "channel://pecl.php.net/event-0.9.1"
downloading event-0.9.1.tar ...
Starting to download event-0.9.1.tar (Unknown size)
.....................done: 113,664 bytes
11 source files, building
running: phpize
Cannot find config.m4.
Make sure that you run '/usr/local/bin/phpize' in the top level source directory of the module
ERROR: `phpize' failed
What I do wrong? How to install it?
Extract event-0.9.1.tar file to a temporary folder. (for instance: /tmp/tmp1 )
Go to sub-folder which one includes config.m4 file in temporary folder.
Make sure you have "/usr/local/bin/phpize". If it s not in there... find phpize's location and create symbolic link it to /usr/local/bin/phpize.
Than try to run again

How do I get PhantomJS / CasperJS working on Cygwin?

I am having trouble getting PhantomJS and CasperJS working within the cygwin environment. I am very new to cygwin. I was able to download both packages for windows and run them via windows cmd.
To get them to work with Cygwin, I tried the following:
I downloaded the tar/zip files for both PhantomJS and CasperJS, I copied the contents on the "bin" folders into C:\cygwin\bin. But when I type in phantomjs on cygwin I get:
/usr/bin/phantomjs: cannot execute binary file
Then, I tried to do:
pip install git+git://github.com/ariya/phantomjs
but after waiting for a while I get the following response:
Downloading/unpacking git+git://github.com/ariya/phantomjs Cloning
git://github.com/ariya/phantomjs to /tmp/pip-dCF1oZ-build Running
setup.py egg_info for package from
git+git://github.com/ariya/phantomjs
Traceback (most recent call last):
File "", line 16, in
IOError: [Errno 2] No such file or directory: '/tmp/pip-dCF1oZ-build/setup.py'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 16, in
IOError: [Errno 2] No such file or directory:
'/tmp/pip-dCF1oZ-build/setup.py'
---------------------------------------- Command python setup.py egg_info failed with error code 1 in /tmp/pip-dCF1oZ-build Storing
complete log in /home/tkondapalli/.pip/pip.log
Does any one have any advice on how to get this working? Does anyone use PhantomJS/CasperJS in the cygwin environment?
Also, I thought the .exe I am downloading and copying into the C:\cygwin\bin directory is the one for linux, so maybe that doesn't work? So this means that I need to compile from source on cygwin...
So, I started following directions for building phantomjs: http://phantomjs.org/build.html
The first thing we need to do is build OpenSSL for devel, but again I don't know how to do this for cygwin! So I just skipped this step for now, which is probably not right.
I did download the source from github and tried to build it. It failed with the follow error:
Makefile:217: recipe for target `qtemporaryfile.o' failed make: *
[qtemporaryfile.o] Error 1 make: * Waiting for unfinished jobs....
make: *** No targets specified and no makefile found. Stop.
./build.sh: line 90: src/qt/bin/qmake: No such file or directory
Earlier I had downloaded the executables for Linux, so it was not working. This time I downloaded the executables for windows and put it in C:/cygwin/bin, and it worked!
I don't understand why I would need to download the windows executable, when cygwin is a linux emulator. This confuses me, but at least it works now!
From the Cygwin website:
Cygwin is not: a way to run native Linux apps on Windows. You must rebuild your application from source if you want it to run on Windows.
Every applications needs to be rebuilt in order to be use on Windows (as it does not produce an elf file, but .exe file that requires the cygwin dll).
Nevertheless, the shell in cygwin can execute any windows's .exe file (such as ping, ipconfig, cmd, etc.), which is why you are able to run the windows version of PhantomJS under cygwin.
First, download and install Node.js from http://nodejs.org/download
Close and reopen Cygwin and type:
$ npm install -g phantomjs
$ npm install -g casperjs
Just ran into this issue, placing the phantomjs executable in C:/cygwin/bin solved everything. After that all you need to do is run the command C:/cygwin/bin/phantomjs to initialize the application.
Although Cygwin doesn't replace the standard cmd prompt, it is pretty useful!

Resources