public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Jon TURNEY <jon.turney@dronecode.org.uk>
To: cygwin-xfree@cygwin.com
Cc: matt@codespunk.com
Subject: Re: Make error when compiling xserver-cygwin-1.14.1-1
Date: Thu, 20 Jun 2013 19:53:00 -0000	[thread overview]
Message-ID: <51C35DA8.40504@dronecode.org.uk> (raw)
In-Reply-To: <51BDCABC.9060008@dronecode.org.uk>

On 16/06/2013 15:25, Jon TURNEY wrote:
> On 16/06/2013 13:37, Matt D. wrote:
>> /usr/src/xorg-server-1.14.1-1/src/xserver-cygwin-1.14.1-1/hw/xwin/glx/indirect.c:467: undefined reference to `_wglSwapIntervalEXTWrapper'
> 
> These undefined references are a bit mysterious. These wgl*Wrapper functions
> should by defined in the generated_wgl_wrappers.c generated file.

Ah, this is probably due to needing python to generate these files, despite
not having an autoconf check for that.  I've added one.

>> Yes, I do. On that note, the prerequisites are missing:
>>
>> libpixman1-devel
>> libx11-devel
>> libgl-devel
>> libxkbfile-devel
>> libxcb-image-devel
>> lib-icccm-devel
>>
>> (detected during configure)
>>
>> and
>>
>> glapi-devel
>>
>> (detected at compile-time)
> 
> Thanks for the list. I'll update the documentation appropriately.

I've added libglapi-devel, libxcb-icccm-devel and libxcb-image-devel.

The others seem to be already on that page.

They may not be getting installed by the setup invocation you give, I think
package name is case sensitive, and setup doesn't diagnose attempts to install
non-existent packages.

>> There is also no sanity check for flex, although it is listed as a prerequisite.
> 
> Ok.  I guess I need to add one then :-)

We already have a AC_PROG_LEX check.

Unfortunately, even with this autoconf assumes that lex will not actually be
needed to build as lex generated files will be shipped in the tarball made by
'make dist', and no error is reported if it isn't found.

Also unfortunately, the xserver tarball included in the source package
violates this assumption as it is generated by cygport directly from a git
tag, not using 'make dist', so doesn't include these generated files.

I've made a change so that the configure script in the xserver tarball
included in the source package will now require lex and yacc to be found.

-- 
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/


  reply	other threads:[~2013-06-20 19:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-15 22:07 Matt D.
2013-06-15 22:48 ` Jon TURNEY
2013-06-16 12:37   ` Matt D.
2013-06-16 14:25     ` Jon TURNEY
2013-06-20 19:53       ` Jon TURNEY [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-06-15 18:21 Matt D.
2013-06-15 21:36 ` Jon TURNEY

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51C35DA8.40504@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin-xfree@cygwin.com \
    --cc=matt@codespunk.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).