Skip site navigation (1)Skip section navigation (2)
Date:      25 May 2002 19:01:03 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Dominic Marks <dominic_marks@btinternet.com>
Cc:        dgilbert@velocet.ca, gnome@FreeBSD.ORG
Subject:   Re: Gnome2 build failure (Glut)
Message-ID:  <1022367663.303.2.camel@gyros.marcuscom.com>
In-Reply-To: <20020525125543.A95606@host217-39-131-156.in-addr.btop>
References:  <20020525125543.A95606@host217-39-131-156.in-addr.btop>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2002-05-25 at 07:55, Dominic Marks wrote:
> 
> I tried building Gnome2 today. Here is the result of the build
> attempt:

What version of XFree86 do you have installed?  How about Mesa?  Have
you tried compiling without ccache?

Joe

> 
> Script started on Sat May 25 11:47:37 2002
> dom@host217-39-131-156:/usr/ports/x11/gnome2# make search key=glutinstall
> ===>  Installing for gnome2-2.0_1
> ===>   gnome2-2.0_1 depends on executable: battstat-applet-2 - found
> ===>   gnome2-2.0_1 depends on executable: CDDBSlave2 - found
> ===>   gnome2-2.0_1 depends on executable: archive-generator - found
> ===>   gnome2-2.0_1 depends on executable: eog - found
> ===>   gnome2-2.0_1 depends on executable: gnome-control-center - found
> ===>   gnome2-2.0_1 depends on executable: gconf-editor - found
> ===>   gnome2-2.0_1 depends on executable: gnect - found
> ===>   gnome2-2.0_1 depends on executable: gedit - found
> ===>   gnome2-2.0_1 depends on executable: gnome-terminal - found
> ===>   gnome2-2.0_1 depends on executable: gnome-session - found
> ===>   gnome2-2.0_1 depends on executable: metatheme-edit - found
> ===>   gnome2-2.0_1 depends on executable: metacity - found
> ===>   gnome2-2.0_1 depends on executable: sawfish - found
> ===>   gnome2-2.0_1 depends on executable: metacity-setup - found
> ===>   gnome2-2.0_1 depends on executable: bug-buddy - found
> ===>   gnome2-2.0_1 depends on executable: gnome-system-monitor - found
> ===>   gnome2-2.0_1 depends on executable: yelp - found
> ===>   gnome2-2.0_1 depends on executable: gdm - found
> ===>   gnome2-2.0_1 depends on file: /usr/x11/share/themes/Metal/gtk-2.0/gtkrc - found
> ===>   gnome2-2.0_1 depends on executable: nautilus - found
> ===>   gnome2-2.0_1 depends on executable: nautilus-gtkhtml-view - found
> ===>   gnome2-2.0_1 depends on executable: xscreensaver - not found
> ===>    Verifying install for xscreensaver in /usr/ports/x11/xscreensaver
> ===>  Extracting for xscreensaver-4.02
> >> Checksum OK for xscreensaver-4.02.tar.gz.
> ===>   xscreensaver-4.02 depends on shared library: gle.3 - not found
> ===>    Verifying install for gle.3 in /usr/ports/graphics/gle
> ===>  Configuring for gle-3.0.3
> loading cache ./config.cache
> checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... (cached) yes
> checking for working aclocal... found
> checking for working autoconf... found
> checking for working automake... found
> checking for working autoheader... found
> checking for working makeinfo... found
> checking host system type... i386-portbld-freebsd4.6
> checking build system type... i386-portbld-freebsd4.6
> checking for ranlib... (cached) ranlib
> checking for gcc... (cached) /usr/local/bin/ccache cc
> checking whether the C compiler (/usr/local/bin/ccache cc -O -march=pentiumpro ) works... yes
> checking whether the C compiler (/usr/local/bin/ccache cc -O -march=pentiumpro ) is a cross-compiler... no
> checking whether we are using GNU C... (cached) yes
> checking whether /usr/local/bin/ccache cc accepts -g... (cached) yes
> checking for ld used by GCC... (cached) /usr/libexec/elf/ld
> checking if the linker (/usr/libexec/elf/ld) is GNU ld... (cached) yes
> checking for BSD-compatible nm... (cached) /usr/bin/nm -B
> checking whether ln -s works... (cached) yes
> updating cache ./config.cache
> checking for object suffix... o
> checking for executable suffix... no
> checking for /usr/local/bin/ccache option to produce PIC... -fPIC
> checking if /usr/local/bin/ccache PIC flag -fPIC works... yes
> checking if /usr/local/bin/ccache supports -c -o file.o... yes
> checking if /usr/local/bin/ccache supports -c -o file.lo... yes
> checking if /usr/local/bin/ccache supports -fno-rtti -fno-exceptions ... yes
> checking if /usr/local/bin/ccache static flag -static works... -static
> checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
> checking whether the linker (/usr/libexec/elf/ld) supports shared libraries... yes
> checking command to parse /usr/bin/nm -B output... ok
> checking how to hardcode library paths into programs... immediate
> checking for /usr/libexec/elf/ld option to reload object files... -r
> checking dynamic linker characteristics... freebsd4.6 ld.so
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking for objdir... .libs
> creating libtool
> loading cache ./config.cache
> checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
> checking for ranlib... (cached) ranlib
> checking for gcc... (cached) /usr/local/bin/ccache cc
> checking whether the C compiler (/usr/local/bin/ccache cc -O -march=pentiumpro ) works... yes
> checking whether the C compiler (/usr/local/bin/ccache cc -O -march=pentiumpro ) is a cross-compiler... no
> checking whether we are using GNU C... (cached) yes
> checking whether /usr/local/bin/ccache cc accepts -g... (cached) yes
> checking for POSIXized ISC... no
> checking whether make sets ${MAKE}... (cached) yes
> checking how to run the C preprocessor... /usr/local/bin/ccache cc -E
> checking for ANSI C header files... yes
> checking for memcpy... yes
> checking for X... libraries /usr/x11/lib, headers /usr/x11/include
> checking for dnet_ntoa in -ldnet... no
> checking for dnet_ntoa in -ldnet_stub... no
> checking for gethostbyname... yes
> checking for connect... yes
> checking for remove... yes
> checking for shmat... yes
> checking for IceConnectionNumber in -lICE... yes
> checking for XmuLookupStandardColormap in -lXmu... yes
> checking for glGetError in -lGL... yes
> checking for gluNewQuadric in -lGLU... yes
> checking for glutSwapBuffers in -lglut... no
> configure: error: Cannot find required glut library
> ===>  Script "configure" failed unexpectedly.
>       Please report the problem to dgilbert@velocet.ca [maintainer] and attach
>       the "/usr/ports/graphics/gle/work/gle-3.0.3/config.log" including the
>       output of the failure of your make command. Also, it might be a good idea
>       to provide an overview of all packages installed on your system (e.g. an
>       `ls /var/db/pkg`).
> *** Error code 1
> 
> Stop in /usr/ports/graphics/gle.
> *** Error code 1
> 
> Stop in /usr/ports/x11/xscreensaver.
> *** Error code 1
> 
> Stop in /usr/ports/x11/gnome2.
> dom@host217-39-131-156:/usr/ports/x11/gnome2# exotit
> exit
> 
> Script done on Sat May 25 11:51:36 2002
> 
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> 
> configure:581: checking for a BSD compatible install
> configure:634: checking whether build environment is sane
> configure:691: checking whether make sets ${MAKE}
> configure:737: checking for working aclocal
> configure:750: checking for working autoconf
> configure:763: checking for working automake
> configure:776: checking for working autoheader
> configure:789: checking for working makeinfo
> configure:882: checking host system type
> configure:903: checking build system type
> configure:923: checking for ranlib
> configure:953: checking for gcc
> configure:1066: checking whether the C compiler (/usr/local/bin/ccache cc -O -march=pentiumpro ) works
> configure:1082: /usr/local/bin/ccache cc -o conftest -O -march=pentiumpro   conftest.c -L/usr/x11/lib -lXext -pthread 1>&5
> configure:1108: checking whether the C compiler (/usr/local/bin/ccache cc -O -march=pentiumpro ) is a cross-compiler
> configure:1113: checking whether we are using GNU C
> configure:1141: checking whether /usr/local/bin/ccache cc accepts -g
> configure:1184: checking for ld used by GCC
> configure:1246: checking if the linker (/usr/libexec/elf/ld) is GNU ld
> configure:1262: checking for BSD-compatible nm
> configure:1298: checking whether ln -s works
> ltconfig:603: checking for object suffix
> ltconfig:604: /usr/local/bin/ccache cc -c -O -march=pentiumpro  conftest.c 1>&5
> ltconfig:629: checking for executable suffix
> ltconfig:630: /usr/local/bin/ccache cc -o conftest -O -march=pentiumpro   conftest.c -L/usr/x11/lib -lXext -pthread 1>&5
> ltconfig:776: checking if /usr/local/bin/ccache PIC flag -fPIC works
> ltconfig:777: /usr/local/bin/ccache cc -c -O -march=pentiumpro -fPIC -DPIC  conftest.c 1>&5
> ltconfig:829: checking if /usr/local/bin/ccache supports -c -o file.o
> ltconfig:830: /usr/local/bin/ccache cc -c -O -march=pentiumpro -o out/conftest2.o  conftest.c 1>&5
> ltconfig:862: checking if /usr/local/bin/ccache supports -c -o file.lo
> ltconfig:863: /usr/local/bin/ccache cc -c -O -march=pentiumpro -c -o conftest.lo  conftest.c 1>&5
> ltconfig:914: checking if /usr/local/bin/ccache supports -fno-rtti -fno-exceptions
> ltconfig:915: /usr/local/bin/ccache cc -c -O -march=pentiumpro -fno-rtti -fno-exceptions -c conftest.c  conftest.c 1>&5
> ltconfig:958: checking if /usr/local/bin/ccache static flag -static works
> ltconfig:959: /usr/local/bin/ccache cc -o conftest -O -march=pentiumpro   -static conftest.c -L/usr/x11/lib -lXext -pthread 1>&5
> GNU ld version 2.11.2 20010719 [FreeBSD] (with BFD 2.11.2 20010719 [FreeBSD])
> ltconfig:1635: checking if global_symbol_pipe works
> ltconfig:1636: /usr/local/bin/ccache cc -c -O -march=pentiumpro  conftest.c 1>&5
> ltconfig:1639: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ 	]\([ABCDGISTW]\)[ 	][ 	]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm"
> ltconfig:1691: /usr/local/bin/ccache cc -o conftest -O -march=pentiumpro -fno-builtin -fno-rtti -fno-exceptions   conftest.c conftstm.o 1>&5
> configure:1500: checking for a BSD compatible install
> configure:1555: checking for ranlib
> configure:1585: checking for gcc
> configure:1698: checking whether the C compiler (/usr/local/bin/ccache cc -O -march=pentiumpro ) works
> configure:1714: /usr/local/bin/ccache cc -o conftest -O -march=pentiumpro   conftest.c -L/usr/x11/lib -lXext -pthread 1>&5
> configure:1740: checking whether the C compiler (/usr/local/bin/ccache cc -O -march=pentiumpro ) is a cross-compiler
> configure:1745: checking whether we are using GNU C
> configure:1773: checking whether /usr/local/bin/ccache cc accepts -g
> configure:1806: checking for POSIXized ISC
> configure:1827: checking whether make sets ${MAKE}
> configure:1854: checking how to run the C preprocessor
> configure:1875: /usr/local/bin/ccache cc -E  conftest.c >/dev/null 2>conftest.out
> configure:1934: checking for ANSI C header files
> configure:1947: /usr/local/bin/ccache cc -E  conftest.c >/dev/null 2>conftest.out
> configure:2014: /usr/local/bin/ccache cc -o conftest -O -march=pentiumpro   conftest.c -L/usr/x11/lib -lXext -pthread 1>&5
> configure:2041: checking for memcpy
> configure:2069: /usr/local/bin/ccache cc -o conftest -O -march=pentiumpro   conftest.c -L/usr/x11/lib -lXext -pthread 1>&5
> configure:2053: warning: conflicting types for built-in function `memcpy'
> configure:2193: checking for X
> configure:2507: checking for dnet_ntoa in -ldnet
> configure:2526: /usr/local/bin/ccache cc -o conftest -O -march=pentiumpro -Wall   conftest.c -ldnet  -L/usr/x11/lib -lXext -pthread -lm 1>&5
> /usr/libexec/elf/ld: cannot find -ldnet
> configure: failed program was:
> #line 2515 "configure"
> #include "confdefs.h"
> /* Override any gcc2 internal prototype to avoid an error.  */
> /* We use char because int might match the return type of a gcc2
>     builtin and then its argument prototype would still apply.  */
> char dnet_ntoa();
> 
> int main() {
> dnet_ntoa()
> ; return 0; }
> configure:2548: checking for dnet_ntoa in -ldnet_stub
> configure:2567: /usr/local/bin/ccache cc -o conftest -O -march=pentiumpro -Wall   conftest.c -ldnet_stub  -L/usr/x11/lib -lXext -pthread -lm 1>&5
> /usr/libexec/elf/ld: cannot find -ldnet_stub
> configure: failed program was:
> #line 2556 "configure"
> #include "confdefs.h"
> /* Override any gcc2 internal prototype to avoid an error.  */
> /* We use char because int might match the return type of a gcc2
>     builtin and then its argument prototype would still apply.  */
> char dnet_ntoa();
> 
> int main() {
> dnet_ntoa()
> ; return 0; }
> configure:2596: checking for gethostbyname
> configure:2624: /usr/local/bin/ccache cc -o conftest -O -march=pentiumpro -Wall   conftest.c -L/usr/x11/lib -lXext -pthread -lm 1>&5
> configure:2694: checking for connect
> configure:2722: /usr/local/bin/ccache cc -o conftest -O -march=pentiumpro -Wall   conftest.c -L/usr/x11/lib -lXext -pthread -lm 1>&5
> configure:2786: checking for remove
> configure:2814: /usr/local/bin/ccache cc -o conftest -O -march=pentiumpro -Wall   conftest.c -L/usr/x11/lib -lXext -pthread -lm 1>&5
> configure:2878: checking for shmat
> configure:2906: /usr/local/bin/ccache cc -o conftest -O -march=pentiumpro -Wall   conftest.c -L/usr/x11/lib -lXext -pthread -lm 1>&5
> configure:2979: checking for IceConnectionNumber in -lICE
> configure:2998: /usr/local/bin/ccache cc -o conftest -O -march=pentiumpro -Wall   -L/usr/x11/lib conftest.c -lICE  -L/usr/x11/lib -lXext -pthread -lm 1>&5
> configure:3032: checking for XmuLookupStandardColormap in -lXmu
> configure:3051: /usr/local/bin/ccache cc -o conftest -O -march=pentiumpro -Wall   conftest.c -lXmu  -lSM -lICE  -L/usr/x11/lib -lX11  -L/usr/x11/lib -lXext -pthread -lm 1>&5
> configure:3075: checking for glGetError in -lGL
> configure:3094: /usr/local/bin/ccache cc -o conftest -O -march=pentiumpro -Wall   conftest.c -lGL  -lSM -lICE -lXmu  -L/usr/x11/lib -lX11  -L/usr/x11/lib -lXext -pthread -lm 1>&5
> configure:3117: checking for gluNewQuadric in -lGLU
> configure:3136: /usr/local/bin/ccache cc -o conftest -O -march=pentiumpro -Wall   conftest.c -lGLU  -lSM -lICE -lGL -lXmu  -L/usr/x11/lib -lX11  -L/usr/x11/lib -lXext -pthread -lm 1>&5
> configure:3159: checking for glutSwapBuffers in -lglut
> configure:3178: /usr/local/bin/ccache cc -o conftest -O -march=pentiumpro -Wall   conftest.c -lglut  -lSM -lICE -lXmu -lGLU -lGL -lXmu  -L/usr/x11/lib -lX11  -L/usr/x11/lib -lXext -pthread -lm 1>&5
> /usr/x11/lib/libglut.so: undefined reference to `XGetExtensionVersion'
> /usr/x11/lib/libglut.so: undefined reference to `XFreeDeviceList'
> /usr/x11/lib/libglut.so: undefined reference to `XQueryDeviceState'
> /usr/x11/lib/libglut.so: undefined reference to `XListInputDevices'
> /usr/x11/lib/libglut.so: undefined reference to `XFreeDeviceState'
> /usr/x11/lib/libglut.so: undefined reference to `XOpenDevice'
> /usr/x11/lib/libglut.so: undefined reference to `XSelectExtensionEvent'
> configure: failed program was:
> #line 3167 "configure"
> #include "confdefs.h"
> /* Override any gcc2 internal prototype to avoid an error.  */
> /* We use char because int might match the return type of a gcc2
>     builtin and then its argument prototype would still apply.  */
> char glutSwapBuffers();
> 
> int main() {
> glutSwapBuffers()
> ; return 0; }
> 
> Need any information, please ask for it.
> 
> Thanks!
> -- 
> Dominic
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-gnome" in the body of the message
> 
> 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1022367663.303.2.camel>