Did anyone succeed in building BNFC with ghc-7.2.1 and alex-3? I was trying to fix it manually, but there are lots of errors. Does anybody know where can I find some patches that will help me to get it done? Thanks in advance.
I've placed a modified darcs repo at http://www.tiresiaspress.us/haskell/bnfc/ . It works with ghc-7.4 and alex-3 (I didn't change the docs, so it still says alex-2). Very hackish, YMMV.
Related
I am the definition of a beginner with Linux. I need to install Autodock GPU and I hit a wall when I reached the compilation stuff.
I was able to add the following environmental variables: GPU_LIBRARY_PATH=/usr/lib/cuda/lib64 as well as GPU_INCLUDE_PATH=/usr/lib/cuda/include. Furthermore, I was also able to add DEVICE=GPU. All of these show up when I use the "printenv" command.
However, I am unable to make "DEVICE=GPU" and the NUMWI one. Supposedly I need to make a makefile, which I have no idea how and I hoping to obtain some guidance today. There is also an option at I need to look for the makefile.CUDA. I don't know which one I should do or honestly how to do either.
I am in need of help.
I have a rather large component, that is built with GNU autotools. Assuming that the configuration step was already done by somebody (by the build server, in this case), can I somehow find out afterwards, how exactly the ./configure script was called? I mean, with which options?
Thanks, Georg
Ah found it. It's in the beginning of config.log. Was just too simple for me...
I am using emacs (24.3.1) in haskell-mode together with ghc-mod to play with Haskell.
Now everything works fine aside from one annoying thing:
Every output in the GHC info buffer contains only the first line.
For example when I ask for ghc-show-info (let's say on sqlSettings from persist) I get this:
while Interactive-Haskell works fine:
This happens with everything: infos, errors, warnings, etc.
Right now I have no clue what is causing this issue as it seems that ghc-mod in emacs is parsing the output wrong.
Maybe someone can help me get all the info.
Thanks
PS: maybe this one shows the problem a bit better:
instead of
It might be this bug https://github.com/kazu-yamamoto/ghc-mod/issues/297
It has been fixed recently with ghc-mod >= 4.1.6
I need to study something and change in the ipc_namespace.h but I cannot find it. Can someone please specify the correct path to it and also let me know if I can some thing in that file and restart my OS will the changes take place?
For me: /usr/src/linux-headers-3.5.0-27-generic/include/linux/ipc_namespace.h and for you possibly depends on you kernel version.
Use: apt-file search ipc_namespace.h to locate it.
About changing it, no a simple restart will not do the trick, you will need to recompile highly possibly your kernel for the changes to happen. (And I'm not an expert in this area :( )
this is the first time I'm encountering this kind of issue.
I have a perfectly working code that runs without any issue under 3 different platforms (Win/Linux/OS X).
However after the deploytool compilation a part of it stops working. How can I get the error once the code is compiled!? It seems that it has some problems in loading and reading .mat files. Is that possible?
I hope someone can help me.
Thanks
edit:
I've solved the problem! Unfortunately was all addpath fault!
I have a lot of folders with files and functions that are needed for running the code, after the compilation matlab does a mess with all of that folders.
Good hint: do not use addpath for the compilation! Thank you anyway!
You can try to catch the error and write it to a text file. Or build in a check that prints text to the screen.
A bit more in general: You can try to isolate the part of the code that has the problem, and then basically cut out half of the functionality in this part repeatedly until you have exactly found the source of the error.