I cannot build ncmpcpp-0.5-1002 on Snow Leopard (10.6)

I'll give you as much info as possible, tell me anything you wanna
know, i'll try to satify your requests...
$ uname -a
$ fink -V
$ fink list curses
$ fink install ncmpcpp




$ uname -a
Darwin stalker.local 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov  3
10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386 i386
MacBook5,1 Darwin

$ fink -V
Package manager version: 0.29.10
Distribution version: selfupdate-rsync Tue Feb  2 03:39:04 2010, 10.6, i386

$ fink list curses
Information about 8132 packages read in 0 seconds.
     curses-pm5100                      1.28-1                    Perl
interface to the ncurses library
     curses-pm588                       1.28-1                    Perl
interface to the ncurses library
     curses-ui-pm5100                   0.9607-2                  UI
framework based on the curses library
     curses-ui-pm588                    0.9607-2                  UI
framework based on the curses library
 i   libncurses5                        5.4-20041023-1011
Full-screen ascii drawing library
     libncurses5-64bit                  5.4-20041023-1011
Full-screen ascii drawing library (64bit version)
     libncurses5-64bit-shlibs           5.4-20041023-1011
Shared libraries for libncurses5 package (64bit)
 p   libncurses5-dev
[virtual package]
 i   libncurses5-shlibs                 5.4-20041023-1011
Shared libraries for libncurses5 package
 i   libncursesw5                       5.4-20041023-1001
Full-screen ascii drawing (wchar version)
 i   libncursesw5-shlibs                5.4-20041023-1001
Shared libraries for libncursesw5 package
 i   ncurses                            5.4-20041023-1011
Executable files for libncurses5
     ncurses-dev                        5.3-20031018-1503
Development files for ncurses package
 i   ncurses-shlibs                     5.3-20031018-1503
Shared libraries for ncurses package
     pdcurses                           2.6-1015
XCurses library with color, mouse support
     pdcurses-shlibs                    2.6-1015
Shared libraries for PDCurses
     xorcurses                          0.1.1-1                   Game
based on Xor



$ fink install ncmpcpp
The package 'ncmpcpp' will be built and installed.
Reading dependency for ncmpcpp-0.5-1002...
Reading build dependency for ncmpcpp-0.5-1002...
Reading build conflict for ncmpcpp-0.5-1002...
The following package will be installed or updated:
 ncmpcpp
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-ncmpcpp-0.5-1002
/sw/src/fink.build
dpkg-deb: building package `fink-buildlock-ncmpcpp-0.5-1002' in
`/sw/src/fink.build/fink-buildlock-ncmpcpp-0.5-1002_2010.02.03-11.14.36_darwin-i386.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i
/sw/src/fink.build/fink-buildlock-ncmpcpp-0.5-1002_2010.02.03-11.14.36_darwin-i386.deb
Selecting previously deselected package fink-buildlock-ncmpcpp-0.5-1002.
(Reading database ... 117751 files and directories currently installed.)
Unpacking fink-buildlock-ncmpcpp-0.5-1002 (from
.../fink-buildlock-ncmpcpp-0.5-1002_2010.02.03-11.14.36_darwin-i386.deb)
...
Setting up fink-buildlock-ncmpcpp-0.5-1002 (2010.02.03-11.14.36) ...
Cleaning up .la files being installed

bzip2 -dc /sw/src/ncmpcpp-0.5.tar.bz2 | /sw/bin/tar -xvf -
--no-same-owner --no-same-permissions
ncmpcpp-0.5/
ncmpcpp-0.5/doc/
ncmpcpp-0.5/doc/keys
ncmpcpp-0.5/doc/ncmpcpp-completion.bash
ncmpcpp-0.5/doc/ncmpcpp.1
ncmpcpp-0.5/doc/config
ncmpcpp-0.5/doc/Makefile.am
ncmpcpp-0.5/doc/Makefile.in
ncmpcpp-0.5/src/
ncmpcpp-0.5/src/clock.h
ncmpcpp-0.5/src/menu.cpp
ncmpcpp-0.5/src/display.h
ncmpcpp-0.5/src/playlist_editor.h
ncmpcpp-0.5/src/playlist.h
ncmpcpp-0.5/src/song.cpp
ncmpcpp-0.5/src/server_info.h
ncmpcpp-0.5/src/visualizer.cpp
ncmpcpp-0.5/src/charset.cpp
ncmpcpp-0.5/src/visualizer.h
ncmpcpp-0.5/src/tiny_tag_editor.h
ncmpcpp-0.5/src/display.cpp
ncmpcpp-0.5/src/playlist_editor.cpp
ncmpcpp-0.5/src/mpdpp.cpp
ncmpcpp-0.5/src/ncmpcpp.h
ncmpcpp-0.5/src/lyrics.cpp
ncmpcpp-0.5/src/tolower.cpp
ncmpcpp-0.5/src/charset.h
ncmpcpp-0.5/src/strbuffer.h
ncmpcpp-0.5/src/helpers.cpp
ncmpcpp-0.5/src/lyrics.h
ncmpcpp-0.5/src/server_info.cpp
ncmpcpp-0.5/src/search_engine.h
ncmpcpp-0.5/src/error.h
ncmpcpp-0.5/src/media_library.h
ncmpcpp-0.5/src/global.h
ncmpcpp-0.5/src/screen.h
ncmpcpp-0.5/src/conv.h
ncmpcpp-0.5/src/search_engine.cpp
ncmpcpp-0.5/src/conv.cpp
ncmpcpp-0.5/src/mpdpp.h
ncmpcpp-0.5/src/help.h
ncmpcpp-0.5/src/Makefile.am
ncmpcpp-0.5/src/Makefile.in
ncmpcpp-0.5/src/home.h
ncmpcpp-0.5/src/ncmpcpp.cpp
ncmpcpp-0.5/src/clock.cpp
ncmpcpp-0.5/src/settings.h
ncmpcpp-0.5/src/info.h
ncmpcpp-0.5/src/tag_editor.h
ncmpcpp-0.5/src/scrollpad.h
ncmpcpp-0.5/src/menu.h
ncmpcpp-0.5/src/outputs.cpp
ncmpcpp-0.5/src/misc.h
ncmpcpp-0.5/src/misc.cpp
ncmpcpp-0.5/src/window.h
ncmpcpp-0.5/src/settings.cpp
ncmpcpp-0.5/src/song.h
ncmpcpp-0.5/src/tag_editor.cpp
ncmpcpp-0.5/src/status.h
ncmpcpp-0.5/src/playlist.cpp
ncmpcpp-0.5/src/outputs.h
ncmpcpp-0.5/src/scrollpad.cpp
ncmpcpp-0.5/src/tiny_tag_editor.cpp
ncmpcpp-0.5/src/info.cpp
ncmpcpp-0.5/src/tolower.h
ncmpcpp-0.5/src/status.cpp
ncmpcpp-0.5/src/window.cpp
ncmpcpp-0.5/src/media_library.cpp
ncmpcpp-0.5/src/browser.h
ncmpcpp-0.5/src/helpers.h
ncmpcpp-0.5/src/error.cpp
ncmpcpp-0.5/src/help.cpp
ncmpcpp-0.5/src/browser.cpp
ncmpcpp-0.5/NEWS
ncmpcpp-0.5/depcomp
ncmpcpp-0.5/aclocal.m4
ncmpcpp-0.5/ltmain.sh
ncmpcpp-0.5/configure
ncmpcpp-0.5/configure.in
ncmpcpp-0.5/config.guess
ncmpcpp-0.5/install-sh
ncmpcpp-0.5/autogen.sh
ncmpcpp-0.5/config.sub
ncmpcpp-0.5/missing
ncmpcpp-0.5/.gitignore
ncmpcpp-0.5/Makefile.am
ncmpcpp-0.5/Makefile.in
ncmpcpp-0.5/config.h.in
ncmpcpp-0.5/AUTHORS
ncmpcpp-0.5/ChangeLog
ncmpcpp-0.5/COPYING
./configure --prefix=/sw --mandir=/sw/share/man
--disable-dependency-tracking --enable-clock --with-taglib --with-curl
--enable-unicode
checking for a BSD-compatible install... /sw/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /sw/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... none
checking build system type... i386-apple-darwin10.2.0
checking host system type... i386-apple-darwin10.2.0
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... none
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld)
is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to
reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from gcc object... ok
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) none
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker
(/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared
libraries... yes
checking dynamic linker characteristics... darwin10.2.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for ld used by g++... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld)
is GNU ld... no
checking whether the g++ linker
(/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared
libraries... yes
checking for g++ option to produce PIC... -fno-common -DPIC
checking if g++ PIC flag -fno-common -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker
(/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared
libraries... yes
checking dynamic linker characteristics... darwin10.2.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether compiler supports -fno-exceptions... yes
checking for _head_libws2_32_a in -lws2_32... no
checking for regcomp in -lregex... no
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for pkg-config... /sw/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libmpdclient... yes
checking mpd/client.h usability... yes
checking mpd/client.h presence... yes
checking for mpd/client.h... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking whether iconv takes const char **... no
checking for libiconv in -liconv... yes
checking for ncursesw5-config... no
checking for initscr in -lncursesw... yes
checking for initscr in -lncursesw... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking for curl-config... /sw/bin/curl-config
checking for curl_easy_init in -lcurl... yes
checking curl/curl.h usability... yes
checking curl/curl.h presence... yes
checking for curl/curl.h... yes
checking for taglib-config... /sw/bin/taglib-config
checking taglib.h usability... yes
checking taglib.h presence... yes
checking for taglib.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make
make  all-recursive
Making all in src
g++ -DHAVE_CONFIG_H -I. -I..   -I/sw/include -I/sw/include
-I/sw/include -I/sw/include/taglib  -Os -fno-exceptions -c -o
browser.o browser.cpp
In file included from browser.h:25,
                 from browser.cpp:27:
screen.h: In member function 'virtual void
Screen<WindowType>::MouseButtonPressed(MEVENT)':
screen.h:251: error: 'NCURSES_BUTTON_PRESSED' was not declared in this scope
screen.h:251: error: there are no arguments to 'NCURSES_MOUSE_MASK'
that depend on a template parameter, so a declaration of
'NCURSES_MOUSE_MASK' must be available
screen.h:251: error: (if you use '-fpermissive', G++ will accept your
code, but allowing the use of an undeclared name is deprecated)
screen.h: In member function 'void
Screen<WindowType>::MouseButtonPressed(MEVENT) [with WindowType =
NCurses::Scrollpad]':
screen.h:273: error: 'NCURSES_BUTTON_PRESSED' was not declared in this scope
screen.h:273: error: 'NCURSES_MOUSE_MASK' was not declared in this scope
screen.h: In member function 'void
Screen<WindowType>::MouseButtonPressed(MEVENT) [with WindowType =
NCurses::Menu<MPD::Item>]':
browser.cpp:235:   instantiated from here
screen.h:251: error: 'NCURSES_MOUSE_MASK' was not declared in this scope
screen.h: In member function 'void
Screen<WindowType>::MouseButtonPressed(MEVENT) [with WindowType =
NCurses::Window]':
browser.cpp:579:   instantiated from here
screen.h:251: error: 'NCURSES_MOUSE_MASK' was not declared in this scope
make[2]: *** [browser.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
### execution of make failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-ncmpcpp-0.5-1002
(Reading database ... 117752 files and directories currently installed.)
Removing fink-buildlock-ncmpcpp-0.5-1002 ...
Failed: phase compiling: ncmpcpp-0.5-1002 failed

Before reporting any errors, please run "fink selfupdate" and
try again.  If you continue to have issues, please check to see if the
FAQ on fink's website solves the problem.  If not, ask on the fink-users
or fink-beginners mailing lists, with a carbon copy to the maintainer:

        Jack Fink <[email protected]>

Note that this is preferable to emailing the maintainer directly, since
most fink package maintainers do not have access to all possible
hardware and software configurations.


Hope it helps ; Thanks in advance,


Sitaktif

--
Romain Chossart

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to