need gnu c c++ compiler to install HP printer

Asked by sherabster@gmail.com

I want to install a HP Deskjet D4360 printer and I've downloaded the hplip-3.10.9.run to do so.
But when running this program I get the following message:

INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
warning: There are 7 missing REQUIRED dependencies.
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: gcc (gcc - GNU Project C and C++ Compiler)
warning: This installer cannot install 'gcc' for your distro/OS and/or version.
error: Installation cannot continue without this dependency. Please manually install this dependency and re-run this installer.

I've installed two gnuc++ compilers, but that did not solve the issue.

Does anybody know which compiler I need to install?

Thank you very much,
With kind regards,
Sherab

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu hplip Edit question
Assignee:
No assignee Edit question
Solved by:
sherabster@gmail.com
Solved:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

Please install the

build-essential

package and retry.

Revision history for this message
sherabster@gmail.com (sherabster) said :
#2

Thank you Marco, that was one good step, but now it asks for Python development files.
I installed IDLE, but that was not the correct one.
Also it's my bedtime now, I try again tomorrow.
Thank you very much,
I'm very new to Ubuntu, but I really start to like and appreciate it.
With kind regards,
Sherab

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Try installing python-devel

Revision history for this message
sherabster@gmail.com (sherabster) said :
#4

Thank you Actionparsnip,
I tried to do so, but upto now I did not succeed.
I could not find it through Ubuntu software centre, so I visited www.python.org and downloaded python 2.7.1 tarball but failed to install it. Itś all very new to me and I need to get experienced, read faq's and simply try it out.
But for the moment I'm too busy to find time to do that properly.
During the weekend Iĺl have more time to look at this and will post another comment when I really found some time to put effort in this.
With kind regards,
Shera

Revision history for this message
sherabster@gmail.com (sherabster) said :
#5

I found some instructions, and used: tar zfx python-2.7.1.tgz
after that: ./configure, then: make ( a lot happened of which I don't understand a thing ;-)) and finally: make install
Then this message came up:

/usr/bin/install -c python /usr/local/bin/python2.7
/usr/bin/install: kan het normale bestand ‘/usr/local/bin/python2.7’ niet aanmaken: Toegang geweigerd
make: *** [altbininstall] Fout 1

It says: cannot create normal file python2.7 access denied error 1
I have no idea what to do about this, how to give this program the necessary rights. If that is what to be done.

I would like a clue on how to continue :-))

Thanks

Revision history for this message
sherabster@gmail.com (sherabster) said :
#6

Dear people,
All thank you very much for your kind assistence.
It's just too complicated for me, so for the time being I give up to connect the printer to my laptop.
To receive your kind advice was a very nice experience for me.
With kind regards and best wishes,
Sherab

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#7

python-devel is in the repos. You can install it like any other app using software centre.....