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

OS X 32-bit installer has non 32-bit xz #1955

Closed
stevedes77 opened this Issue Sep 13, 2014 · 12 comments

Comments

Projects
None yet
3 participants
@stevedes77

stevedes77 commented Sep 13, 2014

wkhtmltopdf 0.12.1
Mac OS X 10.6.8 (32 bit)

Ran the pkg, appears to succeed but binary does not appear in /usr/local/bin
After manually extracting the pkg file and running the postinstall commands one-by-one, running xz gave the error: "./xz: Bad CPU type in executable".

@mn4367 mn4367 added the Verified label Sep 15, 2014

@mn4367

This comment has been minimized.

Contributor

mn4367 commented Sep 15, 2014

Changing the CFLAGS in line 463 of build.py to CFLAGS="-arch i386" should cure this but I haven't tried yet.

@ashkulz

This comment has been minimized.

Member

ashkulz commented Sep 24, 2014

Actually, what I remember was that pure 32-bit support was not supported -- we just had a 32-bit binary to make use of the Carbon framework. Were you able to check this?

@stevedes77

This comment has been minimized.

stevedes77 commented Sep 24, 2014

The program works as expected, I haven't experienced any problems yet. Though I've only used wkhtmltopdf.

@mn4367

This comment has been minimized.

Contributor

mn4367 commented Sep 25, 2014

@stevedes77, could you try to install the package from this link? This is a build made with the fix I mentioned above and it installs without problems on 10.8.5 64Bit but I don't have a 32Bit 10.6.8 at hand currently.

Please note that the link will be removed soon as it isn't an official build (it contains a patch which hasn't made it into the current release yet).

Edit: The link is no longer available.

@stevedes77

This comment has been minimized.

stevedes77 commented Sep 26, 2014

It still doesn't work.
screen shot 2014-09-26 at 10 24 16 am

@mn4367

This comment has been minimized.

Contributor

mn4367 commented Sep 26, 2014

I've created a new build which uses CFLAGS="-arch i386 -mmacosx-version-min=10.6" for building xz. I was able to install the package on a MacBook Pro from 2007 running 10.6.8 in 32Bit mode. @stevedes77, could you try again installing the package from this link?

Thanks for your support!

(I'll also remove this link soon.)

Edit: Link disabled.

@stevedes77

This comment has been minimized.

stevedes77 commented Sep 27, 2014

The package works perfectly, thanks!

@mn4367

This comment has been minimized.

Contributor

mn4367 commented Sep 28, 2014

Thanks for testing!

@mn4367 mn4367 added the Fixed label Sep 28, 2014

@mn4367 mn4367 closed this Sep 28, 2014

@ashkulz ashkulz removed the Verified label Sep 29, 2014

@ashkulz ashkulz added this to the 0.12.2 milestone Sep 29, 2014

@ashkulz

This comment has been minimized.

Member

ashkulz commented Oct 20, 2014

Implemented in 2b18ad3

@ashkulz

This comment has been minimized.

Member

ashkulz commented Oct 22, 2014

Please test this with the latest 0.12.2 test release available from the downloads page and report back if you find any problems.

@stevedes77

This comment has been minimized.

stevedes77 commented Oct 22, 2014

It works, thanks.

@ashkulz

This comment has been minimized.

Member

ashkulz commented Jan 10, 2015

0.12.2 has been released, which includes changes related to this issue.

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