Updated Ubuntu build script

Bill Spitzak spitzak at gmail.com
Wed Mar 14 08:10:52 PDT 2012


On 03/13/2012 10:42 PM, darxus at chaosreigns.com wrote:
> http://www.chaosreigns.com/wayland/buildscript/
> http://www.chaosreigns.com/wayland/buildscript/wayland-build-ubuntu-oneric.sh
>
> This builds and runs wayland / most of the demos, and its dependencies,
> from git.  It should work on any linux distro, but if it's not ubuntu
> oneric, it won't handle some of the dependencies by installing .deb
> packages.  I fully expect it to work with ubuntu precise.

Is there a reason you put all the git checkouts under ~/install rather 
than under the current directory like your previous versions?

I am trying this now, but I edited it to not do "cd $WLD" before 
starting. It reached the following error, but it may have to do with me 
not sufficiently cleaning out my old attempts:

test -z "/home/spitzak/install/lib" || /bin/mkdir -p 
"/home/spitzak/install/lib"
  /bin/bash ../libtool   --mode=install /usr/bin/install -c 
libdrm_intel.la '/home/spitzak/install/lib'
libtool: install: warning: relinking `libdrm_intel.la'
libtool: install: (cd /home/spitzak/install/drm/intel; /bin/bash 
/home/spitzak/install/drm/libtool  --silent --tag CC --mode=relink gcc 
-Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration 
-Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum 
-Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self 
-Wunsafe-loop-optimizations -Wdeclaration-after-statement 
-Wold-style-definition -Wno-missing-field-initializers 
-Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -I.. 
-I../intel -I../include/drm -g -O2 -version-number 1:0:0 -no-undefined 
-o libdrm_intel.la -rpath /home/spitzak/install/lib intel_bufmgr.lo 
intel_bufmgr_fake.lo intel_bufmgr_gem.lo intel_decode.lo mm.lo 
../libdrm.la -lpciaccess -lrt )
../libtool: line 944: cd: /home/spitzak/install/drm/intel: No such file 
or directory
/bin/bash: /home/spitzak/install/drm/libtool: No such file or directory
libtool: install: error: relink `libdrm_intel.la' with the above command 
before installing it
make[2]: *** [install-libdrm_intel_laLTLIBRARIES] Error 1
make[2]: Leaving directory `/home/spitzak/swdevl/wayland/drm/intel'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/spitzak/swdevl/wayland/drm/intel'
make: *** [install-recursive] Error 1

I manually created ~/install/drm/intel/ and ran it again, and got this 
error in the same place (ie it complained about another missing file but 
this time neglected to tell me what it is...):

/bin/bash: /home/spitzak/install/drm/libtool: No such file or directory
libtool: install: error: relink `libdrm_intel.la' with the above command 
before installing it
make[2]: *** [install-libdrm_intel_laLTLIBRARIES] Error 1
make[2]: Leaving directory `/home/spitzak/swdevl/wayland/drm/intel'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/spitzak/swdevl/wayland/drm/intel'
make: *** [install-recursive] Error 1

Kind of stuck now...


More information about the wayland-devel mailing list