RE: Prima beginner issues

From: Gira, Jishnu <Jishnu.Gira_at_delphi.com>
Date: Wed, 19 Sep 2007 23:51:23 +0530
To: "Dmitry Karasik" <dmitry_at_karasik.eu.org>, <prima_at_prima.eu.org>

Hi,

It worked!!!

If the Prigraph files sit in C:\perl\lib\core the makefile of Prima will
pick up image files.

Infact when I modified the makefile.pl of Prima-prigraph-win32-1.01 to
$Config{archlib}\CORE and ran makefile.pl it actually was sitting in
C:\perl\libcore.

Thanks for the suggestions.

Thanks,
Jis
-----Original Message-----
From: owner-prima_at_prima.eu.org [mailto:owner-prima_at_prima.eu.org] On
Behalf Of Dmitry Karasik
Sent: Monday, September 17, 2007 3:31 PM
To: prima_at_prima.eu.org
Subject: Re: Prima beginner issues

        Hi Gira,!

 Gira,> 1. Does Prima::prigraph::win32 give me image libraries.

yes

 Gira,> Perl makefile.pl WANTNOCODECS=3D1 and get away with this error.
How
 Gira,> to get the codecs. The read me talks about Prigraph
dependencies.

Well, you _did_ configure Prima without any codecs, right?

 Gira,> I would guess Prima::prigraph::win32 will solve the
 Gira,> dependencies. It doesn't look like it will.

It looks like it wasn't properly installed. When it is,
prigraph.lib and prigraph.dll should be picked up by Prima/Makefile.PL
and WANTNOCODECS is not needed. Check makefile.log if there
are any clues why prigraph wasn't recognized by Makefile.PL .

I think it is a bug in Prima::prigraph::win32 Makefile.PL, that
copies prigraph.lib into wrong location, in
$Config{installsitelib}\auto\Prima. Try to copy the file into
$Config{archlib}\CORE and rerun Prima's Makefile.PL, see if it
picks up prigraph.lib .

/dk

 Gira,> =20

 Gira,> Please clarify.

 Gira,> =20

 Gira,> Cheers,

 Gira,> jis

 Gira,> -----Original Message----- From: owner-prima_at_prima.eu.org
 Gira,> [mailto:owner-prima_at_prima.eu.org] On Behalf Of Dmitry Karasik
Sent:
 Gira,> Monday, September 17, 2007 1:31 PM To: prima_at_prima.eu.org
Subject:
 Gira,> Re: Prima beginner issues

 Gira,> =20

 Gira,> Hi Gira,!

 Gira,> =20

 Gira,> Gira,> Hi,

 Gira,> =20

 Gira,> Gira,> I feel I have some image library issues even now. I
have

 Gira,> Gira,> installed=3D20 1. Prima 1.22=3D20
 Gira,> 2. Prima-prigraph-win32-1.01 from

 Gira,> Gira,> CPAN. Hope this is enough for having atleast gif
library
 Gira,> on

 Gira,> Gira,> windows.

 Gira,> =20

 Gira,> =20

 Gira,> There's actually an easy way to see whether you do have or don't
 Gira,> have

 Gira,> gif codec installed. Run this code:

 Gira,> =20

 Gira,> use Prima;

 Gira,> print "$_->{fileShortType} " for @{ Prima::Image-> codecs};

 Gira,> =20

 Gira,> When compiled with prigraph, it should print something like

 Gira,> =20

 Gira,> Bitmap GIF PCX TIFF Targa ILBM YUV12C Greymap Pixmap IAX
XBitmap
 Gira,> Sprite

 Gira,> PSEG Gem Ras Portrait JPEG PNG

 Gira,> =20

 Gira,> and GIF should be there. I can't think of anything why your
 Gira,> installation

 Gira,> cannot load gifs, but can it load pngs, jpegs, bmps at last?

 Gira,> =20

 Gira,> --=20

 Gira,> Sincerely,

 Gira,> Dmitry Karasik

 Gira,> =20

 Gira,>
************************************************************************
***=
 Gira,> *************

 Gira,> Note: If the reader of this message is not the intended
recipient,
 Gira,> or an= employee or agent responsible for delivering this message
to
 Gira,> the intended= recipient, you are hereby notified that any
 Gira,> dissemination, distribution or= copying of this communication is
 Gira,> strictly prohibited. If you have received= this communication in
 Gira,> error, please notify us immediately by replying to= the message
and
 Gira,> deleting it from your computer. Thank you.=20

 Gira,>
************************************************************************
***=
 Gira,> ************* ------_=_NextPart_001_01C7F95D.10C18DFB
Content-Type:
 Gira,> text/html; charset="US-ASCII" Content-Transfer-Encoding:
 Gira,> quoted-printable

 Gira,> <html xmlns:o=3D"urn:schemas-microsoft-com:office:office"
xmlns:w=
 Gira,> =3D"urn:schemas-microsoft-com:office:word" xmlns=
 Gira,> =3D"http://www.w3.org/TR/REC-html40">

 Gira,> <head> <meta http-equiv=3DContent-Type content=3D"text/html;
 Gira,> charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft
 Gira,> Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */
 Gira,> p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in;
 Gira,> margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New
 Gira,> Roman";} a:link, span.MsoHyperlink {color:blue;
 Gira,> text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed
 Gira,> {color:purple; text-decoration:underline;} p.MsoPlainText,
 Gira,> li.MsoPlainText, div.MsoPlainText {margin:0in;
 Gira,> margin-bottom:.0001pt; font-size:10.0pt; font-family:"Courier
 Gira,> New";} p.Style3, li.Style3, div.Style3 {margin:0in;
 Gira,> margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New
 Gira,> Roman"; font-weight:bold; text-decoration:underline;} p.Style4,
 Gira,> li.Style4, div.Style4 {margin:0in; margin-bottom:.0001pt;
 Gira,> font-size:12.0pt; font-family:"Times New Roman";} @page Section1
 Gira,> {size:8.5in 11.0in; margin:1.0in 77.95pt 1.0in 77.95pt;}
 Gira,> div.Section1 {page:Section1;}
 -->
 Gira,> </style>

 Gira,> </head>

 Gira,> <body lang=3DEN-US link=3Dblue vlink=3Dpurple>

 Gira,> <div class=3DSection1>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New=
 Gira,> Roman"'>Dmitry,<o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New=
 Gira,> Roman"'><o:p>&nbsp;</o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New
 Gira,> Roman"'>Now I have to go= one step
 Gira,> behind.<o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New=
 Gira,> Roman"'><o:p>&nbsp;</o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New
 Gira,> Roman"'>use= Prima;<o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New
 Gira,> Roman"'>&nbsp;&nbsp; print &quot;$_-&gt;{fileShortType} &quot;
for
 Gira,> @{ Prima::Image-&gt;= codecs};<o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New=
 Gira,> Roman"'><o:p>&nbsp;</o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New
 Gira,> Roman"'>does not print= anything.<o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New=
 Gira,> Roman"'><o:p>&nbsp;</o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New
 Gira,> Roman"'>I guess I still I= don&#8217;t have any
 Gira,> codecs.<o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New=
 Gira,> Roman"'><o:p>&nbsp;</o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New
 Gira,> Roman"'>Now= <o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New=
 Gira,> Roman"'><o:p>&nbsp;</o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New
 Gira,> Roman"'>1. Does= Prima::prigraph::win32 give me image
 Gira,> libraries.<o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New
 Gira,> Roman"'>2. When I type= <o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New=
 Gira,> Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Perl makefile.pl while
 Gira,> installing Prima. It gives me an error &#8220;No= Image Codecs
 Gira,> Found&#8221;.&nbsp; I used to type <o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New
 Gira,> Roman"'>Perl makefile.pl WANTNOCODECS=3D1 and get away with this
 Gira,> error. How to get the codecs. The= read me talks about Prigraph
 Gira,> dependencies.<o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New
 Gira,> Roman"'>I would guess= Prima::prigraph::win32 will solve the
 Gira,> dependencies. It doesn&#8217;t look like it=
 Gira,> will.<o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New=
 Gira,> Roman"'><o:p>&nbsp;</o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New
 Gira,> Roman"'>Please= clarify.<o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New=
 Gira,> Roman"'><o:p>&nbsp;</o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New=
 Gira,> Roman"'>Cheers,<o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New=
 Gira,> Roman"'>jis<o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New
 Gira,> Roman"'>-----Original Message-----<br> From:
 Gira,> owner-prima_at_prima.eu.org [mailto:owner-prima_at_prima.eu.org] On
 Gira,> Behalf= Of Dmitry Karasik<br> Sent: Monday, September 17, 2007
1:31
 Gira,> PM<br> To: prima_at_prima.eu.org<br> Subject: Re: Prima beginner
 Gira,> issues<o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New=
 Gira,> Roman"'><o:p>&nbsp;</o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New=
 Gira,>
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs
p;=
 Gira,> &nbsp;&nbsp;&nbsp;&nbsp; Hi Gira,!<o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New=
 Gira,> Roman"'><o:p>&nbsp;</o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New
 Gira,> Roman"'>&nbsp;Gira,&gt;= Hi,<o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New=
 Gira,> Roman"'><o:p>&nbsp;</o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New
 Gira,> Roman"'>&nbsp;Gira,&gt; I= feel I have some image library issues
 Gira,> even now.&nbsp; I= have<o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New
 Gira,> Roman"'>&nbsp;Gira,&gt; installed=3D20 1. Prima 1.22=3D20
 Gira,> 2. Prima-prigraph-win32-1.01= from<o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New
 Gira,> Roman"'>&nbsp;Gira,&gt; CPAN.&nbsp; Hope this is enough for
having
 Gira,> atleast gif library= on<o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New
 Gira,> Roman"'>&nbsp;Gira,&gt;= windows.<o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New=
 Gira,> Roman"'><o:p>&nbsp;</o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New=
 Gira,> Roman"'><o:p>&nbsp;</o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New
 Gira,> Roman"'>There's actually an= easy way to see whether you do have
or
 Gira,> don't have<o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New
 Gira,> Roman"'>gif codec= installed. Run this
 Gira,> code:<o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New=
 Gira,> Roman"'><o:p>&nbsp;</o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New
 Gira,> Roman"'>&nbsp;&nbsp; use= Prima;<o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New
 Gira,> Roman"'>&nbsp;&nbsp; print &quot;$_-&gt;{fileShortType} &quot;
for
 Gira,> @{ Prima::Image-&gt;= codecs};<o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New=
 Gira,> Roman"'><o:p>&nbsp;</o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New
 Gira,> Roman"'>When compiled with prigraph, it should print something
 Gira,> like<o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New=
 Gira,> Roman"'><o:p>&nbsp;</o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New
 Gira,> Roman"'>&nbsp;&nbsp; Bitmap= GIF PCX TIFF Targa ILBM YUV12C
Greymap
 Gira,> Pixmap IAX XBitmap= Sprite<o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New
 Gira,> Roman"'>&nbsp;&nbsp; PSEG= Gem Ras Portrait JPEG
 Gira,> PNG<o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New=
 Gira,> Roman"'><o:p>&nbsp;</o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New
 Gira,> Roman"'>and GIF should be= there. I can't think of anything why
 Gira,> your installation= <o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New
 Gira,> Roman"'>cannot load gifs,= but can it load pngs, jpegs, bmps at
 Gira,> last?<o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New=
 Gira,> Roman"'><o:p>&nbsp;</o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New
 Gira,> Roman"'>--= <o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New=
 Gira,> Roman"'>Sincerely,<o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New=
 Gira,>
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs
p;=
 Gira,> &nbsp;&nbsp;&nbsp;&nbsp; Dmitry
 Gira,> Karasik<o:p></o:p></span></font></p>

 Gira,> <p class=3DMsoPlainText><font size=3D1 face=3D"Times New
 Gira,> Roman"><span style=3D'font-size:8.0pt;font-family:"Times New=
 Gira,> Roman"'><o:p>&nbsp;</o:p></span></font></p>

 Gira,> </div>

 Gira,> </body>

 Gira,> </html>

 Gira,> <table><tr><td bgcolor=3D#ffffff><font color=
 Gira,>
=3D#000000>*************************************************************
***=
 Gira,> ************************<br> <br> Note: If the reader of this
 Gira,> message is not the intended recipient, or an= employee or agent
 Gira,> responsible for delivering this message to the intended=
recipient,
 Gira,> you are hereby notified that any dissemination, distribution or=
 Gira,> copying of this communication is strictly prohibited. If you
have
 Gira,> received= this communication in error, please notify us
immediately
 Gira,> by replying to= the message and deleting it from your
 Gira,> computer. Thank you. <br> <br>
 Gira,>
************************************************************************
***=
 Gira,> *************<br> </font></td></tr></table>
 Gira,> ------_=_NextPart_001_01C7F95D.10C18DFB--

-- 
Sincerely,
	Dmitry Karasik
****************************************************************************************
Note:  If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. 
****************************************************************************************
Received on Wed 19 Sep 2007 - 20:21:47 CEST

This archive was generated by hypermail 2.2.0 : Sat 19 Mar 2011 - 18:35:06 CET