-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2/3/10 5:21 AM, Romain Chossart wrote:
> 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
> 
> 
> 
> 

<snip>

> ./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
> 

This is about an error in a maintained package, so discussion would be
more appropriate for fink-users.  fink-devel is more for packaging
questions and unmaintained packages.

We'll leave it here, though, and cc the maintainer.

It doesn't build on 10.5, either (same error).
- -- 
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktpeRgACgkQB8UpO3rKjQ+wDgCgl1mTMu16YqnP7/Z7FfRSA4ei
jc4An0TYvOT8XKxkUiaDWpiVo6cJTc07
=rbeF
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
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