MDM

News and Announcements related to GhostBSD
Post Reply
User avatar
ericbsd
Developer
Posts: 2125
Joined: Mon Nov 19, 2012 7:54 pm

MDM

Post 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.
ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm

Re: MDM

Post 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.
User avatar
ericbsd
Developer
Posts: 2125
Joined: Mon Nov 19, 2012 7:54 pm

Re: MDM

Post by ericbsd »

Do you have started to create a ports for it?
ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm

Re: MDM

Post 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 ...
User avatar
ericbsd
Developer
Posts: 2125
Joined: Mon Nov 19, 2012 7:54 pm

Re: MDM

Post 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?
Post Reply