- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Compiling Curses.pm on HP-UX 11.00
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2002 12:04 PM
тАО02-18-2002 12:04 PM
Compiling Curses.pm on HP-UX 11.00
I get the follow errors and compiling terminates:-
# make
gcc -c -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -L/lib/pa1.1 -DUINT32_MAX_BROKEN -mpa-risc-1-1 -fPIC -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.06\" -DXS_VERSION=\"1.06\" -fPIC -I/opt/perl/lib/5.6.1/PA-RISC1.1-thread-multi/CORE Curses.c
Curses.c: In function `c_sv2window':
Curses.c:275: warning: passing arg 1 of `Perl_sv_isa' from incompatible pointer type
Curses.c:275: warning: passing arg 2 of `Perl_sv_isa' from incompatible pointer type
Curses.c:275: too few arguments to function `Perl_sv_isa'
In file included from Curses.c:347:
CursesBoot.c: In function `boot_Curses':
CursesBoot.c:459: `A_INVIS' undeclared (first use in this function)
CursesBoot.c:459: (Each undeclared identifier is reported only once
CursesBoot.c:459: for each function it appears in.)
CursesBoot.c:459: `A_PROTECT' undeclared (first use in this function)
CursesBoot.c:459: `A_ALTCHARSET' undeclared (first use in this function)
CursesBoot.c:459: `A_COLOR' undeclared (first use in this function)
*** Error exit code 1
Stop.
Anyone had any success with this before or have any suggestions?
Regards
Phil.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2002 08:24 AM
тАО02-19-2002 08:24 AM
Re: Compiling Curses.pm on HP-UX 11.00
I have not work whit perlmenu but:
A_ALTCHARSET and other refers to attibutes of chars, and should be defined in a header file (.h)
do:
cd /usr/include
find . -type f | xargs grep A_ALCHARSET
See also on perl directories.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2002 08:29 AM
тАО02-19-2002 08:29 AM
Re: Compiling Curses.pm on HP-UX 11.00
I seldom use gcc though it is a solid compiler but any gcc build that uses curses depends upon the ncurses package rather than standard curses. You need to download and build the ncurses library from any of the HP-UX Porting Centres.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2002 03:31 AM - edited тАО11-09-2011 12:36 AM
тАО02-27-2002 03:31 AM - edited тАО11-09-2011 12:36 AM
Re: Compiling Curses.pm on HP-UX 11.00
gcc does not *need* ncurses. IMHO ncurses is a hell to maintain on HP-UX.
The easy solution is probably to just switch to xcurses or curses_color, standard shipped with hpux. I don't have any gcc built perls around (nor do I want to compared to the HPc build perl performance.
I just tried to compile Curses-1.06 from ftp://download.xs4all.nl/pub/mirror/CPAN/modules/by-module/Curses/Curses-1.06.tar.gz with the HPc compiler on perl-5.6.1 (HPc built), and got the same errors.
Change
'#include <curses.h>'
to
'#include <curses_colr.h>'
in c-config.h and your problems will disappear :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2011 02:58 AM
тАО11-08-2011 02:58 AM
Re: Compiling Curses.pm on HP-UX 11.00
I do not understand the differenz between these two include statements, howevver I got it to compile with
a change in line 116 from Makefile.PL
116 'hpux' => [ '-I/usr/local/include/ncurses' => '-lcurses -ltermcap' ],
BTW this is same question as in thread 4161656 and thread 3902305
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2011 07:06 AM
тАО11-08-2011 07:06 AM
Re: Compiling Curses.pm on HP-UX 11.00
These two #include statements originally had real content that got lost in the conversion to this forum format. I agree that that posts now makes close to no sense at all.
- Tags:
- bad html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2011 09:41 PM
тАО11-08-2011 09:41 PM
Re: Compiling Curses.pm on HP-UX 11.00
>These two #include statements originally had real content that got lost in the conversion to this forum format.
By looking at the raw html, you can guess what the was in the <>. If you are the author, you can edit the post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2011 12:38 AM
тАО11-09-2011 12:38 AM
Re: Compiling Curses.pm on HP-UX 11.00
I now have huge black unused areas and wrapped columns