michaelrsweet/mxml

`make install` still fails

Closed this issue · 6 comments

./configure --enable-shared --disable-debug --disable-dependency-tracking --prefix=/opt/homebrew/Cellar/libmxml/4.0.0 --libdir=/opt/homebrew/Cellar/libmxml/4.0.0/lib && make install gives:

  ==> make install
  Installing libmxml4.so to /home/linuxbrew/.linuxbrew/Cellar/libmxml/4.0.1/lib...
  Installing libmxml4.a to /home/linuxbrew/.linuxbrew/Cellar/libmxml/4.0.1/lib...
  mkdir: cannot create directory ‘/home/linuxbrew/.linuxbrew/Cellar/libmxml/4.0.1/lib’: File exists
  make: *** [Makefile:245: install-libmxml4.a] Error 1
  make: *** Waiting for unfinished jobs....

In version 4.0.1
Homebrew/homebrew-core#166898

Not sure why it is erroring out (install-sh shouldn't care if the destination already exists) but let me see what is going on...

Add "-j1" to your "make install" command - it is running the two install targets in parallel, which causes the error.

I will update the makefile to force the install targets to run one at a time (.NOTPARALLEL).

[master b4dfd13] Add NOTPARALLEL GNU make extension to avoid install errors (Issue #314)

I won't be releasing this right away but sometime early next week. In the meantime use "-j1" (or set the MAKEFLAGS environment variable accordingly).

@michaelrsweet Thanks for the quick turnaround, can you tag the commit and cut a new release? 🙏

@chenrui333 Like I said, I'll hold off until early next week (maybe Monday, we'll see) in case other bugs get reported in the meantime.

works for me. 👍