configure

How can I configure a Tkinter widget from a separate class?

半城伤御伤魂 提交于 2019-12-11 04:06:08
问题 I am writing a Tkinter program that requires a loop. I can't run the loop from the same class that Tkinter is in, I'm fairly certain of that much. To run said loop, I believe that I have to use a separate thread, therefore a separate class, to keep Tkinter from freezing. I have gotten Tkinter to run while a loop in the thread prints numbers. However, I need to have it configure a Tkinter window that resides in another class. How would I go about this? 回答1: You don't necessarily need another

Configure *.scr file from C#

我怕爱的太早我们不能终老 提交于 2019-12-10 21:34:37
问题 I am creating a program in C#.Net, one of the features allows a user to select a screensaver from a list and either preview or configure it. After doing some research I found that by calling the *.scr file with the "/c" argument will display the configuration dialog. Using this argument from the command line works fine ("C:\Windows\System32>PhotoScreensaver.scr /c") but calling this from C# will always result in the screensaver being simply displayed as though the argument is just being

configure does not generate makefile while building perl from source

不问归期 提交于 2019-12-10 19:58:50
问题 I am building perl from source on Ubuntu 14.04 (kernel 3.13.0-24-generic): wget http://www.cpan.org/src/5.0/perl-5.22.2.tar.gz tar -xzf perl-5.22.2.tar.gz cd perl-5.22.2 ./Configure -des -Dprefix=$HOME/perl5.22 Configure did not generate a makefile. The output log is: First let's make sure your kit is complete. Checking... Locating common programs... Checking compatibility between /bin/echo and builtin echo (if any)... Symbolic links are supported. Checking how to test for symbolic links...

Building an OCaml cross-compiler - configure part

三世轮回 提交于 2019-12-10 18:20:04
问题 I need to build an OCaml cross-compiler. Sadly, it seems this is not supported out of the box and needs a little work, as described for an older version of the OCaml compiler. My first question is: What is a nice way to generate the files config/m.h , config/s.h and config/Makefile ? 回答1: I've been building OCaml cross compilers for a few years now. (See my profile for a link to my website.) What I do is build the compiler 1 1/2 times. The first time is for the host (with some settings for

How to compile Clisp 2.46?

做~自己de王妃 提交于 2019-12-10 17:21:59
问题 When I try to compile the newest version of Clisp on Ubuntu 8.04 I always get this error after running configure: Configure findings: FFI: no (user requested: default) readline: yes (user requested: yes) libsigsegv: no, consider installing GNU libsigsegv ./configure: libsigsegv was not detected, thus some features, such as generational garbage collection and stack overflow detection in interpreted Lisp code cannot be provided. Please do this: mkdir tools; cd tools; prefix=`pwd`/i686-pc-linux

How to regenerate configure file using autoconf?

百般思念 提交于 2019-12-10 16:16:08
问题 I use autoconf to regenerate the configure file, it works. But when I execute the generated configure file by ./configure , there are some error messages like ./configure: line 3713: syntax error near unexpected token `blas' ./configure: line 3713: ` withval=$with_blas; R_ARG_USE(blas)' I googled and found that blas is a library, but it still gives the error messages after installing. I have the autoconf with version " autoconf (GNU Autoconf) 2.69 " installed on my Mac, and what I am trying

Apache with c# classes

戏子无情 提交于 2019-12-10 13:49:06
问题 Is there any way to have apache "pass" the request it takes to a c# "application" to handle, allowing it to return specific content. I want to handle an intense amount of asynchronous calls to apache via javascript and have these calls routed through c# (much the way asp.net does). Has anyone successfully done this before? Any idea where to start looking? Update : Some more information. I want to be able to handle thousands of concurrent asynchronous requests as fast as can possibly occur

PJSUA/PJSIP - Unable to increase support to 32 accounts/transports/calls

谁说我不能喝 提交于 2019-12-10 11:50:39
问题 I've tried various attempts using config_site.h during build, and had little to no improvement... Still stuck at 8 accounts. Code is: import pjsua lib = pjsua.Lib() lib.init() lib.start() transport = lib.create_transport(pjsua.TransportType.UDP) for x in range(10): lib.create_account_for_transport(transport) And: Assertion failed: (pjsua_var.acc_cnt < (sizeof(pjsua_var.acc)/sizeof(pjsua_var.acc[0]))), function pjsua_acc_add, file ../src/pjsua-lib/pjsua_acc.c, line 401. 回答1: This issue seems

fPIC compiling error: no such file or directory

扶醉桌前 提交于 2019-12-10 11:39:28
问题 I am running elementary OS 64-bit and have the source code for the following project on github: https://github.com/pellegre/libcrafter I however get the following error when trying to configure it via the ./configure command: After that I check the config.log file: Anyone know why this could be? I've compiled with fPIC before without hassle. Example from the configure file in the folder: Update for Peter in comments: 来源: https://stackoverflow.com/questions/27107913/fpic-compiling-error-no

How Configure EasyMock Class Extension 3.1?

两盒软妹~` 提交于 2019-12-10 09:42:20
问题 I want to add EasyMock Class Extension 3.1 to my project and I have a problem with dependencies of EasyMock 3.1 CE. I add dependencies : cglib-2.2.2.jar and asm-4.0.jar and throws exception : java.lang.VerifyError: class net.sf.cglib.core.DebuggingClassWriter overrides final method visit.(IILjava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V When I use cglib-nodep-2.1_3.jar and asm-4.0.jar throws another exception: java.lang.NoClassDefFoundError: org/objenesis