SPUG:Curses add on problem

Dahlke, Doug DFDahlke at shieldsbag.com
Mon May 12 10:13:31 CDT 2003


Yes Jay, I tried that.. Unfortunately there is a bug from the Sun
Solaris library that stayed with SCO and a library call gets added twice
without protection, so the compile doesn't complete.  Something about
bool being defined twice, as it is in curses.h plus another library.  I
followed the README help and the library compiles ok, but when I try to
run the demo, I get the old can't find the loadable library from Perl's
Autoloader routine.  I've seen this before and can't remember what I did
to fix it.  I was hoping someone in Seattle's group could remember it.
Thanks for the reply.

Doug Dahlke

-----Original Message-----
From: Jay Scherrer [mailto:jay at scherrer.com] 
Sent: Friday, May 02, 2003 7:47 PM
To: Dahlke, Doug
Subject: Re: SPUG:Curses add on problem


Are you using the CPAN installer configured to follow installations? I
don't know to much about SCO (especially after their IBM debunkle). But
if yoy use the CPAN shell to do the instalation, It makes a good
install.
Try: $ perl -MCPAN -e shell;

Jay
On Thursday 01 May 2003 05:08 pm, Dahlke, Doug wrote:
> Help please,
>
>   I'm new to the list.  I've been using Perl for 8 years, but at my 
> age I tend to forget a thing or two now and then.  I still develop for

> perl under Unix but have a littke TkPerl under my belt.  The Cdk or 
> Curses Development Kit gives Curses pretty much all the toys that a 
> regular X or M$ window has.  At least it is supposed to have list 
> boxes, etc.  I installed the C version of the cdk library. Believe me 
> the c-code is ugly to test this.. I tried, but being on SCO Unixware 
> 7.1 makes compiling code a bit of a pain.  I then followed the Solaris

> notes for adding the Cdk package to perl.. I did the standard packing 
> install from CPAN and in trying to run the fulldemo/cdktest I get the 
> following error message.
>
> Can't load 
> '/usr/local/lib/perl5/site_perl/5.005/i386-svr5/auto/Cdk/Cdk.so' for 
> module Cdk: dynamic linker: /usr/bin/perl: relocation error: symbol 
> not found: acs32map; referenced from: 
> /usr/local/lib/perl5/site_perl/5.005/i386-svr5/auto/Cd
> k/Cdk.so at /usr/local/lib/perl5/5.00502/i386-svr5/DynaLoader.pm line 
> 168.
>
>  at ./cdkdemo line 11
> BEGIN failed--compilation aborted at ./cdkdemo line 11.
>
> I've seen this before and don't remember how I fixed it.  I do 
> remember I was working on a module at the time.  Has anybody out there

> ran into this?  Here is the info on my perl.
>
> Summary of my perl5 (5.0 patchlevel 5 subversion 2) configuration:
>   Platform:
>     osname=svr5, osvers=uw7, archname=i386-svr5
>     uname='unixware scoot 5 7 i386 x86at sco unix_svr5 '
>     hint=recommended, useposix=true, d_sigaction=define
>     usethreads=undef useperlio=undef d_sfio=undef
>   Compiler:
>     cc='/bin/cc', optimize='-g', gccversion=
>     cppflags='-I/usr/include -I/usr/ucbinclude -I/usr/local/include'
>     ccflags ='-I/usr/include -I/usr/ucbinclude -I/usr/local/include'
>     stdchar='unsigned char', d_stdstdio=define, usevfork=false
>     intsize=4, longsize=4, ptrsize=4, doublesize=8
>     d_longlong=define, longlongsize=8, d_longdbl=define,
longdblsize=12
>     alignbytes=4, usemymalloc=y, prototype=define
>   Linker and Libraries:
>     ld='/bin/cc', ldflags ='-L/usr/ccs/lib -L/usr/ucblib 
> -L/usr/local/lib'
>     libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib /usr/ucblib
>     libs=-lsocket -lnsl -ldbm -ldl -lld -lm -lc -lcrypt -lucb -lx
>     libc=, so=so, useshrplib=true, libperl=libperl.so.5.52
>   Dynamic Linking:
>     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
>     cccdlflags='-KPIC', lddlflags='-G -L/usr/ccs/lib -L/usr/ucblib 
> -L/usr/local/ lib'
>
>
> Characteristics of this binary (from libperl):
>   Built under svr5
>   Compiled at Nov 30 1998 14:15:54
>   %ENV:
>     PERL_READLINE_NOWARN=""
>   @INC:
>     /usr/local/lib/perl5/5.00502/i386-svr5
>     /usr/local/lib/perl5/5.00502
>     /usr/local/lib/perl5/site_perl/5.005/i386-svr5
>     /usr/local/lib/perl5/site_perl/5.005
>     .
>
> Tim told me there were a bunch of perlers over there and he was sure 
> one of you could help.  I've also looked at Curses::Forms, but this 
> looks a bit more robust in toys you can use.. Any help would be 
> greatly appreciated.  If anyone needs DBI help, I'd be glad to help 
> anytime.
>
> Thanks,
> Doug Dahlke
> Shields Bag & Printing
> Yakima _____________________________________________________________
> Seattle Perl Users Group Mailing List
> POST TO: spug-list at mail.pm.org
> ACCOUNT CONFIG: http://mail.pm.org/mailman/listinfo/spug-list
> MEETINGS: 3rd Tuesdays, U-District, Seattle WA
> WEB PAGE: www.seattleperl.org




More information about the spug-list mailing list