Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building on Debian 9, does not have libjpeg8 #59

Closed
CloudyProton opened this issue Jul 4, 2018 · 5 comments
Closed

Building on Debian 9, does not have libjpeg8 #59

CloudyProton opened this issue Jul 4, 2018 · 5 comments

Comments

@CloudyProton
Copy link

I cannot build glmark2 on Debian 9 as stretch does not have libjpeg8. The waf configuration errors out with Checking for library jpeg : not found. Is there a workaround for getting libjpeg.so.8 library in place?

@afrantzis
Copy link
Contributor

afrantzis commented Jul 4, 2018

Hi! On Debian you should install the libjpeg-dev package which will bring in libjpeg62-turbo, which is the current Debian default. glmark2 doesn't need a later version.

@CloudyProton
Copy link
Author

Even with that package, it still does not find the library or libjpeg.h. I may have to rip these components out from a distro that has these.

@afrantzis
Copy link
Contributor

This is strange. Can you please try doing a clean build (i.e., remove the build/ directory and configure from start), and attach the resulting build/config.log file? Also please paste the output of
apt list --installed 'libjpeg*'.

@CloudyProton
Copy link
Author

This is from a clean run today cloned from master, running "./waf configure --with-flavors=x11-gl". Debian 9 includes libjpeg62-turbo out of the box which I can maybe get playing nice via a big dirty web of symlinks but I'd really rather not.

config.log

libjpeg62-turbo/stable,now 1:1.5.1-2 amd64 [installed,automatic]

@afrantzis
Copy link
Contributor

Assuming the output from the 'apt list...' command is complete, it seems you are missing the -dev package for libjpeg, which provides the appropriate header files and shared library links. You can install it with apt install libjpeg-dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants