Error installing ruby packages - rvm

I used the following command to run the installation
curl -L https://get.rvm.io | bash -s stable --autolibs=3 --ruby
I then received a error
I then checked the error, and below is the log,
[2013-05-18 12:11:22] requirements_osx_port_libs_install
Error:
Error: No valid Xcode installation is properly selected.
Error: Please use xcode-select to select an Xcode installation:
Error: sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer # version 4.6.1
Error:
Warning: xcodebuild exists but failed to execute
Warning: Xcode does not appear to be installed; most ports will likely fail to build.
---> Computing dependencies for apple-gcc42
---> Dependencies to be installed: cctools ld64 llvm-3.2 gcc_select
---> Building llvm-3.2
Error: org.macports.build for port llvm-3.2 returned: command execution failed
Error: Failed to install llvm-3.2
Please see the log file for port llvm-3.2 for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.2/llvm-3.2/main.log
Error: The following dependencies were not installed: cctools ld64 llvm-3.2 gcc_select
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port apple-gcc42 failed
There were package installation errors, make sure to read the log.
I checked my xcode version (I'm still subscribed to the $99, if that means anything), and it says this
xcode-select version 2003
How do I solve the problem?

I fixed the problem. Thanks for all the comments.
I was installing rvm last night, and my internet connection got cut off. That corrupted the installation. The problem was with Xcode. I uninstalled then install again, and then re install rvm, and it worked.

Related

Not able to run theharvester on kali linux. Fatal exception: Pycurl: Link time version is older than compile time version

I tried running theharvester on my kali machine but then I get an error, "Fatal exception: pycurl: libcurl link-time version (7.65.3) is older then compile-time version (7.66.0). Wfuzz needs pycurl to run." I reinstalled pycurl and Wfuzz with pip and still the error persists. Please help me on this.
It's easy bro, if you want to solve it just open your kali machine and just type following command:
sudo apt-get install python-pycurl
It will install pycurl packages what you needed then you can locate and run theHarvester easily,.....

Problems configuring Cmake via macports

I get the following error message when trying to install inkscape via Macports:
$ sudo port install inkscape
---> Computing dependencies for cmake
---> Configuring cmake
Error: Failed to configure cmake: configure failure: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/main.log for details.
Error: Unable to execute port: upgrade cmake failed Christian-Tofts-MacBook-Pro:~ clta$
Im running High Sierra OS and port version 2.5.4
Any input on how to fix this?

Getting code=10053 error while installing groovy-eclipse on Eclipse IDE (Oxygen) for Eclipse Committers

After following the steps in https://github.com/groovy/groovy-eclipse/blob/master/docs/Getting-Started-with-Groovy-Eclipse-Source-Code.md (on macOS High Sierra) getting an error:
ERROR: org.eclipse.equinox.p2.director code=10053 Cannot complete the install because one or more required items could not be found.
ERROR: org.eclipse.equinox.p2.director code=0 Software being installed: artificial_root 1.0.0.v1527811536694
ERROR: org.eclipse.equinox.p2.director code=0 Missing requirement: artificial_root 1.0.0.v1527811536694 requires 'org.codehaus.groovy.alltests.feature.feature.group 0.0.0' but it could not be found
I am not sure why org.codehaus.groovy.alltests is not found and whether the version 0.0.0 is legit here.
I tried to make a clean installation too (deleted ~/.gradle, ~/.p2 dirs) - did not help.

nuget command line utility package restore with mono on ubuntu

I'm trying to restore packages with the nuget restore command using the nuget.exe command line utility.
I'm on Ubuntu 14.04, and have just performed apt-get update.
Calling mono --version returns:
Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-4ubuntu1)
Here is my exact call and response:
$ mono nuget.exe restore
WARNING: The initialization function tries to access Value on this instance
WARNING: The initialization function tries to access Value on this instance
WARNING: The initialization function tries to access Value on this instance
WARNING: Error getting response stream (Write: The authentication or decryption has failed.): SendFailure
Unable to find version '2.0.14' of package 'FSharp.Data'.
Unable to find version '1.3.0.1' of package 'FsUnit'.
Unable to find version '1.3.0.1' of package 'FsUnit.Sample'.
Unable to find version '2.6.3' of package 'NUnit'.
I have tried with and without a nuget.config file in the same folder.
What's going wrong and what can I do to solve?
The problem you describe has to do with root security certificates.
Enter the following command in your terminal:
mozroots --import --sync
As per #ahri below, here is a more up-to-date answer:
mozroots --import --sync --url https://hg.mozilla.org/mozilla-central/raw-file/tip/security‌​/nss/lib/ckfw/builti‌​ns/certdata.txt
Source

Permission denied when installing RVM

I'm trying to install rvm. I typed:
curl -L https://get.rvm.io | bash -s stable --autolibs=3 --ruby
And I got the below
Updated:
It's working now. My Xcode was not updated.
But now second problem, also permission denied are the packages. It says it can't be installed. Log is shown below,
[2013-05-18 15:37:46] requirements_osx_port_libs_install
---> Computing dependencies for apple-gcc42
---> Dependencies to be installed: cctools ld64 llvm-3.2 gcc_select
---> Building llvm-3.2
Error: org.macports.build for port llvm-3.2 returned: command execution failed
Error: Failed to install llvm-3.2
Please see the log file for port llvm-3.2 for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.2/llvm-3.2/main.log
Error: The following dependencies were not installed: cctools ld64 llvm-3.2 gcc_select
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port apple-gcc42 failed
There were package installation errors, make sure to read the log.
How do I solve this?
Your /usr/local dir is locked to (probably) root. To solve this run this line:
sudo chown -R `whoami` /usr/local
It will make it writable for you. That can be an issue but usually it should be not.