Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Occurred error when typed "make install" in mingw64 #336

Open
Pingye007 opened this issue Dec 19, 2024 · 4 comments
Open

Occurred error when typed "make install" in mingw64 #336

Pingye007 opened this issue Dec 19, 2024 · 4 comments
Assignees
Labels
platform issue Issue is specific to an OS or desktop priority-low
Milestone

Comments

@Pingye007
Copy link

Hi,I'm new to here,I tried to use mxml this afternoon,and then,something difficult happened to me.
I typed "make install" after configuring my prefix location and creating makefile.But it showed that there was no rule for "install-libmxml4.dll".And then I spent a lot of time on file "configure",trying to figure it out,but failed.
There's many difficult and complicated rules in "configure" and I couldn't understand them.Sorry,like I said,I'am new to this.
How to I do to make "make install" work?I know there are no rules for "install-libmxml4.dll" and "uninstall-libmxml4.dll".Do I need to change "LIBMXML" to other value directly?

image

@michaelrsweet michaelrsweet self-assigned this Dec 19, 2024
@michaelrsweet michaelrsweet added platform issue Issue is specific to an OS or desktop priority-low labels Dec 19, 2024
@michaelrsweet michaelrsweet added this to the Stable milestone Dec 19, 2024
@michaelrsweet
Copy link
Owner

OK, so this isn't a configuration I've tested or intended to support. What files are created along with the .dll that need to be installed?

@Pingye007
Copy link
Author

@michaelrsweet
Well,after configuring prefix and CFLAGS=-Wno-implicit-function-declaration and executing make,it generated a libmxml4.a and libmxml4.dll.
I thought that it should work no matter what platform I used after coding make install.My target is to use libmxml4.so on Windows since I use MSYS2 to run my C program.
I don't know whether it's right to do that,but I change LIBMXML to libmxml4.so.2 in Makefile and run make install,it works.
But if I modify configuration again,I guess the Makefile will regenerate and I have to change it manully again.

@michaelrsweet
Copy link
Owner

Should the DLL be copied to libdir or bindir?

@Pingye007
Copy link
Author

Should the DLL be copied to libdir or bindir?

Sorry,late for replying.
Yes,I mean, DLL should be copied to libdir and the related headers which is only mxml.h should be copied too.And I also saw something like doc and man,which is very handy for people like me to use mxml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform issue Issue is specific to an OS or desktop priority-low
Projects
None yet
Development

No branches or pull requests

2 participants