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

release 1.12.34.1 not compatible with --with-debug #1333

Closed
jeffkaufman opened this Issue Dec 8, 2016 · 3 comments

Comments

Projects
None yet
1 participant
@jeffkaufman
Copy link
Contributor

jeffkaufman commented Dec 8, 2016

The 1.12 release tarballs no longer contain debug binaries. This was an intentional change, because these binaries are much larger to download and (we believe). If people need PSOL built with debugging symbols they can use the new --psol-from-source option in the install script to build their own PSOL. But the current implementation conflicts with --with-debug:

  checking for psol ... not found
  ./configure: error: module ngx_pagespeed requires the pagespeed optimization library.
  Look in /home/jefftk/nginx-1.11.6/objs/autoconf.err for more details.
  Error: Failure running './configure --add-module=/home/jefftk/ngx_pagespeed-latest-beta --with-http_ssl_module --with-debug', exiting.

The error file has:

  cc: error: /home/jefftk/ngx_pagespeed-latest-beta/psol/lib/Debug/linux/x64/pagespeed_automatic.a: No such file or directory

(I put --with-debug in when the automated installer asked for additional configure flags)

@jeffkaufman

This comment has been minimized.

Copy link
Contributor

jeffkaufman commented Dec 8, 2016

#1332 should fix this

@jeffkaufman

This comment has been minimized.

Copy link
Contributor

jeffkaufman commented Dec 12, 2016

As a workaround, if you want to use --with-debug with the precompiled binaries in 1.12.34.1 you can change buildtype=Debug to buildtype=Release in ngx_pagespeed/config.

@jeffkaufman

This comment has been minimized.

Copy link
Contributor

jeffkaufman commented Dec 15, 2016

Version 1.12.34.2 released, with the fix for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment