[MacPorts] #22123: Error Installing pymol @1.2r2

MacPorts noreply at macports.org
Fri Oct 16 13:06:48 PDT 2009


#22123: Error Installing pymol @1.2r2
--------------------------------+-------------------------------------------
 Reporter:  biobrain@…          |       Owner:  howarth@…               
     Type:  defect              |      Status:  new                     
 Priority:  Normal              |   Milestone:                          
Component:  ports               |     Version:  1.8.1                   
 Keywords:                      |        Port:  pymol                   
--------------------------------+-------------------------------------------
Changes (by toby@…):

  * keywords:  Pymol =>
  * owner:  macports-tickets@… => howarth@…
  * port:  pymol @1.2r2 => pymol
  * milestone:  MacPorts 1.8.2 =>


Old description:

> I am unable to install pymol 1.2r2
>
> Here is a copy of screen output.
>
> muhammad-imtia-shafiqs-macbook-pro:~ 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: ../layer0/os_gl.h:130:20: error: GL/glut.h: No such file
> or directory
> In file included from Triangle.c:39:
> ../layer1/Ortho.h:111: error: expected declaration specifiers or '...'
> before 'GLenum'
> Texture.c: In function 'TextureGetFromChar':
> Texture.c:78: error: 'GLuint' undeclared (first use in this function)
> Texture.c:78: error: (Each undeclared identifier is reported only once
> Texture.c:78: error: for each function it appears in.)
> Texture.c:78: error: expected ';' before 'texture_id'
> Texture.c:106: error: 'texture_id' undeclared (first use in this
> function)
> Texture.c:119: error: 'GL_UNPACK_ALIGNMENT' undeclared (first use in this
> function)
> Texture.c:120: error: 'GL_TEXTURE_2D' undeclared (first use in this
> function)
> Texture.c:121: error: 'GL_TEXTURE_WRAP_S' undeclared (first use in this
> function)
> Texture.c:121: error: 'GL_CLAMP' undeclared (first use in this function)
> Texture.c:122: error: 'GL_TEXTURE_WRAP_T' undeclared (first use in this
> function)
> Texture.c:123: error: 'GL_TEXTURE_MAG_FILTER' undeclared (first use in
> this function)
> Texture.c:123: error: 'GL_NEAREST' undeclared (first use in this
> function)
> Texture.c:124: error: 'GL_TEXTURE_MIN_FILTER' undeclared (first use in
> this function)
> Texture.c:127: error: 'GL_RGBA' undeclared (first use in this function)
> Texture.c:128: error: 'GL_UNSIGNED_BYTE' undeclared (first use in this
> function)
> make[1]: *** [Texture.o] Error 1
> 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[1]: *** [Triangle.o] Error 1
> make: *** [.update] Error 2
>
> Error: Status 1 encountered during processing.
> muhammad-imtia-shafiqs-macbook-pro:~ imtiaz$

New description:

 I am unable to install pymol 1.2r2

 Here is a copy of screen output.

 {{{
 muhammad-imtia-shafiqs-macbook-pro:~ 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: ../layer0/os_gl.h:130:20: error: GL/glut.h: No such file
 or directory
 In file included from Triangle.c:39:
 ../layer1/Ortho.h:111: error: expected declaration specifiers or '...'
 before 'GLenum'
 Texture.c: In function 'TextureGetFromChar':
 Texture.c:78: error: 'GLuint' undeclared (first use in this function)
 Texture.c:78: error: (Each undeclared identifier is reported only once
 Texture.c:78: error: for each function it appears in.)
 Texture.c:78: error: expected ';' before 'texture_id'
 Texture.c:106: error: 'texture_id' undeclared (first use in this function)
 Texture.c:119: error: 'GL_UNPACK_ALIGNMENT' undeclared (first use in this
 function)
 Texture.c:120: error: 'GL_TEXTURE_2D' undeclared (first use in this
 function)
 Texture.c:121: error: 'GL_TEXTURE_WRAP_S' undeclared (first use in this
 function)
 Texture.c:121: error: 'GL_CLAMP' undeclared (first use in this function)
 Texture.c:122: error: 'GL_TEXTURE_WRAP_T' undeclared (first use in this
 function)
 Texture.c:123: error: 'GL_TEXTURE_MAG_FILTER' undeclared (first use in
 this function)
 Texture.c:123: error: 'GL_NEAREST' undeclared (first use in this function)
 Texture.c:124: error: 'GL_TEXTURE_MIN_FILTER' undeclared (first use in
 this function)
 Texture.c:127: error: 'GL_RGBA' undeclared (first use in this function)
 Texture.c:128: error: 'GL_UNSIGNED_BYTE' undeclared (first use in this
 function)
 make[1]: *** [Texture.o] Error 1
 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[1]: *** [Triangle.o] Error 1
 make: *** [.update] Error 2

 Error: Status 1 encountered during processing.
 muhammad-imtia-shafiqs-macbook-pro:~ imtiaz$
 }}}

--

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


More information about the macports-tickets mailing list