ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Perl ARM
Posted by Jon on Oct-16-2018 01:16
Any chance I could get .SO files for ARM so I could use with Perl?  I don't need aarch64 at the moment, just plain old 32-bit arm for my raspberry pi.

  Re: Perl ARM
Posted by Peter Kwan on Oct-16-2018 23:43
Hi Jon,

Would you mind to clarify which Perl version and type you are using? There is already an ARM edition of ChartDirector for Perl that works with "32-bit Perl 5.14 with 64-bit integer and multi-threading support":

http://www.advsofteng.com/chartdir_perl_linux_armhf.tar.gz

Like many open source languages, Perl is not backwards binary compatible.  Even for the same Perl version, there are multiple build options that are binary incompatible with each others. Our ChartDirector for Perl for Linux (Intel) contains bindings for 48 different Perl build types to support all commonly used Perl versions and build options combinations.

For ARM, we can only build for the Perl you actually use. If you are not sure which type of Perl you are using, please enter "perl -V" and inform me of the result.

Regards
Peter Kwan

  Re: Perl ARM
Posted by Jon on Oct-17-2018 00:32
This is perl 5, version 24, subversion 1 (v5.24.1) built for arm-linux-gnueabihf-thread-multi-64int
(with 81 registered patches, see perl -V for more detail)

Copyright 1987-2017, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

  Re: Perl ARM
Posted by Peter Kwan on Oct-17-2018 04:18
Hi Jon,

This is exactly the information we need. I will ask our developer to compile an ARM release suitable for your Perl architecture.

Regards
Peter Kwan

  Re: Perl ARM
Posted by Peter Kwan on Oct-17-2018 17:09
Hi Jon,

I have just uploaded a new built to our web server. It should now work with Perl 5.24.0 in the armhf (ARM hardware floating point) CPU architecture, and with 64-bit integer and multi-threading support.

http://www.advsofteng.com/chartdir_perl_linux_armhf.tar.gz

Please kindly let me know if the above works in your case.

Regards
Peter Kwan

  Re: Perl ARM
Posted by Jon on Oct-18-2018 01:36
mostly works, but labels are not working at all. Doesn't print anything.

  Re: Perl ARM
Posted by Jon on Oct-18-2018 01:52
Attachments:
Example attached
kodak_decode_time_3.png

  Re: Perl ARM
Posted by Peter Kwan on Oct-18-2018 14:36
Hi Jon,

This is usually due to the fonts. Have you copied the ChartDirector shared objects (in "ChartDirector/lib") to your own directory or to a directory in the Perl module search path?
Please make sure you also copied the "fonts" subdirectory, which should be in the same directory as "libchartdir.so", otherwise ChartDirector cannot find the fonts.

In the installation section of the ChartDirector documentation, we suggest to "copy *everything* inside "ChartDirector/lib", including all files and the fonts subdirectory". See:

https://www.advsofteng.com/doc/cdperl.htm#install.htm

Regards
Peter Kwan

  Re: Perl ARM
Posted by Jon on Oct-18-2018 23:04
yeah, I copied everything

  Re: Perl ARM
Posted by Peter Kwan on Oct-19-2018 00:40
Hi Jon,

I assume you mean you have copied "everything", including the fonts subdirectory, and it still does not display any text. In this case, please create a perl script with the following lines:

#!/usr/bin/perl

use perlchartdir;
print perlchartdir::libgTTFTest();

Then run the script from the command line. It should print out the result of the font loading test. Please let me know what is the result.

Regards
Peter Kwan