I want to run hunchentoot using clisp. In clisp's REPL, i cannot do anything if hunchentoot is started. It seems clisp doesnot support thread.
Any suggestion is appreciated!
CLISP documentation on threads
you have to build CLISP with compile-time flag --with-threads
this is experimental
Related
I am willing to do the following:
gcc -dumpmachine
Because I want to get the architecture of the machine in a GNU like so I can give it directly to the option --host of a configure script. The case is that I can execute "gcc" hoping that will be installed on the machine? Imagine that they use icc or another compiler, what would you do, there is a way to execute the native compiler? Is also possible that the gcc is set to an alternative which is not the native of the machine so I execute that command and I get a wrong architecture. By the moment I am executing gcc but I know it can fail sometimes.
Thank you.
I am a computer science student and this season we have a course in MPI programming in C language. I don't have enough hard disk space to install visual studio on my computer and I have installed codeblocks, and MinGW as compiler, and I also installed Microsoft MPI to run mpi .exe code. Now I think that I need to install Open mpi to compile my code to exe and run it using MSMPI. Please correct me if I'm wrong until now :)
In OpenMPI download page we just have binary codes, and I don't know how to install binary code in windows...
Thanks all
If you plan to build your code with Open MPI and then run it with Microsoft MPI, then just drop that idea !
MPI is standard in a sense that a code can be built with any MPI implementation. There is no guarantee a binary can be ran with any MPI implementation.
Open MPI is not supported under windows, but you can use cygwin and install the openmpi packages. Linux subsystem for Ubuntu is an option i never tried but that might work too.
I should install vim into Minix. But I couldnt find any useful information on the net. I've just installed Minix on VirtualBox. So I am a beginner on Minix.
Do you have an idea how to install it?
Look at this site, then navigate to your version and architecture:
ftp://ftp.minix3.org/pub/minix/packages/
For example, minix 3.3.0 on i386:
ftp://ftp.minix3.org/pub/minix/packages/3.3.0/i386/editors/vim-7.3.762.tgz
Is it not possible to compile from source? With a half-decent machine, compiling Vim doesn't take very long.
Though this tutorial on how to compile Vim is geared towards Ubuntu, it's not to hard to adopt to other *nix systems.
How to enable debugger in fp-ide? I read somewhere that I should compile fp-ide from sources, but I don't know how to do this. Can someone help me?
Get the generic linux tar installer (fpc-2.6.0.x86_64-linux.tar) for FPC from http://www.freepascal.org/down/x86_64/linux-hungary.var It comes with a precompiled IDE with integrated debugger support and it works fine at least on 12.04 LTS.
I wasn't able to find a PPA for fp-ide, but I can describe how the CLI IDE is compiled on Arch Linux as documented in the repository. Do note that compiling will not enable the debugger in the CLI, as it seems to be an incompatibility between gdb and fp (fp-ide) according to e.g. this bug report in Debian. On Arch Linux, the fpc package also doesn't support the debugger in fp by design (it is explicitly disabled using the NOGDB flag).
Anyhow, here goes the compilation process:
Make sure you have FreePascal installed already, as you need it to compile the IDE
Download the source tarball
Extract the tarball to a location of your convenience and cd into that directory
Execute the following code from within your shell:
pushd fpcsrc/compiler
fpcmake -Tall
popd
make build
make -j1 install
# in Arch, the switch "NOGDB=1" is present in both make lines
That should compile the IDE and install it (you can even try to integrate it in dpkg by using checkinstall instead of make install, but take a look at the Arch PKGBUILD to see an example of what might be needed).
But why do you use the command line IDE fp instead of lazarus? With lazarus you can also make console applications and it offers much more features (e.g. working debug support).
When I start MacVim within terminal I get a nasty error message saying it has caught a deadly singal SEGV. I really don't know what's going on. Like wise when I start the application by double clicking it on my Doc the app opens but I can't do anything.
Is there any way to fix this?
I have had the same problem, and traced it to the Command-T plugin containing native extensions that were compiled against a different version of Ruby (1.8) to the one in my environment (1.9).
I recommend disabling all of your plugins/addons, and re-enabling them one by one.
You might get more of a hint what's going wrong by running MacVim's vim process inside gdb (Xcode required):
paul#paulbookpro ~ βΈ© gdb /Applications/MacVim.app/Contents/MacOS/Vim [11:20:55]
GNU gdb 6.3.50-20050815 (Apple version gdb-1705) (Fri Jul 1 10:50:06 UTC 2011)
...
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ................ done
(gdb) run
Starting program: /usr/local/Cellar/macvim/7.3-61/MacVim.app/Contents/MacOS/Vim
Hopefully gdb will report some useful information about the segfault, and you can use commands like backtrace to get more data.
Good luck.
Signal SEGV means "segmentation violation" and generally indicates a bug in the application. You can try reinstalling it, or contact the software vendor.