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 Mar 29 13:53:58 2017  
 
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 MarkupRich Markup):
   

You are not logged in

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

 

Thu Mar 30 18:25:07 2017, comment #3:

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

Anonymous
Thu Mar 30 17:51:24 2017, 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

Werner Baumann <wbaumann>
Project AdministratorIn charge of this item.
Wed Mar 29 18:40:09 2017, 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

Werner Baumann <wbaumann>
Project AdministratorIn charge of this item.
Wed Mar 29 13:53:58 2017, 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

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #40209:  config.log added by None (16kB - 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 Mar 30 12:49:07 2017NoneAttached File-=>Added config.log, #40209
    Wed Mar 29 18:40:09 2017wbaumannStatusNone=>In Progress
      Assigned toNone=>wbaumann

    Back to the top


    Powered by Savane 3.1-cleanup1