RE: How to send files from windows to Unix using PERL language
Hi,
My Inform =
1) Is the Perl program running on either of the servers?
A: Perl program running on Windows
2) Do you simply need to move the file from the hard drive of one server
to the hard drive of the other?
A: yes I want to move the file from one hard drive server to another
hard drive server =
3) What is the purpose of this Perl program - it may help people
understand what you want/need to do
A. I am working in a big project. This project is using Perl =
4) Who will e running the Perl program?
A. This program is running on windows.
4) Do you have login/ssh permissions to both servers? Are these your
servers, your company servers or are they third party servers?
A. I have the permissions and login details of the server. The servers
are both company servers and third parts servers.
I hope these answers will give some idea on my problem.
Thanks && Regards =
Karunakar Reddy B.V. =
BSH Bosch Siemens Hausgeräte GmbH
=
Diese Mitteilung ist ausschließlich für den beabsichtigten Empfänger
bestimmt. Sie kann Betriebs- oder Geschäftsgeheimnisse oder sonstige
vertrauliche Informationen enthalten. Jede(r) unberechtigte Gebrauch, Kopie,
Weitergabe oder Veröffentlichung ist untersagt. Sollten Sie diese E-Mail
irrtümlich erhalten haben, benachrichtigen Sie uns bitte sofort durch
Antwortmail und löschen Sie diese E-Mail nebst etwaigen Anlagen und
einschließlich aller angefertigten Kopien von Ihrem System.
-----Original Message-----
From: Nathan S. Haigh [mailto:n.haigh [at] sheffield.ac.uk] =
Sent: 15 June 2007 11:32
To: Beri-Veera-ext, Reddy (n.a.)
Cc: Bill Luebkert; ActivePerl
Subject: Re: How to send windows file to Unix using PERL language
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Beri-Veera-ext, Reddy (n.a.) wrote:
> Hi,
> Thanks for your help.
> Problem: I am writing a program in Perl. In this program I have to
transfer
> one file from windows to Unix. In Perl any functions are there? =
> =
> =
> Thanks && Regards =
> Karunakar Reddy B.V. =
> =
> BSH Bosch Siemens Hausgeräte GmbH
> =
> =
I don't think you supplied any additional info that wasn't already in
your first post.
Answering the following will probably help somewhat:
1) Is the Perl program running on either of the servers?
2) Do you simply need to move the file from the hard drive of one server
to the hard drive of the other?
3) What is the purpose of this Perl program - it may help people
understand what you want/need to do
4) Who will e running the Perl program?
4) Do you have login/ssh permissions to both servers? Are these your
servers, your company servers or are they third party servers?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGclyMczuW2jkwy2gRAsM9AJ9y6WubQLPCE1LjUZu7D4IxY5vl4wCf SOzr
7d8uuNKO5nMzfrMQ/PoZrt0=3D
=3DM7Qs
-----END PGP SIGNATURE-----
_______________________________________________
ActivePerl mailing list
ActivePerl [at] listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Plot Chart and GD
I need to have a graphic charted on the fly to publish on the web a bar
chart or a line chart in GIF or PNG format.
I've tried several modules that accomplish that, but all are based on the
GD.pm.
Unfortunately I wasn't able to install the GD module, so those modules with
a GD prerrequisite are not useful for me.
Does anybody knows of a module that can accomplish that task without
recurring to the libgd libraries or the GD module?
Thank you
Alejandro
_______________________________________________
ActivePerl mailing list
ActivePerl [at] listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Re: Plot Chart and GD
Alejandro Santillan wrote:
> I need to have a graphic charted on the fly to publish on the web a bar
> chart or a line chart in GIF or PNG format.
> I've tried several modules that accomplish that, but all are based on the
> GD.pm.
> Unfortunately I wasn't able to install the GD module, so those modules with
> a GD prerrequisite are not useful for me.
>
> Does anybody knows of a module that can accomplish that task without
> recurring to the libgd libraries or the GD module?
Wouldn't it make more sense to find out why GD failed to install ?
Where did you get it from ? Did you try Theory or Bribes PPM ?
There's Image::Magick, but it may be more complicated to get going.
_______________________________________________
ActivePerl mailing list
ActivePerl [at] listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Re: Plot Chart and GD
> Alejandro Santillan wrote:
> > I need to have a graphic charted on the fly to publish on the web a bar
> > chart or a line chart in GIF or PNG format.
> > I've tried several modules that accomplish that, but all are based on
the
> > GD.pm.
> > Unfortunately I wasn't able to install the GD module, so those modules
with
> > a GD prerrequisite are not useful for me.
> >
> > Does anybody knows of a module that can accomplish that task without
> > recurring to the libgd libraries or the GD module?
>
> Wouldn't it make more sense to find out why GD failed to install ?
>
> Where did you get it from ? Did you try Theory or Bribes PPM ?
>
> There's Image::Magick, but it may be more complicated to get going.
> _______________________________________________
> ActivePerl mailing list
> ActivePerl [at] listserv.ActiveState.com
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Bill, you're right. GD is a great module. I've installed it 5 times in
different flavors of linux. The problem is that the GD installation never
was straightforward to me and it seems I am getting older and I have lost
the patience I use to have.
Now I have Fedora Core 5 running on a 64bits processor.
At some point of the installation one must answer the question:
"Where is libgd installed? [/usr/lib]"
Well, after doing locate libgd, I found that it is installed at /usr/lib64,
so I typed it, and then I had options to inform how was the libgd installed
originally (which I don't know).
After all that I get a huge list of errors. I've tried several different
options while answering those questions, and the same thing happened over
and over.
Errors follow:
..c:3447: error: =E2GD__Image=E2 undeclared (first use in this function)
GD.c:3447: error: expected =E2;=E2 before =E2destination=E2
GD.c:3448: error: expected =E2;=E2 before =E2source=E2
GD.c:3449: warning: ISO C90 forbids mixed declarations and code
GD.c:3460: error: =E2destination=E2 undeclared (first use in this function)
GD.c:3467: error: =E2source=E2 undeclared (first use in this function)
GD.xs:2020: warning: implicit declaration of function =E2gdImageCopyResized=
=E2
GD.c: In function =E2XS_GD__Image_copyResampled=E2:
GD.c:3488: error: =E2GD__Image=E2 undeclared (first use in this function)
GD.c:3488: error: expected =E2;=E2 before =E2destination=E2
GD.c:3489: error: expected =E2;=E2 before =E2source=E2
GD.c:3490: warning: ISO C90 forbids mixed declarations and code
GD.c:3501: error: =E2destination=E2 undeclared (first use in this function)
GD.c:3508: error: =E2source=E2 undeclared (first use in this function)
GD.xs:2038: warning: implicit declaration of function =E2gdImageCopyResampl=
ed=E2
GD.c: In function =E2XS_GD__Image_copyMerge=E2:
GD.c:3529: error: =E2GD__Image=E2 undeclared (first use in this function)
GD.c:3529: error: expected =E2;=E2 before =E2destination=E2
GD.c:3530: error: expected =E2;=E2 before =E2source=E2
GD.c:3531: warning: ISO C90 forbids mixed declarations and code
GD.c:3541: error: =E2destination=E2 undeclared (first use in this function)
GD.c:3548: error: =E2source=E2 undeclared (first use in this function)
GD.xs:2055: warning: implicit declaration of function =E2gdImageCopyMerge=
=E2
GD.c: In function =E2XS_GD__Image_copyMergeGray=E2:
GD.c:3569: error: =E2GD__Image=E2 undeclared (first use in this function)
GD.c:3569: error: expected =E2;=E2 before =E2destination=E2
GD.c:3570: error: expected =E2;=E2 before =E2source=E2
GD.c:3571: warning: ISO C90 forbids mixed declarations and code
GD.c:3581: error: =E2destination=E2 undeclared (first use in this function)
GD.c:3588: error: =E2source=E2 undeclared (first use in this function)
GD.xs:2072: warning: implicit declaration of function =E2gdImageCopyMergeGr=
ay=E2
GD.c: In function =E2XS_GD__Image_paletteCopy=E2:
GD.c:3609: error: =E2GD__Image=E2 undeclared (first use in this function)
GD.c:3609: error: expected =E2;=E2 before =E2destination=E2
GD.c:3610: error: expected =E2;=E2 before =E2source=E2
GD.c:3614: error: =E2destination=E2 undeclared (first use in this function)
GD.c:3621: error: =E2source=E2 undeclared (first use in this function)
GD.xs:2082: warning: implicit declaration of function =E2gdImagePaletteCopy=
=E2
GD.c: In function =E2XS_GD__Image_char=E2:
GD.c:3642: error: =E2GD__Image=E2 undeclared (first use in this function)
GD.c:3642: error: expected =E2;=E2 before =E2image=E2
GD.c:3643: error: =E2GD__Font=E2 undeclared (first use in this function)
GD.c:3643: error: expected =E2;=E2 before =E2font=E2
GD.c:3644: warning: ISO C90 forbids mixed declarations and code
GD.c:3651: error: =E2image=E2 undeclared (first use in this function)
GD.c:3658: error: =E2font=E2 undeclared (first use in this function)
GD.xs:2096: warning: implicit declaration of function =E2gdImageChar=E2
GD.c: In function =E2XS_GD__Image_charUp=E2:
GD.c:3679: error: =E2GD__Image=E2 undeclared (first use in this function)
GD.c:3679: error: expected =E2;=E2 before =E2image=E2
GD.c:3680: error: =E2GD__Font=E2 undeclared (first use in this function)
GD.c:3680: error: expected =E2;=E2 before =E2font=E2
GD.c:3681: warning: ISO C90 forbids mixed declarations and code
GD.c:3688: error: =E2image=E2 undeclared (first use in this function)
GD.c:3695: error: =E2font=E2 undeclared (first use in this function)
GD.xs:2110: warning: implicit declaration of function =E2gdImageCharUp=E2
GD.c: In function =E2XS_GD__Image_string=E2:
GD.c:3716: error: =E2GD__Image=E2 undeclared (first use in this function)
GD.c:3716: error: expected =E2;=E2 before =E2image=E2
GD.c:3717: error: =E2GD__Font=E2 undeclared (first use in this function)
GD.c:3717: error: expected =E2;=E2 before =E2font=E2
GD.c:3718: warning: ISO C90 forbids mixed declarations and code
GD.c:3725: error: =E2image=E2 undeclared (first use in this function)
GD.c:3732: error: =E2font=E2 undeclared (first use in this function)
GD.xs:2124: warning: implicit declaration of function =E2gdImageString=E2
GD.c: In function =E2XS_GD__Image_stringUp=E2:
GD.c:3753: error: =E2GD__Image=E2 undeclared (first use in this function)
GD.c:3753: error: expected =E2;=E2 before =E2image=E2
GD.c:3754: error: =E2GD__Font=E2 undeclared (first use in this function)
GD.c:3754: error: expected =E2;=E2 before =E2font=E2
GD.c:3755: warning: ISO C90 forbids mixed declarations and code
GD.c:3762: error: =E2image=E2 undeclared (first use in this function)
GD.c:3769: error: =E2font=E2 undeclared (first use in this function)
GD.xs:2138: warning: implicit declaration of function =E2gdImageStringUp=E2
GD.xs: In function =E2XS_GD__Image_stringFT=E2:
GD.xs:2153: error: =E2gdImagePtr=E2 undeclared (first use in this function)
GD.xs:2153: error: expected =E2;=E2 before =E2img=E2
GD.xs:2154: warning: ISO C90 forbids mixed declarations and code
GD.xs:2163: error: =E2gdFTStringExtra=E2 undeclared (first use in this func=
tion)
GD.xs:2163: error: expected =E2;=E2 before =E2strex=E2
GD.xs:2173: error: =E2img=E2 undeclared (first use in this function)
GD.xs:2173: error: expected =E2;=E2 before =E2tmp=E2
GD.xs:2172: warning: unused variable =E2tmp=E2
GD.xs:2182: error: =E2strex=E2 undeclared (first use in this function)
GD.xs:2185: warning: suggest parentheses around assignment used as truth
value
GD.xs:2186: error: =E2gdFTEX_LINESPACE=E2 undeclared (first use in this
function)
GD.xs:2189: warning: suggest parentheses around assignment used as truth
value
GD.xs:2190: error: =E2gdFTEX_CHARMAP=E2 undeclared (first use in this funct=
ion)
GD.xs:2192: error: =E2gdFTEX_Unicode=E2 undeclared (first use in this funct=
ion)
GD.xs:2194: error: =E2gdFTEX_Shift_JIS=E2 undeclared (first use in this
function)
GD.xs:2196: error: =E2gdFTEX_Big5=E2 undeclared (first use in this function)
GD.xs:2217: warning: implicit declaration of function =E2gdImageStringFTEx=
=E2
GD.xs:2217: warning: assignment makes pointer from integer without a cast
GD.xs:2221: warning: implicit declaration of function =E2gdImageStringFT=E2
GD.xs:2221: warning: assignment makes pointer from integer without a cast
GD.xs:2162: warning: unused variable =E2vdpi=E2
GD.xs:2161: warning: unused variable =E2hdpi=E2
GD.xs:2156: warning: unused variable =E2a=E2
GD.c: In function =E2XS_GD__Image_stringFTCircle=E2:
GD.c:3898: error: =E2GD__Image=E2 undeclared (first use in this function)
GD.c:3898: error: expected =E2;=E2 before =E2image=E2
GD.c:3899: warning: ISO C90 forbids mixed declarations and code
GD.c:3918: error: =E2image=E2 undeclared (first use in this function)
GD.xs:2252: warning: unused variable =E2err=E2
GD.c:3908: warning: unused variable =E2fgcolor=E2
GD.c:3907: warning: unused variable =E2bottom=E2
GD.c:3906: warning: unused variable =E2top=E2
GD.c:3905: warning: unused variable =E2points=E2
GD.c:3904: warning: unused variable =E2fontname=E2
GD.c:3903: warning: unused variable =E2fillPortion=E2
GD.c:3902: warning: unused variable =E2textRadius=E2
GD.c:3901: warning: unused variable =E2radius=E2
GD.c:3900: warning: unused variable =E2cy=E2
GD.c:3899: warning: unused variable =E2cx=E2
GD.c: In function =E2XS_GD__Image_useFontConfig=E2:
GD.c:3964: error: =E2GD__Image=E2 undeclared (first use in this function)
GD.c:3964: error: expected =E2;=E2 before =E2image=E2
GD.c:3965: warning: ISO C90 forbids mixed declarations and code
GD.c:3974: error: =E2image=E2 undeclared (first use in this function)
GD.c:3965: warning: unused variable =E2flag=E2
GD.c: In function =E2XS_GD__Image_alphaBlending=E2:
GD.c:4002: error: =E2GD__Image=E2 undeclared (first use in this function)
GD.c:4002: error: expected =E2;=E2 before =E2image=E2
GD.c:4003: warning: ISO C90 forbids mixed declarations and code
GD.c:4007: error: =E2image=E2 undeclared (first use in this function)
GD.xs:2312: warning: implicit declaration of function =E2gdImageAlphaBlendi=
ng=E2
GD.c: In function =E2XS_GD__Image_saveAlpha=E2:
GD.c:4028: error: =E2GD__Image=E2 undeclared (first use in this function)
GD.c:4028: error: expected =E2;=E2 before =E2image=E2
GD.c:4029: warning: ISO C90 forbids mixed declarations and code
GD.c:4033: error: =E2image=E2 undeclared (first use in this function)
GD.xs:2322: warning: implicit declaration of function =E2gdImageSaveAlpha=
=E2
GD.c: In function =E2XS_GD__Image_clip=E2:
GD.c:4055: error: =E2GD__Image=E2 undeclared (first use in this function)
GD.c:4055: error: expected =E2;=E2 before =E2image=E2
GD.xs:2330: warning: ISO C90 forbids mixed declarations and code
GD.c:4063: error: =E2image=E2 undeclared (first use in this function)
GD.xs:2337: warning: implicit declaration of function =E2gdImageSetClip=E2
GD.xs:2342: warning: implicit declaration of function =E2gdImageGetClip=E2
GD.c: In function =E2XS_GD__Image_setAntiAliased=E2:
GD.c:4096: error: =E2GD__Image=E2 undeclared (first use in this function)
GD.c:4096: error: expected =E2;=E2 before =E2image=E2
GD.c:4097: warning: ISO C90 forbids mixed declarations and code
GD.c:4101: error: =E2image=E2 undeclared (first use in this function)
GD.xs:2355: warning: implicit declaration of function
=E2gdImageSetAntiAliased=E2
GD.c: In function =E2XS_GD__Image_setAntiAliasedDontBlend=E2:
GD.c:4122: error: =E2GD__Image=E2 undeclared (first use in this function)
GD.c:4122: error: expected =E2;=E2 before =E2image=E2
GD.c:4123: warning: ISO C90 forbids mixed declarations and code
GD.c:4128: error: =E2image=E2 undeclared (first use in this function)
GD.xs:2367: warning: implicit declaration of function
=E2gdImageSetAntiAliasedDontBlend=E2
GD.xs: In function =E2XS_GD__Font_load=E2:
GD.xs:2383: error: =E2gdFontPtr=E2 undeclared (first use in this function)
GD.xs:2383: error: expected =E2;=E2 before =E2font=E2
GD.xs:2384: warning: ISO C90 forbids mixed declarations and code
GD.c:4166: error: =E2GD__Font=E2 undeclared (first use in this function)
GD.c:4166: error: expected =E2;=E2 before =E2RETVAL=E2
GD.xs:2395: error: =E2font=E2 undeclared (first use in this function)
GD.xs:2395: error: expected =E2;=E2 before =E2Perl_safesysmalloc=E2
GD.xs:2426: error: =E2RETVAL=E2 undeclared (first use in this function)
GD.c: In function =E2XS_GD__Font_DESTROY=E2:
GD.c:4230: error: =E2GD__Font=E2 undeclared (first use in this function)
GD.c:4230: error: expected =E2;=E2 before =E2self=E2
GD.c:4234: error: =E2self=E2 undeclared (first use in this function)
GD.xs:2437: warning: implicit declaration of function =E2gdFontGetSmall=E2
GD.xs:2438: warning: implicit declaration of function =E2gdFontGetLarge=E2
GD.xs:2439: warning: implicit declaration of function =E2gdFontGetGiant=E2
GD.xs:2440: warning: implicit declaration of function =E2gdFontGetMediumBol=
d=E2
GD.xs:2441: warning: implicit declaration of function =E2gdFontGetTiny=E2
GD.c: In function =E2XS_GD__Font_Small=E2:
GD.c:4263: error: =E2GD__Font=E2 undeclared (first use in this function)
GD.c:4263: error: expected =E2;=E2 before =E2RETVAL=E2
GD.xs:2453: error: =E2RETVAL=E2 undeclared (first use in this function)
GD.c: In function =E2XS_GD__Font_Large=E2:
GD.c:4290: error: =E2GD__Font=E2 undeclared (first use in this function)
GD.c:4290: error: expected =E2;=E2 before =E2RETVAL=E2
GD.xs:2464: error: =E2RETVAL=E2 undeclared (first use in this function)
GD.c: In function =E2XS_GD__Font_Giant=E2:
GD.c:4317: error: =E2GD__Font=E2 undeclared (first use in this function)
GD.c:4317: error: expected =E2;=E2 before =E2RETVAL=E2
GD.xs:2475: error: =E2RETVAL=E2 undeclared (first use in this function)
GD.c: In function =E2XS_GD__Font_MediumBold=E2:
GD.c:4344: error: =E2GD__Font=E2 undeclared (first use in this function)
GD.c:4344: error: expected =E2;=E2 before =E2RETVAL=E2
GD.xs:2486: error: =E2RETVAL=E2 undeclared (first use in this function)
GD.c: In function =E2XS_GD__Font_Tiny=E2:
GD.c:4371: error: =E2GD__Font=E2 undeclared (first use in this function)
GD.c:4371: error: expected =E2;=E2 before =E2RETVAL=E2
GD.xs:2497: error: =E2RETVAL=E2 undeclared (first use in this function)
GD.c: In function =E2XS_GD__Font_nchars=E2:
GD.c:4397: error: =E2GD__Font=E2 undeclared (first use in this function)
GD.c:4397: error: expected =E2;=E2 before =E2font=E2
GD.c:4398: warning: ISO C90 forbids mixed declarations and code
GD.c:4403: error: =E2font=E2 undeclared (first use in this function)
GD.c: In function =E2XS_GD__Font_offset=E2:
GD.c:4425: error: =E2GD__Font=E2 undeclared (first use in this function)
GD.c:4425: error: expected =E2;=E2 before =E2font=E2
GD.c:4426: warning: ISO C90 forbids mixed declarations and code
GD.c:4431: error: =E2font=E2 undeclared (first use in this function)
GD.c: In function =E2XS_GD__Font_width=E2:
GD.c:4453: error: =E2GD__Font=E2 undeclared (first use in this function)
GD.c:4453: error: expected =E2;=E2 before =E2font=E2
GD.c:4454: warning: ISO C90 forbids mixed declarations and code
GD.c:4459: error: =E2font=E2 undeclared (first use in this function)
GD.c: In function =E2XS_GD__Font_height=E2:
GD.c:4481: error: =E2GD__Font=E2 undeclared (first use in this function)
GD.c:4481: error: expected =E2;=E2 before =E2font=E2
GD.c:4482: warning: ISO C90 forbids mixed declarations and code
GD.c:4487: error: =E2font=E2 undeclared (first use in this function)
make: *** [GD.o] Error 1
/usr/bin/make -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
Failed during this command:
LDS/GD-2.35.tar.gz : m
_______________________________________________
ActivePerl mailing list
ActivePerl [at] listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs