configure: error: C preprocessor /lib/cpp fails sanity check

discuss compiling applications for Puppy
Post Reply
Message
Author
belham2
Posts: 1715
Joined: Mon 15 Aug 2016, 22:47

#16 Post by belham2 »

Keef wrote:Brightness definitely works, and the temp settings respond too. Preview does the business as well.
Keef,

Jesus, instead of saying it works, post what redshift you are using. P.S. I spoke to the developer...it does not work on LxPupSc latest releases. Period. Whatever your using must be something custom, because nothing that is existing in Slackware, Slackbuilds, github or on Puppy boards or any of the other redhsift builds (on the net anywhere) work. They've all been tested. I am not trying to pick an argument, but this has been thoroughly vetted and tested. Post some facts, not gibberish. If you have somehow miraculously coded your own redshift, please do tell, and please post the link. Don't just say you have an "old .pet lying" around. All the old .pets and current new .pets from the last few years in existence have been tested by more than a handful of people--the developer (Jon) included---trying to get them to work on LxPupSc! Conclusion, through mutliple testing---it cannot work because LxPupSC doesn't have the ability (because of what is missing out of the kernel and drivers) to set gamma settings, or brightness settings, or the whole frigging gambit of what redshift is coded for. Post something, anything, then we'll talk, and I'll zip it off to Jon and see what he says. Unreal :roll:

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#17 Post by peebee »

belham2 wrote:I downloaded both of Micko's Slacko 32 (his latest 6.9.6.4) and redshift compiled easily & ran well. Then I took what Micko's compiled and transferred it all to Peebee's latest 32-bit Slacko (LxPupSc.17.01.23R), and it still would not run.
The thing to do therefore, is to replace the LxPupSc kernel with the one from Slacko32-6.9.6.4 (just replace the vmlinuz and zdrv files - renaming the zdrv appropriately) and then try the redshift build you have made.

The woof-ce builds of LxPupSc and Slacko32-6.9.6.4 are almost identical so it must be a kernel issue.....I would think :?
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

User avatar
Billtoo
Posts: 3720
Joined: Tue 07 Apr 2009, 13:47
Location: Ontario Canada

#18 Post by Billtoo »

I think I got it.

I compiled the newest source code (redshift-1.11.tar.xz) and made a pet
of it.
After installing the pet I click on run in the puppy menu and enter
redshift -l 00.0:-00.00 -t 5500K:3500K (put the latitube and longitude
of your location in place of the zeros)

It's showing up in Task Manager along with a noticable change in the
screen.
Attachments
redshift-1.11-i686.pet
(97.97 KiB) Downloaded 537 times
taskmanager.jpg
(59.8 KiB) Downloaded 450 times

belham2
Posts: 1715
Joined: Mon 15 Aug 2016, 22:47

#19 Post by belham2 »

Billtoo wrote:I think I got it.

I compiled the newest source code (redshift-1.11.tar.xz) and made a pet
of it.
After installing the pet I click on run in the puppy menu and enter
redshift -l 00.0:-00.00 -t 5500K:3500K (put the latitube and longitude
of your location in place of the zeros)

It's showing up in Task Manager along with a noticable change in the
screen.

Bill,

Sent you a PM. I (and two others) tried repeatedly to install your .pet and get it to work in LxPupSc. It would install, but just like our compiling creations, would not run. This was tried on both Intel and AMD motherboards, where redshift runs in nearly all other pups (I personally have about 14 pup and pup-related OSes I am constantly testing). I know Keef and you have it working, but this is now a complete mystery how it is failing on not only several of my machines (5 to be exact), but it also failed ro run on others machines.

Thank you to Keef and you for keeping this alive (seriously appreciate it because I do really like Peebee's creations). And thank you for compiling your version. This has me totally stumped...especially when I've compiled and ran redshift so much, for so long, and many other machines, and never had a problem on one of my setups. But knowing my two other friends, with completely different setups, also again failed with redshift, tells me something is out of my hands here.

Thanks again, guys! :wink:

Post Reply