Jump to content

Tar.gz install incomplete [solved]


Recommended Posts

Hello all

I have been trying to do my first installation from a tar.gz file. All was going well until the 'configure' stage where it rejected. I have been trying to install the new HP 'printer for Linux' programme at http://sourceforge.net/project/showfiles.php?group_id=16846 and the item is called hplip-8.0.4 .

Here is the reject message that I received.

 

checking for a BSD-compatible install... /usr/bin/install -c

checking whether make sets $(MAKE)... yes

checking for chkconfig... found in /sbin

checking for install_initd... no

checking for rpm install... no

configure: creating ./config.status

config.status: creating Makefile

configure: configuring in prnt

configure: running /bin/sh './configure' --prefix=/usr '--prefix=/usr' --cache-file=/dev/null --srcdir=.

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for gawk... gawk

checking whether make sets $(MAKE)... yes

checking for gcc... no

checking for cc... no

checking for cc... no

checking for cl... no

configure: error: no acceptable C compiler found in $PATH

See `config.log' for more details.

configure: error: /bin/sh './configure' failed for prnt

[root@localhost hplip-0.8.4]#

 

Is anybody able to cast any light on where the trouble lies and how to fix it ???

I have my HP PSC1210 running ok but it would be noce to have dedicated systems.

 

Many thanks in anticipation.

 

Rowan

Link to comment
Share on other sites

You need a C or a C++ compiler. The best one is probably gcc, so you need to install it.

 

Depending on your distro, mine is Mandrake 10.1, you will probably want to use the packaging utility.

 

Open a terminal, switch to root and type:

urpmi gcc
urpmi gcc-c++

 

This will install the native C and C++ compiler on your system.

 

Report back here if you have further problems (you might, I had MAJOR problems the first few times I built something from source.)

 

Good luck :)

Edited by nchancock
Link to comment
Share on other sites

Thank you gnome and nchancock

I followed your pointers and the installation went flawlessly. It is a bit of a pity that the system didn't tell me that it needed the gcc etc when I tried the first time.

 

Once again many thanks and I apologise for being such a beginner. I also forgot to say that I am running Mandrake 10 Official.

 

Rowan

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...