xuyiqing / fect

fixed effect counterfactual estimators
Other
53 stars 20 forks source link

Installation failure #18

Closed feyaadallie closed 3 years ago

feyaadallie commented 3 years ago

After trying to install the package using devtools::install_github('xuyiqing/fect') I'm getting the following error:

ld: warning: directory not found for option '-L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin15/6.1.0'
ld: warning: directory not found for option '-L/usr/local/gfortran/lib'
ld: library not found for -lgfortran
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [fect.so] Error 1
ERROR: compilation failed for package ‘fect’
* removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/fect’
Error: Failed to install 'fect' from GitHub:
  (converted from warning) installation of package ‘/var/folders/1h/99xw_yts4kx00ymj228sxsph0000gn/T//Rtmp2zKWKq/file10ae937023c22/fect_0.3.5.tar.gz’ had non-zero exit status

Not sure if there's something additional I have to download before installing. Thanks!

xuyiqing commented 3 years ago

Check this out: http://yiqingxu.org/public/BigSurError.pdf

And please install fastplm first.

On Thu, May 13, 2021 at 8:25 AM feyaadallie @.***> wrote:

After trying to install the package using devtools::install_github('xuyiqing/fect') I'm getting the following error:

ld: warning: directory not found for option '-L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin15/6.1.0'

ld: warning: directory not found for option '-L/usr/local/gfortran/lib'

ld: library not found for -lgfortran

clang: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [fect.so] Error 1

ERROR: compilation failed for package ‘fect’

  • removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/fect’

Error: Failed to install 'fect' from GitHub:

(converted from warning) installation of package ‘/var/folders/1h/99xw_yts4kx00ymj228sxsph0000gn/T//Rtmp2zKWKq/file10ae937023c22/fect_0.3.5.tar.gz’ had non-zero exit status

Not sure if there's something additional I have to download before installing. Thanks!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/xuyiqing/fect/issues/18, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2PKGDANVUZMF6CJ3SI53LTNPVOBANCNFSM442X4TCA .

feyaadallie commented 3 years ago

Thank you! The Big Sur Error document solved the problem.