I’m trying to build the library trilinos on a 32bit ubuntu virtual machine. I wrote the following configuration script: When I execute it with the ksh command in the terminal, I get the following error: CMake Error: CMAKE_Fortran_Compiler not set, after EnableLanguage Answer It appears you do not have a…
Tag: linux
How to substitute text which has implicit meaning in vi
I have a C code in vi from which I want to replace the text “n” with something else. Use of %s:n:(anything else) isn’t working. Is there any way to bypass this? For example,a line in the code is: printf(“Hello worldn”); In vi, I need to replace “n” in the printf line …
nginx rewrite rule for two php parameters
Can you please help me to write rewrite rule for ngnix : I tried below rewrite URL but it is not working: Answer The regex you’re actually looking for is: https://regex101.com/r/uC1wH6/3 I believe that should be converted into Apache as follows:
Effect on other window drive while install ubuntu on windows 7?
I want to install Ubuntu alongside with my window 7. Currently i have 6 partition with window 7 as C:, D:, E:, F:, G: and H:. My window file reside in C: drive. What will be the effect on other drives if i install Ubuntu alongside with window install? What will be the effect on data contained in other drives?
bgzip all VCF files in a directory?
So I’ve been trying to bgzip around 100 VCF files in parallel, but although the jobs are submitted and files get created there’s definitely something wrong. So far I’ve been trying: What is the correct way to do this? Thanks in advance! Answer If, as my websearches suggest, bgzip works the s…
Corrupted filesystem tarfile – corrupted package archive Ubuntu
I’m trying to compile and install an open source application on Ubuntu. I can make the application, make the installer, and make the package. I don’t see any error during those steps. when I issue the dpkg -i to install it if fails with the following error. dpkg: error processing archive applicati…
How to list recently deleted files from a directory?
I’m not even sure if this is easily possible, but I would like to list the files that were recently deleted from a directory, recursively if possible. I’m looking for a solution that does not require the creation of a temporary file containing a snapshot of the original directory structure against…
Transport Endpoint Not Connected – Mesos Slave / Master
I’m trying to connect a Mesos slave to its master. Whenver the slave tries to connect to the master, I get the following message: The error seems to be: E0806 16:39:59.091384 940 socket.hpp:107] Shutdown failed on fd=25: Transport endpoint is not connected [107] The host was started using: And the slave…
Parsing a config file inside shell script
I am trying to parse an ini file inside a shell script. name.conf file: I could parse the values by the command I wanted to know if there was some way by which I could group the contents of my config and parse it name.conf file: I just need the values in a shell array say names and print them
Installing VTK: matching usr/lib/libGL.so path to the one in build system config
I’ve been trying to install VTK on my Ubuntu 14.04. I had some trouble getting things to configure since it couldn’t find OpenGL, but I (thought I) fixed that by using and as was suggested in this question. However, now I can’t run make because the path to libGL.so isn’t correct. IR…