On Wed, Jan 23, 2013 at 05:48:08PM -0500, Dennis Clarke wrote: > > Rightly so, my build halted when it tried to make a change in > /lib/udev/rules.d which > is well outside of my /opt/xorg target directory. > > Do I need to isolate this module, build it as root, and then go back to being > a > regular user or ??
vmmouse gets the directory to install the udev rules from pkgconfig by default, or --with-udev-rules-dir at configure time. if you don't need the rules, you can consider the installation as successful though and continue to the next module. Cheers, Peter > ====================================================================== > == Processing module/component: "driver/xf86-input-vmmouse" > == configuration options: > Cloning into driver/xf86-input-vmmouse... > remote: Counting objects: 513, done. > remote: Compressing objects: 100% (343/343), done. > remote: Total 513 (delta 295), reused 286 (delta 170) > Receiving objects: 100% (513/513), 102.05 KiB | 105 KiB/s, done. > Resolving deltas: 100% (295/295), done. > autoreconf: Entering directory `.' > autoreconf: configure.ac: not using Gettext > autoreconf: running: aclocal -I /opt/xorg/share/aclocal > configure.ac:24: warning: AC_INIT: not a literal: > https://bugs.freedesktop.org/enter_bug.cgi?product=xorg > autoreconf: configure.ac: tracing > configure.ac:24: warning: AC_INIT: not a literal: > https://bugs.freedesktop.org/enter_bug.cgi?product=xorg > autoreconf: running: libtoolize --copy > libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'. > libtoolize: copying file `./ltmain.sh' > libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and > libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. > libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. > configure.ac:24: warning: AC_INIT: not a literal: > https://bugs.freedesktop.org/enter_bug.cgi?product=xorg > autoreconf: running: /usr/bin/autoconf > configure.ac:24: warning: AC_INIT: not a literal: > https://bugs.freedesktop.org/enter_bug.cgi?product=xorg > autoreconf: running: /usr/bin/autoheader > configure.ac:24: warning: AC_INIT: not a literal: > https://bugs.freedesktop.org/enter_bug.cgi?product=xorg > autoreconf: running: automake --add-missing --copy --no-force > configure.ac:24: warning: AC_INIT: not a literal: > https://bugs.freedesktop.org/enter_bug.cgi?product=xorg > configure.ac:41: installing `./config.guess' > configure.ac:41: installing `./config.sub' > configure.ac:33: installing `./install-sh' > configure.ac:33: installing `./missing' > shared/Makefile.am: installing `./depcomp' > autoreconf: Leaving directory `.' > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... no > checking for mawk... mawk > checking whether make sets $(MAKE)... yes > checking whether to enable maintainer-specific portions of Makefiles... yes > checking for style of include used by make... GNU > checking for gcc... gcc > checking whether the C compiler works... yes > checking for C compiler default output file name... a.out > checking for suffix of executables... > checking whether we are cross compiling... no > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking dependency style of gcc... gcc3 > checking for gcc option to accept ISO C99... -std=gnu99 > checking how to run the C preprocessor... gcc -std=gnu99 -E > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking whether __clang__ is declared... no > checking whether __INTEL_COMPILER is declared... no > checking whether __SUNPRO_C is declared... no > checking for pkg-config... /usr/bin/pkg-config > checking pkg-config is at least version 0.9.0... yes > checking build system type... x86_64-unknown-linux-gnu > checking host system type... x86_64-unknown-linux-gnu > checking for a sed that does not truncate output... /bin/sed > checking if gcc -std=gnu99 supports -Werror=unknown-warning-option... no > checking if gcc -std=gnu99 supports -Werror=unused-command-line-argument... no > checking if gcc -std=gnu99 supports -Wall... yes > checking if gcc -std=gnu99 supports -Wpointer-arith... yes > checking if gcc -std=gnu99 supports -Wmissing-declarations... yes > checking if gcc -std=gnu99 supports -Wformat=2... yes > checking if gcc -std=gnu99 supports -Wstrict-prototypes... yes > checking if gcc -std=gnu99 supports -Wmissing-prototypes... yes > checking if gcc -std=gnu99 supports -Wnested-externs... yes > checking if gcc -std=gnu99 supports -Wbad-function-cast... yes > checking if gcc -std=gnu99 supports -Wold-style-definition... yes > checking if gcc -std=gnu99 supports -Wdeclaration-after-statement... yes > checking if gcc -std=gnu99 supports -Wunused... yes > checking if gcc -std=gnu99 supports -Wuninitialized... yes > checking if gcc -std=gnu99 supports -Wshadow... yes > checking if gcc -std=gnu99 supports -Wcast-qual... yes > checking if gcc -std=gnu99 supports -Wmissing-noreturn... yes > checking if gcc -std=gnu99 supports -Wmissing-format-attribute... yes > checking if gcc -std=gnu99 supports -Wredundant-decls... yes > checking if gcc -std=gnu99 supports -Werror=implicit... yes > checking if gcc -std=gnu99 supports -Werror=nonnull... yes > checking if gcc -std=gnu99 supports -Werror=init-self... yes > checking if gcc -std=gnu99 supports -Werror=main... yes > checking if gcc -std=gnu99 supports -Werror=missing-braces... yes > checking if gcc -std=gnu99 supports -Werror=sequence-point... yes > checking if gcc -std=gnu99 supports -Werror=return-type... yes > checking if gcc -std=gnu99 supports -Werror=trigraphs... yes > checking if gcc -std=gnu99 supports -Werror=array-bounds... yes > checking if gcc -std=gnu99 supports -Werror=write-strings... yes > checking if gcc -std=gnu99 supports -Werror=address... yes > checking if gcc -std=gnu99 supports -Werror=int-to-pointer-cast... yes > checking if gcc -std=gnu99 supports -Werror=pointer-to-int-cast... yes > checking if gcc -std=gnu99 supports -pedantic... yes > checking if gcc -std=gnu99 supports -Werror... yes > checking if gcc -std=gnu99 supports -Werror=attributes... yes > checking for a sed that does not truncate output... (cached) /bin/sed > checking for fgrep... /bin/grep -F > checking for ld used by gcc -std=gnu99... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B > checking the name lister (/usr/bin/nm -B) interface... BSD nm > checking whether ln -s works... yes > checking the maximum length of command line arguments... 1572864 > checking whether the shell understands some XSI constructs... yes > checking whether the shell understands "+="... yes > checking for /usr/bin/ld option to reload object files... -r > checking for objdump... objdump > checking how to recognize dependent libraries... pass_all > checking for ar... ar > checking for strip... strip > checking for ranlib... ranlib > checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... > ok > checking for dlfcn.h... yes > checking for objdir... .libs > checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no > checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC > checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes > checking if gcc -std=gnu99 static flag -static works... yes > checking if gcc -std=gnu99 supports -c -o file.o... yes > checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes > checking whether the gcc -std=gnu99 linker (/usr/bin/ld -m elf_x86_64) > supports shared libraries... yes > checking whether -lc should be explicitly linked in... no > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... yes > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... no > checking for gcc... (cached) gcc > checking whether we are using the GNU C compiler... (cached) yes > checking whether gcc accepts -g... (cached) yes > checking for gcc option to accept ISO C89... (cached) none needed > checking dependency style of gcc... (cached) gcc3 > checking for UDEV... yes > checking if RANDR is defined... yes > checking if XINPUT is defined... yes > checking for XORG... yes > checking for ANSI C header files... (cached) yes > configure: creating ./config.status > config.status: creating Makefile > config.status: creating shared/Makefile > config.status: creating src/Makefile > config.status: creating tools/Makefile > config.status: creating fdi/Makefile > config.status: creating man/Makefile > config.status: creating config.h > config.status: executing depfiles commands > config.status: executing libtool commands > make all-recursive > make[1]: Entering directory `/home/dclarke/xorg/driver/xf86-input-vmmouse' > Making all in shared > make[2]: Entering directory > `/home/dclarke/xorg/driver/xf86-input-vmmouse/shared' > CC vmmouse_client.lo > CC vmmouse_proto.lo > CCLD libvmmouse.la > make[2]: Leaving directory > `/home/dclarke/xorg/driver/xf86-input-vmmouse/shared' > Making all in src > make[2]: Entering directory `/home/dclarke/xorg/driver/xf86-input-vmmouse/src' > CC vmmouse.lo > CCLD vmmouse_drv.la > make[2]: Leaving directory `/home/dclarke/xorg/driver/xf86-input-vmmouse/src' > Making all in tools > make[2]: Entering directory > `/home/dclarke/xorg/driver/xf86-input-vmmouse/tools' > CC vmmouse_detect.o > CCLD vmmouse_detect > GEN hal-probe-vmmouse > GEN 69-xorg-vmmouse.rules > make[2]: Leaving directory > `/home/dclarke/xorg/driver/xf86-input-vmmouse/tools' > Making all in fdi > make[2]: Entering directory `/home/dclarke/xorg/driver/xf86-input-vmmouse/fdi' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/home/dclarke/xorg/driver/xf86-input-vmmouse/fdi' > Making all in man > make[2]: Entering directory `/home/dclarke/xorg/driver/xf86-input-vmmouse/man' > GEN vmmouse_detect.1 > GEN vmmouse.4 > make[2]: Leaving directory `/home/dclarke/xorg/driver/xf86-input-vmmouse/man' > make[2]: Entering directory `/home/dclarke/xorg/driver/xf86-input-vmmouse' > make[2]: Nothing to be done for `all-am'. > make[2]: Leaving directory `/home/dclarke/xorg/driver/xf86-input-vmmouse' > make[1]: Leaving directory `/home/dclarke/xorg/driver/xf86-input-vmmouse' > Making install in shared > make[1]: Entering directory > `/home/dclarke/xorg/driver/xf86-input-vmmouse/shared' > make[2]: Entering directory > `/home/dclarke/xorg/driver/xf86-input-vmmouse/shared' > make[2]: Nothing to be done for `install-exec-am'. > make[2]: Nothing to be done for `install-data-am'. > make[2]: Leaving directory > `/home/dclarke/xorg/driver/xf86-input-vmmouse/shared' > make[1]: Leaving directory > `/home/dclarke/xorg/driver/xf86-input-vmmouse/shared' > Making install in src > make[1]: Entering directory `/home/dclarke/xorg/driver/xf86-input-vmmouse/src' > make[2]: Entering directory `/home/dclarke/xorg/driver/xf86-input-vmmouse/src' > make[2]: Nothing to be done for `install-exec-am'. > test -z "/opt/xorg/lib/xorg/modules/input" || /bin/mkdir -p > "/opt/xorg/lib/xorg/modules/input" > /bin/bash ../libtool --mode=install /usr/bin/install -c vmmouse_drv.la > '/opt/xorg/lib/xorg/modules/input' > libtool: install: /usr/bin/install -c .libs/vmmouse_drv.so > /opt/xorg/lib/xorg/modules/input/vmmouse_drv.so > libtool: install: /usr/bin/install -c .libs/vmmouse_drv.lai > /opt/xorg/lib/xorg/modules/input/vmmouse_drv.la > libtool: finish: > PATH="/opt/xorg/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/schily/bin:/sbin" > ldconfig -n /opt/xorg/lib/xorg/modules/input > ---------------------------------------------------------------------- > Libraries have been installed in: > /opt/xorg/lib/xorg/modules/input > > If you ever happen to want to link against installed libraries > in a given directory, LIBDIR, you must either use libtool, and > specify the full pathname of the library, or use the `-LLIBDIR' > flag during linking and do at least one of the following: > - add LIBDIR to the `LD_LIBRARY_PATH' environment variable > during execution > - add LIBDIR to the `LD_RUN_PATH' environment variable > during linking > - use the `-Wl,-rpath -Wl,LIBDIR' linker flag > - have your system administrator add LIBDIR to `/etc/ld.so.conf' > > See any operating system documentation about shared libraries for > more information, such as the ld(1) and ld.so(8) manual pages. > ---------------------------------------------------------------------- > make[2]: Leaving directory `/home/dclarke/xorg/driver/xf86-input-vmmouse/src' > make[1]: Leaving directory `/home/dclarke/xorg/driver/xf86-input-vmmouse/src' > Making install in tools > make[1]: Entering directory > `/home/dclarke/xorg/driver/xf86-input-vmmouse/tools' > make[2]: Entering directory > `/home/dclarke/xorg/driver/xf86-input-vmmouse/tools' > test -z "/opt/xorg/bin" || /bin/mkdir -p "/opt/xorg/bin" > /bin/bash ../libtool --mode=install /usr/bin/install -c vmmouse_detect > '/opt/xorg/bin' > libtool: install: /usr/bin/install -c vmmouse_detect > /opt/xorg/bin/vmmouse_detect > test -z "/opt/xorg/lib/hal" || /bin/mkdir -p "/opt/xorg/lib/hal" > /usr/bin/install -c hal-probe-vmmouse '/opt/xorg/lib/hal' > test -z "/opt/xorg/share/X11/xorg.conf.d" || /bin/mkdir -p > "/opt/xorg/share/X11/xorg.conf.d" > /usr/bin/install -c -m 644 50-vmmouse.conf '/opt/xorg/share/X11/xorg.conf.d' > test -z "/lib/udev/rules.d" || /bin/mkdir -p "/lib/udev/rules.d" > /usr/bin/install -c -m 644 69-xorg-vmmouse.rules '/lib/udev/rules.d' > /usr/bin/install: cannot create regular file > `/lib/udev/rules.d/69-xorg-vmmouse.rules': Permission denied > make[2]: *** [install-udevDATA] Error 1 > make[2]: Leaving directory > `/home/dclarke/xorg/driver/xf86-input-vmmouse/tools' > make[1]: *** [install-am] Error 2 > make[1]: Leaving directory > `/home/dclarke/xorg/driver/xf86-input-vmmouse/tools' > make: *** [install-recursive] Error 1 > build.sh: " env LD_LIBRARY_PATH=/opt/xorg/lib make install" failed on > driver/xf86-input-vmmouse > build.sh: error processing module/component: "driver/xf86-input-vmmouse" > aster $ > _______________________________________________ > [email protected]: X.Org support > Archives: http://lists.freedesktop.org/archives/xorg > Info: http://lists.x.org/mailman/listinfo/xorg > Your subscription address: [email protected] > _______________________________________________ [email protected]: X.Org support Archives: http://lists.freedesktop.org/archives/xorg Info: http://lists.x.org/mailman/listinfo/xorg Your subscription address: [email protected]
