pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Users of ap13-perl
On 21/09/2011, at 11:20 PM, Joerg Sonnenberger wrote:
> Hi all,
> is anyone still (trying to) use ap13-perl? It's been broken by the
> recent Perl update and noone cared so far.
>
> Joerg
>
>
I'd be using ap2-perl (mod_perl 2) for apache22 if the GD lib linking issue
were resolved with libjpeg. It seems to be an issue with the default apple
supplied vs pkgsrc supplied on Mac OS X.
What I haven't tried this recently with perl updated to 5.14 or recent mod_php
install.
I don't use mod_perl 1 at all.
The following is what I sent to the list back in june.
The GD extension for PHP when running the command line php -i shows the
following:
gd
GD Support => enabled
GD Version => bundled (2.0.34 compatible)
FreeType Support => enabled
FreeType Linkage => with freetype
FreeType Version => 2.4.4
GIF Read Support => enabled
GIF Create Support => enabled
JPEG Support => enabled
libJPEG Version => 8
PNG Support => enabled
libPNG Version => 1.5.3rc02
WBMP Support => enabled
XBM Support => enabled
JIS-mapped Japanese Font Support => enabled
When loading the lib/httpd/mod_php5.so module in apache and trying to call GD
functions we have
PHP Fatal error: Call to undefined function imagecreate()
Running the php function phpinfo(); inside a php script doesn't show that the
GD extension is loaded unlike the command line php -i
Trying to load up mod_perl under apache shows the following error.
[Sat Jun 18 10:55:57 2011] [error] Can't load
'/usr/pkg/lib/perl5/vendor_perl/5.12.0/darwin-thread-multi-2level/auto/GD/GD.bundle'
for module GD:
dlopen(/usr/pkg/lib/perl5/vendor_perl/5.12.0/darwin-thread-multi-2level/auto/GD/GD.bundle,
1): Symbol not found: __cg_jpeg_resync_to_restart\n Referenced from:
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO\n
Expected in: /usr/pkg/lib/libjpeg.8.dylib\n in
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
at /usr/pkg/lib/perl5/5.12.0/darwin-thread-multi-2level/DynaLoader.pm line
204.\n at (eval 941) line 2\nCompilation failed in require at (eval 941) line
2.\n
[Sat Jun 18 10:55:57 2011] [error] Can't load Perl module GD for server
kristamari:80, exiting...
Running some perl scripts via cgi and using p5-GD does generate some images
without error, showing that GD is functional to some extent.
Ian McWilliam
Home |
Main Index |
Thread Index |
Old Index