Re: xserver compile err

2012-10-24 Thread Jon TURNEY
On 27/09/2012 18:46, J. Offerman wrote:
 On Thu, Sep 27, 2012 at 5:38 AM, Jon TURNEY wrote: 
 I'm slightly curious to know if there is something wrong with the X server
 binary package I produce, since you always seem to want to build your own?
 
 Nothing is wrong with your binaries and I'm grateful to you for
 maintaining this wonderful thing called Cygwin X server. I just have a
 few things about it that do not go well with my taste. But I'm not
 foolish enough to say that the rest of the world should adapt to my
 taste, so I keep them to myself and end up applying my own patch
 everytime I build it. I think I've been doing this since Tears For
 Fears tried to rule the world from your country. It used to be more
 files, now it's only one file, winwndproc.c. I'm delighted the world
 is catching up with me. :)

All patches thoughtfully considered.

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: xserver compile err

2012-09-27 Thread Jon TURNEY
On 27/09/2012 01:13, J. Offerman wrote:
 I'm trying to compile 1.12.4 now. Last time I tried in April 2012 with
 1.12.0, I (still) had to do this:
 
 http://cygwin.com/ml/cygwin-xfree/2011-10/msg00065.html
 
 This was for 1.11.1. Anyways, even with --disable-glx-tls, the build
 fails now. It complains about something similar, __glapi_Dispatch.
 What should I do now? Thanks.

   CCLD touch.exe
 ./.libs/libxservertest.a(glxcmds.o): In function `FlushContext':
 /usr/src/xorg-server-1.12.4-1/src/xserver-cygwin-1.12.4-1/glx/glxcmds.c:221: 
 undefined reference to `__glapi_Dispatch'
 ./.libs/libxservertest.a(glxcmds.o): In function `DoMakeCurrent':
 /usr/src/xorg-server-1.12.4-1/src/xserver-cygwin-1.12.4-1/glx/glxcmds.c:610: 
 undefined reference to `__glapi_Dispatch'
 ./.libs/libxservertest.a(glxcmds.o): In function `__glXDisp_WaitGL':
 /usr/src/xorg-server-1.12.4-1/src/xserver-cygwin-1.12.4-1/glx/glxcmds.c:789: 
 undefined reference to `__glapi_Dispatch'
 ./.libs/libxservertest.a(glxcmds.o): In function `__glXDisp_CopyContext':
 /usr/src/xorg-server-1.12.4-1/src/xserver-cygwin-1.12.4-1/glx/glxcmds.c:887: 
 undefined reference to `__glapi_Dispatch'
 ./.libs/libxservertest.a(glxcmds.o): In function `__glXDisp_SwapBuffers':
 /usr/src/xorg-server-1.12.4-1/src/xserver-cygwin-1.12.4-1/glx/glxcmds.c:1626: 
 undefined reference to `__glapi_Dispatch'
 ./.libs/libxservertest.a(glxcmds.o):/usr/src/xorg-server-1.12.4-1/src/xserver-cygwin-1.12.4-1/glx/glxcmds.c:1828:
  more undefined references to `__glapi_Dispatch' follow
 collect2: ld returned 1 exit status
 Makefile:717: recipe for target `touch.exe' failed
 make[2]: *** [touch.exe] Error 1
 make[2]: Leaving directory 
 `/usr/src/xorg-server-1.12.4-1/src/xserver-cygwin-1.12.4-1/test'

This is a failure building the unit tests

I'd guess you need to ./configure with --disable-unit-tests, or add a patch to
link them with libglapi which provides that symbol.

In general I would suggest always looking at the .cygport file in the source
package to look at the configuration options used there

I'm slightly curious to know if there is something wrong with the X server
binary package I produce, since you always seem to want to build your own?

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: xserver compile err

2012-09-27 Thread J. Offerman
On Thu, Sep 27, 2012 at 5:38 AM, Jon TURNEY jon.tur...@dronecode.org.uk wrote:
 On 27/09/2012 01:13, J. Offerman wrote:
 I'm trying to compile 1.12.4 now.
   ...
 This is a failure building the unit tests

That's right. I didn't notice XWin.exe was compiled successfully.

 I'd guess you need to ./configure with --disable-unit-tests, or add a patch to
 link them with libglapi which provides that symbol.

Thanks. Let me try disabling the unit test option.

 I'm slightly curious to know if there is something wrong with the X server
 binary package I produce, since you always seem to want to build your own?

Nothing is wrong with your binaries and I'm grateful to you for
maintaining this wonderful thing called Cygwin X server. I just have a
few things about it that do not go well with my taste. But I'm not
foolish enough to say that the rest of the world should adapt to my
taste, so I keep them to myself and end up applying my own patch
everytime I build it. I think I've been doing this since Tears For
Fears tried to rule the world from your country. It used to be more
files, now it's only one file, winwndproc.c. I'm delighted the world
is catching up with me. :)

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/