Author Topic: <Answered>"/lib/cpp" fails sanity check"  (Read 1873 times)

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1503
<Answered>"/lib/cpp" fails sanity check"
« on: October 26, 2009, 12:25:35 PM »
Still trying to fix my problem with printing in Abiword. It was suggested in the Abiword mailing list I should try the beta because it has several improvements that might help the problem.

So when I go to compile from source the config errors I get are:
Quote
checking how to run the C preprocessor... /lib/cpp
configure: error: in `/home/roj/Desktop/abiword-2.7.10':
configure: error: C preprocessor "/lib/cpp" fails sanity check
I have installed everything I could think of that seemed relevant including gcc gcc-cpp gcc-c++ but no luck. So what am I missing?

[attachment deleted by admin]
« Last Edit: October 26, 2009, 02:02:34 PM by Ray2047 »
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6236
Re: "/lib/cpp" fails sanity check"
« Reply #1 on: October 26, 2009, 12:27:37 PM »

you are missing a package called "glibc-headers-devel"
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1503
Re: "/lib/cpp" fails sanity check"
« Reply #2 on: October 26, 2009, 12:49:42 PM »

you are missing a package called "glibc-headers-devel"
Thank you. That got me closer but now after installing more dependencies  I have
Quote
checking for png.h... yes
checking jpeglib.h usability... no
checking jpeglib.h presence... no
checking for jpeglib.h... no
configure: error: jpeg.h not found
[roj@PCLOS abiword-2.7.10]$ ^C
I can't find anything close to that in Synaptic.
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6236
Re: "/lib/cpp" fails sanity check"
« Reply #3 on: October 26, 2009, 01:33:51 PM »
when the configuration script fails .search for development package of the failed dependency, in your case ..try to search and install something that could be named as "libjpeg-devel" or something that sounds like that
« Last Edit: October 26, 2009, 01:36:55 PM by muungwana »
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: "/lib/cpp" fails sanity check"
« Reply #4 on: October 26, 2009, 01:51:30 PM »
I believe the lib you need is lijpeg62-devel.


Offline Ray2047

  • Hero Member
  • *****
  • Posts: 1503
Re: "/lib/cpp" fails sanity check"
« Reply #5 on: October 26, 2009, 02:00:48 PM »
I believe the lib you need is lijpeg62-devel.
Thank you both. You and muungwana were right on. I didn't even think about switching the order of the syllables in the name. It got me a bit further but I don't expect you to hold my hand all the way and I seem to be in dependency hell so for now I'll just close out the post. Thanks for you patience and help.
KDE 64 bit.
CPU: AMD Athlon II X2 250 Processor.
Display:  nVidia C61 [GeForce 7025 / nForce 630a.
Memory: 3Gb

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: <Answered>"/lib/cpp" fails sanity check"
« Reply #6 on: October 26, 2009, 02:18:33 PM »
When you are not sure how the name is arranged or what part of the name is used for a package, search synaptic with part of the name. In the case of jpeglib, searching jpeg will show a list for you to look through until you find the one you need. If one part of a name doesn't yield the results needed, try another. You can also switch the search from Description and Name to Provided Packages to find packages with what is needed included in them.


alonzo22

  • Guest
Re: "/lib/cpp" fails sanity check"
« Reply #7 on: December 26, 2009, 01:35:39 PM »

you are missing a package called "glibc-headers-devel"

Thank you very, very much.

( I am from Turkey )