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


sr #109284: Cannot compile with neon 0.30.1

Submitted by:  None
Submitted on:  Wed 29 Mar 2017 01:53:58 PM UTC  
Category: NonePriority: 5 - Normal
Severity: 3 - NormalStatus: In Progress
Privacy: PublicAssigned to: Werner Baumann <wbaumann>
Originator Email: -unavailable-Open/Closed: Open
Operating System: GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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?


Werner Baumann <wbaumann>
Project AdministratorIn charge of this item.
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.


Werner Baumann <wbaumann>
Project AdministratorIn charge of this item.
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 File(s):

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
  • -unavailable- added by wbaumann (Posted a comment)
  • -unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 30 Mar 2017 12:49:07 PM UTCNoneAttached File-=>Added config.log, #40209
    Wed 29 Mar 2017 06:40:09 PM UTCwbaumannStatusNone=>In Progress
      Assigned toNone=>wbaumann

    Back to the top

    Powered by Savane 3.1-cleanup1