ports/60452: Configure for Goggles-0.5.6 chooses incorrect FOX library

User1001 at freebsd2.localnet10 User1001 at freebsd2.localnet10
Sun Dec 21 09:50:23 UTC 2003


>Number:         60452
>Category:       ports
>Synopsis:       Configure for Goggles-0.5.6 chooses incorrect FOX library
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 21 01:50:17 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     User1001
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:

pkg_info|grep fox
fox-1.1.42          Fast and extensive C++ GUI toolkit


Goggles-0.5.6 config.log:
----------------------------------------------------------------------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:745: checking for a BSD compatible install
configure:798: checking whether build environment is sane
configure:855: checking whether gmake sets ${MAKE}
configure:901: checking for working aclocal-1.4
configure:914: checking for working autoconf
configure:927: checking for working automake-1.4
configure:940: checking for working autoheader
configure:953: checking for working makeinfo
configure:971: checking major version
configure:974: checking minor version
configure:977: checking patchlevel
configure:985: checking whether gmake sets ${MAKE}
configure:1014: checking for gcc
configure:1127: checking whether the C compiler (cc -O -pipe -mcpu=pentiumpro  -L/usr/local/lib -lc_r) works
configure:1143: cc -o conftest -O -pipe -mcpu=pentiumpro  -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE  -L/usr/local/lib -lc_r conftest.c  1>&5
configure:1169: checking whether the C compiler (cc -O -pipe -mcpu=pentiumpro  -L/usr/local/lib -lc_r) is a cross-compiler
configure:1174: checking whether we are using GNU C
configure:1183: cc -E conftest.c
configure:1202: checking whether cc accepts -g
configure:1234: checking how to run the C preprocessor
configure:1255: cc -E  -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE conftest.c >/dev/null 2>conftest.out
configure:1318: checking for c++
configure:1350: checking whether the C++ compiler (c++ -O -pipe -mcpu=pentiumpro  -L/usr/local/lib -lc_r) works
configure:1366: c++ -o conftest -O -pipe -mcpu=pentiumpro  -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE  -L/usr/local/lib -lc_r conftest.C  1>&5
configure:1392: checking whether the C++ compiler (c++ -O -pipe -mcpu=pentiumpro  -L/usr/local/lib -lc_r) is a cross-compiler
configure:1397: checking whether we are using GNU C++
configure:1406: c++ -E conftest.C
configure:1425: checking whether c++ accepts -g
configure:1468: checking for Cygwin environment
configure:1484: cc -c -O -pipe -mcpu=pentiumpro  -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE conftest.c 1>&5
configure: In function `main':
configure:1480: error: `__CYGWIN32__' undeclared (first use in this function)
configure:1480: error: (Each undeclared identifier is reported only once
configure:1480: error: for each function it appears in.)
configure: failed program was:
#line 1473 "configure"
#include "confdefs.h"

int main() {

#ifndef __CYGWIN__
#define __CYGWIN__ __CYGWIN32__
#endif
return __CYGWIN__;
; return 0; }
configure:1501: checking for mingw32 environment
configure:1513: cc -c -O -pipe -mcpu=pentiumpro  -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE conftest.c 1>&5
configure: In function `main':
configure:1509: error: `__MINGW32__' undeclared (first use in this function)
configure:1509: error: (Each undeclared identifier is reported only once
configure:1509: error: for each function it appears in.)
configure: failed program was:
#line 1506 "configure"
#include "confdefs.h"

int main() {
return __MINGW32__;
; return 0; }
configure:1605: checking host system type
configure:1626: checking build system type
configure:1655: checking for ld used by GCC
configure:1723: checking if the linker (/usr/bin/ld) is GNU ld
GNU ld version 2.13.2 [FreeBSD] 2002-11-27
configure:1740: checking for /usr/bin/ld option to reload object files
configure:1752: checking for BSD-compatible nm
configure:1790: checking for a sed that does not truncate output
configure:1874: checking whether ln -s works
configure:1895: checking how to recognise dependent libraries
configure:2081: checking for object suffix
configure:2087: cc -c -O -pipe -mcpu=pentiumpro  -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE conftest.c 1>&5
configure:2107: checking for executable suffix
configure:2117: cc -o conftest -O -pipe -mcpu=pentiumpro  -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE  -L/usr/local/lib -lc_r conftest.c  1>&5
configure:2148: checking command to parse /usr/bin/nm -B output
configure:2231: cc -c -O -pipe -mcpu=pentiumpro  -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE conftest.c 1>&5
configure:2234: /usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGISTW][ABCDGISTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm
configure:2285: cc -o conftest -O -pipe -mcpu=pentiumpro  -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE  -L/usr/local/lib -lc_r conftest.c conftstm.o 1>&5
configure:2334: checking for dlfcn.h
configure:2344: cc -E  -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE conftest.c >/dev/null 2>conftest.out
configure:2513: checking for ranlib
configure:2580: checking for strip
configure:2837: checking for objdir
configure:2864: checking for cc option to produce PIC
configure:3012: checking if cc PIC flag -fPIC works
configure:3026: cc -c -O -pipe -mcpu=pentiumpro -fPIC -DPIC  -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE conftest.c 1>&5
configure:3078: checking if cc static flag -static works
configure:3093: cc -o conftest -O -pipe -mcpu=pentiumpro  -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE  -L/usr/local/lib -lc_r -static conftest.c  1>&5
configure:3120: checking if cc supports -c -o file.o
configure:3139: cc -c -O -pipe -mcpu=pentiumpro -o out/conftest2.o  -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE conftest.c 1>&5
configure:3168: checking if cc supports -c -o file.lo
configure:3186: cc -c -O -pipe -mcpu=pentiumpro -c -o conftest.lo  -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE conftest.c 1>&5
configure:3236: checking if cc supports -fno-rtti -fno-exceptions
configure:3249: cc -c -O -pipe -mcpu=pentiumpro -fno-rtti -fno-exceptions -c conftest.c  -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE conftest.c 1>&5
cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC
cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC
configure:3276: checking whether the linker (/usr/bin/ld) supports shared libraries
configure:3975: checking how to hardcode library paths into programs
configure:4003: checking whether stripping libraries is possible
configure:4017: checking dynamic linker characteristics
configure:4435: checking if libtool supports shared libraries
configure:4439: checking whether to build shared libraries
configure:4462: checking whether to build static libraries
configure:4998: checking whether -lc should be explicitly linked in
configure:5005: cc -c -O -pipe -mcpu=pentiumpro  -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE conftest.c 1>&5
configure:5018: cc -shared conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2>&1 | grep  -lc  >/dev/null 2>&1
configure:5618: checking for X11/extensions/dpms.h
configure:5628: cc -E  -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE conftest.c >/dev/null 2>conftest.out
configure:5653: checking whether system has DPMS fce in X11/extensions/dpms.h
configure:5671: cc -c -O -pipe -mcpu=pentiumpro  -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE conftest.c 1>&5
configure:5695: checking for DPMSQueryExtension in -lXdpms
configure:5714: cc -o conftest -O -pipe -mcpu=pentiumpro  -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE  -L/usr/local/lib -lc_r conftest.c -lXdpms   1>&5
/usr/bin/ld: cannot find -lXdpms
configure: failed program was:
#line 5703 "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 DPMSQueryExtension();

int main() {
DPMSQueryExtension()
; return 0; }
configure:5762: checking for linux/em8300.h
configure:5772: cc -E  -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE conftest.c >/dev/null 2>conftest.out
configure:5768:26: linux/em8300.h: No such file or directory
configure: failed program was:
#line 5767 "configure"
#include "confdefs.h"
#include <linux/em8300.h>
configure:5855: checking how to run the C++ preprocessor
configure:5873: c++ -E -w -I/usr/local/include conftest.C >/dev/null 2>conftest.out
configure:5899: checking for ogle/dvd.h
configure:5909: c++ -E -w -I/usr/local/include conftest.C >/dev/null 2>conftest.out
configure:5941: checking for DVDRequestInput in -ldvdcontrol
configure:5964: c++ -o conftest -O -pipe -mcpu=pentiumpro -DHAVE_DPMS  -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE  -L/usr/local/lib -lc_r conftest.C -ldvdcontrol -L/usr/local/lib/ogle
   1>&5
configure:6000: checking for sys/param.h
configure:6010: c++ -E  -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE conftest.C >/dev/null 2>conftest.out
configure:6040: checking for sys/stat.h
configure:6050: c++ -E  -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE conftest.C >/dev/null 2>conftest.out
configure:6077: checking for pthread_create in -pthread
configure:6099: c++ -o conftest -O -pipe -mcpu=pentiumpro -DHAVE_DPMS  -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE  -L/usr/local/lib -lc_r conftest.C -pthread   1>&5
configure:6164: checking for fxfindfox in -lFOX-1.1-1.1.41
configure:6186: c++ -o conftest -O -pipe -mcpu=pentiumpro -DHAVE_DPMS  -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE -L/usr/local/lib  -L/usr/local/lib -lc_r conftest.C -lFOX-1.1-1.1  -pthread  1>&5
/usr/bin/ld: cannot find -lFOX-1.1-1.1
configure: failed program was:
#line 6172 "configure"
#include "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 fxfindfox();

int main() {
fxfindfox()
; return 0; }
--------------------------------------------------------------------------

	
>Description:
	Patches to configure for Goggles-0.5.6 choose incorrect FOX library
	and configure process failed. The current FOX library is 1.1.42.
	Configure error message: /usr/bin/ld: cannot find -lFOX-1.1-1.1.
	
>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list