Giter Site home page Giter Site logo

Comments (4)

rofl0r avatar rofl0r commented on May 27, 2024

as you can see in your config.log:

configure:6239: checking for library containing tigetstr
configure:6270: x86_64-gentoo-linux-musl-gcc -o conftest -march=native -O3 -pipe  -Wl,-O1 -Wl,--as-needed conftest.c -lrt -lm  -lc >&5
/usr/lib/gcc/x86_64-gentoo-linux-musl/10.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: /var/tmp/portage/app-shells/zsh-5.8/temp/ccMDmPHD.o: in function `main':
conftest.c:(.text.startup+0x7): undefined reference to `tigetstr'
collect2: error: ld returned 1 exit status

neither -lcurses nor -lterminfo are in the command line.
maybe try LIBS='-lcurses -lterminfo' ./configure instead of that hackish patch, if that doesn't help try to override the --with-term-lib=tinfow ncursesw option i can see in the emerge log with --with-term-lib='curses terminfo'

from netbsd-curses.

XDream8 avatar XDream8 commented on May 27, 2024

yeah that did work.

i used this environment config: (/etc/portage/env/netbsd-curses.conf) http://ix.io/3uRc
and i passed it to ebuild: (/etc/portage/package.env) http://ix.io/3uRf
then it just compiled fine

i used the same environment config but i got error while compiling procps, util-linux and alsa-utils with ncurses USE flag(they all compiled just fine when i compiled them without ncurses). the other programs like nnn compiled without problem

the most complicated one is alsa-utils i think.
Emerge build log: http://ix.io/3uRd
Emerge configure log: http://ix.io/3uRe

from netbsd-curses.

rofl0r avatar rofl0r commented on May 27, 2024

so everything works now? see README here, it states where to find patches for these packages.

from netbsd-curses.

XDream8 avatar XDream8 commented on May 27, 2024

i will thanks for the help

from netbsd-curses.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.