dependencies

Shared doc files in dependencies causing transaction errors

萝らか妹 提交于 2019-12-13 16:19:43
问题 I recently installed Fedora 24 Workstation on my desktop and was able to install everything without issue, until I tried to install steam (from rpmfusion) and wine. Both steam and wine have 32-bit dependencies of libraries that are already installed in 64-bit and used by other, more important programs. Typically, this shouldn't be an issue, but it turns out that all of the doc files in /usr/share/doc or /usr/share/licenses, etc are causing conflicts upon installation of the 32-bit version of

pyinstaller exe without any dependencies?

▼魔方 西西 提交于 2019-12-13 15:18:52
问题 So I'm using pyinstaller with python27, and my exe works great so long as it's in the same directory as the build folder. I need it to be a completely standalone exe, without any dependencies, is there a way to bundle the important things from the build folder into one file? Neither -F nor --onefile seems to do this. Edit: as I explain in my answer below, I thought pyinstaller was the problem because the exe would only run in the dist folder, so I assumed it had dependencies there, but in

How to represent a dependency graph with alternative paths

淺唱寂寞╮ 提交于 2019-12-13 15:01:39
问题 I'm having some trouble trying to represent and manipulate dependency graphs in this scenario: a node has some dependencies that have to be solved every path must not have dependencies loops (like in DAG graphs) every dependency could be solved by more than one other node I starts from the target node and recursively look for its dependencies, but have to mantain the above properties, in particular the third one. Just a little example here: I would like to have a graph like the following one

Android Studio can't resolve Espresso 3.0.0

*爱你&永不变心* 提交于 2019-12-13 13:07:05
问题 According to the Android Espresso documentation to date: Add Espresso dependencies To add Espresso dependencies to your project, complete the following steps: Open your app’s build.gradle file. This is usually not the top-level build.gradle file but app/build.gradle. Add the following lines inside dependencies: androidTestCompile 'com.android.support.test.espresso:espresso-core:3.0.0' androidTestCompile 'com.android.support.test:runner:1.0.0' I created a new project and the generated app

OOP Dependencies: Dependency Injection vs. Registry

心已入冬 提交于 2019-12-13 12:17:35
问题 I know some OOP and have read this and that, but am not a hardcore OOP guy and have no formal training and can't rattle off why something should use dependency injection or not, and may not be able to identify all dependencies in a design, hence my question. Answering a question here on SO (Using a object in methods of other objects) I started to doubt myself. As far as dependencies, is one of these better or worse or both acceptable? Any design limitations? I have read and understand both

The type 'MySqlConnection' exists in both 'MySql.Data Issue

柔情痞子 提交于 2019-12-13 12:12:16
问题 I have Referenced MySql.Data on one project and Other project referenced nuget package which also referenced MySqlConnector inside of it. projects has dependency . when i compile application im getting this error This is application hierarchy is there any way to avoid this? or did i do anything wrong when referencing packages? Thanks UPDATE this is the same namespaces from difference libs UPDATE 2 This is the sample repo which reproduced same issue 回答1: In NET.Framework projects you can go to

Makefile circular dependency

本小妞迷上赌 提交于 2019-12-13 11:51:05
问题 Here is my Makefile: .PHONY: all homework1 CFLAGS= -g -O0 -Wall -Werror -Wno-unused-function LDFLAGS= -lm all : homework1 homework1 : program.tab.o program.lex.o %.o : %.c gcc -o$@ -c $(CFLAGS) $< %.lex.c : %.lex %.tab.h flex -o$@ $< %.tab.c %.tab.h : %.y bison --verbose -o$@ -d $< Whenever I try to compile, I get the warning make: Circular program.lex <- program.lex.o dependency dropped. I don't see how program.lex is dependent on program.lex.o at all in the makefile. I see how the

How to add dependencies to a windows service

冷暖自知 提交于 2019-12-13 09:03:26
问题 How to add dependencies to a windows service in InstallShield? My winservice depend on the two following services, so they must run before the service starts: COMSysApp SENS Note: I have used InstallShield project to install my service and not windows installer class so i could not use the way that mr. Jerry.Wang suggested in his article. EDIT: How to add a dependency to SEN Service in installshield? 回答1: If you have dependencies on other services, the ServiceInstall table has the

Could not load file or assembly 'log4net,or one of its dependencies.

a 夏天 提交于 2019-12-13 08:49:10
问题 I installed Easygelf.log4net package for log4net version 1.2.0.13 but I am getting error Could not load file or assembly 'log4net, Version=1.2.13.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) I tried adding the below to the web.config but no luck <dependentAssembly> <assemblyIdentity name="log4net" publicKeyToken="669e0ddf0bb1aa2a" culture=

Shall I Make my REST Gateway a Library?

天大地大妈咪最大 提交于 2019-12-13 08:35:36
问题 Suppose there is a REST service with several clients. Each client has to do roughly the same to call the REST service: construct a URL, send a request, deserialize the response, map HTTP return codes to exceptions, etc. This seems to be duplicate code so maybe it's a good idea to put the REST gateway code into a reusable library. In Java this could look like the following: There is a jar file which depends on Jersey and contains the rest client code. The rest client is a simple class or CDI