On 16.05.2012 23:10, Armin K. wrote:
> [clutter-1.10.4 configure log]
> I've compared your second log and my build log:
>
> checking GL/glx.h usability... yes
> checking GL/glx.h presence... yes
> checking for GL/glx.h... yes
> -checking for glXCreateContext in -lGL... no
> +checking for glXCreateContext in -lGL... yes
> checking whether gcc and cc understand -c and -o together... yes
> checking how to print strings... printf
> checking for a sed that does not truncate output... (cached) /bin/sed
>
> ⢠Compiler options:
> Clutter debug level: minimum
> - Compiler flags: -pipe
> + Compiler flags: -g -O2
>
> These are two parts that bother me.
>
> As you can see, configure script can find glXCreateContext in my
> libGL.so but can't in yours.
>
> I know that --enable-x11-backend should be automatically set if
> dependencies are satisfied. But somehow your Mesa build is incomplete.
> From the compiler flags it looks like you modified build environment. I
> need to know what did you modify and how did you compile Mesa, where did
> you install it and such.
I set 'CFLAGS=-pipe' per my environment, except for some packages that
are sensitive to manipulation of CFLAGS (as mentioned in the book). I've
installed X with a prefix other than '/usr' and followed the book in
that issue, also creating the symlinks after the installation of Mesa.
Attached is the configure log for Mesa. I cannot find anything unusual
there (xcb_dri2_connect_alignment_pad in -lxcb-dri2 ... no, maybe?). If
you'd like to dive deeper, I also have libdrm's configure log available.
Anyway, right now, everything seems to work fine. I really appreciate
all the good work that goes into BLFS, so here's a big thank you :-))
Lars
Script started on Mi 16 Mai 2012 20:35:09 CEST
[1;32mhermes~/build/Mesa-8.0.2> [0m./configure --prefix=$XORG_PREFIX
--enable-shared-dricore --enable-xa \
> --with-gallium-drivers="nouveau,svga,swrast"
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/bin/sh: /home/bambi/build/Mesa-8.0.2/bin/missing: No such file or directory
configure: WARNING: `missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... 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... none
checking how to run the C preprocessor... gcc -E
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) none
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking for gmake... no
checking for make... make
checking for python2... python2
checking for a sed that does not truncate output... /bin/sed
checking for makedepend... /opt/X11/bin/makedepend
checking for flex... /usr/bin/flex
checking for bison... /usr/bin/bison
checking for gtest-config... no
checking if compiling with clang... no
checking whether gcc version is sufficient... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether gcc supports -fvisibility=hidden... yes
checking whether g++ supports -fvisibility=hidden... yes
checking whether to enable assembly... yes, x86
checking for gcc option to produce PIC... -fPIC
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for posix_memalign... yes
checking for LIBDRM... yes
checking pkg-config files for X11 are available... yes
checking for X11... yes
checking for GLPROTO... yes
checking for DRI2PROTO... yes
checking for XF86VIDMODE... yes
checking for DRIGL... yes
checking for xcb_glx_create_context_attribs_arb_checked in -lxcb-glx... no
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_ParserCreate in -lexpat... yes
checking for INTEL... yes
checking for NOUVEAU... yes
checking for RADEON... yes
checking for mincore... yes
checking for LIBUDEV... yes
checking for XCB_DRI2... yes
checking for xcb_dri2_connect_alignment_pad in -lxcb-dri2... no
checking for gawk... (cached) gawk
checking for grep that handles long lines and -e... /bin/grep
checking for nm... nm
checking for llvm-config... no
checking for NOUVEAU... yes
configure: creating ./config.status
config.status: creating configs/autoconf
config.status: creating tests/Makefile
config.status: creating tests/glx/Makefile
config.status: executing depfiles commands
config.status: executing configs commands
prefix: /opt/X11
exec_prefix: ${prefix}
libdir: ${exec_prefix}/lib
includedir: ${prefix}/include
OpenGL: yes (ES1: no ES2: no)
OpenVG: no
OSMesa: no
DRI drivers: i915 i965 nouveau r200 radeon swrast
DRI driver dir: ${libdir}/dri
Shared dricore: yes
GLX: DRI-based
GLU: yes
EGL: yes
EGL platforms: x11
EGL drivers: builtin:egl_glx builtin:egl_dri2
llvm: no
Gallium: yes
Gallium dirs: auxiliary drivers state_trackers
Target dirs: dri-nouveau dri-swrast dri-vmwgfx xa-vmwgfx
Winsys dirs: nouveau/drm svga/drm sw sw/dri
Driver dirs: galahad identity noop nouveau nv50 nvc0 nvfx rbug
softpipe svga trace
Trackers dirs: dri xa
Shared libs: yes
Static libs: no
CFLAGS: -pipe -Wall -Wmissing-prototypes -std=c99
-fno-strict-aliasing -fno-builtin-memcmp -pipe -fPIC
CXXFLAGS: -O2 -Wall -fno-strict-aliasing -fno-builtin-memcmp
-fPIC
Macros: -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN
-DUSE_XCB -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE
-DHAVE_LIBUDEV -DHAVE_XCB_DRI2 -DXCB_DRI2_CONNECT_DEVICE_NAME_BROKEN
-DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM
PYTHON2: python2
Run 'make' to build Mesa
[1;32mhermes~/build/Mesa-8.0.2> [0m[Kexit
Script done on Mi 16 Mai 2012 20:35:27 CEST
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page