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

Submitted by:  Friedrich Haubensak <hsk>
Submitted on:  Tue 09 Dec 2014 02:54:56 PM UTC  
 
Category: Build/InstallSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Privacy: PublicAssigned to: Tim Ruehsen <rockdaboot>
Originator Name: Open/Closed: Closed
Release: 1.16.1Operating System: None
Reproducibility: Every TimeFixed Release: None
Planned Release: 1.16.2Regression: None
Work Required: NonePatch Included: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 17 Dec 2014 12:09:53 PM UTCrockdabootStatusNone=>Fixed
      Assigned toNone=>rockdaboot
      Open/ClosedOpen=>Closed
      ReleaseNone=>1.16.1
      Planned ReleaseNone=>1.16.2

    Back to the top


    Powered by Savane 3.1-cleanup1