LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-16-2009, 08:03 PM   #1
SentralOrigin
Member
 
Registered: Jul 2005
Distribution: Gentoo, Ubuntu
Posts: 318

Rep: Reputation: 30
[SOLVED] Cannot compile ircII on Slackware


Slackware 12.0

I just downloaded the package (http://www.irchelp.org/irchelp/ircii/ircii-2.8.2.tar.gz), untar'd it and did ./configure which worked well then make, but it gives me this error:

Code:
make[1]: Entering directory `/home/sentralorigin/ircii-2.8.2/source'
gcc -g -O -DHAVE_CONFIG_H  -I../include -c term.c
term.c: In function 'term_init':
term.c:476: error: 'ICANON' undeclared (first use in this function)
term.c:476: error: (Each undeclared identifier is reported only once
term.c:476: error: for each function it appears in.)
term.c:476: error: 'ECHO' undeclared (first use in this function)
term.c:479: error: 'VMIN' undeclared (first use in this function)
term.c:480: error: 'VTIME' undeclared (first use in this function)
term.c:485: error: 'VQUIT' undeclared (first use in this function)
term.c:495: error: 'IXON' undeclared (first use in this function)
term.c: In function 'term_eight_bit':
term.c:866: error: 'CSIZE' undeclared (first use in this function)
term.c:866: error: 'CS8' undeclared (first use in this function)
term.c: In function 'set_term_eight_bit':
term.c:880: error: 'CS8' undeclared (first use in this function)
term.c:881: error: 'ISTRIP' undeclared (first use in this function)
make[1]: *** [term.o] Error 1
make[1]: Leaving directory `/home/sentralorigin/ircii-2.8.2/source'
make: *** [irc] Error 2

Last edited by SentralOrigin; 03-16-2009 at 08:41 PM.
 
Old 03-16-2009, 08:16 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Try executing this and then execute make again.
Code:
sed -i '/irc.h/ a\#include <termios.h>\' source/term.c
 
Old 03-16-2009, 08:30 PM   #3
SentralOrigin
Member
 
Registered: Jul 2005
Distribution: Gentoo, Ubuntu
Posts: 318

Original Poster
Rep: Reputation: 30
Thanks, that worked, but I'm wondering what exactly did it do?
 
Old 03-17-2009, 04:34 AM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
All those variables that are undeclared are declared in termios.h. The sed simply added #include <termios.h> term.c so those variables would be defined. When you work with ancient software like ircii-2.8.2, you gotta expect issues.
 
Old 10-14-2009, 10:49 AM   #5
SentralOrigin
Member
 
Registered: Jul 2005
Distribution: Gentoo, Ubuntu
Posts: 318

Original Poster
Rep: Reputation: 30
What does this mean?
Code:
sed: 1: "source/term.c": unterminated substitute pattern
 
  


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
How to change ident in ircII SentralOrigin Linux - Software 0 08-30-2008 01:32 PM
defualt download directory for ircII fatrandy13 Linux - Software 3 07-06-2004 11:59 PM
Compile your own slackware? ppfundst Slackware 13 07-10-2003 06:11 AM
WARN: poss backdoored ircii-pana at ftp.bitchx.org unSpawn Linux - Security 0 07-01-2002 06:16 PM

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

All times are GMT -5. The time now is 04:55 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