michaelrsweet / mxml

Tiny XML library.
https://www.msweet.org/mxml
Apache License 2.0
426 stars 157 forks source link

`make install` fails #313

Closed fxcoudert closed 1 month ago

fxcoudert commented 1 month ago

We are building mxml in Homebrew, using ./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

This fails with:

==> make install
Compiling mxml-attr.c
Compiling mxml-file.c
Compiling mxml-get.c
Compiling mxml-index.c
Compiling mxml-node.c
Compiling mxml-options.c
Compiling mxml-search.c
Compiling mxml-set.c
Compiling testmxml.c
Compiling mxml-private.c
Creating libmxml4.2.dylib...
Creating libmxml4.a...
Installing libmxml4.dylib to /opt/homebrew/Cellar/libmxml/4.0.0/lib...
Linking testmxml...
Installing libmxml4.a to /opt/homebrew/Cellar/libmxml/4.0.0/lib...
mkdir: /opt/homebrew/Cellar/libmxml/4.0.0/lib: File exists
make: *** [install-libmxml4.a] Error 1
make: *** Waiting for unfinished jobs....
michaelrsweet commented 1 month ago

Yes, I noticed this last night and pushed a fix ([master 8a5c9ee Fix missing docdir in Makefile.in.]) Will be doing a 4.0.1 release later today...