LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   enabling python scripts within Xchat (https://www.linuxquestions.org/questions/programming-9/enabling-python-scripts-within-xchat-22619/)

nixdisciple 06-05-2002 12:36 AM

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.

dorward 06-05-2002 02:18 AM

I suspect you will have to recompile XChat with the python libraries available at compile time.

nixdisciple 06-05-2002 10:13 PM

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!

nixdisciple 06-05-2002 10:37 PM

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.

dorward 06-06-2002 03:20 AM

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.

nixdisciple 06-06-2002 09:36 PM

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?

acid_kewpie 06-07-2002 03:16 AM

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

nixdisciple 06-07-2002 06:48 AM

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?

acid_kewpie 06-07-2002 07:28 AM

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


All times are GMT -5. The time now is 02:32 AM.