boostorg / boost

Super-project for modularized Boost
https://github.com/boostorg/wiki/wiki/Getting-Started%3A-Overview
Boost Software License 1.0
7.02k stars 1.73k forks source link

When I intsall boost for my react-native proj, I got this error. #850

Closed Hao-yiwen closed 8 months ago

Hao-yiwen commented 8 months ago
Installing boost (1.76.0)

[!] Error installing boost
Verification checksum was incorrect, expected f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41, got 5e89103d9b70bba5c91a794126b169cb67654be2051f90cf7c22ba6893ede0ff

How can i fix this error?

mishenThakshana commented 8 months ago

Me too getting this error

SharpEV commented 8 months ago

See here: https://github.com/boostorg/boost/issues/843#issuecomment-1872943124

wheeleruniverse commented 8 months ago

Is there anyway to resolve this issue for Expo only projects? The workarounds in #843 don't seem possible for Expo only as I can't access the podspecs.

mishenThakshana commented 8 months ago

Yes can somebody provide the solution for expo projects thanks

mishenThakshana commented 8 months ago

I could solve this by changing boost.podspec file in node_modules/react native/third-party-podspecs/boost.podspec, in there spec.source use the line below,

  spec.source = { :http => 'https://sourceforge.net/projects/boost/files/boost/1.76.0/boost_1_76_0.tar.bz2',
                  :sha256 => 'f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41' }

@wheeleruniverse

wheeleruniverse commented 8 months ago

@mishenThakshana thanks you saved me 💕

Hao-yiwen commented 8 months ago

https://github.com/boostorg/boost/issues/843#issuecomment-1872943124

Hao-yiwen commented 8 months ago

https://github.com/facebook/react-native/issues/42180