maindavfs2 - Support: sr #109284, Cannot compile with neon 0.30.1


sr #109284: Cannot compile with neon 0.30.1

Submitter:  None
Submitted:  Wed 29 Mar 2017 01:53:58 PM UTC
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  In Progress
Privacy:  Public Assigned to:  _71007
Originator Email:  -email is unavailable- Open/Closed:  Open
Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment (Rich Markup)

Thu 30 Mar 2017 06:25:07 PM UTC, comment #3: 

[~]# neon-config --libs
-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lneon
[~]# neon-config --cflags

Thu 30 Mar 2017 05:51:24 PM UTC, comment #2: 

The error is to be found in lines 266 to 294 of config.log when configure tries to compile a small program just to test whether linking with libneon works. The compiler is called like this:

gcc -o conftest -g -O2 -I/usr/include/neon   conftest.c -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lneon

and the error is:

gcc: error: /usr/lib/rpm/redhat/redhat-hardened-ld: No such file or directory

You will probably have to install some additional package that contains that /usr/lib/rpm/redhat/redhat-hardened-ld. (I am not familiar with RPM and therefore can't help you to find the package you need.)

Additional information:
I am not sure whether this is really necessary. davfs2 uses macro NEON_USE_EXTERNAL to test for the correct version of libneon. This macro is in file config/neon.m4 which I have taken from the neon sources. To get all the necessary compiler arguments this macro calls "neon-config --libs" and "neon-config --cflags". As far as I can see the output of neon-config lists more libs and flags than necessary.

Can you please run "neon-config --libs" and "neon-config --cflags" and post the result?


- <_71007>
Wed 29 Mar 2017 06:40:09 PM UTC, comment #1: 

After running ./configure there should be file configure.log in the top level source directory. It will show more details about what went wrong. Please attach this file to this item.


- <_71007>
Wed 29 Mar 2017 01:53:58 PM UTC, original submission:  

I am trying to compile davfs2 for the first time on a Fedora 24 box with neon version 0.30.1.  Configure tells me: incompatible neon library version 0.30.1: wanted 0.27 28 29 30
configure: error: could not find neon



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #40209:  config.log added by None (16KiB - application/octet-stream - Configuration Log File)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by _71007 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.





    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-03-30 None Attached File- Added config.log, #40209
    2017-03-29 _71007 StatusNone In Progress
        Assigned toNone _71007

    Back to the top

    Powered by Savane 3.11