Titor8115 / mandown

man-page inspired Markdown viewer
GNU General Public License v3.0
246 stars 13 forks source link

mandown 1.0.3 failed to build on OSX #35

Open chenrui333 opened 3 years ago

chenrui333 commented 3 years ago

both 1.0.2 and 1.0.3 releases failed to build on OSX, error log is below:

formula   mdn
ld: can't map file, errno=22 file 'build/blender/blender.o' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [mdn] Error 1

relates to

cc @Titor8115

Titor8115 commented 3 years ago

Have you tried directly compile the program from github version? I'm currently also having problem with updating homebrew installation... And I'm in process of finding someone that is familiar with homebrew. Let me know if you encounter similar issues if it is compiled from github files

carlocab commented 2 years ago

Have you tried directly compile the program from github version?

Yes.

❯ git clone https://github.com/Titor8115/mandown.git
Cloning into 'mandown'...
remote: Enumerating objects: 595, done.
remote: Counting objects: 100% (219/219), done.
remote: Compressing objects: 100% (137/137), done.
remote: Total 595 (delta 128), reused 134 (delta 72), pack-reused 376
Receiving objects: 100% (595/595), 512.62 KiB | 3.56 MiB/s, done.
Resolving deltas: 100% (334/334), done.
❯ make -C mandown
Compiling: blender/blender.c
Compiling: blender/houdini_blender_e.c
Compiling: blender/houdini_href_e.c
Compiling: parser/autolink.c
Compiling: parser/buffer.c
Compiling: parser/markdown.c
Compiling: parser/stack.c
Compiling: src/cmd.c
Compiling: src/config.c
In file included from src/config.c:20:
src/config.h:23:10: fatal error: 'libconfig.h' file not found
#include <libconfig.h>
         ^~~~~~~~~~~~~
1 error generated.
make: *** [build/src/config.o] Error 1

We also see this error in Homebrew CI. See, for example: https://github.com/Homebrew/homebrew-core/runs/4693294999?check_suite_focus=true#step:6:48