You are not logged in.

#1 2017-07-28 10:16:26

nanxiao
Member
Registered: 2017-07-27
Posts: 21

[Solved]Is ncurses static library provided out-of-box?

Hi all,

The ncurses only provides dynamic library. So if I want to use static library, I should download code and build it myself.

Is there any substitute method? Thanks!

Best Regards
Nan Xiao

Last edited by nanxiao (2017-07-28 13:55:50)

Offline

#2 2017-07-28 10:34:13

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,723
Website

Re: [Solved]Is ncurses static library provided out-of-box?

So if I want to use static library, I should download code and build it myself.

Yes. Arch dropped staticlibs a long time ago, except for a handful of packages where dropping them caused problems. You can use ABS (asp) to rebuild ncurses with the staticlibs option (see 'man PKGBUILD'), but do you really need to use static libraries?

https://wiki.archlinux.org/index.php/Arch_Build_System


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2017-07-28 11:34:02

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,562

Re: [Solved]Is ncurses static library provided out-of-box?

Combining nanxiao previous thread (which i happened to read first ) and the stackoverflow topic this seems an xy problem.

nanxiao wants to build bpftrace and that expects a static curses library .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#4 2017-07-28 13:55:19

nanxiao
Member
Registered: 2017-07-27
Posts: 21

Re: [Solved]Is ncurses static library provided out-of-box?

@WorMzy @Lone_Wolf:

Got it! Thanks for your comments!

Offline

Board footer

Powered by FluxBB