Bug 6143 - Add GD to build-perl-modules.pl
: Add GD to build-perl-modules.pl
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Platform Support
: 7.0
: PC Other
: P2 enhancement (vote)
: Future
Assigned To: James Richardson
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-11-12 11:36 UTC by Mark Miksis
Modified: 2009-06-12 10:22 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Miksis 2007-11-12 11:36:11 UTC
 
Comment 1 KDF 2007-11-12 12:16:37 UTC
GD is notoriously hard to build.  That's why it was left out in the first place.  Can you explain why you need it there?
Comment 2 Mark Miksis 2007-11-12 13:03:06 UTC
I'm trying to test the RPM on Mandriva.  For some reason, they include a non-threaded perl so the binary perl modules need to be rebuilt.
Comment 3 Stuart Hickinbottom 2007-12-18 15:05:01 UTC
This is also happening on Gentoo (I'm currently trying to create a Portage ebuild (aka package) for SqueezeCenter 7). I've raised this in bug 6389 but have been pointed to this as a duplicate.

For Gentoo the same ebuild (which is essentially a shell script that compiles and installs a package) is universal for a number of different architectures (eg x86/mips/ppc/arm etc etc). Because it can't dictate the arch in use, nor other things such as whether Perl is compiled for threading or not, the noarch SC7 tarball is required. This means the Perl modules need to be compiled.

GD is a dependency for SC7 so hopefully it can be built in build-perl-modules. I can work around this by pulling in GD as a dependency of the ebuild, but I think it would be better to be consistent with the other modules I think. Is it really more complicated than adding it to build-perl-modules? I know it relies on libgd but I can ensure that the Gentoo package will install that before calling build-perl-modules.
Comment 4 Blackketter Dean 2007-12-27 13:41:08 UTC
Will look at this post-7.0.
Comment 5 Blackketter Dean 2007-12-28 05:42:14 UTC
*** Bug 6389 has been marked as a duplicate of this bug. ***
Comment 6 Stuart Hickinbottom 2008-09-13 11:49:11 UTC
I wonder if this can still be considered now we're some way past 7.0? It's a cause of Gentoo bug 237548 (http://bugs.gentoo.org/show_bug.cgi?id=237548), for example.
Comment 7 jym 2008-12-30 02:21:25 UTC
On NetBDS, this is also the best way I found in order to have squeezecenter working.

I installed libgd with the ports and perl module with build-perl-modules.pl (by adding:   'GD'=> 'GD-2.35.tar.gz ).

So, I doesn't need to install any perl module with the ports. If I use the ports (an up-to-date ports), I have many version numbers mismatch and some problem with JSON, HTTP...etc.

Comment 8 Mark Miksis 2009-03-31 14:46:18 UTC
Andy,

I can't test it right now, but I assume change 25654 means this can be closed?
Comment 9 Andy Grundman 2009-03-31 14:47:34 UTC
Yep, it's in there now.