Re: [concordance-devel] Perl binding test problems
Phil Dibowitz wrote: > On Wed, Apr 23, 2008 at 01:40:10PM -0400, Douglas E. Warner wrote: >> I'm trying to get concordance/libconcord 0.20 packaged for Fedora and am >> having some problems getting the perl bindings tests running; I'm getting >> the >> following error (after compiling libconcord and the bindings): > > I suspect you haven't actually installed libconcord, so the make-test for the > perl bindings doesn't work. But that's a guess since I don't get the same > problem: Doug, did you get this sorted out? -- Phil Dibowitz [EMAIL PROTECTED] Open Source software and tech docsInsanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ "Never write it in C if you can do it in 'awk'; Never do it in 'awk' if 'sed' can handle it; Never use 'sed' when 'tr' can do the job; Never invoke 'tr' when 'cat' is sufficient; Avoid using 'cat' whenever possible" -- Taylor's Laws of Programming signature.asc Description: OpenPGP digital signature - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Perl binding test problems
On Wed, April 23, 2008 2:56 pm, Phil Dibowitz wrote: > On Wed, Apr 23, 2008 at 01:40:10PM -0400, Douglas E. Warner wrote: >> I'm trying to get concordance/libconcord 0.20 packaged for Fedora >> and am having some problems getting the perl bindings tests running; >> I'm getting the following error (after compiling libconcord and the >> bindings): > > I suspect you haven't actually installed libconcord, so the make-test > for the perl bindings doesn't work. Ah. Perhaps setting LD_LIBRARY_PATH to something appropriate before running "make test" might help the situation within the package build script. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Perl binding test problems
On Wed, Apr 23, 2008 at 01:40:10PM -0400, Douglas E. Warner wrote: > I'm trying to get concordance/libconcord 0.20 packaged for Fedora and am > having some problems getting the perl bindings tests running; I'm getting the > following error (after compiling libconcord and the bindings): I suspect you haven't actually installed libconcord, so the make-test for the perl bindings doesn't work. But that's a guess since I don't get the same problem: [EMAIL PROTECTED] perl]$ swig -perl5 concord.i [EMAIL PROTECTED] perl]$ perl Makefile.PL Writing Makefile for concord [EMAIL PROTECTED] perl]$ make cp concord.pm blib/lib/concord.pm cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl/5.8/CORE" concord_wrap.c Running Mkbootstrap for concord () chmod 644 concord.bs rm -f blib/arch/auto/concord/concord.so cc -shared -L/usr/local/lib concord_wrap.o -o blib/arch/auto/concord/concord.so \ -lconcord\ chmod 755 blib/arch/auto/concord/concord.so cp concord.bs blib/arch/auto/concord/concord.bs chmod 644 blib/arch/auto/concord/concord.bs [EMAIL PROTECTED] perl]$ make test PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl Failed to init concord [EMAIL PROTECTED] perl]$ -- Phil Dibowitz [EMAIL PROTECTED] Open Source software and tech docsInsanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ "Never write it in C if you can do it in 'awk'; Never do it in 'awk' if 'sed' can handle it; Never use 'sed' when 'tr' can do the job; Never invoke 'tr' when 'cat' is sufficient; Avoid using 'cat' whenever possible" -- Taylor's Laws of Programming signature.asc Description: Digital signature - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
[concordance-devel] Perl binding test problems
I'm trying to get concordance/libconcord 0.20 packaged for Fedora and am having some problems getting the perl bindings tests running; I'm getting the following error (after compiling libconcord and the bindings): + make test PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl Can't load 'blib/arch/auto/concord/concord.so' for module concord: blib/arch/auto/concord/concord.so: undefined symbol: get_flash_part_num at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm line 230. at blib/lib/concord.pm line 11 Compilation failed in require at test.pl line 38. BEGIN failed--compilation aborted at test.pl line 38. make: *** [test_dynamic] Error 2 Any ideas what might be happening? -Doug signature.asc Description: This is a digitally signed message part. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel