Skip Menu |

This queue is for tickets about the Curses CPAN distribution.

Report information
The Basics
Id: 18843
Status: resolved
Priority: 0/
Queue: Curses

People
Owner: Nobody in particular
Requestors: dmuey [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.13
Fixed in: (no value)



Subject: Fails on FreeBSD, easy fix
If Makefile.PL tested for this condition and created the link below if needed it be solved: This server is FreeBSD 5.3-RELEASE (we;ve seen it on numerouse FreeBSD servers) I'll cpecifically look into and report back how it works on 4 and 6 redspot# tar xzf Curses-1.13.tgz redspot# cd Curses-1.13 redspot# redspot# perl Makefile.PL GEN function: not applicable PANELS functions: not enabled MENUS functions: not enabled FORMS functions: not enabled Making a guess for $inc and/or $libs... Making a guess for "c-config.h"... I'm sorry, but I couldn't find a hints file that was configured for your OS (named hints/c-freebsd.h). You will need to create and configure a "c-config.h" file for yourself. Please see the "INSTALL" directions for pointers on how to do this. redspot# redspot# ln -s hints/c-freebsd.ncurses.h c-config.h redspot# perl Makefile.PL GEN function: not applicable PANELS functions: not enabled MENUS functions: not enabled FORMS functions: not enabled Making a guess for $inc and/or $libs... Checking if your kit is complete... Looks good Writing Makefile for Curses redspot# then it installs :) hints/c-freebsd.ncurses.h is the one you want to use apparently as hints/c-freebsd.bsd.h fails every time (even though /usr/include/ncurses.h is just a symlink to /usr/include/ curses.h) I beleive this is all the port of it is doing but it'd be nicer to use CPAN on every server regardless of OS
Show quoted text
> This server is FreeBSD 5.3-RELEASE (we;ve seen it on numerouse FreeBSD > servers) > I'll cpecifically look into and report back how it works on 4 and 6
Exact same on 4.11-RELEASE
When using new Makefile.PL you sent to me: redspot# perl Makefile.PL GEN function: not applicable PANELS functions: not enabled MENUS functions: not enabled FORMS functions: not enabled Making a guess for $inc and/or $libs... Use of uninitialized value in concatenation (.) or string at Makefile.PL line 195. Guesses: includes '', libs '-lcurses -ltermcap' Curses type Writing Makefile for Curses redspot# changing the freesbd default to ncurses: redspot# perl Makefile.PL GEN function: not applicable PANELS functions: not enabled MENUS functions: not enabled FORMS functions: not enabled Making a guess for $inc and/or $libs... Use of uninitialized value in concatenation (.) or string at Makefile.PL line 195. Guesses: includes '', libs '-lncurses' Curses type Writing Makefile for Curses redspot# The make was identical except where the name differed: redspot# diff -u default_bsd_make.txt default_ncurses_make.txt --- default_bsd_make.txt Mon May 8 08:48:25 2006 +++ default_ncurses_make.txt Mon May 8 08:50:14 2006 @@ -2,7 +2,7 @@ Checking capabilities of the Ncurses libraries. Set CURSES_VERBOSE environment variable to see the details of the tests. -Doing test compiles with the compile command 'cc -DSYM="_C_SYM_" -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -o _C_FILE_ _C_FILE_.c -L/usr/local/lib -lcurses -ltermcap>/dev/null 2>&1' +Doing test compiles with the compile command 'cc -DSYM="_C_SYM_" -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -o _C_FILE_ _C_FILE_.c -L/usr/local/lib -lncurses>/dev/null 2>&1' function 'waddch' found function 'wechochar' found function 'waddchstr' found @@ -385,7 +385,7 @@ Running Mkbootstrap for Curses () chmod 644 Curses.bs rm -f blib/arch/auto/Curses/Curses.so -LD_RUN_PATH="/usr/lib" cc -shared -L/usr/local/lib Curses.o -o blib/arch/auto/Curses/Curses.so -lcurses -ltermcap +LD_RUN_PATH="/usr/lib" cc -shared -L/usr/local/lib Curses.o -o blib/arch/auto/Curses/Curses.so -lncurses chmod 755 blib/arch/auto/Curses/Curses.so cp Curses.bs blib/arch/auto/Curses/Curses.bs chmod 644 blib/arch/auto/Curses/Curses.bs redspot# This should be rectified :) redspot# make test No tests defined for Curses extension. redspot# but then make install went along well: redspot# perl -le 'use Curses;print $Curses::VERSION;' 1.13 redspot# So it looks like your new Makefile.PL was just the thing :) I'd say upload to pause ASAP! Thanks
On May 8, 2006, at 9:16 PM, Bryan Henderson wrote: Show quoted text
> > How come you don't use the built in rt.cpan.org system for > > communication, you'd have seen it April 21st instead of by chance :)
Show quoted text
> I haven't found any way to make rt.cpan.org draw my attention to > something the day it is posted. If you know, do tell. But I didn't
mine come to my CPAN id's email, I imagine yours is no longer forwarded to a valid address. Show quoted text
> see your report by chance. I poll rt.cpan.org once a month.
cool. Show quoted text
> > > I can't see how Makefile.PL would do what it does in your report.
> > > > Thats why I posted the output in the ticket,
> > I didn't see anything in that output that gave a clue as to how > Makefile.PL did what it did.
I'm sorry if it seemed vague: http://rt.cpan.org/Ticket/Display.html?id=18843 redspot# perl Makefile.PL ... I'm sorry, but I couldn't find a hints file that was configured for your OS (named hints/c-freebsd.h). You will need to create and configure a "c-config.h" file for yourself. Please see the "INSTALL" directions for pointers on how to do this. redspot# redspot# ln -s hints/c-freebsd.ncurses.h c-config.h redspot# perl Makefile.PL ... Checking if your kit is complete... Looks good Writing Makefile for Curses redspot# hints/c-freebsd.ncurses.h is the one you want to use apparently as hints/c-freebsd.bsd.h fails every time (even though /usr/include/ncurses.h is just a symlink to /usr/include/ curses.h) To me that'd show that the logic that chooses the file that it uses for FreeBSD is either flawed or at least needs adjusted to fit FreeBSD's oddness. Show quoted text
> > > I've attached a current version that at least prints some additional > > > information. Could you run it and see what it does?
> > > > It appears to be good to go:
> > I just downloaded 1.13 and compared, and there is no significant > difference between the Makefile.PL I sent you and the one in the > package. There's a minor cleanup to help me read it and a few added > informational messages.
I'll try them both on a different server and see what i can find, can you use http://rt.cpan.org/Ticket/Display.html?id=18843 instead of direct email from now on? thanks