From: <pa...@rc...> - 2001-04-27 08:12:25
|
Tony Segredo wrote: > I encountered the attached errors while building on my > Redhat 5.2 system (kernel 2.0.36) I had to modify my > $PATH from the red hat default to get this far. > Originally, make built nothing, with the error "can't > find cc1plus". I found its directory and added it to the > path which got me to the attached file. Something is > probably missing from my environment or the libraries are > out of date. The gcc version is whatever redhat 5.2 > installs. Hi, Tony. I searched for this problem on Google and found a lot of people reporting similar problems but little in the way of definitive solutions. :-( However, there are several different possibilities you could try by hacking the Makefile (not Makefile.in for now) in the mlcd directory: - Change $(CC) to $(CXX) in the following section (which links): $(GOAL): $(OBJS) $(CC) -o $(GOAL) $(OBJS) strip -o $(GOAL)-stripped $(GOAL) - Add "-fno-exceptions -fno-rtti" to CFLAGS near the middle of the file. Please try each of these possible fixes separately and then together, and let me know if you have any luck. David |
From: PASCHAL,DAVID (HP-Roseville,ex1) <dav...@hp...> - 2001-04-28 00:55:13
|
Upgrading the system would certainly solve the problem, but I'd like to try to make it work if possible. A RedHat 5.2 system, although somewhat old nowadays, isn't IMO inherently broken if it meets the user's needs, but of course security updates should still be applied. In the long run I'd like to make the hpoj software work on as many platforms as possible. Of course, the "possible" threshold is what remains to be seen. :-) David > -----Original Message----- > From: Erich K. Oliphant [mailto:er...@va...] > Sent: Friday, April 27, 2001 5:36 PM > To: hpo...@li... > Subject: Re: [hpoj-devel] Trouble building on Redhat 5.2 > > > You might want to upgrade your system. The latest kernel rev is 2.4 > > > ----- Original Message ----- > From: <se...@at...> > To: <hpo...@li...> > Sent: Thursday, April 26, 2001 7:02 PM > Subject: [hpoj-devel] Trouble building on Redhat 5.2 > > > > I encountered the attached errors while building on my > > Redhat 5.2 system (kernel 2.0.36) I had to modify my > > $PATH from the red hat default to get this far. > > Originally, make built nothing, with the error "can't > > find cc1plus". I found its directory and added it to the > > path which got me to the attached file. Something is > > probably missing from my environment or the libraries are > > out of date. The gcc version is whatever redhat 5.2 > > installs. > > > > In the past I have successfully rebuilt the kernel, > > downloaded and built X11 and also Netscape Navigator. > > > > Any suggestions? > > > > -- > > Tony Segredo > > > > > _______________________________________________ > hpoj-devel mailing list > hpo...@li... > http://lists.sourceforge.net/lists/listinfo/hpoj-devel > |
From: <se...@at...> - 2001-04-28 01:20:46
|
Will do. I'll report back by Monday. -- Tony Segredo > Tony Segredo wrote: > > I encountered the attached errors while building on my > > Redhat 5.2 system (kernel 2.0.36) I had to modify my > > $PATH from the red hat default to get this far. > > Originally, make built nothing, with the error "can't > > find cc1plus". I found its directory and added it to the > > path which got me to the attached file. Something is > > probably missing from my environment or the libraries are > > out of date. The gcc version is whatever redhat 5.2 > > installs. > > Hi, Tony. I searched for this problem on Google and found a lot of people > reporting similar problems but little in the way of definitive solutions. > :-( However, there are several different possibilities you could try by > hacking the Makefile (not Makefile.in for now) in the mlcd directory: > > - Change $(CC) to $(CXX) in the following section (which links): > $(GOAL): $(OBJS) > $(CC) -o $(GOAL) $(OBJS) > strip -o $(GOAL)-stripped $(GOAL) > > - Add "-fno-exceptions -fno-rtti" to CFLAGS near the middle of the file. > > Please try each of these possible fixes separately and then together, and > let me know if you have any luck. > > David > > > _______________________________________________ > hpoj-devel mailing list > hpo...@li... > http://lists.sourceforge.net/lists/listinfo/hpoj-devel |
From: <se...@at...> - 2001-04-30 03:19:09
|
Hi david, The first fix (changing CC to CXX)worked. Let me know if you are interested in whether the second works, because I didn't bother trying. I was able to print a perfect test page with printtool and I tried all the ptal-hp functions except scan. They worked perfectly. When I rebooted, I couldn't print any more, so I must have messed up editing rc.local. I'll straighten that out later in the week and also will try scanning. For your records: Printer: OfficeJet R40 attached direct to LPT1: Connection: bi-directional SPP (not ECP) Distribution: Redhat 5.2 Kernel: 2.0.36 compiled for 486 Processor: AMD K6-3+ System: Tyan S1390 motherboard If you would like the gcc version, please tell me how to find it. P.S. Should I kill the lpd daemon? -- Tony Segredo > Tony Segredo wrote: > > I encountered the attached errors while building on my > > Redhat 5.2 system (kernel 2.0.36) I had to modify my > > $PATH from the red hat default to get this far. > > Originally, make built nothing, with the error "can't > > find cc1plus". I found its directory and added it to the > > path which got me to the attached file. Something is > > probably missing from my environment or the libraries are > > out of date. The gcc version is whatever redhat 5.2 > > installs. > > Hi, Tony. I searched for this problem on Google and found a lot of people > reporting similar problems but little in the way of definitive solutions. > :-( However, there are several different possibilities you could try by > hacking the Makefile (not Makefile.in for now) in the mlcd directory: > > - Change $(CC) to $(CXX) in the following section (which links): > $(GOAL): $(OBJS) > $(CC) -o $(GOAL) $(OBJS) > strip -o $(GOAL)-stripped $(GOAL) > > - Add "-fno-exceptions -fno-rtti" to CFLAGS near the middle of the file. > > Please try each of these possible fixes separately and then together, and > let me know if you have any luck. > > David > > > _______________________________________________ > hpoj-devel mailing list > hpo...@li... > http://lists.sourceforge.net/lists/listinfo/hpoj-devel |
From: PASCHAL,DAVID (HP-Roseville,ex1) <dav...@hp...> - 2001-05-01 02:48:55
|
Tony Segredo wrote: > The first fix (changing CC to CXX)worked. Let me know if > you are interested in whether the second works, because I > didn't bother trying. > > I was able to print a perfect test page with printtool > and I tried all the ptal-hp functions except scan. They > worked perfectly. Hi, Tony. Thanks for letting me know. I just checked in changes to Makefile.in in mlcd and apps/xojpanel to use CXX instead of CC for compiling and linking C++ code. It didn't break anything for me, at least. Please do a "cvs update" and re-run ./configure and make to see if it compiles out of the box for you now. > When I rebooted, I couldn't print any more, so I must > have messed up editing rc.local. I'll straighten that out > later in the week and also will try scanning. ... > Should I kill the lpd daemon? You could try killing and restarting lpd, but I don't know if that will help. Do a "ps -aux|grep ptal" to see if ptal-printd and ptal-mlcd are running. Also, if you're running X, switch back and log in to VT1 and try to print there, to see if any error messages from the ptal daeamons appear. Also, try "lpq -P<queuename>", substituting the correct queue name of course, to see if jobs are queued up. > If you would like the gcc version, please tell me how to > find it. I don't think I need it at this point, but FYI you should be able to say "gcc --version" or "g++ --version". David |