bugGNU Wget - Bugs: bug #43785, failure to compile wget-1.16.1 on...

 
 

bug #43785: failure to compile wget-1.16.1 on solaris 10 / sunstudio 12.1

Submitter:  Friedrich Haubensak <hsk>
Submitted:  Tue 09 Dec 2014 02:54:56 PM UTC
   
 
Category:  Build/Install Severity:  3 - Normal
Priority:  5 - Normal Status:  Fixed
Privacy:  Public Assigned to:  rockdaboot
Originator Name:  Open/Closed:  Closed
Release:  1.16.1 Operating System:  None
Reproducibility:  Every Time Fixed Release:  None
Planned Release:  1.16.2 Regression:  None
Work Required:  None Patch Included:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 10 Dec 2014 01:50:27 PM UTC, comment #2: 

Can you confirm that ./configure --disable-nls disables ENABLE_NLS in src/config.h (means ENABLE_NLS is not defined) ?

libintl.h is included only when ENABLE_NLS is defined.
But you say, ngettext is still defined ?

Something is wrong with Solaris and/or your report, please clarify.

Also, could you please post the compiler output ?

Tim Ruehsen <rockdaboot>
Group administrator
Wed 10 Dec 2014 07:05:04 AM UTC, comment #1: 

sorry, i forgot: the configure-command, that i use, basically is "./configure --disable-nls CC=cc"

Friedrich Haubensak <hsk>
Tue 09 Dec 2014 02:54:56 PM UTC, original submission:  

("Operating System" in the heading of this report should be "Solaris", "Release" should be "1.16.1", both not provided by the menu)

compilation of wget-1.16.1 fails for me on solaris 10 using sunstudio 12.2 compiler: compiling src/http.c and src/utils.c fails due to /usr/include/libintl.h being included while ngettext is defined to an empty string and thus ending up in compiler syntax errors

reverting the changes of commit e194c1dfd32583c57540ebc96aa0341db1007f1d, i.e., changing wget.h so it includes src/gettext.h from wget-1.16, solved the issue for me

Friedrich Haubensak <hsk>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-12-17 rockdaboot StatusNone Fixed
        Assigned toNone rockdaboot
        Open/ClosedOpen Closed
        ReleaseNone 1.16.1
        Planned ReleaseNone 1.16.2

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code