LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-09-2005, 10:02 PM   #1
hscast
Member
 
Registered: Mar 2005
Location: Atlanta, Ga.
Distribution: Fedora
Posts: 63

Rep: Reputation: 15
Question Compiling hplip source code.


I recently setup an HP PSC 2610 printer on my home LAN. I am running Ubuntu Linux (a Debian based distribution) on one of the computers. According to the list on SourceForge this printer requires the hplip backend driver to get all but the FAX function to work. I downloaded the source version 0.8.8, and after stumbling a little I got past the first step of running configure. I am not able to run make. I'll get the following output:

Making all in prnt/hpijs
make[1]: Entering directory `/home/scott/Downloads/hplip-0.8.8/prnt/hpijs'
source='hpijs.cpp' object='hpijs.o' libtool=no \
DEPDIR=.deps depmode=none /bin/sh ./../../depcomp \
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"hpijs\" -DVERSION=\"2.0.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DVERSION=\"2.0.2\" -DHAVE_STRTOD=1 -DHAVE_STRTOL=1 -DHAVE_LIBM=1 -I. -I. -O2 -Wall -DAPDK_LITTLE_ENDIAN -DAPDK_DJ660 -DAPDK_DJ6xx -DAPDK_DJ6xxPhoto -DAPDK_DJ8xx -DAPDK_DJ9xx -DAPDK_DJ9xxVIP -DAPDK_DJ630 -DAPDK_APOLLO2XXX -DAPDK_APOLLO21XX -DAPDK_APOLLO2560 -DAPDK_DJ600 -DAPDK_DJ350 -DAPDK_DJ8x5 -DAPDK_PSP100 -DAPDK_AUTODUPLEX -DAPDK_HIGH_RES_MODES -DAPDK_LJMONO -DAPDK_DJ540 -DAPDK_DJ850 -DAPDK_DJ890 -DAPDK_DJ3320 -DAPDK_LJCOLOR -DAPDK_DJGENERICVIP -DAPDK_BUFFER_SEND -DAPDK_LDL_COMPRESS -DAPDK_EXTENDED_MEDIASIZE -DAPDK_MLC_PRINTER -DAPDK_DJ3600 -DAPDK_LINUX -DAPDK_AUTO_INCLUDE -c -o hpijs.o hpijs.cpp
./../../depcomp: line 504: exec: g++: not found
make[1]: *** [hpijs.o] Error 127
make[1]: Leaving directory `/home/scott/Downloads/hplip-0.8.8/prnt/hpijs'
make: *** [all-recursive] Error 1

Any advice would be greatly appreciated

TIA
Scott
 
Old 03-10-2005, 03:09 PM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
Sounds to me like the c compiler is missing: exec: g++: not found

Sure that ./configure ran without complaining about this?

On my system, g++ comes with the package gcc-c++
 
Old 03-10-2005, 09:51 PM   #3
hscast
Member
 
Registered: Mar 2005
Location: Atlanta, Ga.
Distribution: Fedora
Posts: 63

Original Poster
Rep: Reputation: 15
Question

I am running Ubuntu a Debian distro. After googling for a while in trying to get configure to work I got the impression that cpp is g++. I found that I had to change the symbolic link from cpp -> /usr/bin/cpp-3.3 to cpp -> /usr/bin/cpp-2.95 to get configure to run. Am I under the wrong impression? When I search the Debian repositories for g++, I get back errors but searching leads me to cpp, so there is gcc/cpp.

TIA
Scott
 
Old 03-11-2005, 04:16 AM   #4
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
cpp is the C pre-processor, not the compiler.

Search for c++ (GNU c++)!
 
Old 06-16-2006, 08:36 PM   #5
hscast
Member
 
Registered: Mar 2005
Location: Atlanta, Ga.
Distribution: Fedora
Posts: 63

Original Poster
Rep: Reputation: 15
Suse posted a newer version of the RPM that fixed the problem, something to do with c++ versions
 
  


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
RPM vs compiling from Source Code ceci2 Linux - Enterprise 4 03-15-2005 04:58 PM
Compiling Kernel and other source code davegermiquet Conectiva 2 01-26-2005 07:01 PM
HELP: newbie compiling source code.... kevingpo Linux - Software 6 12-13-2004 02:16 PM
Problem in compiling source code JIV Linux - Software 1 02-14-2004 04:11 AM
Problems with compiling source code cav Linux - General 4 02-06-2003 01:47 AM

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

All times are GMT -5. The time now is 12:00 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration