Bug 9181 - Encode::Detect::Detector - Required, but not avail for Solaris.
: Encode::Detect::Detector - Required, but not avail for Solaris.
Status: RESOLVED WORKSFORME
Product: Logitech Media Server
Classification: Unclassified
Component: Platform Support
: 7.4.0
: PC Other
: P5 normal (vote)
: 8.0.0
Assigned To: Andy Grundman
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-08-16 10:06 UTC by Bret
Modified: 2012-03-20 08:13 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bret 2008-08-16 10:06:44 UTC
Encode::Detect::Detector 

This perl module seems to be unmaintained and uncompilable on Solaris platforms. 

Why is it now required? Can you please make it optional? Can you please fix the module code so it works on Solaris - I'm sure it's uncompilable on other platforms too.

If Slimdevices insists on making this module required, I don;t see how you can advertise runs on Unix/Solaris etc.. anymore make it a Linux based product only. 
I like many technical people run Slimserver on Solaris based hosts - ZFS for 1TB sized MP3 collections is the only way to go.

Please fix this so I can get the latest version running on Solaris.

Regards,

Bret
Comment 1 KDF 2008-08-16 23:20:30 UTC
Please do not preset targets, severities or priorities.  These will be set by QA during review/bug meetings.
Comment 2 Chris Owens 2008-08-18 09:40:48 UTC
One of our devs notes that the latest version of that module is reported to pass on perl 5.10 but fails 5.8, if that's an option for you.  Well check this out for the right solution, though.
Comment 3 Bret 2008-09-07 09:26:19 UTC
No Encode::Detect is still unusable with Perl 5.10

I've now compiled the latest Perl 5.10 release with Sun cc. 

[root@fugly] # /usr/local/bin/perl -MCPAN -e 'install Encode::Detect'
CPAN: Storable loaded ok (v2.18)
Going to read /root/.cpan/Metadata
  Database was generated on Thu, 04 Sep 2008 04:02:50 GMT
CPAN: YAML loaded ok (v0.66)
Going to read /root/.cpan/build/
............................................................................DONE
Found 15 old builds, restored the state of 6
Running install for module 'Encode::Detect'
Running Build for J/JG/JGMYERS/Encode-Detect-1.01.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/Encode-Detect-1.01-3TWyhi
Could not make: Unknown error
Running Build test
  Can't test without successful make
Running Build install
  Make had returned bad status, install seems impossible

=========

[root@fugly] # ./Build
/opt/SUNWspro/bin/cc -Isrc -I/usr/local/lib/perl5/5.10.0/i86pc-solaris-thread-multi-ld/CORE -KPIC -x c++ -Iinclude -c -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -o src/LangBulgarianModel.o src/LangBulgarianModel.cpp
cc: Warning: illegal option -xc++
cc: No input file specified, no output generated
error building src/LangBulgarianModel.o from 'src/LangBulgarianModel.cpp' at /usr/local/lib/perl5/5.10.0/ExtUtils/CBuilder/Base.pm line 109.


Perhaps I should make my life easier and just recompile Perl all modules and mysql with gcc. 


It seems that the latest nightly contains even more Perl modules that have poor cross platform compilability.

For example;

Class::XSAccessor::Array

Working through all the other new requirments now. 

Comment 4 Andy Grundman 2008-10-29 08:00:49 UTC
Did you get anywhere with gcc?
Comment 5 Andy Grundman 2009-06-09 15:54:50 UTC
E::D::D is optional now, is this still an issue?
Comment 6 Andy Grundman 2009-07-29 14:58:43 UTC
Moving 7.4 bugs to 8.0.
Comment 7 Michael Herger 2012-03-20 08:13:11 UTC
No longer an issue.