error in Terminal when trying to install textmate bundle from github - github

I'm trying to install the Coffeescript bundle into TextMate via terminal.
I cd to the correct directory but when I try the git command I get:
"Launch of "git" failed: the PowerPC architecture is no longer supported." I imagine that's because I upgraded to Lion. But this seems ridiculous that I can't git anymore.
And manual install doesn't work because the bundle is a group of folders, not a single file like all the other bundles in the Bundles section of the application.
Any suggestions?
Thanks,
Charlie Magee

You don't need Git to install a TextMate bundle:
download the .zip from github
extract it
rename the folder to coffeescript.tmbundle
double-click on it to install it automatically
done
Your Git problem is probably because your git is a PowerPC executable or an universal executable. You should re-install it.
A few things are missing from your question: When/how did you install git? Do you use it often? Does it work elsewhere? What was the previous version of your OS?

Related

Command not found when installing from vsix

I'm trying to build the vsix for my project vscode-atlasmap locally from this branch https://github.com/apupier/vscode-atlasmap/tree/36-useWebiewAPI
When I launch the debug instance, it is working fine. If i build the vsix, install it and then try to use the "Open AtlasMap" I have an error message "command 'atlasmap.start' not found"
I got a message that the extension has been successfully installed.
The mentioned command is listed in the "Contributions":
What could be the issue? What is different from "Debug configuration" and a built vsix?
regards,
Make sure that all of your dependencies are installed via
node install
before packaging. Note that vsce will only install those mentioned in your package.json.
When I had this problem, I moved extend, request, and underscore from devDependencies to dependences. Then I ran
node install
and then
vsce package
again.
To retry, make sure you uninstall the old version of your package, and that you remove the package from wherever it is installed (for me in .vscode/extensions),

Failing at NetBeans Java Native Packaging for Linux

Doing Linux Native Package builds I'm running into problems with both RPM and DEB. In the case of RPMs, it's saying that rpmbuild cannot be found. Then for DEBs it reports the dpkg cannot be found.
Both dpkg and rpmbuild are installed and are in /usr/bin. Both are in my path and execute fine from CLI. Failure is the same whether I start NetBeans from GUI or CLI. I've even symlinked rpmbuild and dpkg into my NetBeans bin directory. No luck.
How does one go about getting NetBeans to find dpkg and rpmbuild so that it can complete native builds from the GUI? Currently working with SuSE LEAP 15.
For whatever reason, the "Package All Artifacts" option is currently generating .deb and .rpms, but I can't generate them individually. I'm OK with this. I think the most likely change to make that option work was symlinking the binaries from user bin into my netbeans bin.

error in installing mercurial plugin for eclipse

I just installed a mercurial plugin for eclipse. The installation process went well. But after installing when I restarted eclipse an error was shown.
The error says:
Multiple Mercurial errors have occurred.
Please check the Error Log view for detailed information.
. Command line: hg -y debuginstall
I can't find any possible solution for this.
Try running hg -y debuginstall from the command line. It should show something like that:
Checking encoding (cp1252)...
Checking installed modules (D:\Kazan\mercurial\library.zip\mercurial)...
Checking templates...
Checking commit editor...
Checking username...
No problems detected
If it doesn't, it should give you an indication on what's the problem.
If the command is not found, install mercurial from https://www.mercurial-scm.org/wiki/Download or install tortoise-hg from http://tortoisehg.bitbucket.io/
The plugin, is just a user interface and uses the underlying Mercurial installation.
This error occurs primarily when Mercurial Plugin for Eclipse is installed without actually installing Mercurial earlier on your system.
To solve this problem, first:
Install Mercurial on your system using one of the installers that best suits you from
here.
Go to Window->Preferences->Team->Mercurial and in mercurial executable field, browse to the:
hg.exe
executable that was installed with the mercurial installation above.
Mercurial Plugin for Eclipse will work just fine now.
i have found the same problem... seems my update of the Nvidia driver deletes all my variables environments and Mercurial can find the notepad.exe i found the solution adding in the mercurial.ini locate in Users folder adding the path to notepad.exe directly.
[ui]
username=myusername
editor = c:\\Windows\\System32\\notepad.exe
ignore=....
i have found the solution here
i hope helps somebody
Best solution which I found:
Install eclipse Juno.
Goto: help -> eclipse marketplace -> enter 'mercurial' and do a search, select first option of mercurial.
Then go to Windows -> Preferences -> Team -> Mercurial select and copy path from Mercurial Executable.
Now open your previous eclipse (Luna or mars).
Go to same path. Windows -> Preferences -> Team -> Mercurialand paste that path in Mercurial Executable. Now it will work.

ArUco in Eclipse Ubuntu

I want to compile the augmented reality ArUco library, but this library documentation on the internet is too scarce and I am facing some problems. Could someone give me a little tutorial about how to compile it in the Eclipse? (could be another IDE)
I'm using the Ubuntu 12.10, Eclipse Juno. Thanks!
Look at the README file of the library, you will probably have to use cmake. Open a terminal and install cmake and OpenCv (the requirements for the library) with apt-get. I don't know their exact package names in Ubuntu, but try the obvious cmake and opencv. Once that is done, cd to the directory where you unpackaged the aruco library, and do the following:
mkdir build && cd build
cmake ..
make all
make install
You can change the installation prefix by using cmake -i .. or ccmake if it got installed too. As for setting up the library in your IDE, just make a note of which directories the library files (binaries and headers) got installed to, and make sure those are in the compiler's search path.

Is there any Ubuntu 10.04 repository to download the most recent version of Eclipse?

I haven't found one to install Eclipse 4.2 Juno. Default Ubuntu repositories (I'm using Ubuntu 10.04) suggest me the archaic Galileo version. And I found the Eclipse's page on Launchpad which was updated in 2009.
I can, of course, simply download the archive with all the files from http://www.eclipse.org/downloads/, but that's not Debian way, is it? I mean, no automatic updates and other aptitude-managed cool things.
So, is there any repository that maintains the most recent version of Eclipse?
I think it is unlikely that you will find a newer package for Lucid. People tend to create packages for newer versions of Ubuntu.
If it's not possible to upgrade Ubuntu, what you could try is to make your own package but you would still not get automatic upgrades. From a quick look, it looks like that Juno needs some libraries to build that could be newer than the versions you have in your system, so this may end up being quite difficult. It could possibly be the reason why it is not available for Lucid in the first place.
If Juno works in your system, the quick and dirty solution is to first create a temporary folder, e.g. eclipse_3.8.0 and then do the following:
mkdir /path/to/eclipse_3.8.0/DEBIAN
mkdir /path/to/eclipse_3.8.0/opt
tar xzvf eclipse-juno.tar.gz -C /path/to/eclipse_3.8.0/opt
dpkg-deb -b --no-check /path/to/eclipse_3.8.0
This will create a deb package that installs eclipse in /opt/eclipse. You may want to put a control file inside the DEBIAN folder to add a description, dependencies, etc.
If you still want to give building a try, from the official ubuntu launchpad page for eclipse you can download the source files and especially the control files stored in the xxx.debian.tar.gz file. Take a look at the Debian wiki for some tips on how to build. Precise has the Indigo SR2 version and Quantal seems to have Juno.