Making a Perl/Tk standalone executable 
Author Message
 Making a Perl/Tk standalone executable

Does anyone know if it's possible to make a wrapper for a Perl/Tk
script so that it can run on a system which doesn't have Perl/Tk
installed.

The reason for this is to generate software/Oracle DB installation
scripts with a nice GUI which I can use on any Solaris box without
having to install Perl/Tk.

Any help appreciated,

Thanks

Nigel

Sent via Deja.com http://www.*-*-*.com/
Before you buy.



Wed, 18 Jun 1902 08:00:00 GMT  
 Making a Perl/Tk standalone executable
Hi,

The way I know is to use perl2exe

www.perl2exe.com

Christian Brunet


Quote:
> Does anyone know if it's possible to make a wrapper for a Perl/Tk
> script so that it can run on a system which doesn't have Perl/Tk
> installed.

> The reason for this is to generate software/Oracle DB installation
> scripts with a nice GUI which I can use on any Solaris box without
> having to install Perl/Tk.

> Any help appreciated,

> Thanks

> Nigel

> Sent via Deja.com http://www.deja.com/
> Before you buy.



Wed, 18 Jun 1902 08:00:00 GMT  
 Making a Perl/Tk standalone executable

Quote:

> Does anyone know if it's possible to make a wrapper for a Perl/Tk
> script so that it can run on a system which doesn't have Perl/Tk
> installed.

In theory.  I've found it more useful to write a simple script
which just installs Perl and Tk on the machine I want to use.

Quote:
> The reason for this is to generate software/Oracle DB installation
> scripts with a nice GUI which I can use on any Solaris box without
> having to install Perl/Tk.

Or, for real convenience, if Oracle is on your NFS network,
just put Perl & TK on the same network.  We use Perl over our
NFS network with no trouble [well, not any more than NFS
produces ordinarily].

David
--

Senior computing specialist
mathematical statistician



Wed, 18 Jun 1902 08:00:00 GMT  
 Making a Perl/Tk standalone executable

in <URL::">
|| Hi,

Please don't post Jeopardy style. You might find yourself a k3wL |>00|>
for posting up side down, the rest of the world is normal.

|| The way I know is to use perl2exe

Read again what Nigel says:

|| > The reason for this is to generate software/Oracle DB installation
|| > scripts with a nice GUI which I can use on any Solaris box without
|| > having to install Perl/Tk.

Solaris. You really think 'perl2exe' will generate something to be
run on Solaris?

Abigail
--
$_ = "\x3C\x3C\x45\x4F\x54";
print if s/<<EOT/<<EOT/e;
Just another Perl Hacker
EOT

  -----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
   http://www.newsfeeds.com       The Largest Usenet Servers in the World!
------== Over 73,000 Newsgroups - Including  Dedicated  Binaries Servers ==-----



Wed, 18 Jun 1902 08:00:00 GMT  
 Making a Perl/Tk standalone executable

Quote:

> > Does anyone know if it's possible to make a wrapper for a Perl/Tk
> > script so that it can run on a system which doesn't have Perl/Tk
> > installed.

> In theory.  I've found it more useful to write a simple script
> which just installs Perl and Tk on the machine I want to use.

I suppose that's possible if I include Perl/Tk on the CD, install it
then delete it when done. Ideally I'd like to include Perl/Tk on the CD
and run the scripts from there.

What do I need to include on the CD? I normally use /use/local/bin &
lib for perl5 - if I put these on CD and use #!../bin/perl (a relative
path) will Perl still be able to find it's libraries or is there an
environment variable that can be used?

Quote:

> > The reason for this is to generate software/Oracle DB installation
> > scripts with a nice GUI which I can use on any Solaris box without
> > having to install Perl/Tk.

> Or, for real convenience, if Oracle is on your NFS network,
> just put Perl & TK on the same network.  We use Perl over our
> NFS network with no trouble [well, not any more than NFS
> produces ordinarily].

That's fine when I'm in the office but I often visit customer sites to
perfrom installs - ideally, some customers will want to do the install
of Oracle 8 and our software themselves so I want a friendly GUI rather
than the current command-line text.

Nigel

Quote:

> David
> --

> Senior computing specialist
> mathematical statistician

Sent via Deja.com http://www.deja.com/
Before you buy.


Wed, 18 Jun 1902 08:00:00 GMT  
 Making a Perl/Tk standalone executable

Quote:


>> > Does anyone know if it's possible to make a wrapper for a Perl/Tk
>> > script so that it can run on a system which doesn't have Perl/Tk
>> > installed.

>> In theory.  I've found it more useful to write a simple script
>> which just installs Perl and Tk on the machine I want to use.

> I suppose that's possible if I include Perl/Tk on the CD, install it
> then delete it when done. Ideally I'd like to include Perl/Tk on the CD
> and run the scripts from there.

> What do I need to include on the CD? I normally use /use/local/bin &
> lib for perl5 - if I put these on CD and use #!../bin/perl (a relative
> path) will Perl still be able to find it's libraries or is there an
> environment variable that can be used?

You could build a new Perl with a separate prefix (say /cdrom) so you
get /cdrom/bin with the excutables in it /cdrom/lib/perl5 etc etc then
install Tk into this structure (i.e using the Perl from /cdrom/bin) - then
burn this structure onto your CD with a shell script that sets the PATH
right for this.   When you want to use the installation from the CD
you just mount the cd under the same directory name you installed under
run the script to set the PATH and hey presto !  Of course I know
nothing about making CDs so I could be barking here ...

/J\
--

<http://www.gellyfish.com>
Hastings: <URL:http://dmoz.org/Regional/UK/England/East_Sussex/Hastings>



Wed, 18 Jun 1902 08:00:00 GMT  
 Making a Perl/Tk standalone executable


Quote:


> >> > Does anyone know if it's possible to make a wrapper for a Perl/Tk
> >> > script so that it can run on a system which doesn't have Perl/Tk
> >> > installed.

> >> In theory.  I've found it more useful to write a simple script
> >> which just installs Perl and Tk on the machine I want to use.

> > I suppose that's possible if I include Perl/Tk on the CD, install it
> > then delete it when done. Ideally I'd like to include Perl/Tk on
the CD
> > and run the scripts from there.

> > What do I need to include on the CD? I normally use /use/local/bin &
> > lib for perl5 - if I put these on CD and use #!../bin/perl (a
relative
> > path) will Perl still be able to find it's libraries or is there an
> > environment variable that can be used?

> You could build a new Perl with a separate prefix (say /cdrom) so you
> get /cdrom/bin with the excutables in it /cdrom/lib/perl5 etc etc then
> install Tk into this structure (i.e using the Perl from /cdrom/bin) -
then
> burn this structure onto your CD with a shell script that sets the
PATH
> right for this.   When you want to use the installation from the CD
> you just mount the cd under the same directory name you installed
under
> run the script to set the PATH and hey presto !  Of course I know
> nothing about making CDs so I could be barking here ...

I suppose that's possible - Solaris will generally use /cdrom/cdrom0
provided that the volume manager is doing the CD mounting.

Quote:

> /J\
> --

> <http://www.gellyfish.com>
> Hastings:

<URL:http://dmoz.org/Regional/UK/England/East_Sussex/Hastings>

Sent via Deja.com http://www.deja.com/
Before you buy.



Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 7 post ] 

 Relevant Pages 

1. Making a Perl/Tk executable

2. Standalone binary executables from perl scripts

3. Creating a standalone executable from a perl script (Win32)

4. Making a server both standalone and tcpd

5. Making an executable from a Perl Source

6. Making Perl scripts executable on Win32

7. Making Perl Executables

8. Making an executable from perl script

9. Standalone Perl/Tk Apps

10. Perl/Tk Standalone /Win/Mac

11. Making scripts executable

12. making compiled executables

 

 
Powered by phpBB® Forum Software