Opened 15 years ago
Closed 15 years ago
#22123 closed defect (worksforme)
Error Installing pymol @1.2r2
Reported by: | biobrain@… | Owned by: | howarth@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.1 |
Keywords: | Cc: | ||
Port: | pymol |
Description (last modified by tobypeterson)
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$
Change History (7)
comment:1 Changed 15 years ago by tobypeterson
Description: | modified (diff) |
---|---|
Keywords: | Pymol removed |
Milestone: | MacPorts 1.8.2 |
Owner: | changed from macports-tickets@… to howarth@… |
Port: | @1.2r2 removed |
comment:2 follow-up: 4 Changed 15 years ago by blb@…
comment:3 Changed 15 years ago by biobrain@…
I have just tried now once again,
still facing the problem
sudo port install pymol ---> 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: 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 Block.c: In function 'BlockDrawTopEdge': Block.c:94: error: 'GL_LINES' undeclared (first use in this function) make[1]: * [Block.o] Error 1 In file included from ../layer1/Ortho.h:28,
from Triangle.c:39:
../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 In file included from ../layer1/Ortho.h:28,
from Triangle.c:39:
../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 Triangle.c:39: ../layer1/Ortho.h:111: error: expected declaration specifiers or '...' before 'GLenum' make[1]: * [Matrix.o] Error 1 make[1]: * [Triangle.o] Error 1 make: * [.update] Error 2
Error: Status 1 encountered during processing.
comment:4 Changed 15 years ago by biobrain@…
Replying to blb@…:
Sounds like #22076, when did you last use selfupdate? Also note that install doesn't do anything with a version string so the @1.2r2 you used is ignored (it'll always install the version currently available in the Portfile).
I have just tried now once again,
still facing the problem
sudo port install pymol ---> 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: 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 Block.c: In function 'BlockDrawTopEdge': Block.c:94: error: 'GL_LINES' undeclared (first use in this function) make[1]: * [Block.o] Error 1 In file included from ../layer1/Ortho.h:28,
from Triangle.c:39:
../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 In file included from ../layer1/Ortho.h:28,
from Triangle.c:39:
../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 Triangle.c:39: ../layer1/Ortho.h:111: error: expected declaration specifiers or '...' before 'GLenum' make[1]: * [Matrix.o] Error 1 make[1]: * [Triangle.o] Error 1 make: * [.update] Error 2
Error: Status 1 encountered during processing.
comment:5 follow-up: 6 Changed 15 years ago by howarth@…
Did you do a 'sudo port clean --all pymol' before you did another 'sudo port -d install pymol' after the 'sudo port selfupdate'?
comment:6 Changed 15 years ago by biobrain@…
Replying to howarth@…:
Did you do a 'sudo port clean --all pymol' before you did another 'sudo port -d install pymol' after the 'sudo port selfupdate'?
Thanks a lot, I have now installed PyMol and it is working fine. You may close this ticket now.
comment:7 Changed 15 years ago by mf2k (Frank Schima)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Sounds like #22076, when did you last use selfupdate? Also note that install doesn't do anything with a version string so the @1.2r2 you used is ignored (it'll always install the version currently available in the Portfile).