pkgsrc-Users archive

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

Re: www/curl build error




Turns out my NetBSD box is experiencing a disk failure.

I'll let you know if the problem persists after I rebuild it.

Thanks,

    Jason

On 06/05/16 10:29, Greg Troxel wrote:
Jason Bacon <bacon4000%gmail.com@localhost> writes:

I ran into the following build error for www/curl on NetBSD 6.1.5:

   CC       ../lib/curl-nonblock.o
   CC       ../lib/curl-warnless.o
   CCLD     curl
ld: cannot find -lncurses
*** Error code 1

Stop.
bmake.bin[2]: stopped in
/usr/home/bacon/Pkgsrc/pkgsrc-2016Q1/www/curl/work/curl-7.47.1/src
*** Error code 1

Adding .include "../../mk/curses.buildlink3.mk" resolved it.

Note that this build was in an unprivileged pkgsrc 2016Q1 tree, not
/usr/pkgsrc.
I built www/curl on fairly recent netbsd-6, and it built without that.
However, I do have ncurses installed.  But, I then grepped over the
entire pkgsrc directory with a build tree and "curses" does not appear.

I can't find any documentation in curl that says it needs curses.

The newly-built curl does not link to any kind of curses.

Do you know where -lncurses is coming from, and why?


--
All wars are civil wars, because all men are brothers ... Each one owes
infinitely more to the human race than to the particular country in
which he was born.
                -- Francois Fenelon



Home | Main Index | Thread Index | Old Index