Page 1 of 1

MDM

Posted: Wed Jun 17, 2015 6:16 am
by ericbsd
This is the log of the conversation kwm.
<kwm> ericbsd: if you could post config.log, configure output and where I can find the configure.[ac|in] file?
<ericbsd> https://github.com/linuxmint/mdm/blob/m ... nfigure.ac
<ericbsd> line 612
<ericbsd> it is the old GDM maintain by Linux mint.
<kwm> ericbsd: try putting the following line in post-patch: ${REINPLACE_CMD} -e 's|/usr/X11R6/lib|${LOCALBASE}/include|g' ${WRKSRC}/configure
<kwm> make clean configure
<kwm> it might just work if you add CPPFLAGS+=-I${LOCALBASE}/include also
<ericbsd> I will try.

This is for building a port.

Re: MDM

Posted: Sun Jun 28, 2015 8:45 am
by ASX
it turned out to not be a case of wrong path:

from log files:

Code: Select all

configure:18893: result: no
configure:18907: checking for -lXi in /usr/local/lib
configure:18920: cc -o conftest -g -O2  -Wall -Wstrict-prototypes -Wnested-externs -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror
=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs    conftest.c -L/usr/local/lib -lXi >&5
conftest.c:64:1: error: implicit declaration of function 'XOpenDevice' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
XOpenDevice()
the test fail because of the compiler option: "-Werror=implicit-function-declaration"

removing that option from "configure" solved the problem.

PS: please note that while the "configure" problem is solved, the code still doesn't build as expected, further patching is required.

Re: MDM

Posted: Sun Jun 28, 2015 11:37 am
by ericbsd
Do you have started to create a ports for it?

Re: MDM

Posted: Sun Jun 28, 2015 1:17 pm
by ASX
No, only tried to build it and partially succeed.

Image

it run, and display the default provided theme, but fail to log in, it crashes in background and loop continously:

Image

Clearly there is still some work to do ...

Re: MDM

Posted: Mon Jun 29, 2015 2:47 pm
by ericbsd
At least you have mdm running, it is more than I have been able to accomplish.

Did you start to make a port for mdm?

Did you find why it doesn't loop like that?