I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2009-07-04 09:15:05-07 by richardmortimer
Trouble installing FreeType2 into Imager
Hi,

I've just discovered and started using Imager - firstly, thanks, it's a great module with a lot of good features.

I want to put some text onto an image, and have installed FreeType2, but I'm unclear how to link the libraries into the Makefile(?).

[root@webbox Imager-0.67]# freetype-config --cflags
-I/usr/local/include/freetype2 -I/usr/local/include

How do I make Imager look there for FreeType2?

Thanks

Richard
Direct Responses: 11116 | Write a response
Posted on 2009-07-06 01:10:49-07 by tonyc in response to 11111
Re: Trouble installing FreeType2 into Imager

As long as freetype-config is in the PATH, you should be able to just re-run the installation.

If you have previously installed Imager you could:

cpan> force install Imager

but this will install even if Imager fails tests.

To avoid that:

cpan> look Imager $ perl Makefile.PL done. gif: includes found - libraries found ungif: includes found - libraries found jpeg: includes found - libraries found png: includes found - libraries found tiff: includes found - libraries found freetype2: configured via freetype-config T1-fonts: includes found - libraries found TT-fonts: includes found - libraries found w32: includes not found - libraries not found ... $ make $ make test $ sudo make install

Where the

freetype2: configured via freetype-config

means it found your freetype 2 installation successfully.

Direct Responses: 11135 | Write a response
Posted on 2009-07-07 02:36:01-07 by richardmortimer in response to 11116
Re: Trouble installing FreeType2 into Imager
Thanks - it's working after a recompile. I'm now successfully writing on my photos, the test page is here:

http://neophytte.mine.nu/photo/2009-07-03-test/

Enjoy!

Richard
Direct Responses: Write a response