-
Notifications
You must be signed in to change notification settings - Fork 25
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
can not compile - gnulib problem #114
Comments
It looks like your system's implementation of GNU lib is not compatible with the dgsh port of GNU coreutils. Can you please try updating the |
Thanks for your quick reply. I really appreciate your time although my problem is such a trivial one.
coreutils download page has versions 8.31 and 8.32, should I be upgrading to 8.32? |
No need to upgrade coreutils. The dgsh distribution contains its own patched version of coreutils, because some utilities are enhanced with multipipe functionality. This is the compilation that causes you a problem. So what you would need to do is to |
Hi, I tried installing coreutils in docker environment following the instruction at this site. The version number is shown below:
Although
I shared the Dockerfile in a newly created repo. How can I resolve or debug this issue? The expression "Please port gnulib freadseek.c to your platform!" is puzzling, I insallted |
Ooops, I missed your reply when I was preparing my reply. So, I merge coreutils first and then compile dgsh.. I'll try that.. |
Trying to compile coreutils from source on your system is also a good approach. I think some preprocessor definition may be missing. |
Hi again, the current remote url for unix-tools/coreutils is show as "https://github.com/mfragkoulis/coreutils", I replace it with "https://www.github.com/coreutils/coreutils.git" and try to merge/pull and then compile.. |
Sorry for bothering again. I tried to change the submodule to coreutils repo and did the following commands (taken from this post, I hope I did them right). I'm not sure if gnulib, which is sub-submodule, is taken care of correctly.
then I did
|
I thought I might have messed up submodule update so I tried getting the submodules manually by:
after that,
|
sorry for too much chatter, I'm just trying to document the struggle while I'm trying to compile dgsh. I tried debian:stable docker image to compile instead of ubuntu container and I got the same results, meaning;
I guess this is not ubuntu or my system specific problem.. |
Documenting is good! Problem 2 seems to be a GNU coreutils problem. It should be easy to resolve by them, once reported. Problem 1 will be solved when 2 is solved and then the dgsh changes are merged into the updated coreutils version. |
Hi,
I checked out the latest commit d74313e53dfb and tried to compile.
I got the following error:
Then I installed
gnulib
viasudo apt install gnulib
and re-compiled and I got the same error. Is this a problem with my system? (Ubuntu 20.04, Pop OS 20.04 actually)I noticed in another post about this type of error, someone reported upgrading coreutils might be helpful. My coreutils version is 8.30-3ubuntu2.
Is there a workaround for this problem?
Thanks.
The text was updated successfully, but these errors were encountered: