symbol Perl_get_sv
Happy Thanksgiving all! Just installed the Tk package. I got an error: ld.so.1: /bin/perl: fatal: relocation error: file /mz/hd/liuyi/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/Tk/Event/Event.so : symbol Perl_get_sv: referenced symbol not found Killed Anyone can tell me what's that? How to fix it? Thanks, Ying -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: symbol Perl_get_sv
Thanks! I am working on this, lots of new things (include what's meaning of 'You Are So Toast'). Actually, I follow the direction by 'perl -V', I got: Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-R /usr/perl5/5.00503/sun4-solaris/CORE' cccdlflags='-KPIC', lddlflags='-G' then %cd /usr/perl5/5.00503/sun4-solaris/CORE %nm libperl.so | grep perl_get_sv 000403e0 T perl_get_sv So, I use dynamic linking perl. I am wondering if it's because it searched the capatial letter 'P' not the little letter 'perl_get_sv'. Don't understand why dynamic linking version of Tk can't find it. Not try 'c' and 'd' yet. Thanks a lot, Ying On Tue, 25 Nov 2003, drieux wrote: > > On Tuesday, Nov 25, 2003, at 19:38 US/Pacific, R. Joseph Newton wrote: > [..] > > > > d. Load Windows as the OS, install ActivePerl, and start working on > > Perl > > instead of futzing with the underlying system. > > > > Joseph > > are you going somewhere with this? > > Or is the problem that you do not understand > how dynamic loadable libraries work and hope > that someone else will take care of the issue > for you??? > > > ciao > drieux > > --- > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: symbol Perl_get_sv
Jose, After I ran, it shows me: > %ldd /mz/hd/liuyi/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/Tk/Event/Event.so libm.so.1 => /usr/lib/libm.so.1 libc.so.1 => /usr/lib/libc.so.1 libdl.so.1 =>/usr/lib/libdl.so.1 /usr/platform/SUNW,Sun-Blade-100/lib/libc_psr.so.1 > Or > %ldd -s > /mz/hd/liuyi/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/Tk/Event/Event.so > So, those are the shared objects that would be loaded. And then, what am I supposed to do? Thanks, Ying > > > %man ldd > Reformatting page. Please Wait... done > > User Commands ldd(1) > > NAME > ldd - list dynamic dependencies of executable files or > shared objects > > SYNOPSIS > ldd [ -d | -r ] [ -c ] [ -e envar ] [ -f ] [ -i ] [ -L > ] [ -l ] [ -s ] [ -u ] [ -v ] filename ... > > DESCRIPTION > The ldd utility lists the dynamic dependencies of executable > files or shared objects. ldd uses the runtime linker, > ld.so.1, to generate the diagnostics, since it takes the > object being inspected and prepares it as it would in a run- > ning process. By default, ldd triggers the loading of any > lazy dependencies. > > If filename is an executable file, ldd lists the path names > of all shared objects that would be loaded when filename is > loaded. > > If filename is a shared object, ldd lists the path names of > all shared objects that would be loaded when filename is > loaded. ldd expects shared objects to have execute permis- > sion. If this is not the case, ldd will issue a warning > before attempting to process the file. > > ldd processes its input one file at a time. For each input > file, ldd performs one of the following: > > o Lists the object dependencies if they exist. > > o Succeeds quietly if dependencies do not exist. > > o Prints an error message if processing fails. > > OPTIONS > ldd can also check the compatibility of filename with the > shared objects it uses. With each of the following options, > ldd prints warnings for any unresolved symbol references > --More--(13%) > > <\my_paste> > > HTH, > > José. > > > -Original Message- > From: Ying Liu [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 26, 2003 5:16 AM > To: drieux > Cc: begin begin > Subject: Re: symbol Perl_get_sv > > > Thanks! > > I am working on this, lots of new things (include what's meaning of 'You Are So > Toast'). > > Actually, I follow the direction by 'perl -V', I got: > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-R > /usr/perl5/5.00503/sun4-solaris/CORE' > cccdlflags='-KPIC', lddlflags='-G' > > then > %cd /usr/perl5/5.00503/sun4-solaris/CORE > %nm libperl.so | grep perl_get_sv > 000403e0 T perl_get_sv > > So, I use dynamic linking perl. I am wondering if it's because it searched the > capatial letter 'P' not the little letter 'perl_get_sv'. Don't understand why > dynamic linking version of Tk can't find it. > > Not try 'c' and 'd' yet. > > Thanks a lot, > Ying > > On Tue, 25 Nov 2003, drieux wrote: > > > > > On Tuesday, Nov 25, 2003, at 19:38 US/Pacific, R. Joseph Newton wrote: > > [..] > > > > > > d. Load Windows as the OS, install ActivePerl, and start working on > > > Perl instead of futzing with the underlying system. > > > > > > Joseph > > > > are you going somewhere with this? > > > > Or is the problem that you do not understand > > how dynamic loadable libraries work and hope > > that someone else will take care of the issue > > for you??? > > > > > > ciao > > drieux > > > > --- > > > > > > -- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > DISCLAIMER > > "This e-mail and any attachment thereto may contain information which is > confidential and/or protected by intellectual property rights and are intended for > the sole use of the recipient(s) named above. > Any use of the information contained herein (including, but not limited to, total or > partial reproduction, communication or distribution in any form) by other persons > than the designated recipient(s) is prohibited. > If you have received this e-mail in error, please notify the sender either by > telephone or by e-mail and delete the material from any computer". > > Thank you for your cooperation. > > For further information about Proximus mobile phone services please see our website > at http://www.proximus.be or refer to any Proximus agent. > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: symbol Perl_get_sv
Thanks! I see the conflict here: > When for instance, you type > %perl -v This is perl, version 5.005_03 built for sun4-solaris > %which perl /bin/perl /usr/local/bin/perl -v This is perl, v5.8.0 built for sun4-solaris Now, I see where the problem is. Thanks, Ying -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: symbol Perl_get_sv
> Stylish! > > It appears that you have a multi-perl environment. > This will allow you to work in both the 5.8 world > and the 5.5 world - although I would still recommend > that you chat with your SysAdmin about upgrading > the /usr/perl5/bin/perl to the 5.6.1 version. > > ciao > drieux > Thanks! Fran is our SysAdmin, he can help me out of it. I am going to install that on my machine. Ying -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
What's the matter about the install?
I don't have the root permission and I can't write to the root folder. I set the "PREFIX=/mz/hd/liuyi", and I changed the following direction: INSTALLPRIVLIB INSTALLARCHLIB INSTALLSITELIB INSTALLSITEARCH INSTALLBIN INSTALLSCRIPT INSTALLMAN1DIR INSTALLMAN3DIR such as: INSTALLPRIVLIB=$(PREFIX)/perl5/5.00503 But when I run(t.pl): #!/bin/perl use lib "/mz/hd/liuyi/perl5/site_perl/5.005"; use Heap "/mz/hd/liuyi/perl5/site_perl/5.005"; It told me: "/mz/hd/liuyi/perl5/site_perl/5.005" is not exported by the Heap module at t.pl line 3 Can't continue after import errors at t.pl line 3 BEGIN failed--compilation aborted at t.pl line 3. What's the matter with my install? During install, it skiped lots of steps. Is it important? How can I install it under my folder? Thank you very much! Ying -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Why "Can't locate auto/Heap/add.al"?
I finally install the Heap module. But I run the example of the CPAN: foreach $i ( 1..100 ) { $elem = NumElem($i); $heap->add($elem); } It told me: Can't locate auto/Heap/add.al in @INC I search this directory but didn't find the add.al, is it caused by the wrong installing or something else? Thanks, Ying -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
how to install Heap module?
I download the Heap module to: /mz/hd/liuyi/local/Heap-0.50 I don't have the supteruser permission, so after I decompressed the pagkage, I run the following command at the above folder: %perl Makefile.PL PREFIX=/mz/hd/liuyi/local/Heap-0.50 %make $make test So far, it's ok. But after I run '%make install', it told me: Warning: You do not have permissions to install into usr/perl5/site_perl/5.005/sun4-solaris at /usr/perl5/5.00503/ExtUtils/Install.pm line 61. mkdir /usr/perl5/5.00503/man: Permission denied at /usr/perl5/5.00503/ExtUtils/Install.pm line 57 make: *** [pure_site_install] Error 2 I alread changed the location to install the module but still failed. What's the matter with it? Thank you for your help! In fact, I want to intall the Graph module but it needs the Heap module. If I can intall the Heap successfully, how can I let the Graph know it? Thanks a lot! Ying -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Installing Heap Module
When I install Heap module, I don't have the superuser permission and set the install location by run: %perl Makefile.PL PREFIX=/mz/hd/liuyi/local/Heap-0.50 %make %make test The above three commands run OK, but after I run '%make install', it told me: Warning: You do not have permissions to install into /usr/perl5/site_perl/5.005/sun4-solaris at /usr/perl5/5.00503/ExtUtils/Install.pm line 61. mkdir /usr/perl5/5.00503/man: Permission denied at /usr/perl5/5.00503/ExtUtils/Install.pm line 57 make: *** [pure_site_install] Error 2 Is there someone can help me? What's the matter at the last step? Thank you! Ying -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Installing Heap Module
Thank you Janek! In fact, I can't write to any folders except my own. The admin won't do it for me. So, I changed the Makefile. I changed: INSTALLPRIVLIB INSTALLARCHLIB INSTALLSITELIB INSTALLSITEARCH INSTALLBIN INSTALLSCRIPT INSTALLMAN1DIR INSTALLMAN3DIR After I changed all those folders, I can install the Heap module succssfully. But when I use it by: use Heap "/mz/hd/liuyi/local/Heap-0.50" It said: Can't locate Heap/Fibonacci.pm in @INC (@INC contains: /usr/perl5/5.00503/sun4-solaris /usr/perl5/5.00503 /usr/perl5/site_perl/5.005/sun4-solaris /usr/perl5/site_perl/5.005 .) at Heap.pm line 24. BEGIN failed--compilation aborted at Heap.pm line 24. BEGIN failed--compilation aborted at t.pl line 3. So, how to change the @INC or let Perl know the position? Thank you very much! Ying On Tue, 3 Jun 2003, Janek Schleicher wrote: > Ying Liu wrote at Fri, 30 May 2003 10:48:06 -0500: > > > When I install Heap module, I don't have the superuser permission and set > > the install location by run: > > %perl Makefile.PL PREFIX=/mz/hd/liuyi/local/Heap-0.50 > > %make > > %make test > > > > The above three commands run OK, but after I run '%make install', it told > > me: > > Warning: You do not have permissions to install into > > /usr/perl5/site_perl/5.005/sun4-solaris at > > /usr/perl5/5.00503/ExtUtils/Install.pm line 61. > > mkdir /usr/perl5/5.00503/man: Permission denied at > > /usr/perl5/5.00503/ExtUtils/Install.pm line 57 > > make: *** [pure_site_install] Error 2 > > > > Is there someone can help me? What's the matter at the last step? > > Your admin. > > You need usually root privileges to write to that directories. > > > Greetings, > Janek > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Why "Can't locate auto/Heap/add.al"?
Thank you very much Janek! I found these bugs too and wrote to [EMAIL PROTECTED] but don't know why it is not sent out. And I wrote to the writer but no response :( In fact, it should use to specify it: @ISA = qw(Heap::Fibonacci); The Heap package is a front end class and use Heap::Fibonacci in disguise. Thank you once again! Ying >Ying Liu wrote at Thu, 05 Jun 2003 20:20:02 -0500: > >> I finally install the Heap module. But I run the example of the CPAN: >> foreach $i ( 1..100 ) >>{ >>$elem = NumElem($i); >>$heap->add($elem); >>} >>} >> It told me: >> Can't locate auto/Heap/add.al in @INC >> >> I search this directory but didn't find the add.al, is it caused by the >> wrong installing or something else? > >There seems to be two bugs in the documentation. >First, you have to use a specific Heap-Class for the constructor >(e.g. Heap::Fibonacci), >Second, there is no extract_maximum but an extract_minimum function in the >heap module. > >Together, the following snippet runs: > > use Heap::Fibonacci; > > my $heap = Heap::Fibonacci->new; > > my $elem; > > use Heap::Elem::Num(NumElem); > > foreach $i ( 1..100 ) { > $elem = NumElem( $i ); > $heap->add( $elem ); > } > > while( defined( $elem = $heap->extract_minimum ) ) { > print "Smallest is ", $elem->val, "\n"; > } > > >I'd rather suggest to contact the author of this module, >as it seems really to be a bug that has to be fixed. > > >Greetings, >Janek > >-- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Why "Can't locate auto/Heap/add.al"?
On Thu, 5 Jun 2003, Ying Liu wrote: > I finally install the Heap module. But I run the example of the CPAN: > foreach $i ( 1..100 ) >{ >$elem = NumElem($i); >$heap->add($elem); >} > > It told me: > Can't locate auto/Heap/add.al in @INC In Heap-0.50, when use it to new a heap, actually, it will use the Heap::Fibonacci to create a new one. So, I use: "$heap = Heap::Fibonacci->new;" instead of "$heap = Heap->new;". It's OK. And then it said "Can't locate auto/Heap/Fibonacci/extract_maximum.al, it's because there is no 'extract_maximu' subrutine in this package, so I use: extract_minimum instead, now it runs no problem. Work in the morning is much better than work at night :) Have a good one! Ying -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
install Tk800.025 no 'ClientWin.o' file
Hi all, I am trying to install the Tk800.025 package, it told me: ar: ClientWin.o: No such file or directory make[1]: *** [libpTk.a] Error 1 make[1]: Leaving directory `/mz/hd/liuyi/local/Tk800.025/pTk' make: *** [pTk/libpTk.a] Error 2 I use gcc and it said 'unrecognized option'-KPIC'. What's that mean? Anyone can help? Thanks, Ying -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Graph package internal method _edges()
Hello, I can't use a method called edges($u, $v) in the Graph::Base package. It will use an internal method _edges defined in Graph::Directed package. Even I copy this _edges() from Directed package to the Base package, I still can't use it, The program freezed when I use '@e = $G->edges;'. I don't understand why. It's from Graph-0.20101 package. Thanks, Ying -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
remove the stop words
Hi, Is there a good method to do this? I need to remove the stop words from the comment field of every record. There are about 20,000 records. The comments look like this: Yersinia pestis strain Nepal (aka CDC 516 or 369 isolated from human) 16S-23S in tergenic region amplified with 16UNIX and 23UNII primers. Sequencing primers were UNI1 and UNI2 5/25/99^^ I should remove 'and' 'in' 'with' 'The', etc. I have set up the stop words array. Is there a efficient way to do this? Thanks, Ying Liu - Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup