Hello.

I have a problem when I compile /usr/ports/x11/xorg, when I make install it
shows the following error:


configure: error: cannot find GL library - make sure Mesa or other
OpenGL package is installed
See `config.log' for more details.
===>  Script "configure" failed unexpectedly.

I have installed libGL and libGLU but it shows the same error.

I attach my config.log file and the output of ls /var/db/pkg

Thanks for any help

Attachment: db.pkg
Description: Binary data

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by xdriinfo configure 1.0.1, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --mandir=/usr/local/man/ --prefix=/usr/local 
i386-portbld-freebsd6.2

## --------- ##
## Platform. ##
## --------- ##

hostname = feudaltimes
uname -m = i386
uname -r = 6.2-STABLE
uname -s = FreeBSD
uname -v = FreeBSD 6.2-STABLE #0: Sun May 27 22:40:50 ART 2007     [EMAIL 
PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL 

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/games
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /root/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1338: checking for a BSD-compatible install
configure:1393: result: /usr/bin/install -c -o root -g wheel
configure:1404: checking whether build environment is sane
configure:1447: result: yes
configure:1512: checking for gawk
configure:1541: result: no
configure:1512: checking for mawk
configure:1541: result: no
configure:1512: checking for nawk
configure:1528: found /usr/bin/nawk
configure:1538: result: nawk
configure:1548: checking whether make sets $(MAKE)
configure:1568: result: yes
configure:1736: checking whether to enable maintainer-specific portions of 
Makefiles
configure:1745: result: no
configure:1772: checking for i386-portbld-freebsd6.2-gcc
configure:1798: result: cc
configure:2080: checking for C compiler version
configure:2083: cc --version </dev/null >&5
cc (GCC) 3.4.6 [FreeBSD] 20060305
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2086: $? = 0
configure:2088: cc -v </dev/null >&5
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.6 [FreeBSD] 20060305
configure:2091: $? = 0
configure:2093: cc -V </dev/null >&5
cc: `-V' option must have argument
configure:2096: $? = 1
configure:2119: checking for C compiler default output file name
configure:2122: cc -O2 -fno-strict-aliasing -pipe    conftest.c  >&5
configure:2125: $? = 0
configure:2171: result: a.out
configure:2176: checking whether the C compiler works
configure:2182: ./a.out
configure:2185: $? = 0
configure:2202: result: yes
configure:2209: checking whether we are cross compiling
configure:2211: result: no
configure:2214: checking for suffix of executables
configure:2216: cc -o conftest -O2 -fno-strict-aliasing -pipe    conftest.c  >&5
configure:2219: $? = 0
configure:2244: result: 
configure:2250: checking for suffix of object files
configure:2271: cc -c -O2 -fno-strict-aliasing -pipe   conftest.c >&5
configure:2274: $? = 0
configure:2296: result: o
configure:2300: checking whether we are using the GNU C compiler
configure:2324: cc -c -O2 -fno-strict-aliasing -pipe   conftest.c >&5
configure:2330: $? = 0
configure:2334: test -z 
                         || test ! -s conftest.err
configure:2337: $? = 0
configure:2340: test -s conftest.o
configure:2343: $? = 0
configure:2356: result: yes
configure:2362: checking whether cc accepts -g
configure:2383: cc -c -g  conftest.c >&5
configure:2389: $? = 0
configure:2393: test -z 
                         || test ! -s conftest.err
configure:2396: $? = 0
configure:2399: test -s conftest.o
configure:2402: $? = 0
configure:2413: result: yes
configure:2430: checking for cc option to accept ANSI C
configure:2500: cc  -c -O2 -fno-strict-aliasing -pipe   conftest.c >&5
configure:2506: $? = 0
configure:2510: test -z 
                         || test ! -s conftest.err
configure:2513: $? = 0
configure:2516: test -s conftest.o
configure:2519: $? = 0
configure:2537: result: none needed
configure:2555: cc -c -O2 -fno-strict-aliasing -pipe   conftest.c >&5
conftest.c:2: error: syntax error before "me"
configure:2561: $? = 1
configure: failed program was:
| #ifndef __cplusplus
|   choke me
| #endif
configure:2705: checking for style of include used by make
configure:2733: result: GNU
configure:2761: checking dependency style of cc
configure:2851: result: gcc3
configure:2881: checking for a BSD-compatible install
configure:2936: result: /usr/bin/install -c -o root -g wheel
configure:2949: checking return type of signal handlers
configure:2980: cc -c -O2 -fno-strict-aliasing -pipe   conftest.c >&5
configure:2986: $? = 0
configure:2990: test -z 
                         || test ! -s conftest.err
configure:2993: $? = 0
configure:2996: test -s conftest.o
configure:2999: $? = 0
configure:3010: result: void
configure:3026: checking for i386-portbld-freebsd6.2-pkg-config
configure:3059: result: no
configure:3068: checking for pkg-config
configure:3086: found /usr/local/bin/pkg-config
configure:3098: result: /usr/local/bin/pkg-config
configure:3113: checking pkg-config is at least version 0.9.0
configure:3116: result: yes
configure:3127: checking for XDRIINFO
configure:3135: $PKG_CONFIG --exists --print-errors "x11 glproto"
configure:3138: $? = 0
configure:3153: $PKG_CONFIG --exists --print-errors "x11 glproto"
configure:3156: $? = 0
configure:3232: result: yes
configure:3240: checking for library containing glXGetProcAddressARB
configure:3270: cc -o conftest -O2 -fno-strict-aliasing -pipe    conftest.c  >&5
/var/tmp//ccNfnRoB.o(.text+0xd): In function `main':
: undefined reference to `glXGetProcAddressARB'
configure:3276: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "xdriinfo"
| #define PACKAGE_TARNAME "xdriinfo"
| #define PACKAGE_VERSION "1.0.1"
| #define PACKAGE_STRING "xdriinfo 1.0.1"
| #define PACKAGE_BUGREPORT 
"https://bugs.freedesktop.org/enter_bug.cgi?product=xorg";
| #define PACKAGE "xdriinfo"
| #define VERSION "1.0.1"
| #define RETSIGTYPE void
| /* end confdefs.h.  */
| 
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char glXGetProcAddressARB ();
| int
| main ()
| {
| glXGetProcAddressARB ();
|   ;
|   return 0;
| }
configure:3325: cc -o conftest -O2 -fno-strict-aliasing -pipe    conftest.c 
-lGL -L/usr/local/lib -lX11    >&5
/usr/local/lib/libGL.so: undefined reference to `XDamageAdd'
configure:3331: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "xdriinfo"
| #define PACKAGE_TARNAME "xdriinfo"
| #define PACKAGE_VERSION "1.0.1"
| #define PACKAGE_STRING "xdriinfo 1.0.1"
| #define PACKAGE_BUGREPORT 
"https://bugs.freedesktop.org/enter_bug.cgi?product=xorg";
| #define PACKAGE "xdriinfo"
| #define VERSION "1.0.1"
| #define RETSIGTYPE void
| /* end confdefs.h.  */
| 
| /* Override any gcc2 internal prototype to avoid an error.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| /* We use char because int might match the return type of a gcc2
|    builtin and then its argument prototype would still apply.  */
| char glXGetProcAddressARB ();
| int
| main ()
| {
| glXGetProcAddressARB ();
|   ;
|   return 0;
| }
configure:3359: result: no
configure:3365: error: cannot find GL library - make sure Mesa or other OpenGL 
package is installed
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=set
ac_cv_env_CC_value=cc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -fno-strict-aliasing -pipe '
ac_cv_env_CPPFLAGS_set=''
ac_cv_env_CPPFLAGS_value=''
ac_cv_env_LDFLAGS_set=''
ac_cv_env_LDFLAGS_value=''
ac_cv_env_PKG_CONFIG_set=''
ac_cv_env_PKG_CONFIG_value=''
ac_cv_env_XDRIINFO_CFLAGS_set=''
ac_cv_env_XDRIINFO_CFLAGS_value=''
ac_cv_env_XDRIINFO_LIBS_set=''
ac_cv_env_XDRIINFO_LIBS_value=''
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i386-portbld-freebsd6.2
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i386-portbld-freebsd6.2
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=i386-portbld-freebsd6.2
ac_cv_exeext=''
ac_cv_objext=o
ac_cv_path_ac_pt_PKG_CONFIG=/usr/local/bin/pkg-config
ac_cv_prog_AWK=nawk
ac_cv_prog_CC=cc
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=''
ac_cv_prog_make_make_set=yes
ac_cv_search_glXGetProcAddressARB=no
ac_cv_type_signal=void
am_cv_CC_dependencies_compiler_type=gcc3
lt_cv_sys_max_cmd_len=262144
pkg_cv_XDRIINFO_CFLAGS='-D_THREAD_SAFE -I/usr/local/include  '
pkg_cv_XDRIINFO_LIBS='-L/usr/local/lib -lX11  '

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /usr/ports/x11/xdriinfo/work/xdriinfo-1.0.1/missing --run 
aclocal-1.9'
ADMIN_MAN_DIR=''
ADMIN_MAN_SUFFIX=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /usr/ports/x11/xdriinfo/work/xdriinfo-1.0.1/missing --run tar'
APP_MAN_DIR=''
APP_MAN_SUFFIX=''
AUTOCONF='${SHELL} /usr/ports/x11/xdriinfo/work/xdriinfo-1.0.1/missing --run 
autoconf'
AUTOHEADER='${SHELL} /usr/ports/x11/xdriinfo/work/xdriinfo-1.0.1/missing --run 
autoheader'
AUTOMAKE='${SHELL} /usr/ports/x11/xdriinfo/work/xdriinfo-1.0.1/missing --run 
automake-1.9'
AWK='nawk'
CC='cc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-O2 -fno-strict-aliasing -pipe '
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DRIVER_MAN_DIR=''
DRIVER_MAN_SUFFIX=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
FILE_MAN_DIR=''
FILE_MAN_SUFFIX=''
INSTALL_DATA='install  -o root -g wheel -m 444'
INSTALL_PROGRAM='install  -s -o root -g wheel -m 555'
INSTALL_SCRIPT='install  -o root -g wheel -m 555'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIB_MAN_DIR=''
LIB_MAN_SUFFIX=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /usr/ports/x11/xdriinfo/work/xdriinfo-1.0.1/missing --run 
makeinfo'
MISC_MAN_DIR=''
MISC_MAN_SUFFIX=''
OBJEXT='o'
PACKAGE='xdriinfo'
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
PACKAGE_NAME='xdriinfo'
PACKAGE_STRING='xdriinfo 1.0.1'
PACKAGE_TARNAME='xdriinfo'
PACKAGE_VERSION='1.0.1'
PATH_SEPARATOR=':'
PKG_CONFIG='/usr/local/bin/pkg-config'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='1.0.1'
XDRIINFO_CFLAGS='-D_THREAD_SAFE -I/usr/local/include  '
XDRIINFO_LIBS='-L/usr/local/lib -lX11  '
ac_ct_CC=''
ac_ct_STRIP=''
ac_pt_PKG_CONFIG='/usr/local/bin/pkg-config'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i386-portbld-freebsd6.2'
build_alias='i386-portbld-freebsd6.2'
build_cpu=''
build_os=''
build_vendor=''
datadir='${prefix}/share'
exec_prefix='NONE'
host='i386-portbld-freebsd6.2'
host_alias='i386-portbld-freebsd6.2'
host_cpu=''
host_os=''
host_vendor=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/usr/ports/x11/xdriinfo/work/xdriinfo-1.0.1/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='/usr/local/man/'
mkdir_p='$(install_sh) -d'
oldincludedir='/usr/include'
prefix='/usr/local'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias='i386-portbld-freebsd6.2'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE "xdriinfo"
#define PACKAGE_BUGREPORT 
"https://bugs.freedesktop.org/enter_bug.cgi?product=xorg";
#define PACKAGE_NAME "xdriinfo"
#define PACKAGE_STRING "xdriinfo 1.0.1"
#define PACKAGE_TARNAME "xdriinfo"
#define PACKAGE_VERSION "1.0.1"
#define RETSIGTYPE void
#define VERSION "1.0.1"

configure: exit 1
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to