Romain Chossart | 3 Feb 2010 11:21
Picon

ncmpcpp build error with 10.6. Apparently due to ncurses library.

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
(Continue reading)

Alexander Hansen | 3 Feb 2010 14:24
Picon
Gravatar

Re: ncmpcpp build error with 10.6. Apparently due to ncurses library.


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
(Continue reading)

Martin Costabel | 3 Feb 2010 16:20
Picon

Re: ncmpcpp build error with 10.6. Apparently due to ncurses library.

Alexander Hansen wrote:
[]
>> screen.h:251: error: 'NCURSES_BUTTON_PRESSED' was not declared in this scope
[]
> 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).

This might even be suitable for fink-core :-)

I suspect this is not a problem of ncmpcpp, but a sign of Fink's ncurses 
package finally showing its age (6 years against 4 years for Leopard's, 
whereas Snow Leopard's seems to be up to date).

Does anyone remember why Fink needs its own ncurses package?

--

-- 
Martin

------------------------------------------------------------------------------
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
_______________________________________________
(Continue reading)

Alexander Hansen | 3 Feb 2010 16:26
Picon
Gravatar

Re: ncmpcpp build error with 10.6. Apparently due to ncurses library.


On 2/3/10 10:20 AM, Martin Costabel wrote:
> Alexander Hansen wrote:
> []
>>> screen.h:251: error: 'NCURSES_BUTTON_PRESSED' was not declared in this scope
> []
>> 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).
> 
> This might even be suitable for fink-core :-)
> 
> I suspect this is not a problem of ncmpcpp, but a sign of Fink's ncurses 
> package finally showing its age (6 years against 4 years for Leopard's, 
> whereas Snow Leopard's seems to be up to date).
> 
> Does anyone remember why Fink needs its own ncurses package?
> 

Maybe a legacy from 10.0?

I get the same error on 10.4, as well, so we appear not to be building
on any supported platform.

--

-- 
Alexander Hansen
(Continue reading)

Martin Costabel | 3 Feb 2010 21:47
Picon

Re: ncmpcpp build error with 10.6. Apparently due to ncurses library.

Alexander Hansen wrote:
[]
> I get the same error on 10.4, as well, so we appear not to be building
> on any supported platform.

On 10.4 I suspect it cannot be built (the system curses.h is as old as 
Fink's there). On 10.5/10.6, it can be built when libncurses5 is not 
installed. A BuildConflicts: libncurses5 is sufficient for this. In my 
case, I first had to remove the yafc package, which illegally Depends on 
libncurses5. OTOH, the ncmpcpp executable links with 
/sw/lib/libncursesw.5.dylib, which is not nice when the corresponding 
header files are not used.

I wonder how Jack was ever able to build this package, because the 
libncurses5 package, while not essential, is a build dependency of 
hundreds of packages, so the chances are very high that it is installed.

--

-- 
Martin

------------------------------------------------------------------------------
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
Fink-devel <at> lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
(Continue reading)

Daniel Johnson | 3 Feb 2010 21:17
Picon

Re: ncmpcpp build error with 10.6. Apparently due to ncurses library.


On Feb 3, 2010, at 10:26 AM, Alexander Hansen wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 2/3/10 10:20 AM, Martin Costabel wrote:
>> Alexander Hansen wrote:
>> []
>>>> screen.h:251: error: 'NCURSES_BUTTON_PRESSED' was not declared in this scope
>> []
>>> 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).
>> 
>> This might even be suitable for fink-core :-)
>> 
>> I suspect this is not a problem of ncmpcpp, but a sign of Fink's ncurses 
>> package finally showing its age (6 years against 4 years for Leopard's, 
>> whereas Snow Leopard's seems to be up to date).
>> 
>> Does anyone remember why Fink needs its own ncurses package?
>> 
> 
> Maybe a legacy from 10.0?
> 
(Continue reading)

Greg A. Woods | 4 Feb 2010 01:02
Picon
Favicon

"fink install xdaliclock" fails during configure, unable to find X

checking for sys/select.h... yes
checking for X... no
configure: error: Couldn't find X11 headers/libs.  Try `./configure --help'.
### execution of ./configure failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-xdaliclock-2.20-1001
(Reading database ... 34347 files and directories currently installed.)
Removing fink-buildlock-xdaliclock-2.20-1001 ...
Updating the list of locally available binary packages.
Scanning dists/unstable/main/binary-darwin-x86_64
New package: dists/unstable/main/binary-darwin-x86_64/devel/cvsps_2.1-2_darwin-x86_64.deb
New package: dists/unstable/main/binary-darwin-x86_64/gnome/libglade2-shlibs_2.6.4-3_darwin-x86_64.deb
New package: dists/unstable/main/binary-darwin-x86_64/gnome/libglade2_2.6.4-3_darwin-x86_64.deb
New package: dists/unstable/main/binary-darwin-x86_64/graphics/libtheora0-shlibs_1.1.1-1_darwin-x86_64.deb
New package: dists/unstable/main/binary-darwin-x86_64/graphics/libtheora0_1.1.1-1_darwin-x86_64.deb
New package: dists/unstable/main/binary-darwin-x86_64/graphics/libtheoradec1-shlibs_1.1.1-1_darwin-x86_64.deb
New package: dists/unstable/main/binary-darwin-x86_64/graphics/libtheoraenc1-shlibs_1.1.1-1_darwin-x86_64.deb
New package: dists/unstable/main/binary-darwin-x86_64/languages/swig_1.3.35-2_darwin-x86_64.deb
New package: dists/unstable/main/binary-darwin-x86_64/libs/fribidi-dev_0.10.9-1_darwin-x86_64.deb
New package: dists/unstable/main/binary-darwin-x86_64/libs/fribidi-shlibs_0.10.9-1_darwin-x86_64.deb
New package: dists/unstable/main/binary-darwin-x86_64/libs/fribidi_0.10.9-1_darwin-x86_64.deb
New package: dists/unstable/main/binary-darwin-x86_64/libs/libapr.0-dev_1.3.3-6_darwin-x86_64.deb
New package: dists/unstable/main/binary-darwin-x86_64/libs/libapr.0-shlibs_1.3.3-6_darwin-x86_64.deb
New package: dists/unstable/main/binary-darwin-x86_64/libs/libdvdread.3-shlibs_0.9.7-101.1_darwin-x86_64.deb
New package: dists/unstable/main/binary-darwin-x86_64/libs/libdvdread.3_0.9.7-101.1_darwin-x86_64.deb
New package: dists/unstable/main/binary-darwin-x86_64/libs/libgnugetopt-shlibs_1.3-1_darwin-x86_64.deb
New package: dists/unstable/main/binary-darwin-x86_64/libs/libgnugetopt_1.3-1_darwin-x86_64.deb
New package: dists/unstable/main/binary-darwin-x86_64/libs/libx264-57-shlibs_0.0.20071214-4_darwin-x86_64.deb
New package: dists/unstable/main/binary-darwin-x86_64/libs/libx264-dev_0.0.20071214-4_darwin-x86_64.deb
(Continue reading)

Hanspeter Niederstrasser | 4 Feb 2010 16:21

Re: "fink install xdaliclock" fails during configure, unable to find X

Greg A. Woods wrote:
> checking for sys/select.h... yes
> checking for X... no
> configure: error: Couldn't find X11 headers/libs.  Try `./configure --help'.
> ### execution of ./configure failed, exit code 1

This is a common error.  I'll pull up a fix momentarily.

Hanspeter

------------------------------------------------------------------------------
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
Fink-devel <at> lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Hanspeter Niederstrasser | 4 Feb 2010 18:30

Re: "fink install xdaliclock" fails during configure, unable to find X

Greg A. Woods wrote:
> checking for sys/select.h... yes
> checking for X... no
> configure: error: Couldn't find X11 headers/libs.  Try `./configure --help'.
> ### execution of ./configure failed, exit code 1

A new version is now available that should fix this problem and adds a 
native .app version of daliclock as well. If you're using rsync, it 
should be available within the hour.

Hanspeter

------------------------------------------------------------------------------
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
Fink-devel <at> lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Peter Dyballa | 6 Feb 2010 12:03
Picon
Favicon

fop-1:0.20.5-12

Feedback: not good

Hello!

Two days ago I built

2010-02-04 10:48  18481472 /sw/fink/10.4/unstable/main/binary-darwin- 
powerpc/text/fop_0.95-1_darwin-powerpc.deb

and now, after a self-update, Fink wants to "update" it with FOP 0.20  
– mathematically correct this cannot be called an update.

--
Package manager version: 0.29.10
Distribution version: selfupdate-cvs Fri Feb  5 22:57:31 2010, 10.5,  
powerpc
Mac OS X version: 10.5.8
Xcode version: 3.1.4
gcc version: 4.0.1 (Apple Inc. build 5493)
make version: 3.81
Feedback Courtesy of FinkCommander

--
Greetings

   Pete

Genius may have its limitations, but stupidity is not thus handicapped.
				– Elbert Hubbard

(Continue reading)


Gmane