LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 06-05-2002, 12:36 AM   #1
nixdisciple
Member
 
Registered: Jan 2002
Location: Miami, florida
Distribution: Red Hat 7.3
Posts: 55

Rep: Reputation: 15
enabling python scripts within Xchat


I'm new to python and red hat but I noticed that xchat allows it's user to write scripts in python how is this possible if xchat has the python script option disabled by default. What must I do to enable it? I can use python from within my terminal but how can i use it within xchat for scripts?

PLease if someone can help me your help will be greatly appreciated thank you.
 
Old 06-05-2002, 02:18 AM   #2
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
I suspect you will have to recompile XChat with the python libraries available at compile time.
 
Old 06-05-2002, 10:13 PM   #3
nixdisciple
Member
 
Registered: Jan 2002
Location: Miami, florida
Distribution: Red Hat 7.3
Posts: 55

Original Poster
Rep: Reputation: 15
Well if that is the case how can I do that? Do you know the commands or paths that are needed for such a task? I'm still learning so your help would be greatly appreciated.

Thank you!
 
Old 06-05-2002, 10:37 PM   #4
nixdisciple
Member
 
Registered: Jan 2002
Location: Miami, florida
Distribution: Red Hat 7.3
Posts: 55

Original Poster
Rep: Reputation: 15
Well if you suspectI have to compile this at the beginning how is this possible I don't know what commands are needed to enable python within xchat. Do you?

I really would appreciate it if someone could help me in this department i have loooked all over trying ot find some documentation on how to enable python with xchat but to my surprise there isn't any. So please if there is anyone out there who knows exactly what I need to do please feel free to post.
 
Old 06-06-2002, 03:20 AM   #5
dorward
Member
 
Registered: Sep 2001
Distribution: Gentoo
Posts: 760

Rep: Reputation: 31
How to install from source: http://www.tldp.org/HOWTO/Installation-HOWTO/index.html

Try "./configure --help" for a list of options when you get to the configure stage. "./configure --help | less" might be useful.

Last edited by dorward; 06-06-2002 at 03:22 AM.
 
Old 06-06-2002, 09:36 PM   #6
nixdisciple
Member
 
Registered: Jan 2002
Location: Miami, florida
Distribution: Red Hat 7.3
Posts: 55

Original Poster
Rep: Reputation: 15
I'm not sure if i am typing the command incorrectly but there aren't any type of help files on that command. And also would i have to remove the previous compiled version if i am going to recompile the program? If so what commands are needed?
 
Old 06-07-2002, 03:16 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
well what are you typing? like i have ALREADY said, in the source directory you want..

./configure --enable-python

you shouldn't need to worry abuot the old version, if you're installing from source like last time, it willl overwrite the old files, asuming you didn't mess arund with them too much
 
Old 06-07-2002, 06:48 AM   #8
nixdisciple
Member
 
Registered: Jan 2002
Location: Miami, florida
Distribution: Red Hat 7.3
Posts: 55

Original Poster
Rep: Reputation: 15
thank you it worked this time sorry if I caused any frustration brain doesn't work to well after 12 hours of work.

I have one more question acid, why is it that with some programs the configure and make seems like a endless process?
 
Old 06-07-2002, 07:28 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
well the make will depend on how much there is to compile, and the configure depends on lots of things, what libraries the program needs to find and all sorts. most often that's down to the pickiness of the author
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Python scripts lex1dr Linux - Software 1 06-16-2003 04:24 PM
Apache and mod_python not exec python scripts fIREfox Linux - Networking 1 02-11-2003 05:54 PM
xchat and scripts eggs Linux - Software 1 01-04-2003 03:32 AM
Xchat & Python? How? nixdisciple Linux - Software 1 06-06-2002 03:12 AM
Xchat & Python nixdisciple Linux - General 1 06-03-2002 04:54 AM


All times are GMT -5. The time now is 12:42 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration