Re: Compiling xserver on Ubuntu 12.04 Precise

2012-08-23 Thread Bill Spitzak

On 08/23/2012 08:40 AM, Bill Spitzak wrote:


git clone git://anongit.freedesktop.org/xorg/xserver -b xwayland-1.12

Attempting to compile gets me this far:

./autogen.sh --prefix=/home/spitzak/install/ =-with-sha1=libgcrypt

   ^^^

Never mind, there was a typo in the configure line. Also it seems to 
work without the -with-sha1 at all. Compiling now...



___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: Compiling xserver on Ubuntu 12.04 Precise

2012-08-23 Thread Bill Spitzak

On 08/22/2012 02:16 AM, Pekka Paalanen wrote:

On Tue, 21 Aug 2012 21:44:46 -0700
Bill Spitzak  wrote:


On 08/21/2012 10:17 AM, Scott Moreau wrote:


You probably have the wrong xserver code. Make sure you get it from the
xwayland-1.12 branch of git://anongit.freedesktop.org/xorg/xserver
 with latest here
http://cgit.freedesktop.org/xorg/xserver/log/?h=xwayland-1.12


I wiped xserver and did a new checkout with:

git clone git://anongit.freedesktop.org/xorg/xserver -b xwayland-1.12

Attempting to compile gets me this far:

./autogen.sh --prefix=/home/spitzak/install/ =-with-sha1=libgcrypt
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I /home/spitzak/install/share/aclocal 
--force -I m4

autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --install --copy --force
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./config.guess'
libtoolize: copying file `./config.sub'
libtoolize: copying file `./install-sh'
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros 
in-tree.

autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:32: installing `./missing'
Xext/Makefile.am: installing `./depcomp'
configure.ac: installing `./ylwrap'
autoreconf: Leaving directory `.'
configure: error: invalid variable name: `'
spitzak@lulu:~/swdevl/wayland/xserver$ make
make: *** No targets specified and no makefile found.  Stop.
spitzak@lulu:~/swdevl/wayland/xserver$ ./configure 
--prefix=/home/spitzak/install =-with-sha1=libgcrypt

configure: error: invalid variable name: `'


___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: Compiling xserver on Ubuntu 12.04 Precise

2012-08-22 Thread Pekka Paalanen
On Tue, 21 Aug 2012 21:44:46 -0700
Bill Spitzak  wrote:

> On 08/21/2012 10:17 AM, Scott Moreau wrote:
> >
> > You probably have the wrong xserver code. Make sure you get it from the
> > xwayland-1.12 branch of git://anongit.freedesktop.org/xorg/xserver
> >  with latest here
> > http://cgit.freedesktop.org/xorg/xserver/log/?h=xwayland-1.12
> 
> I seem to be on 1.12:
> 
> % git status
> # On branch xwayland-1.12

That is the name your local branch. It does not tell us what upstream
branch it corresponds to, or even which remote repository it
corresponds to.

To see for sure, look at the output of 'git remote -v', and then
compare your local branch with the remote branches, for example with
'gitk --all'.

> # Untracked files:
> #   (use "git add ..." to include in what will be committed)
> #
> # hw/xfree86/xwayland/drm-client-protocol.h
> # hw/xfree86/xwayland/drm-protocol.c
> # hw/xfree86/xwayland/xserver-client-protocol.h
> # hw/xfree86/xwayland/xserver-protocol.c
> nothing added to commit but untracked files present (use "git add" to track)

Or just wipe that whole checkout, and use the command soreau gave.


Thanks,
pq
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: Compiling xserver on Ubuntu 12.04 Precise

2012-08-21 Thread Scott Moreau
>
>> You probably have the wrong xserver code. Make sure you get it from the
>> xwayland-1.12 branch of 
>> git://anongit.freedesktop.org/**xorg/xserver
>> >
>> with latest here
>> http://cgit.freedesktop.org/**xorg/xserver/log/?h=xwayland-**1.12
>>
>
> I seem to be on 1.12:
>
>


git clone git://anongit.freedesktop.org/xorg/xserver -b xwayland-1.12
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: Compiling xserver on Ubuntu 12.04 Precise

2012-08-21 Thread Bill Spitzak

On 08/21/2012 10:17 AM, Scott Moreau wrote:


Got a little further having installed libgcrypt11-dev and
--with-sha1=libgcrypt on the configure of xserver.

However xserver now fails with the following error:

xwayland-input.c: In function 'create_input_device':
xwayland-input.c:499:51: error: 'wl_input_device_interface'
undeclared (first use in this function)

I did a pull on all the repositories and this symbol does not appear
anywhere.


You probably have the wrong xserver code. Make sure you get it from the
xwayland-1.12 branch of git://anongit.freedesktop.org/xorg/xserver
 with latest here
http://cgit.freedesktop.org/xorg/xserver/log/?h=xwayland-1.12


I seem to be on 1.12:

% git status
# On branch xwayland-1.12
# Untracked files:
#   (use "git add ..." to include in what will be committed)
#
#   hw/xfree86/xwayland/drm-client-protocol.h
#   hw/xfree86/xwayland/drm-protocol.c
#   hw/xfree86/xwayland/xserver-client-protocol.h
#   hw/xfree86/xwayland/xserver-protocol.c
nothing added to commit but untracked files present (use "git add" to track)

___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: Compiling xserver on Ubuntu 12.04 Precise

2012-08-21 Thread Scott Moreau
> Got a little further having installed libgcrypt11-dev and
> --with-sha1=libgcrypt on the configure of xserver.
>
> However xserver now fails with the following error:
>
> xwayland-input.c: In function 'create_input_device':
> xwayland-input.c:499:51: error: 'wl_input_device_interface' undeclared
> (first use in this function)
>
> I did a pull on all the repositories and this symbol does not appear
> anywhere.
>
>
You probably have the wrong xserver code. Make sure you get it from the
xwayland-1.12 branch of git://anongit.freedesktop.org/xorg/xserver with
latest here http://cgit.freedesktop.org/xorg/xserver/log/?h=xwayland-1.12

Scott
___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel


Re: Compiling xserver on Ubuntu 12.04 Precise

2012-08-21 Thread Bill Spitzak

On 07/25/2012 12:44 AM, Tiago Vignatti wrote:

On 07/25/2012 09:25 AM, Bill Spitzak wrote:


xwayland failed to build:

checking for SHA1 implementation... configure: error: No suitable SHA1
implementation found


I'm using gcrypt in my system ('sudo apt-get install libgcrypt11-dev').
But X does let you choose among a bunch of SHA1 libraries. Check
yourself which one suits better for your system using ./configure --help
(libc|libmd|libgcrypt|libcrypto|libsha1|CommonCrypto).


Got a little further having installed libgcrypt11-dev and 
--with-sha1=libgcrypt on the configure of xserver.


However xserver now fails with the following error:

xwayland-input.c: In function 'create_input_device':
xwayland-input.c:499:51: error: 'wl_input_device_interface' undeclared 
(first use in this function)


I did a pull on all the repositories and this symbol does not appear 
anywhere.


___
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel