Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Cannot build from source as a docker image #23

Closed
eldos-dl opened this Issue Jun 2, 2015 · 6 comments

Comments

Projects
None yet
3 participants

eldos-dl commented Jun 2, 2015

./configure is failing with error while building docker image from Dockerfile

checking for ps style... unknown
FATAL ERROR: could not determine how to get the "all processes with arguments"

Here is snippet from my Dockerfile

FROM debian:wheezy
MAINTAINER <eldos-dl>

# Update and install essentials
RUN apt-get update && apt-get install -y git build-essential wget openssl libssl-dev curl vim pkg-config
# Node installation
RUN wget ftp://ftp.pcp.io/projects/pcp/download/pcp-3.10.4.src.tar.gz
RUN tar xvzf pcp-3.10.4.src.tar.gz && mv pcp-3.10.4 /opt/pcp
# PCP Installation
WORKDIR /opt/pcp/
RUN apt-get install -y flex bison autoconf python2.7-dev python qt4-qmake libmicrohttpd-dev procps
RUN ps -ef
RUN ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
RUN make && make install
Contributor

kmcdonell commented Jun 2, 2015

Could you please post the output from the command below run in the context of the container?
$ ps -ef | awk '$2==1{print}'

Contributor

natoscott commented Jun 2, 2015

Possibly related, in master branch (not yet released)...?

commit cb5f2c1
Author: David Disseldorp ddiss@suse.de
Date: Tue May 5 19:53:18 2015 -0400

Add configure psproc check for /bin/bash for open build systems

@natoscott natoscott added the bug label Jun 3, 2015

eldos-dl commented Jun 3, 2015

Not released in 3.10.4 ftp://ftp.pcp.io/projects/pcp/download/pcp-3.10.4.src.tar.gz

Contributor

kmcdonell commented Jun 3, 2015

Can I please see the ps output I requested earlier?

eldos-dl commented Jun 4, 2015

root         1     0  0 05:02 ?        00:00:00 /bin/sh -c ps -ef | awk '$2==1{print}'

This was the output. Sorry for the delay.

Contributor

natoscott commented Aug 6, 2015

This issue has been resolved in pcp-3.10.6 via completely reworked configure.ac logic in this area.

@natoscott natoscott closed this Aug 6, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment