|
Problems with installation (cygwin) |
Posted by Diego J. Fdez on Jun-05-2006 23:28 |
|
Hi!
i want to use CharDirector with perl. But my perl version is from cygwin so it can't find libs.
I copied both Windows and Linux libs to /usr/lib/perl5/vendor_perl/5.8
This is the error i get:
$ ./simplepie.pl
Can't locate loadable object for module perlchartdir58i64mt in @INC (@INC contains: /usr/lib/perl5/5.8/cygwin /usr/lib/perl5/5.8 /usr/lib/perl5/site_perl/5.8/cygwin /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/site_perl/5.8/cygwin /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_perl/5.8/cygwin /usr/lib/perl5/vendor_perl/5.8 /usr/lib/perl5/vendor_perl/5.8/cygwin /usr/lib/perl5/vendor_perl/5.8 .) at /usr/lib/perl5/5.8/perlchartdir.pm line 9
...propagated at /usr/lib/perl5/5.8/perlchartdir.pm line 20.
Compilation failed in require at ./simplepie.pl line 2.
BEGIN failed--compilation aborted at ./simplepie.pl line 2.
This is my "perl -V"
$ perl -V
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
Platform:
osname=cygwin, osvers=1.5.18(0.13242), archname=cygwin-thread-multi-64int
uname='cygwin_nt-5.1 inspiron 1.5.18(0.13242) 2005-07-02 20:30 i686 unknown unknown cygwin '
config_args='-de -Dmksymlinks -Duse64bitint -Dusethreads -Uusemymalloc -Doptimize=-O3 -Dman3ext=3pm -Dusesitecustomize'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -I/usr/local/include',
optimize='-O3',
cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='ld2', ldflags =' -s -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lgdbm -ldb -lcrypt -lgdbm_compat
perllibs=-lcrypt -lgdbm_compat
libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s'
cccdlflags=' ', lddlflags=' -s -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT
USE_LARGE_FILES USE_SITECUSTOMIZE
PERL_IMPLICIT_CONTEXT
Locally applied patches:
SPRINTF0 - fixes for sprintf formatting issues - CVE-2005-3962
Built under cygwin
Compiled at Dec 30 2005 02:44:25
%ENV:
CYGWIN=""
@INC:
/usr/lib/perl5/5.8/cygwin
/usr/lib/perl5/5.8
/usr/lib/perl5/site_perl/5.8/cygwin
/usr/lib/perl5/site_perl/5.8
/usr/lib/perl5/site_perl/5.8/cygwin
/usr/lib/perl5/site_perl/5.8
/usr/lib/perl5/vendor_perl/5.8/cygwin
/usr/lib/perl5/vendor_perl/5.8
/usr/lib/perl5/vendor_perl/5.8/cygwin
/usr/lib/perl5/vendor_perl/5.8
.
Thx
Diego |
Re: Problems with installation (cygwin) |
Posted by Peter Kwan on Jun-07-2006 03:21 |
|
Hi Diego,
Unluckily, I have never used cygwin myself and am not familiar with cygwin. I do not even know if cygwin is expecting a shared object (.so) or a dll (.dll).
From Google research, I think cygwin is not binary compatible with Linux. For Windows, the windows version of ChartDirector for Perl does not have perlchartdir58i64mt at all, as it is uncommon on Windows to find a Perl with such configuration (your Perl is multi-thread 64-bit integer Perl).
I guess the easiest way to get around may be is to install a Windows version of Perl on your machine and use it to invoke ChartDirector for Perl on Windows.
Regards
Peter Kwan |
Re: Problems with installation (cygwin) |
Posted by Jeff on Feb-14-2014 06:06 |
|
Hello Peter,
Is there any chance this will get fixed? I am running Strawberry Perl now since ActiveState
is now charging for support and new module installation. I get the same error above when
installing the 32 bit version of Strawberry Perl 5.18.
Thanks,
Jeff |
Re: Problems with installation (cygwin) |
Posted by Peter Kwan on Feb-15-2014 00:40 |
|
Hi Jeff,
The error in this thread is related to "cygwin". "cygwin" is an environment to run Linux like
executable on Windows. ChartDirector for Perl on Windows is a native Windows
application (ChartDirector on Windows uses Windows DLL, not Linux shared objects), and
so would not work in "cygwin".
As far as I know, ChartDirector on Windows works normally for Perl built for Windows,
include Strawberry Perl.
I have just tried to download Strawberry Perl and install it on Windows 7. Then I
downloaded ChartDirector for Perl and unzip it to c:\\ChartDirector. Then I open a
command shell, and enter:
cd \\ChartDirector\\perldemo
copy ..\\lib .
perl simplebar.pl
(The "copy ..\\lib ." is one of the ways to install ChartDirector - please refer to the
Installation section of the ChartDirector documentation.)
The above runs normally without error, and a chart "simplebar.png" is created.
If you are using Strawberry Perl and it does not work, would you mind to inform me of the
error message? The error in this thread can only occur in "cygwin" (you can see it refers
to Linux based path like "/usr/lib/perl5/5.8/cygwin"), but Strawberry Perl is a native
Windows application. Is it possible that you have not installed ChartDirector as according
to the Installation section of the ChartDirector documentation? (Simply copy the
ChartDirector library to any directory in your Perl search path.)
Regards
Peter Kwan |
Re: Problems with installation (cygwin) |
Posted by Jeff on Jun-04-2014 05:12 |
|
Hi Peter,
Your post pointed me in the right direction, thank you. We recently upgraded from
ActiveState 5.8 to Strawberry 5.16 and had the old version of ChartDirector. Downloading
the latest version which includes the perlchartdir516* files seemed to get the program
working again.
The problem we are having now is that our licenses we purchased do not seem to be
working anymore because we are getting the "ChartDirector (unregistered)" watermark at
the bottom of our graphs, even though I am using the same license file as before. Can you
help with that?
Thanks,
Jeff |
Re: Problems with installation (cygwin) |
Posted by Jeff on Jun-04-2014 05:35 |
|
Actually you can ignore the last part of my last message. I figured out what the issue was.
Thanks again for a great product! |
|