Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Feb 2009 14:47:27 +0300
From:      Alexander Demin <support@spectrum.ru>
To:        x11@freebsd.org
Subject:   Error install port: x11/xdriinfo.
Message-ID:  <20090203144727.807dd36f.support@spectrum.ru>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hello.

I have problem with installation of port x11/xdriinfo.
uname -a
FreeBSD test.spectrum.ru 7.1-STABLE FreeBSD 7.1-STABLE #0: Thu Jan 15 22:00:22 MSK 2009
root@test.spectrum.ru:/usr/obj/usr/src/sys/MYGENERIC  i386
Ports tree up today.
How to repeat:
cd /usr/ports/x11/xdriinfo
make install clean
===>  Vulnerability check disabled, database not found
===>  Extracting for xdriinfo-1.0.2
=> MD5 Checksum OK for xorg/app/xdriinfo-1.0.2.tar.bz2.
=> SHA256 Checksum OK for xorg/app/xdriinfo-1.0.2.tar.bz2.
===>  Patching for xdriinfo-1.0.2
===>   xdriinfo-1.0.2 depends on file: /usr/local/libdata/pkgconfig/glproto.pc - found
===>   xdriinfo-1.0.2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   xdriinfo-1.0.2 depends on executable: pkg-config - found
===>   xdriinfo-1.0.2 depends on shared library: GL.1 - found
===>  Configuring for xdriinfo-1.0.2
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking return type of signal handlers... void
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XDRIINFO... yes
checking for library containing glXGetProcAddressARB... no
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.
Please report the problem to x11@FreeBSD.org [maintainer] and attach the
"/usr/tmp_potrs/usr/ports/x11/xdriinfo/work/xdriinfo-1.0.2/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/x11/xdriinfo.

Log file (config.log) attached.

-- 
Demin Alexander / Network Administrator
Group of companies Spectrum / tel. (+7 495) 995-8999
Russia, Moscow, 103009, Strastnoy blvr. 8
Web: http://www.spectrum.ru/

[-- Attachment #2 --]
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.2, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ ./configure --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ --build=i386-portbld-freebsd7.1

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

hostname = test.spectrum.ru
uname -m = i386
uname -r = 7.1-STABLE
uname -s = FreeBSD
uname -v = FreeBSD 7.1-STABLE #0: Thu Jan 15 22:00:22 MSK 2009     root@test.spectrum.ru:/usr/obj/usr/src/sys/MYGENERIC 

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

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/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: /root/bin


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

configure:1777: checking for a BSD-compatible install
configure:1833: result: /usr/bin/install -c -o root -g wheel
configure:1844: checking whether build environment is sane
configure:1887: result: yes
configure:1915: checking for a thread-safe mkdir -p
configure:1954: result: ./install-sh -c -d
configure:1967: checking for gawk
configure:1997: result: no
configure:1967: checking for mawk
configure:1997: result: no
configure:1967: checking for nawk
configure:1983: found /usr/bin/nawk
configure:1994: result: nawk
configure:2005: checking whether make sets $(MAKE)
configure:2026: result: yes
configure:2214: checking whether to enable maintainer-specific portions of Makefiles
configure:2223: result: no
configure:2288: checking for gcc
configure:2315: result: cc
configure:2553: checking for C compiler version
configure:2560: cc --version >&5
cc (GCC) 4.2.1 20070719  [FreeBSD]
Copyright (C) 2007 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:2563: $? = 0
configure:2570: cc -v >&5
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070719  [FreeBSD]
configure:2573: $? = 0
configure:2580: cc -V >&5
cc: '-V' option must have argument
configure:2583: $? = 1
configure:2606: checking for C compiler default output file name
configure:2633: cc -O2 -fno-strict-aliasing -pipe   conftest.c  >&5
configure:2636: $? = 0
configure:2674: result: a.out
configure:2691: checking whether the C compiler works
configure:2701: ./a.out
configure:2704: $? = 0
configure:2721: result: yes
configure:2728: checking whether we are cross compiling
configure:2730: result: no
configure:2733: checking for suffix of executables
configure:2740: cc -o conftest -O2 -fno-strict-aliasing -pipe   conftest.c  >&5
configure:2743: $? = 0
configure:2767: result: 
configure:2773: checking for suffix of object files
configure:2799: cc -c -O2 -fno-strict-aliasing -pipe  conftest.c >&5
configure:2802: $? = 0
configure:2825: result: o
configure:2829: checking whether we are using the GNU C compiler
configure:2858: cc -c -O2 -fno-strict-aliasing -pipe  conftest.c >&5
configure:2864: $? = 0
configure:2881: result: yes
configure:2886: checking whether cc accepts -g
configure:2916: cc -c -g  conftest.c >&5
configure:2922: $? = 0
configure:3021: result: yes
configure:3038: checking for cc option to accept ISO C89
configure:3112: cc  -c -O2 -fno-strict-aliasing -pipe  conftest.c >&5
configure:3118: $? = 0
configure:3141: result: none needed
configure:3170: checking for style of include used by make
configure:3198: result: GNU
configure:3223: checking dependency style of cc
configure:3314: result: gcc3
configure:3342: checking for a BSD-compatible install
configure:3398: result: /usr/bin/install -c -o root -g wheel
configure:3411: checking return type of signal handlers
configure:3439: cc -c -O2 -fno-strict-aliasing -pipe  conftest.c >&5
conftest.c: In function 'main':
conftest.c:16: error: void value not ignored as it ought to be
configure:3445: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "xdriinfo"
| #define PACKAGE_TARNAME "xdriinfo"
| #define PACKAGE_VERSION "1.0.2"
| #define PACKAGE_STRING "xdriinfo 1.0.2"
| #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
| #define PACKAGE "xdriinfo"
| #define VERSION "1.0.2"
| /* end confdefs.h.  */
| #include <sys/types.h>
| #include <signal.h>
| 
| int
| main ()
| {
| return *(signal (0, 0)) (0) == 1;
|   ;
|   return 0;
| }
configure:3460: result: void
configure:3519: checking for pkg-config
configure:3537: found /usr/local/bin/pkg-config
configure:3549: result: /usr/local/bin/pkg-config
configure:3578: checking pkg-config is at least version 0.9.0
configure:3581: result: yes
configure:3592: checking for XDRIINFO
configure:3597: $PKG_CONFIG --exists --print-errors "x11 glproto"
configure:3600: $? = 0
configure:3611: $PKG_CONFIG --exists --print-errors "x11 glproto"
configure:3614: $? = 0
configure:3669: result: yes
configure:3677: checking for library containing glXGetProcAddressARB
configure:3718: cc -o conftest -O2 -fno-strict-aliasing -pipe   conftest.c  >&5
/var/tmp//ccXFQ7mO.o(.text+0x12): In function `main':
: undefined reference to `glXGetProcAddressARB'
configure:3724: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "xdriinfo"
| #define PACKAGE_TARNAME "xdriinfo"
| #define PACKAGE_VERSION "1.0.2"
| #define PACKAGE_STRING "xdriinfo 1.0.2"
| #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
| #define PACKAGE "xdriinfo"
| #define VERSION "1.0.2"
| #define RETSIGTYPE void
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char glXGetProcAddressARB ();
| int
| main ()
| {
| return glXGetProcAddressARB ();
|   ;
|   return 0;
| }
configure:3718: cc -o conftest -O2 -fno-strict-aliasing -pipe   conftest.c -lGL -L/usr/local/lib -lX11    >&5
/usr/bin/ld: cannot find -lGL
configure:3724: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "xdriinfo"
| #define PACKAGE_TARNAME "xdriinfo"
| #define PACKAGE_VERSION "1.0.2"
| #define PACKAGE_STRING "xdriinfo 1.0.2"
| #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=xorg"
| #define PACKAGE "xdriinfo"
| #define VERSION "1.0.2"
| #define RETSIGTYPE void
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char glXGetProcAddressARB ();
| int
| main ()
| {
| return glXGetProcAddressARB ();
|   ;
|   return 0;
| }
configure:3752: result: no
configure:3759: 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_LIBS_set=''
ac_cv_env_LIBS_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-freebsd7.1
ac_cv_env_host_alias_set=''
ac_cv_env_host_alias_value=''
ac_cv_env_target_alias_set=''
ac_cv_env_target_alias_value=''
ac_cv_objext=o
ac_cv_path_ac_pt_PKG_CONFIG=/usr/local/bin/pkg-config
ac_cv_prog_AWK=nawk
ac_cv_prog_ac_ct_CC=cc
ac_cv_prog_cc_c89=''
ac_cv_prog_cc_g=yes
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/tmp_potrs/usr/ports/x11/xdriinfo/work/xdriinfo-1.0.2/missing --run aclocal-1.10'
ADMIN_MAN_DIR=''
ADMIN_MAN_SUFFIX=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /usr/tmp_potrs/usr/ports/x11/xdriinfo/work/xdriinfo-1.0.2/missing --run tar'
APP_MAN_DIR=''
APP_MAN_SUFFIX=''
AUTOCONF='${SHELL} /usr/tmp_potrs/usr/ports/x11/xdriinfo/work/xdriinfo-1.0.2/missing --run autoconf'
AUTOHEADER='${SHELL} /usr/tmp_potrs/usr/ports/x11/xdriinfo/work/xdriinfo-1.0.2/missing --run autoheader'
AUTOMAKE='${SHELL} /usr/tmp_potrs/usr/ports/x11/xdriinfo/work/xdriinfo-1.0.2/missing --run automake-1.10'
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='$(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIB_MAN_DIR=''
LIB_MAN_SUFFIX=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /usr/tmp_potrs/usr/ports/x11/xdriinfo/work/xdriinfo-1.0.2/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.2'
PACKAGE_TARNAME='xdriinfo'
PACKAGE_VERSION='1.0.2'
PATH_SEPARATOR=':'
PKG_CONFIG='/usr/local/bin/pkg-config'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='1.0.2'
XDRIINFO_CFLAGS='-D_THREAD_SAFE -I/usr/local/include  '
XDRIINFO_LIBS='-L/usr/local/lib -lX11  '
ac_ct_CC='cc'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i386-portbld-freebsd7.1'
build_alias='i386-portbld-freebsd7.1'
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/local/info/'
install_sh='$(SHELL) /usr/tmp_potrs/usr/ports/x11/xdriinfo/work/xdriinfo-1.0.2/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='/usr/local/man'
mkdir_p='$(top_builddir)/./install-sh -c -d'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

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

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

configure: exit 1

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