View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005986 | SOGo | SOPE | public | 2024-06-25 12:36 | 2024-08-28 08:38 |
Reporter | Artim | Assigned To | qhivert | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | assigned | Resolution | open | ||
Platform | amd64 | OS | Debian | OS Version | 12.5 |
Summary | 0005986: Failing to compile with error in SaxAttributeList.m | ||||
Description | For Bug # 5976 I'm trying to compile the latest SOPE and SOGo nightlies. I followed this guide: https://www.sogo.nu/support/faq/how-do-i-compile-sogo.html the ./configure line does succeeds. This is its output: Configuration: creating: /opt/sope/config.make But "make" fails with these messages: | ||||
Steps To Reproduce |
| ||||
Tags | compilation error, Debian | ||||
Did you installed :
? |
|
libgnustep-base-dev was missing, thanks. Would it be possible to improve the guide for compilation to not just say "install GNUstep", but be more specific? Because I don't see any way to tell from the error messages that this package is missing. |
|
Also a more specific guide may be able to prevent the next issue I now face with compiling sogo. For make I get a very long output ending in Compiling file MSExchangeFreeBusy.m ... |
|
I'm currently trying to compile 5.11 which still fails with the same error. Something weird I found was the content of SoObjects/SOGo/SOGo.framework/Versions/Current/sogo/. It's a symlink called SOGo pointing at libSOGo.so, which doesn't exist: Is it possible that this is confusing gcc? ld is clearly trying to find some SOGo library that doesn't exist (yet). So what is tripping up its creation? |
|
What is the debian version (still 12) ? |
|
Yes, still stable. Running ldconfig has no output and no change in the result. PS: the same error message has just been posted to the SOGo mailing list. |
|
Do you have a dockerfile with your environment to provide ? |
|
I don't compile inside a docker environment. |
|
Hi, Dockerfile (684 bytes)
FROM ubuntu:latest RUN apt-get update RUN apt-get install -y git make gnustep gnustep-make gnustep-devel gnustep-base-runtime libgnustep-base-dev libxml2-dev libmemcached-dev libssl-dev libldap-dev libldap2-dev libpq-dev libz-dev libsodium-dev pkg-config libzip-dev libcurl4-openssl-dev WORKDIR /tmp RUN git clone --depth 1 --branch SOPE-5.11.0 https://github.com/Alinto/sope SOPE WORKDIR /tmp/SOPE RUN ./configure --with-gnustep --enable-debug --disable-strip RUN make RUN make install RUN ldconfig WORKDIR /tmp RUN git clone --depth 1 --branch SOGo-5.11.0 https://github.com/Alinto/SOGo WORKDIR /tmp/SOGo RUN ./configure --enable-debug --disable-strip RUN make RUN make install |
|
Hello,
After installing it (on rhel/centos the package is called libytnef-devel )
the build works. Could you all try it ? For now I don't quite understand if this is normal or a regression and why the build doesn't stop directly there |
|
You need to add Sebastien |
|
Whoops, I didn't see the ytnef error. Thanks ;) |
|
Installing libytnef0-dev seems to have solved this for me too. So again, could you please have someone put a full list of required dependencies into the compilation guide, or at least give a guide on how to figure out what's missing? Because I did not see any "cannot find -lytnef" in that wall of text. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2024-06-25 12:36 | Artim | New Issue | |
2024-06-25 12:36 | Artim | Tag Attached: compilation error | |
2024-06-25 12:36 | Artim | Tag Attached: Debian | |
2024-06-26 06:57 | sebastien | Note Added: 0017762 | |
2024-06-26 08:56 | Artim | Note Added: 0017763 | |
2024-06-26 09:01 | Artim | Note Added: 0017764 | |
2024-08-19 08:13 | Artim | Note Added: 0017802 | |
2024-08-19 09:19 | sebastien | Note Added: 0017805 | |
2024-08-19 09:19 | sebastien | Note Edited: 0017805 | |
2024-08-19 09:22 | Artim | Note Added: 0017806 | |
2024-08-20 13:17 | sebastien | Note Added: 0017815 | |
2024-08-20 14:01 | Artim | Note Added: 0017818 | |
2024-08-27 15:22 | giopan | Note Added: 0017832 | |
2024-08-27 15:22 | giopan | File Added: Dockerfile | |
2024-08-27 17:11 | qhivert | Note Added: 0017834 | |
2024-08-27 17:12 | qhivert | Assigned To | => qhivert |
2024-08-27 17:12 | qhivert | Status | new => feedback |
2024-08-27 19:20 | sebastien | Note Added: 0017836 | |
2024-08-28 05:45 | giopan | Note Added: 0017841 | |
2024-08-28 08:38 | Artim | Note Added: 0017842 | |
2024-08-28 08:38 | Artim | Status | feedback => assigned |