LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-06-2004, 07:42 PM   #1
ripmaster
Member
 
Registered: Mar 2004
Posts: 50

Rep: Reputation: 15
Exclamation compiling code


ok, i just installed fedora core 1, and ive been playing around w linux for a few days. im REALLY likin it, but i have 1 killer question that i cant seem to solve,

ive got this program (code) called aimsniff (its a .pl file)
some code i get a popup window that asks me if i want to compile the code (like with mozilla firefox), but im not getting that with this file!
how would i compile that code?

and then...

how would i make an install file to install so i could access it thru the start menu and not have to go thru the home directory and find it? (kinda like a windows install)

i am a linux idiot, so a not-so-complex answer would be greatly apprieciated
 
Old 03-06-2004, 08:59 PM   #2
dopefish
Member
 
Registered: Nov 2003
Location: Northcliffe, WA
Distribution: Slackware 12.0
Posts: 481

Rep: Reputation: 30
That code is not compilable code its perl code try
perl file.pl
 
Old 03-06-2004, 09:07 PM   #3
mhiggins
Member
 
Registered: Feb 2004
Posts: 140

Rep: Reputation: 15
.pl is typically associated with Perl scripts. This means it a Perl program and is interpreted not compiled (well compiled on the fly). To run this program you will need to change its mode to be executable. Here are some general steps.

Save the file to your home dir
Open a shell, terminal window whatever you call it ...
And type the following;

cd
chmod 755 aimsniff.pl
./aimsniff.pl

-Matt
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling and linking 64bit code fskmh Slackware 0 01-15-2005 07:04 AM
compiling C code vose Programming 29 10-08-2004 07:28 AM
Compiling C code with libraries OldGuru Programming 4 09-18-2004 07:06 PM
Help compiling code for install jagrom Linux - Newbie 9 09-04-2004 08:15 AM
Compiling Kernel Code vbhatia_81 Programming 1 06-21-2004 06:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration