Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jul 2007 18:21:59 +0900 (JST)
From:      Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/114890: building science/xmakemol fails with libGL.
Message-ID:  <200707250921.l6P9LxTm071072@polymer3.scphys.kyoto-u.ac.jp>
Resent-Message-ID: <200707250940.l6P9e9uP083231@freefall.freebsd.org>

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

>Number:         114890
>Category:       ports
>Synopsis:       building science/xmakemol fails with libGL.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 25 09:40:08 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Tsurutani Naoki
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD polymer3.scphys.kyoto-u.ac.jp 6.2-STABLE FreeBSD 6.2-STABLE #8: Mon Jun 4 14:16:32 JST 2007 turutani@polymer3.scphys.kyoto-u.ac.jp:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386


	
>Description:
	building science/xmakemol fails after upgrading X.org to 7.2.
	here is a log:
	cc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/local/include     -O2 -fno-strict-aliasing -pipe  -I/usr/local/include -DELEMENTS=\"/usr/local/share/xmakemol/elements\" -c vectors.c
	cc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/local/include     -O2 -fno-strict-aliasing -pipe  -I/usr/local/include -DELEMENTS=\"/usr/local/share/xmakemol/elements\" -c view.c
	cc -DHAVE_CONFIG_H -I. -I. -I.   -I/usr/local/include     -O2 -fno-strict-aliasing -pipe  -I/usr/local/include -DELEMENTS=\"/usr/local/share/xmakemol/elements\" -c xmakemol.c
	xmakemol.c:45:60: GL/GLwMDrawA.h: No such file or directory
	xmakemol.c: In function `main':
	xmakemol.c:224: error: `glwMDrawingAreaWidgetClass' undeclared (first use in this function)
	xmakemol.c:224: error: (Each undeclared identifier is reported only once
	xmakemol.c:224: error: for each function it appears in.)
	xmakemol.c:230: error: `GLwNvisualInfo' undeclared (first use in this function)
	xmakemol.c:242: error: `GLwNresizeCallback' undeclared (first use in this function)
	xmakemol.c:251: error: `GLwNexposeCallback' undeclared (first use in this function)
	gmake: *** [xmakemol.o] Error 1
	*** Error code 2

	Stop in /usr/ports/science/xmakemol.

	
>How-To-Repeat:
	always build science/xmakemol.
	
>Fix:
	I do not know how to fix.
	pointyhat shows no error.
	I checked the logs, and found the differences in the output of configure;
	on the pointy hat,
	  checking whether OpenGL library is available... UNRESOLVED
	  configure: warning: couldn't compile or link with OpenGL library -- trying with pthread library in place...
	  checking whether the pthread development system is available... yes
	  checking whether OpenGL library can be linked with pthread library... UNRESOLVED
	and on my host,
	  checking whether OpenGL library is available... -lGL
	  checking whether GLU is available... -lGLU
	  checking for a GL widget... UNKNOWN
	  checking for GL/glut.h... yes
	I have no idea to disable OpenGL, and I want to use it if possible.
	on my host, libGL-7.0, libGLU-7.0, libglut-7.0 are installed.
	I tried building after installing libGLw, but another error occured.
	


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



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