I compiled and installed Monodevelop as detailed here:
git clone https://github.com/mono/monodevelop.git
cd monodevelop
./configure --profile=stable
sudo make
sudo make install
Then I created a new MVC3 project and tried to add a package with NuGet. However, any package I try to add, I get an error similar with this one in the Package Console:
Adding Microsoft.Web.Infrastructure... Installing
'Microsoft.Web.Infrastructure 1.0.0.0'. Could not find a part of the path
"/tmp/nuget/bf2agvz5.hwr/lib/net40/Microsoft.Web.Infrastructure.dll".
Example:
Adding Microsoft.AspNet.WebHelpers... Attempting to resolve dependency
'Microsoft.AspNet.WebPages (≥ 3.2.3 && < 3.3.0)'. Attempting to
resolve dependency 'Microsoft.Web.Infrastructure (≥ 1.0.0.0)'.
Attempting to resolve dependency 'Microsoft.AspNet.Razor (≥ 3.2.3 && <
3.3.0)'. Attempting to resolve dependency 'Microsoft.AspNet.WebPages.WebData (≥ 3.2.3 && < 3.3.0)'. Attempting
to resolve dependency 'Microsoft.AspNet.WebPages.Data'. The
Microsoft.AspNet.Razor package has a license agreement which is
available at
http://www.microsoft.com/web/webpi/eula/net_library_eula_ENU.htm
Please review this license agreement and remove the package if you do
not accept the agreement. Check the package for additional
dependencies which may also have license agreements. Using this
package and any dependencies constitutes your acceptance of these
license agreements. The Microsoft.AspNet.WebPages package has a
license agreement which is available at
http://www.microsoft.com/web/webpi/eula/net_library_eula_ENU.htm
Please review this license agreement and remove the package if you do
not accept the agreement. Check the package for additional
dependencies which may also have license agreements. Using this
package and any dependencies constitutes your acceptance of these
license agreements. The Microsoft.AspNet.WebPages.Data package has a
license agreement which is available at
http://www.microsoft.com/web/webpi/eula/net_library_eula_ENU.htm
Please review this license agreement and remove the package if you do
not accept the agreement. Check the package for additional
dependencies which may also have license agreements. Using this
package and any dependencies constitutes your acceptance of these
license agreements. The Microsoft.AspNet.WebPages.WebData package has
a license agreement which is available at
http://www.microsoft.com/web/webpi/eula/net_library_eula_ENU.htm
Please review this license agreement and remove the package if you do
not accept the agreement. Check the package for additional
dependencies which may also have license agreements. Using this
package and any dependencies constitutes your acceptance of these
license agreements. The Microsoft.AspNet.WebHelpers package has a
license agreement which is available at
http://www.microsoft.com/web/webpi/eula/net_library_eula_ENU.htm
Please review this license agreement and remove the package if you do
not accept the agreement. Check the package for additional
dependencies which may also have license agreements. Using this
package and any dependencies constitutes your acceptance of these
license agreements. Installing 'Microsoft.Web.Infrastructure 1.0.0.0'.
Could not find a part of the path
"/tmp/nuget/bf2agvz5.hwr/lib/net40/Microsoft.Web.Infrastructure.dll".
Or:
Adding Newtonsoft.Json... Newtonsoft.Json Package contains PowerShell
scripts which will not be run. Installing 'Newtonsoft.Json 6.0.8'.
Could not find a part of the path
"/tmp/nuget/3e1zcrod.0p6/lib/net20/Newtonsoft.Json.dll".
Do you have any ideas?
I'm using Ubuntu 14.04 and MonoDevelop 6.0.
Thanks
It seems the problem appeared due to the previous installation of monodevelop. I had monodevelop 4.0.12 installed from Ubuntu packages and when I decided to compile monodevelop from the source code, I uninstalled this version. However, running sudo apt-get remove monodevelop was not enough.
I had to run:
sudo apt-get --purge remove monodevelop
to remove the configuration files as well and then I compiled again monodevelop 6 and the NuGet module works fine now.
One more hint for those in need, you can get some more information when running monodevelop compiled from the source code, if you run:
make run
This will show a lot of messages in the console, while monodevelop is running.
Related
How do I enable the NuGet Package source Type on creating Local/Remote/Virtual Repository?
I have installed JFROG Artifactory OSS version(7.35.2) and when I'm trying to create Local/Remote/Virtual Repositories for NuGet, but I can't able to choose NuGet from package source type. FYR attached screenshot.
If this option is not available with Artifactory OSS version, then suggest the way to do upload/downloading NuGet Packages with JFrog.
And forget to update, when I have tried with JFrog Cloud version, there I can able to use NuGet package Source Type.
Artifactory OSS supports Maven, Gradle, Ivy, SBT, Generic package types as per this confluence page and hence you are not able to view Nuget options in OSS.
You might have tried JFrog cloud Pro version where it comes with license and you will be able to view all package types. You will need a minimum Pro license to use the Nuget package type.
I was setting up a new laptop and downloaded Eclipse: Version: 2019-12 (4.14.0) but when I tried to add the LDT plugins, it fails because it cannot satisfy dependency (see below.)
The prior version of eclipse I had on my last laptop was 2018-12 (4.10.)
Does anyone have a list of what or know which the last/latest version of Eclipse which works with the (1.4.2?) LDT plugin is?
[[EDIT]] => Verified that Lua Development Tools still installs if I reinstall 2018-12 Eclipse. So it is a compatability thing as I asked. Since no one yet has the answer, I will install one after another Eclipse version to determine last that works and update this entry. VERIFIED: 2019-09 is the latest that works with LDT plugin.
(pointed repo to "stable" (although tried even nightly after that)
Error message:
Cannot complete the install because one or more required items could not be found.
Software being installed: Lua Development Tools SDK 1.4.2.201804031433 (org.eclipse.ldt.source.feature.group 1.4.2.201804031433)
Missing requirement: Lua Development Tools Core 1.3.0.201804031433 (org.eclipse.ldt 1.3.0.201804031433) requires 'osgi.bundle; org.eclipse.dltk.core [5.5.0,6.0.0)' but it could not be found
Cannot satisfy dependency:
From: Lua Development Tools - Core Feature 1.4.2.201804031433 (org.eclipse.ldt.core.feature.group 1.4.2.201804031433)
To: org.eclipse.equinox.p2.iu; org.eclipse.ldt [1.3.0.201804031433,1.3.0.201804031433]
Cannot satisfy dependency:
From: Lua Development Tools 1.4.2.201804031433 (org.eclipse.ldt.feature.group 1.4.2.201804031433)
To: org.eclipse.equinox.p2.iu; org.eclipse.ldt.core.feature.group [1.4.2.201804031433,1.4.2.201804031433]
Cannot satisfy dependency:
From: Lua Development Tools SDK 1.4.2.201804031433 (org.eclipse.ldt.source.feature.group 1.4.2.201804031433)
To: org.eclipse.equinox.p2.iu; org.eclipse.ldt.feature.group [1.4.2.201804031433,1.4.2.201804031433]
The key error here is
requires 'osgi.bundle; org.eclipse.dltk.core [5.5.0,6.0.0)'
which is saying that a version of the 'org.eclipse.dltk.core' plug-in (bundle in OSGi terminology) with a version of at least 5.5.0 and less than 6.0.0 is required.
The Eclipse 2019-12 release has version 6.0 of this plug-in so it does not match the criteria and the install fails.
I installed earlier versions of Eclipse IDE (Java) and it appears the version right before the one I was trying (2019-12) is the last that will accept installing the LDT plug-in successfully: Eclipse (Java) 2019-09
Hopefully it is a bug that gets fixed in either LDT or Eclipse 2019-12.
There is a workaround that I found here: https://www.eclipse.org/forums/index.php/t/1101907/
The solution is basically to provide the missing resource from a download since it doesn't seem to be available from repositories any more:
Download the runtime for DLTK 5.7.1 as a zip: http://www.eclipse.org/downloads/download.php?file=/technology/dltk/downloads/drops/R5.7/R-5.7.1-201703020501/dltk-core-R-5.7.1-201703020501.zip
In Eclipse, navigate to menu > Help > Install new software...
Click Manage... to go to Available Software Sites dialog
Click Add... use a good name like "LDTK zip", click the "Archive" button and browse to that zip, downloaded from before.
Then when I tried again the install happened correctly and my initial tests indicate that LDT is working as expected.
E.g. if my package requires gcc to build and gcc is not present on the target system, will it be installed when building my package from source? If so, how do I specify build dependencies for my package? They may be different for different systems.
Conan does not install anything that it is not instructed to install.
For installing build dependencies, there is the concept of build_requires
They can be declared:
In the package recipe, for specific tools to that package. Could be, for example, a testing library (it is a build-require, only required for build & test, but not required once you have the binary. It doesn't affect the final binary)
In a profile: This is for general tools, things that mostly apply to all dependencies. They are declared here by the final user, who can choose this way to use their system installed tools, or a tool installed by conan.
There are existing packages for tools for CMake, and MinGW in Bintray (conan-center, bincrafters repos)
Packages in conan are installed at the user level, no root required. Those tools (CMake, MinGW) are easy to install and operate at the user level. It is, however, not very typical to have gcc compilers in Linux at the user level. I am not aware of conan packages for Linux gcc, though might be possible to build them, either as full package or as a thin wrapper over the system one. This latter might be more difficult to provide switches between different compiler versions installed in the system.
I have seen many posts about here which tell you how to uninstall a plug-in that YOU have installed. What I want to know is - How do you uninstall a plug-in that comes along with the eclipse package? I tried the installation manager but it doesnt work since this like a default plugin.
I am using IBM Rational Developers for System Z with Java version 8.3. I am trying to install GEF Zest Visualisation but since GEF Draw2D was already pre-installed in my RDZ i am not able to install what I want due to conflicting dependency.
I need GEF Zest Visualisation so that I can install Maven. Without Zest I get an error while I try installing Maven.
Is there a way to uninstall these default plug-ins? If no, then is there any workaround that I can use to install my Maven plug-in without having to use Zest?
I haven't used Rational Developer for System Z, but if it is Eclipse-based it should be the same as Rational Application Developer or Eclipse.
Open Help context menu.
Press About Rational Developer...
Click the Installation Details button.
This will open a list of installed software and you can see all the features and plug-ins that are installed.
Find and select the item you want to uninstall.
Click the Uninstall... button.
This will attempt to uninstall the selected plug-in, but you will likely encounter dependency issues if Maven requires GEF Zest Visualisation. You would need to uninstall Maven first if that happens.
m trying to install cloudbees plugin in my eclipse juno but its giving me error:
Cannot complete the install because one or more required items could not be found.
Software being installed: CloudBees Eclipse Toolkit SVN Support (SUBCLIPSE MUST BE INSTALLED!!) (Optional) 1.1.0.201210091648 (com.cloudbees.eclipse.dev.scm.subclipse.feature.group 1.1.0.201210091648)
Missing requirement: CloudBees Scm Subclipse 1.1.0.201210091648 (com.cloudbees.eclipse.dev.scm.subclipse 1.1.0.201210091648) requires 'bundle org.tigris.subversion.subclipse.core [1.6.0,2.0.0)' but it could not be found
Cannot satisfy dependency:
From: CloudBees Eclipse Toolkit SVN Support (SUBCLIPSE MUST BE INSTALLED!!) (Optional) 1.1.0.201210091648 (com.cloudbees.eclipse.dev.scm.subclipse.feature.group 1.1.0.201210091648)
You need to install Subclipse.
If you are using Subversion for your version control system, you might be using either Subclipse or Subversive in Eclipse. Depending on which one you use, you should install the corresponding CloudBees toolkit adapter. You do not need the other one, and if you are using Git (or something else) you do not need either.