nixers
ncmpcpp on NetBSD - Printable Version
+- nixers (https://nixers.net)
+-- Forum: Operating Systems & Administration (https://nixers.net/Forum-Operating-Systems-Administration)
+--- Forum: BSD (https://nixers.net/Forum-BSD)
+--- Thread: ncmpcpp on NetBSD (/Thread-ncmpcpp-on-NetBSD)


ncmpcpp on NetBSD - JerrySpringerIsMyDad - 24-06-2014

Can someone please help me? I am getting these errors:


make
make all-recursive
Making all in src
g++ -DHAVE_CONFIG_H -I. -I.. -I/home/bradley/usr/pkg/include -I/home/bradley/usr/pkg/include -I/home/bradley/usr/pkg/include -g -O2 -fno-exceptions -MT browser.o -MD -MP -MF .deps/browser.Tpo -c -o browser.o browser.cpp
In file included from browser.h:25:0,
from browser.cpp:27:
screen.h:96:35: error: ‘MEVENT’ has not been declared
screen.h:224:35: error: ‘MEVENT’ has not been declared
screen.h:279:76: error: variable or field ‘MouseButtonPressed’ declared void
screen.h:279:76: error: ‘MEVENT’ was not declared in this scope
screen.h:303:63: error: variable or field ‘MouseButtonPressed’ declared void
screen.h:303:63: error: ‘MEVENT’ was not declared in this scope
In file included from browser.cpp:27:0:
browser.h:39:35: error: ‘MEVENT’ has not been declared
In file included from browser.cpp:32:0:
playlist.h:44:35: error: ‘MEVENT’ has not been declared
browser.cpp:225:34: error: variable or field ‘MouseButtonPressed’ declared void
browser.cpp:225:34: error: ‘MEVENT’ was not declared in this scope
*** Error code 1

Stop.
make: stopped in /home/bradley/usr/downloads/ncmpcpp-0.5.10/src
*** Error code 1

Stop.
make: stopped in /home/bradley/usr/downloads/ncmpcpp-0.5.10
*** Error code 1

Stop.
make: stopped in /home/bradley/usr/downloads/ncmpcpp-0.5.10


RE: ncmpcpp on NetBSD - venam - 25-06-2014

I'm not sure about the error you had.
Have you tried installing using the git method:
Code:
git clone git://repo.or.cz/ncmpcpp.git
cd ncmpcpp
./autogen.sh
./configure YOUR_CONFIGURE_OPTS (you can see them by typing ./configure --help)
make
make install



RE: ncmpcpp on NetBSD - yrmt - 25-06-2014

https://github.com/yrmt/wip/tree/master/ncmpcpp

Can you try with my pkgsrc port?

I just tried to manually build ncmpcpp-0.5.10 on NetBSD amd64 6.1.4 with clang 3.4 and I get the same error, I'll look into it.

Note that ncmpcpp from git is even more broken.


RE: ncmpcpp on NetBSD - JerrySpringerIsMyDad - 25-06-2014

Thank you, yeah, I tried your port and I still got the same error