Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem building Docker #67

Open
shuber1 opened this issue Nov 28, 2016 · 2 comments
Open

Problem building Docker #67

shuber1 opened this issue Nov 28, 2016 · 2 comments

Comments

@shuber1
Copy link

shuber1 commented Nov 28, 2016

I used an Ubuntu 15.10 for building the docker image. While building I got the following error:

...
checking if /usr/bin/cc supports -Werror... yes
checking if /usr/bin/cc supports -Werror=attributes... yes
./configure: line 17571: --print-errors: command not found
checking whether ln -s works... yes
checking for XAU... configure: error: in `/home/developer/.hunter/_Base/8c538a0/a1b471c/d09ac7c/Build/xau/Source':
configure: error: The pkg-config script could not be found or is too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables XAU_CFLAGS
and XAU_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <http://pkg-config.freedesktop.org/>.
See `config.log' for more details
CMakeFiles/xau.dir/build.make:105: recipe for target 'xau-prefix/src/xau-stamp/xau-configure' failed
make[2]: *** [xau-prefix/src/xau-stamp/xau-configure] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/xau.dir/all' failed
Makefile:75: recipe for target 'all' failed
make[1]: *** [CMakeFiles/xau.dir/all] Error 2
make: *** [all] Error 2

[hunter ** FATAL ERROR **] Build step failed (dir: /home/developer/.hunter/_Base/8c538a0/a1b471c/d09ac7c/Build/xau
[hunter ** FATAL ERROR **] [Directory:/home/developer/.hunter/_Base/Download/Hunter/unknown/8c538a0/Unpacked/cmake/projects/xau]

apt-get install pkg-config sais: ...already newest version

@w1gz
Copy link

w1gz commented Nov 28, 2016

Hi,
The Dockerfile is being a little bit «revamped» to follow future changes in Medusa.
In the meantime, you can try the one on my fork (based on the upstream/dev branch).

I just tested it again, it's working, so you're probably good to go with this version.

@wisk
Copy link
Owner

wisk commented Dec 4, 2016

Hi @shuber1,

It should work now (branch dev), however you might have to install the package pkg-config.
Alternatively, you can install the qt5 package and use both -DMEDUSA_BUILD_WITH_QT=FALSE and -DCMAKE_MODULE_PATH=<qt5_cmake_path> variables (, plus you'll save time and resources :)).
I'll try to update compilation instructions ASAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants