Building Mercurial 1.3.1 on Ubuntu Linux

I'm attempting to build mercurial 1.3.1. I've attempted this thus far on my Mac OS X machine and on a Linux Ubuntu virtual machine that I'm running. I keep getting errors while running the make. I...

"multiple target patterns" Makefile error

My makefile fails with error: Makefile:34: *** multiple target patterns. Stop. What does it really mean, how can I fix this? (GNU make manual, written by Captain Obvious, isn't helping). Found...

How do you get the list of targets in a makefile?

I've used rake a bit (a Ruby make program), and it has an option to get a list of all the available targets, eg > rake --tasks rake db:charset # retrieve the charset for your data... rake...

CFLAGS, CCFLAGS, CXXFLAGS - what exactly do these variables control?

I am using GNU make to compile my C++ code, and i would like to understand how to make my compilations customizable. I read in different places that CFLAGS, CCFLAGS and CXXFLAGS are used for this...

Error when statically linking libgmp on Linux

The GMP docs say that static linking may provide a small performance improvement. I am having a problem getting it to staticly link libgmp on my Linux systems. I've narrowed down the issue I'm...

Apache 2.4.1 undefined reference to `SSLv2_client_method'

I was previously running apache 2.2.20 and openssl 1.0.0e. I installed openssl 1.0.1, then downloaded the tarball for apache 2.4.1 and installed apr 1.4.6 & apr-util 1.4.1 with...

Rails does not work on Lion

I changed my Mac OSX version to Lion. However I cannot create a Rails3 app. I use rvm 1.9.2 and i choose ruby 1.9.2-p290 to create Rails 3 app. Everything seems okey. When I start to create a new...

CUDA texture object -- incorrect interpolation in non-normalized mode

Non-normalized linear interpolation from a CUDA texture object bound to a CUDA array appears to be returning incorrect results. It appears that the interpolated values are a factor of 0.5 smaller...

Windows Mingw Make error -

I'm trying to compile Jitsi in windows, and Mingw make is not working for me. Can you help me out? build-installation-wix-base: [propertyfile] Creating new property file:...

Build C executable for Raspberry Pi on Windows or Linux

I have to design a C executable (no GUI) that is supposed to run on Raspberry PI. I'm familiar with design using IDE like Visual Studio or Eclipse (with CDT plugin). If i use Raspberry PI as a...

How to use virtualenv in makefile

I want to perform several operations while working on a specified virtualenv. For example command make install would be equivalent to source path/to/virtualenv/bin/activate pip install -r...

Using shell in Makefile to find Ubuntu Version

I'm trying make Ubuntu version specific distros of my tool so I want to get the os name and version. I have the following code: ifeq ($(OS),Windows_NT) OS_POD+=win else UNAME_S := $(shell...

Installing Java in Docker image

This is my very first try to create a Docker image and I'm hoping someone can help me out. My Dockerfile looks roughly like this: FROM mybaseimage:0.1 MAINTAINER ... ENV JAVA_HOME...

Is there a naming convention for makefile targets and variables

I couldn't find anything in the GNU Makefile Conventions.

CAFFE: Cuda Error "(8 vs. 0) invalid device function" when using GPU (GeForce GTX 970)?

I'm trying to run the CNN Network "CAFFE" on a GTX 970. But I get the error mentioned in the title. Can someone help? I posted the issue with more details on the caffe group, but received no...

make: g++ command not found error with makefile

I'm writing a makefile like so: LIB_DIR = $(shell pwd)/.linuxbrew/Cellar/boost/1.62.0/ FLAGS = -std=c++14 INC= -I$(LIB_DIR)include LIB_PATH = -L$(LIB_DIR)lib LIB = $(LIB_DIR)lib LIBNAMES :=...

Declare all targets PHONY

Consider a long makefile with numerous targets, all of which are PHONY (meaning that the target name does not represent an existing file). I can do either: .PHONY: a a: do someting a .PHONY:...

Removing files from lcov tracefile using relative paths

I am attempting to remove certain directories from my lcov tracefile, but am not having any success. I am attempting to use relative paths, and I am using cygwin. My test framework is cpputest. My...

DEVC++ Makefile.win has changed. Reload from disk? error

When I execute my code which includes 5 source files and 4 header files. It executes correctly at first. After executing again and again this window appears when program is executed. And indicates...

make: /bin/sh: Command not found

My environment: I have recently installed MinGW and GNUWin32 on my Windows 10 pc. I can compile with g++ successfully without using a make file. With a makefile, make finds g++ to do...

How to "hook" into Cmake command add_executable or add_library to run something extra?

We build with CMake and normal Unix makefiles. There are some static analysis checks, e.g. Cppcheck, we run at every C/C++ file in the project to catch errors at compile time. I have created a...

How to specify library path when making lftp from source

I am building lftp from source. How to configure it correctly to support secure protocol with gnutls libraries? I am on SuSE Linux, s390 uname -a Linux zdsdeveng03 3.0.101-108.84-default #1 SMP...

Unable to install pg gem on Windows

I'm trying to install the pg gem in my project but I get the following error when I run gem install pg, or if I run bundle install: ERROR: Error installing pg: ERROR: Failed to build gem...

[AWS Lambda]: How to fix "version GLIBC 2.27 Not found"

I would like to deploy and test my Lambda function, but, every time I try to do that I am getting following error message: 2019-11-11 13:25:33 Mounting /tmp/tmphebm3s_4 as /var/task:ro,delegated...

Docker container - How to set GID of socket file to groupID 130?

This is docker in docker scenario. Below is the corresponding code in Dockerfile that has docker client installed: FROM jenkins/jenkins:2.190.2 ENV DEBIAN_FRONTEND=noninteractive # Official...

Unable to install python 3.6.8 using pyenv -Build Failed OSX Error

I am trying to install an older python version 3.6.8 in my macbook using pyenv. Unfortunately, I came across this build OS X error which I am unable to resolve. Appreciate if anyone knows how I...

Installing Cocoapods via Ruby causes Error

I try to install Cocoapods like so sudo gem install cocoapods This is the output I get: Building native extensions. This could take a while... ERROR: Error installing cocoapods: ERROR: Failed to...

Installing Mesos on ubuntu 20.04 causing makefile issue

I was trying to install mesos latest version(1.9.0) on the ubuntu 20.04 using Dockefile. FROM ubuntu:20.04 ENV MESOS_VERSION 1.9.0 ENV MESOS_ARTIFACT_FILENAME mesos-${MESOS_VERSION}.tar.gz #...

RubyGems Error while installing Jekyll 'openssl/ssl.h' file not found

I am trying to install Jekyll on my Mac (gem install jekyll) using RubyGems but I'm running into the error below. Building native extensions. This could take a while... ERROR: Error installing...

Is there a way to combine power of 2 GPU cards to inverse large matrix 120k x 120k of double precision

On Debian 10, I have 2 GPU cards RTX A6000 with NVlink harware component and I would like to benefit of the potential combined power of both cards. Currently, I have the following magma.make...