The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to force executable creation umen SUN Solaris 2 02-08-2008 07:45 AM
Executable file tonet Shell Programming and Scripting 3 01-17-2008 12:03 PM
Executable files nervous UNIX for Dummies Questions & Answers 9 10-30-2007 04:44 AM
Creting 64-bit executable axes High Level Programming 1 07-09-2006 12:06 PM
function call in executable rocky_74 High Level Programming 1 01-23-2006 11:50 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-02-2002
anent anent is offline
Registered User
  
 

Join Date: Oct 2001
Location: India
Posts: 45
TK executable?

hi All,
Can any one help me to find out a solution for creating an Executable file for a TK widget script.
Is there any command line option for it.
I am working in HP Unix workstation.

Regards,
Anent
  #2 (permalink)  
Old 01-02-2002
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,667
Scripts are executable when there is magic in the first line of the file and the permissions of the file are set so it is executable using chmod .

Magic looks like this ..... #!/bin/sh (for borne shell)..... your's will be different for TK.
  #3 (permalink)  
Old 01-03-2002
anent anent is offline
Registered User
  
 

Join Date: Oct 2001
Location: India
Posts: 45
Neo,
Yes, this is right for shell script.
i want to make a package of the GUI created using TK. how to do it.

any suggestions are welcome
Anent
  #4 (permalink)  
Old 01-03-2002
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,667
http://tcl.activestate.com/

Perhaps this site helps?

http://tcl.activestate.com/doc/howto/compile.html

Or this link?

http://tcl.activestate.com/scripting/

Or this one?

http://tcl.activestate.com/scripting/lesson1.html

That discusses this example of file magic....

#!/usr/local/bin/tclsh8.0
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:24 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0