HPLIP failed to Compile

Asked by David Vincent-Jones

Ubuntu 7.10 .. 32 bit
quote:
david@david-laptop:~/Desktop/hplip-2.8.5$ ./configure --enable-network-build --disable-pp-build --enable-fax-build --enable-dbus-build --enable-gui-build --enable-scan-build --enable-doc-build --disable-foomatic-ppd-install --enable-foomatic-drv-install --with-drvdir=/usr/share/cups/drv/hp/ --with-hpppddir=/usr/share/ppd/hpijs/HP --disable-hpijs-only-build --prefix=/usr
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
david@david-laptop:~/Desktop/hplip-2.8.5$

end quote

Any idea what I am missing.
Using photosmart 8700 series

Thank you

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#1

The compiling software isn't fully installed. You might be missing g++. Although if possible run

./install.py

in the hplip source directory and use the automatic installer which will install all of the hplip require dependencies, and install hplip.

Hope this helps.

Aaron

Revision history for this message
David Vincent-Jones (davidvj) said :
#2

More difficulties: ...
DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'sudo apt-get install --yes --force-yes build-essential'
Please wait, this may take several minutes...
/error: No output seen in over 300 sec... (Is the CD-ROM/DVD source repository enabled? It shouldn't be!)
fatal error: :hplip-install
error: Command failed. Re-try #1...
Running 'sudo apt-get install --yes --force-yes build-essential'
Please wait, this may take several minutes...
error: Command failed. Re-try #2...
Running 'sudo apt-get install --yes --force-yes build-essential'
Please wait, this may take several minutes...
error: Command failed. Re-try #3...
Running 'sudo apt-get install --yes --force-yes build-essential'
Please wait, this may take several minutes...
error: Package install command failed with error code 100
Would you like to retry installing the missing package(s) (y=yes*, n=no, q=quit) ? y
Running 'sudo apt-get install --yes --force-yes build-essential'
Please wait, this may take several minutes...
error: Package install command failed with error code 100
Would you like to retry installing the missing package(s) (y=yes*, n=no, q=quit) ?

I do NOT have the ubuntu source disk on the system

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#3

Actually the problem is that the cd-rom repository is enabled.

Click System > Admin > Software Sources

make sure the cd-rom is unchecked. Click close, then reload. And then run the installer again.

A

Revision history for this message
Ben Pintilie (benpintilie) said :
#4

Hi there,

I am having the same issue on an EeePC.

MAKE did not work, but the workaround ./install.py worked fine.

Revision history for this message
xlash911 (guillaume-nourry-marquis) said :
#5

On my side the problem was clearly identified in the logs generated, and it was because my Folder name was having spaces in it.... *|!&*|&|*# !!!

Can you help with this problem?

Provide an answer of your own, or ask David Vincent-Jones for more information if necessary.

To post a message you must log in.