Skip to content

ncursesw/ncurses.h: No such file or directory - Pamix-git

Im trying to install pamix-git from the AUR. i have ncurses installed, my system is fully up-to-date. when i attempt to install pamix, i get " ncursesw/ncurses.h: No such file or directory"

" src/pamix.cpp:8:10: fatal error: ncursesw/ncurses.h: No such file or directory #include <ncursesw/ncurses.h> make[1]: *** [Makefile:569: src/pamix-pamix.o] Error 1 "

i dont know how to exclude or remove "ncursesw" i removed that part of the line from pamix.cpp file but then when i make the pkg it comes right back.

i have been searching each file to find the line where it keeps pulling that. im not familiar with this.

0 points7 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 100% up
Kind
Text
ID
73traq

Author

12
posts
59
comments
1
media
View profile

7 comments

try changing out ncursesw/ncurses.h for curses.h.

makepkg -o & makepkg -e are useful here (then make a patch and add to pkgbuild if you want)

grep -r '<ncursesw/ncurses.h>' in the src folder and edit (fwiw two files, and it's #ifdef conditional). use diff to make a patch if you want.


edit: for instance,

#include <configuration.hpp>

#include <cstring>
#include <iostream>
#include <curses.h>
#include <sstream>
2 points

also as in the aur pkg comments autoconf-archive should be added to the PKGBUILD's make dependencies.

1 points

Try installing the ncurses-dev package first.

1 points

no package with that name that i can find

1 points

Are you using an AUR helper? ncurses5-compat-libs may be required.

EDIT: Ahh that doesn't provide any includes files, hmm.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.