# Can't build from source, macOS, archive\_write\_pax\_header?

**URL:** <https://discourse.julialang.org/t/cant-build-from-source-macos-archive-write-pax-header/8739>\
**Category:** General Usage\
**Tags:** question\
**Created:** [February 1, 2018, 2:12pm UTC](https://discourse.julialang.org/t/cant-build-from-source-macos-archive-write-pax-header/8739 "2018-02-01T14:12:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![floswald](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/floswald/32/195_2.png) [@floswald](https://discourse.julialang.org/u/floswald)\
**Post date:** [February 1, 2018, 2:12pm UTC](https://discourse.julialang.org/t/cant-build-from-source-macos-archive-write-pax-header/8739/1 "2018-02-01T14:12:35Z")

</div>

i’m hitting this error on my mac (OS High Sierra) when trying to build from source. any ideas?

```julia
# it seems openBLAS completes fine. 
# changed nothing in Make.inc

 OpenBLAS build complete. (BLAS CBLAS LAPACK LAPACKE)

  OS ... Darwin             
  Architecture ... x86_64               
  BINARY ... 64bit                 
  Use 64 bits int (equivalent to "-i8" in Fortran)      
  C compiler ... CLANG (command line : clang -stdlib=libc++ -mmacosx-version-min=10.8 -m64)
  Fortran compiler ... GFORTRAN (command line : gfortran -mmacosx-version-min=10.8 -m64)
-n Library Name ... libopenblas64_p-r0.2.20.a
 (Multi threaded; Max num-threads is 16)
WARNING: If you plan to use the dynamic library libopenblas64_p-r0.2.20.dylib, you must run:

"make PREFIX=/your_installation_path/ install".

(or set PREFIX in Makefile.rule and run make install.
If you want to move the .dylib to a new location later, make sure you change
the internal name of the dylib with:

install_name_tool -id /new/absolute/path/to/libopenblas64_p-r0.2.20.dylib libopenblas64_p-r0.2.20.dylib

To install the library, you can run "make PREFIX=/path/to/your/installation install".

archive_write_pax_header: 'x' header failed?! This can't happen.
make[1]: *** [/Users/74097/git/julia/usr-staging/openblas-5dde4e65d321076582a2fafe16949d2160551e81.tgz] Error 1
make: *** [julia-deps] Error 2

```

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [February 1, 2018, 2:16pm UTC](https://discourse.julialang.org/t/cant-build-from-source-macos-archive-write-pax-header/8739/2 "2018-02-01T14:16:09Z")

</div>

> <https://superuser.com/questions/318809/linux-os-x-tar-incompatibility-tarballs-created-on-os-x-give-errors-when-unt>

Seems to have some solutions / workarounds.

---

<div class="post-metadata">

**Author:** ![floswald](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/floswald/32/195_2.png) [@floswald](https://discourse.julialang.org/u/floswald)\
**Post date:** [February 1, 2018, 2:22pm UTC](https://discourse.julialang.org/t/cant-build-from-source-macos-archive-write-pax-header/8739/3 "2018-02-01T14:22:45Z")

</div>

great! seems to work! thanks
