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
Related
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.
I tried to install the DB2 V11.1 FP5 on a SLES-12-SP4 machine. So far I
downloaded the universal package
extracted the universal package
called the command "./installFixPack -b /opt/ibm/db2/V11.1/ -p /opt/ibm/db2/fp5/" as root user
But the installFixPack stopps working sometimes at step 44 or 47 or also step 50 of 73 without any clear error message. In the log file I find a message like
"ERROR: The install path "/opt/ibm/db2/fp5" is invalid. Specify a
valid install path.
ERROR: DBI20105E An error occurred while installing the following
file set: "DB2_PRODUCT_MESSAGES_FR_11.1.4.5_linuxamd64_x86_64".
Because these files were not successfully installed, functionality
that depends on these files might not work as expected.
Rolling back what has been installed"
Any hint what I'm doing wrong?
Thanks so much for reading so far
best regards
Thomas Graf
./installFixPack -b is to patch an aleady installed DB2 HOME cf: pass from FP4 To FP5.
if you want to install the FP5 into a new path use db2setup (or ./db2setup -r for silent install)
you should add -l /var/tmp/installlog.log -t /var/tmp/installtrace.log to the installFixPack to see exactly what is the error.
Even if you started the install with root, the app can use another user to install some files/libraries.
Do you have the same message after manually creating this folder ?
When I try to start Cassandra after patching my OS, I get this error:
Exception (java.lang.AbstractMethodError) encountered during startup: org.apache.cassandra.utils.JMXServerUtils$Exporter.exportObject(Ljava/rmi/Remote;ILjava/rmi/server/RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;Lsun/misc/ObjectInputFilter;)Ljava/rmi/Remote;
java.lang.AbstractMethodError: org.apache.cassandra.utils.JMXServerUtils$Exporter.exportObject(Ljava/rmi/Remote;ILjava/rmi/server/RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;Lsun/misc/ObjectInputFilter;)Ljava/rmi/Remote;
at javax.management.remote.rmi.RMIJRMPServerImpl.export(RMIJRMPServerImpl.java:150)
at javax.management.remote.rmi.RMIJRMPServerImpl.export(RMIJRMPServerImpl.java:135)
at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:405)
at org.apache.cassandra.utils.JMXServerUtils.createJMXServer(JMXServerUtils.java:104)
at org.apache.cassandra.service.CassandraDaemon.maybeInitJmx(CassandraDaemon.java:143)
at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:188)
at com.datastax.bdp.server.DseDaemon.setup(DseDaemon.java:476)
at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:59
at com.datastax.bdp.DseModule.main(DseModule.java:93)
ERROR [main] 2018-01-17 13:18:03,330 CassandraDaemon.java:705 - Exception encountered during startup
java.lang.AbstractMethodError: org.apache.cassandra.utils.JMXServerUtils$Exporter.exportObject(Ljava/rmi/Remote;ILjava/rmi/server/RMIClientSocketFactory;Ljava/rmi/server/RMIServerSocketFactory;Lsun/misc/ObjectInputFilter;)Ljava/rmi/Remote;
Does anyone know why, with no other changes, I'm running into this error now?
This seems to relate to an upgrade to the JDK to 8u161 which was released 2 days ago.
A ticket has been opened on the Cassandra Jira
There is no published work-around that I can find. You might have to go back to an earlier version of the JDK or wait for Cassandra 3.11.2 which fixes the issue.
Edit: Its worth pointing out that this has now been resolved in 3.11.2 which has been released, so you can simply upgrade to this version to resolve the problem.
To get Cassandra running I had to install JDK 8u152. Using brew cask install java8 it wasn't possible. I tried using an old version of the cassandra.rb formula but that just got:
Error: Download failed on Cask 'java8' with message: Download failed: http://download.oracle.com/otn-pub/java/jdk/8u152-b16/aa0333dd3019491ca4f6ddbe78cdb6d0/jdk-8u152-macosx-x64.dmg
I had to go here and log in to be able to download the DMG: http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html
Protip: To still be able to install java8 using homebrew I downloaded the dmg myself, and started a server in the downloads directory:
cd ~/Downloads
php -S 0.0.0.0:3333
And changed the download URL (line 6) in the formula to:
url "http://0.0.0.0:3333/jdk-8u152-macosx-x64.dmg",
Then was able to run:
brew cask install java8
Now Cassandra is running again.
You may download the source and add the changed method, compile and add the modified class to the apache-cassandra.jar. You can do the following:
Download org.tar containing the only class to be replaced.
Untar the file using tar -xvf org.tar and you should get org directory
Copy the apache-cassandra jar file. e.g. cp /usr/share/cassandra/apache-cassandra-3.11.1.jar .
Make a backup of the jar before you update. cp apache-cassandra-3.11.1.jar apache-cassandra-3.11.1.jar_backup.
Expecting the current directory contains the following files:
apache-cassandra-3.11.1.jar
apache-cassandra-3.11.1.jar_backup
org
org.tar
Execute the following command to update the jar:
jar uf apache-cassandra-3.11.1.jar org
Replace the file to installation location:
mv apache-cassandra-3.11.1.jar /usr/share/cassandra
Restart cassandra service
Revert Cask formula to 2017 version.
wget https://github.com/caskroom/homebrew-versions/blob/a98da98a7e4d87e9b614b3aa25af9c6c21a753c6/Casks/java8.rb -O /usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask/Casks/java8.rb
change line 6 URL as suggested
url "http://127.0.0.1:3333/jdk-8u152-macosx-x64.dmg",
brew cask reinstall java8
should work.
I've been following the instructions here:
http://code.jsoftware.com/wiki/System/Installation/Linux
to install J on an Ubuntu, new computer with everything updated. I have managed to follow all of the instructions up to the point where I install a JQt IDE
http://code.jsoftware.com/wiki/Guides/Qt_IDE/Install
When I search the various file paths listed at the first like, like /usr/bin, I don't see any jqt.sh nor do I know which one is "the J install directory" since I only downloaded the .deb file to my downloads folder and then it installed other files in other places.
When I try to run
sudo jqt
I get
"/usr/bin/libjqt.so"
"could not resolve: state_run:
Cannot load library /usr/bin/libjqt.so: (libQt5WebSockets.so.5: cannot open shared object file: No such file or directory)"
Install the libQt5WebSockets.so.5 package , sudo apt-get install libqt5websockets5
mv /usr/bin/libjqt.so /usr/lib/x86_64-linux-gnu
did solve this issue for me.
I'm trying to get ltib installed , for installation of some packages that I need.
I've gotten to the point of installation where I do
./ltib
and it gives me this error in the host_config.log
Build path taken because:no prebuilt rpm
Can't get: rpm-4.0.4.tar.gz at ./ltib line 851
Died at ./ltib line 2557
traceback:
main::check_rpm_setup:2557
main::host_checks:1541
main:562
....
and then it says :
These packages failed to build:
rpm-fs
Build failed
I have rpm on this installation of debian linux. I even downloaded rpm-4.0.4.tar.gz and placed it in the same directory as ./ltib
Has anyone encountered this error before?
Another question: Do I need internet connection for installation of ltib? (I downloaded the tar from the website)
this issue has been solved, you need to change line 12 in rpm.spec file which is located /dist/lfs-5.1/rpm.
change
Source : %{name}-%{version}.tar.gz"
to:
Source : http://rpm.org/releases/historical/rpm-4.0.x/rpm-4.0.4.tar.gz
i think some files are missing on bitshrine.org server. You can apply same solution for other missing files.