From turutani@polymer3.scphys.kyoto-u.ac.jp  Wed Jul 25 09:33:02 2007
Return-Path: <turutani@polymer3.scphys.kyoto-u.ac.jp>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id CBB9416A49C
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 25 Jul 2007 09:33:02 +0000 (UTC)
	(envelope-from turutani@polymer3.scphys.kyoto-u.ac.jp)
Received: from omls-2c.kuins.net (omls-2c.kuins.net [192.50.9.4])
	by mx1.freebsd.org (Postfix) with ESMTP id 2834613C461
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 25 Jul 2007 09:33:00 +0000 (UTC)
	(envelope-from turutani@polymer3.scphys.kyoto-u.ac.jp)
Received: from imls-2b.kuins.net (imls-2b.imail.kuins.net [10.224.254.4] (may be forged))
	by omls-2c.kuins.net (8.13.8/8.12.7) with ESMTP id l6P9M6I7025189
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 25 Jul 2007 18:22:06 +0900
Received: from imls-2b.kuins.net (localhost.localdomain [127.0.0.1])
	by imls-2b.kuins.net (8.12.11/8.12.10) with ESMTP id l6P9M6Mf004792
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 25 Jul 2007 18:22:06 +0900
Received: from polymer3.scphys.kyoto-u.ac.jp (h78.212.225.10.0.vlan.kuins.net [10.225.212.78])
	by imls-2b.kuins.net (8.12.11/8.12.10) with ESMTP id l6P9M6XN004789;
	Wed, 25 Jul 2007 18:22:06 +0900
Received: from polymer3.scphys.kyoto-u.ac.jp (localhost [127.0.0.1])
	by polymer3.scphys.kyoto-u.ac.jp (8.14.1/8.14.1/20070410-1) with ESMTP id l6P9M0Um071073;
	Wed, 25 Jul 2007 18:22:00 +0900 (JST)
	(envelope-from turutani@polymer3.scphys.kyoto-u.ac.jp)
Received: (from turutani@localhost)
	by polymer3.scphys.kyoto-u.ac.jp (8.14.1/8.14.1/Submit) id l6P9LxTm071072;
	Wed, 25 Jul 2007 18:21:59 +0900 (JST)
	(envelope-from turutani)
Message-Id: <200707250921.l6P9LxTm071072@polymer3.scphys.kyoto-u.ac.jp>
Date: Wed, 25 Jul 2007 18:21:59 +0900 (JST)
From: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
Reply-To: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: building science/xmakemol fails with libGL.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         114890
>Category:       ports
>Synopsis:       building science/xmakemol fails with libGL.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pav
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 25 09:40:08 GMT 2007
>Closed-Date:    Sun Jul 29 13:06:18 GMT 2007
>Last-Modified:  Sun Jul 29 13:06:18 GMT 2007
>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:
State-Changed-From-To: open->feedback 
State-Changed-By: pav 
State-Changed-When: Sat Jul 28 19:26:54 UTC 2007 
State-Changed-Why:  
What would that `another error' be? After installing libGLw here, the port 
built successfully. 


Responsible-Changed-From-To: freebsd-ports-bugs->pav 
Responsible-Changed-By: pav 
Responsible-Changed-When: Sat Jul 28 19:26:54 UTC 2007 
Responsible-Changed-Why:  
Track 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114890 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/114890: commit references a PR
Date: Sat, 28 Jul 2007 19:58:38 +0000 (UTC)

 pav         2007-07-28 19:58:33 UTC
 
   FreeBSD ports repository
 
   Modified files:
     science/xmakemol     Makefile 
   Log:
   - Depend on the GL* stuff, to prevent compilation failure for folks with only
     half of it installed
   
   PR:             ports/114890
   Reported by:    Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
   
   Revision  Changes    Path
   1.9       +2 -1      ports/science/xmakemol/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Sun Jul 29 13:06:09 UTC 2007 
State-Changed-Why:  
Not xmbmol problem 

http://www.freebsd.org/cgi/query-pr.cgi?pr=114890 
>Unformatted:
