Summary: | undefined reference to `curl_easy_init' while compiling with --enable-tests option | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Claws Mail (GTK 2) | Reporter: | Numan Demirdöğen <if.gnu.linux> | ||||||
Component: | Plugins/RSSyl | Assignee: | users | ||||||
Status: | REOPENED --- | ||||||||
Severity: | trivial | ||||||||
Priority: | P3 | ||||||||
Version: | 3.17.7 | ||||||||
Hardware: | PC | ||||||||
OS: | Linux | ||||||||
Attachments: |
|
Description
Numan Demirdöğen
2020-09-13 23:16:51 UTC
what is the output of configure? Created attachment 2087 [details]
Output og configure
Paul,
I attached the output of configure command. Should I also add output of ./configure --enable-tests?
It doesn't look like it has anything to do with --enable-tests. It's related to curl and expat, dependencies of the rssyl plugin. The configure output says they are found, but those errors disagree. It seems your system has a problem. But only when I use --enable-tests option the compilation ends with an error. Well, it is not an important error and I do not use --enable-tests option when I compile Claws Mail. I just wanted to test all the options to see Claws Mail works without any flaws. When I was searching a solution, I encountered lots of commends mentioning that this kind of problem arises from using linker before source files. Anyway, thanks and sorry for taking your time. > It doesn't look like it has anything to do with --enable-tests. It builds fine without the flag and fails with it, so... :-) > It's related to curl and expat, dependencies of the rssyl plugin. > > The configure output says they are found, but those errors disagree. > > It seems your system has a problem. It's also reproducible here (Debian testing), and while it can be also my system has a problem, I think it's because the dependencies on the rssyl/test/Makefile.am are not fully correct, though my poor attempts to fix it have failed miserably so far. Reopening just in case some enlightened mind can provide some help with this. Thanks in advance! Created attachment 2088 [details]
ldadd fix for tests
I tried to compile 3.17.6 release with --enable-tests 4 required header files are missing from the tarball: src/common/tests/mock_prefs_common_get_flush_metadata.h src/common/tests/mock_prefs_common_get_use_shred.h src/plugins/rssyl/libfeed/tests/mock_procheader_date_parse.h src/tests/mock_debug_print.h After adding these headers form git source, I can compile the release with the attached patch. well, I cannot reproduce that problem here, so I leave it to those that can. (But I have to wonder, do we even need these tests?) |