bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] [bug #50223] wget 1.19 will not build on MacOS 10.12.3


From: Zhiming Wang
Subject: [Bug-wget] [bug #50223] wget 1.19 will not build on MacOS 10.12.3
Date: Fri, 3 Feb 2017 23:00:45 +0000 (UTC)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36

Follow-up Comment #6, bug #50223 (project wget):

Including unistd.h before wget.h (provided that "config.h" is included before
<unistd.h>) does fix the issue. However, I uncovered two more bugs while
testing this fix.

First, in src/xattr.h, the fsetxattr macro is declared with a space between
the macro name and the argument list parenthesis, which is apparently wrong.
Trivial to fix.

Secondly, for some reason, lib/uniwidth/width.c isn't added to the source
list, leading to undefined symbol error for uc_width. Since autotools make my
head spin... I just uncommented the "if LIBUNISTRING_COMPILE_UNIWIDTH_WIDTH"
conditional guarding "libgnu_a_SOURCES += uniwidth/width.c" in
lib/Makefile.am, and the build proceeded to a success. Apparently this is not
a proper fix, but at least it tells us how many bugs there are in total...

I have attached my "sketchy patch", if you just want to get your hands on a
copy of wget 1.19 on macOS as soon as possible and don't care for proper
fixes.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50223>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]