[MacPorts] #22076: Problem installing Pymol

MacPorts noreply at macports.org
Wed Oct 14 17:36:22 PDT 2009


#22076: Problem installing Pymol
--------------------------------+-------------------------------------------
 Reporter:  biobrain@…          |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:                                       
 Keywords:                      |        Port:  pymol                                
--------------------------------+-------------------------------------------
Changes (by toby@…):

  * priority:  High => Normal
  * version:  1.8.1 =>
  * milestone:  MacPorts 1.8.2 =>
  * keywords:  Pymol =>
  * port:  pymol @1.2r2 => pymol


Old description:

> Here is a copy of screen output.
>
> muhammad-imtia-shafiqs-macbook-pro:match imtiaz$ sudo port install pymol
> @1.2r2
> --->  Computing dependencies for pymol
> --->  Building pymol
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_pymol/work/pymol"
> && /usr/bin/make all -f Makefile.delsci CC=/usr/bin/gcc-4.2
> CXX=/usr/bin/g++-4.2 " returned error 2
> Command output:                  from Matrix.c:26:
> Block.c: In function 'BlockFill':
> Block.c:49: error: 'GL_POLYGON' undeclared (first use in this function)
> Block.c:49: error: (Each undeclared identifier is reported only once
> Block.c:49: error: for each function it appears in.)
> Block.c: In function 'BlockDrawLeftEdge':
> Block.c:65: error: 'GL_LINES' undeclared (first use in this function)
> Block.c: In function 'BlockOutline':
> Block.c:78: error: 'GL_LINE_LOOP' undeclared (first use in this function)
> Block.c: In function 'BlockDrawTopEdge':
> Block.c:94: error: 'GL_LINES' undeclared (first use in this function)
> ../layer0/os_gl.h:34:18: error: GL/gl.h: No such file or directory
> ../layer0/os_gl.h:35:19: error: GL/glu.h: No such file or directory
> make[1]: *** [Block.o] Error 1
> In file included from ../layer1/Ortho.h:28,
>                  from Matrix.c:26:
> ../layer0/os_gl.h:73: error: expected ')' before 'x'
> ../layer0/os_gl.h:78: error: expected ')' before 'width'
> ../layer0/os_gl.h:130:20: error: GL/glut.h: No such file or directory
> In file included from Matrix.c:26:
> ../layer1/Ortho.h:111: error: expected declaration specifiers or '...'
> before 'GLenum'
> Crystal.c: In function 'CrystalGetUnitCellCGO':
> Crystal.c:237: error: 'GL_LIGHTING' undeclared (first use in this
> function)
> Crystal.c:237: error: (Each undeclared identifier is reported only once
> Crystal.c:237: error: for each function it appears in.)
> Crystal.c:238: error: 'GL_LINE_STRIP' undeclared (first use in this
> function)
> Crystal.c:280: error: 'GL_LINES' undeclared (first use in this function)
> make[1]: *** [Crystal.o] Error 1
> make[1]: *** [Matrix.o] Error 1
> make: *** [.update] Error 2
>
> Error: Status 1 encountered during processing.

New description:

 Here is a copy of screen output.

 {{{
 muhammad-imtia-shafiqs-macbook-pro:match imtiaz$ sudo port install pymol
 @1.2r2
 --->  Computing dependencies for pymol
 --->  Building pymol
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_pymol/work/pymol"
 && /usr/bin/make all -f Makefile.delsci CC=/usr/bin/gcc-4.2
 CXX=/usr/bin/g++-4.2 " returned error 2
 Command output:                  from Matrix.c:26:
 Block.c: In function 'BlockFill':
 Block.c:49: error: 'GL_POLYGON' undeclared (first use in this function)
 Block.c:49: error: (Each undeclared identifier is reported only once
 Block.c:49: error: for each function it appears in.)
 Block.c: In function 'BlockDrawLeftEdge':
 Block.c:65: error: 'GL_LINES' undeclared (first use in this function)
 Block.c: In function 'BlockOutline':
 Block.c:78: error: 'GL_LINE_LOOP' undeclared (first use in this function)
 Block.c: In function 'BlockDrawTopEdge':
 Block.c:94: error: 'GL_LINES' undeclared (first use in this function)
 ../layer0/os_gl.h:34:18: error: GL/gl.h: No such file or directory
 ../layer0/os_gl.h:35:19: error: GL/glu.h: No such file or directory
 make[1]: *** [Block.o] Error 1
 In file included from ../layer1/Ortho.h:28,
                  from Matrix.c:26:
 ../layer0/os_gl.h:73: error: expected ')' before 'x'
 ../layer0/os_gl.h:78: error: expected ')' before 'width'
 ../layer0/os_gl.h:130:20: error: GL/glut.h: No such file or directory
 In file included from Matrix.c:26:
 ../layer1/Ortho.h:111: error: expected declaration specifiers or '...'
 before 'GLenum'
 Crystal.c: In function 'CrystalGetUnitCellCGO':
 Crystal.c:237: error: 'GL_LIGHTING' undeclared (first use in this
 function)
 Crystal.c:237: error: (Each undeclared identifier is reported only once
 Crystal.c:237: error: for each function it appears in.)
 Crystal.c:238: error: 'GL_LINE_STRIP' undeclared (first use in this
 function)
 Crystal.c:280: error: 'GL_LINES' undeclared (first use in this function)
 make[1]: *** [Crystal.o] Error 1
 make[1]: *** [Matrix.o] Error 1
 make: *** [.update] Error 2

 Error: Status 1 encountered during processing.
 }}}

--

-- 
Ticket URL: <http://trac.macports.org/ticket/22076#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list