Bug 114890

Summary: building science/xmakemol fails with libGL.
Product: Ports & Packages Reporter: TsurutaniNaoki
Component: Individual Port(s)Assignee: Pav Lucistnik <pav>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description TsurutaniNaoki 2007-07-25 10:40:08 UTC
	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.

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.
How-To-Repeat: 	always build science/xmakemol.
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2007-07-28 20:26:54 UTC
State Changed
From-To: open->feedback

What would that `another error' be? After installing libGLw here, the port 
built successfully. 


Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2007-07-28 20:26:54 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Track
Comment 3 dfilter service freebsd_committer freebsd_triage 2007-07-28 20:58:38 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"
Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2007-07-29 14:06:09 UTC
State Changed
From-To: feedback->closed

Not xmbmol problem