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

Running bundle install in Docker reported an error #85

Open
pengrun opened this issue Jul 19, 2023 · 2 comments
Open

Running bundle install in Docker reported an error #85

pengrun opened this issue Jul 19, 2023 · 2 comments

Comments

@pengrun
Copy link

pengrun commented Jul 19, 2023

Hello, I encountered an error while running bundle install in Docker. I have tried apt-get install zliblg-dev but it still doesn't work.

Redmine 5.0.5
centos 7.5

As shown in the following figure

image
image

@Raw1mage
Copy link

Raw1mage commented Aug 5, 2023

Same trouble here, this plugin requires gcc to work, which can't happen in a docker env.
I managed to manually deploy libreoffice packages into the docker container,
and it appears we should try to install all dependent packages in the docker container to make it work.

I have no name!@redmine:/usr/src/redmine/plugins$ cat /usr/local/bundle/extensions/x86_64-linux/3.1.0/zlib-3.0.0/mkmf.log

LD_LIBRARY_PATH=.:/usr/local/lib "gcc -o conftest -I/usr/local/include/ruby-3.1.0/x86_64-linux -I/usr/local/include/ruby-3.1.0/ruby/backward -I/usr/local/include/ruby-3.1.0 -I. -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wundef -fPIC conftest.c -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby -lm -lc"

@tzcjh
Copy link

tzcjh commented Apr 16, 2024

i have the same question

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