Message: src/gl2ps.cc error when install Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question src/gl2ps.cc error when install 

Forum: Installation and Configuration
Date: 30 May, 2010
From: Wonmo <Wonmo>

Im using ubuntu 10.04, gcc 4.4.3. I'm trying to install geant4.9.3 I was struggling with openGL problems but now I guess it's solved. But I get new errors as below when I did "/Confiugre -build" again. What should I do to solve this errors? I'm a newbie for ubuntu n geant4... I appreciate your advices in advance. Wonmo

Making dependency for file src/gl2ps.cc ... src/gl2ps.cc:102:18: error: zlib.h: No such file or directory Compiling gl2ps.cc ... src/gl2ps.cc:102:18: error: zlib.h: No such file or directory src/gl2ps.cc:250: error: ISO C++ forbids declaration of ‘Bytef’ with no type src/gl2ps.cc:250: error: expected ‘;’ before ‘*’ token src/gl2ps.cc:251: error: ‘uLongf’ does not name a type src/gl2ps.cc: In function ‘void Geant4_gl2psSetupCompress()’: src/gl2ps.cc:394: error: ‘struct GL2PScompress’ has no member named ‘src’ src/gl2ps.cc:395: error: ‘struct GL2PScompress’ has no member named ‘start’ src/gl2ps.cc:396: error: ‘struct GL2PScompress’ has no member named ‘dest’ src/gl2ps.cc:397: error: ‘struct GL2PScompress’ has no member named ‘srcLen’ src/gl2ps.cc:398: error: ‘struct GL2PScompress’ has no member named ‘destLen’ src/gl2ps.cc: In function ‘void Geant4_gl2psFreeCompress()’: src/gl2ps.cc:405: error: ‘struct GL2PScompress’ has no member named ‘start’ src/gl2ps.cc:406: error: ‘struct GL2PScompress’ has no member named ‘dest’ src/gl2ps.cc:407: error: ‘struct GL2PScompress’ has no member named ‘src’ src/gl2ps.cc:408: error: ‘struct GL2PScompress’ has no member named ‘start’ src/gl2ps.cc:409: error: ‘struct GL2PScompress’ has no member named ‘dest’ src/gl2ps.cc:410: error: ‘struct GL2PScompress’ has no member named ‘srcLen’ src/gl2ps.cc:411: error: ‘struct GL2PScompress’ has no member named ‘destLen’ src/gl2ps.cc: In function ‘int Geant4_gl2psAllocCompress(unsigned int)’: src/gl2ps.cc:421: error: ‘struct GL2PScompress’ has no member named ‘srcLen’ src/gl2ps.cc:422: error: ‘struct GL2PScompress’ has no member named ‘destLen’ src/gl2ps.cc:422: error: ‘struct GL2PScompress’ has no member named ‘srcLen’ src/gl2ps.cc:423: error: ‘struct GL2PScompress’ has no member named ‘src’ src/gl2ps.cc:423: error: ‘Bytef’ was not declared in this scope src/gl2ps.cc:423: error: expected primary-expression before ‘)’ token src/gl2ps.cc:423: error: expected ‘;’ before ‘Geant4_gl2psMalloc’ src/gl2ps.cc:424: error: ‘struct GL2PScompress’ has no member named ‘start’ src/gl2ps.cc:424: error: ‘struct GL2PScompress’ has no member named ‘src’ src/gl2ps.cc:425: error: ‘struct GL2PScompress’ has no member named ‘dest’ src/gl2ps.cc:425: error: expected primary-expression before ‘)’ token src/gl2ps.cc:425: error: expected ‘;’ before ‘Geant4_gl2psMalloc’ src/gl2ps.cc: In function ‘void* Geant4_gl2psReallocCompress(unsigned int)’: src/gl2ps.cc:435: error: ‘struct GL2PScompress’ has no member named ‘srcLen’ src/gl2ps.cc:436: error: ‘struct GL2PScompress’ has no member named ‘start’ src/gl2ps.cc:438: error: ‘struct GL2PScompress’ has no member named ‘srcLen’ src/gl2ps.cc:439: error: ‘struct GL2PScompress’ has no member named ‘destLen’ src/gl2ps.cc:439: error: ‘struct GL2PScompress’ has no member named ‘srcLen’ src/gl2ps.cc:440: error: ‘struct GL2PScompress’ has no member named ‘src’ src/gl2ps.cc:440: error: ‘Bytef’ was not declared in this scope src/gl2ps.cc:440: error: expected primary-expression before ‘)’ token src/gl2ps.cc:440: error: expected ‘;’ before ‘Geant4_gl2psRealloc’ src/gl2ps.cc:442: error: ‘struct GL2PScompress’ has no member named ‘start’ src/gl2ps.cc:442: error: ‘struct GL2PScompress’ has no member named ‘src’ src/gl2ps.cc:443: error: ‘struct GL2PScompress’ has no member named ‘dest’ src/gl2ps.cc:443: error: expected primary-expression before ‘)’ token src/gl2ps.cc:443: error: expected ‘;’ before ‘Geant4_gl2psRealloc’ src/gl2ps.cc:446: error: ‘struct GL2PScompress’ has no member named ‘start’ src/gl2ps.cc: In function ‘size_t Geant4_gl2psWriteBigEndianCompress(long unsigned int, size_t)’: src/gl2ps.cc:454: error: ‘struct GL2PScompress’ has no member named ‘src’ src/gl2ps.cc:454: error: ‘Bytef’ was not declared in this scope src/gl2ps.cc:455: error: ‘struct GL2PScompress’ has no member named ‘src’ src/gl2ps.cc: In function ‘int Geant4_gl2psDeflate()’: src/gl2ps.cc:464: error: ‘struct GL2PScompress’ has no member named ‘dest’ src/gl2ps.cc:464: error: ‘struct GL2PScompress’ has no member named ‘destLen’ src/gl2ps.cc:465: error: ‘struct GL2PScompress’ has no member named ‘start’ src/gl2ps.cc:465: error: ‘struct GL2PScompress’ has no member named ‘srcLen’ src/gl2ps.cc:465: error: ‘compress’ was not declared in this scope src/gl2ps.cc: In function ‘int Geant4_gl2psPrintf(const char*, ...)’: src/gl2ps.cc:482: error: ‘struct GL2PScompress’ has no member named ‘srcLen’ src/gl2ps.cc:483: error: ‘struct GL2PScompress’ has no member named ‘start’ src/gl2ps.cc:483: error: ‘Bytef’ was not declared in this scope src/gl2ps.cc:483: error: expected primary-expression before ‘)’ token src/gl2ps.cc:483: error: expected ‘;’ before ‘Geant4_gl2psReallocCompress’ src/gl2ps.cc:484: error: ‘struct GL2PScompress’ has no member named ‘start’ src/gl2ps.cc: In function ‘void Geant4_gl2psPrintGzipFooter()’: src/gl2ps.cc:520: error: ‘uLong’ was not declared in this scope src/gl2ps.cc:520: error: expected ‘;’ before ‘crc’ src/gl2ps.cc:524: error: ‘Z_OK’ was not declared in this scope src/gl2ps.cc:530: error: ‘struct GL2PScompress’ has no member named ‘dest’ src/gl2ps.cc:534: error: ‘struct GL2PScompress’ has no member named ‘dest’ src/gl2ps.cc:534: error: ‘struct GL2PScompress’ has no member named ‘destLen’ src/gl2ps.cc:537: error: ‘crc’ was not declared in this scope src/gl2ps.cc:537: error: ‘struct GL2PScompress’ has no member named ‘start’ src/gl2ps.cc:537: error: ‘struct GL2PScompress’ has no member named ‘srcLen’ src/gl2ps.cc:537: error: ‘crc32’ was not declared in this scope src/gl2ps.cc:542: error: ‘len’ was not declared in this scope src/gl2ps.cc:542: error: ‘struct GL2PScompress’ has no member named ‘srcLen’ src/gl2ps.cc: In function ‘int Geant4_gl2psClosePDFDataStream()’: src/gl2ps.cc:4100: error: ‘Z_OK’ was not declared in this scope src/gl2ps.cc:4103: error: ‘struct GL2PScompress’ has no member named ‘dest’ src/gl2ps.cc:4103: error: ‘struct GL2PScompress’ has no member named ‘destLen’ src/gl2ps.cc:4104: error: ‘struct GL2PScompress’ has no member named ‘destLen’ src/gl2ps.cc: In function ‘int Geant4_gl2psPrintPDFShader(int, GL2PStriangle*, int, int)’: src/gl2ps.cc:4408: error: ‘Z_OK’ was not declared in this scope src/gl2ps.cc:4408: error: ‘struct GL2PScompress’ has no member named ‘destLen’ src/gl2ps.cc:4408: error: ‘struct GL2PScompress’ has no member named ‘srcLen’ src/gl2ps.cc:4414: error: ‘struct GL2PScompress’ has no member named ‘destLen’ src/gl2ps.cc:4415: error: ‘struct GL2PScompress’ has no member named ‘destLen’ src/gl2ps.cc:4415: error: ‘struct GL2PScompress’ has no member named ‘dest’ src/gl2ps.cc:4416: error: ‘struct GL2PScompress’ has no member named ‘destLen’ src/gl2ps.cc: In function ‘int Geant4_gl2psPrintPDFPixmap(int, int, GL2PSimage*, int)’: src/gl2ps.cc:4595: error: ‘Z_OK’ was not declared in this scope src/gl2ps.cc:4595: error: ‘struct GL2PScompress’ has no member named ‘destLen’ src/gl2ps.cc:4595: error: ‘struct GL2PScompress’ has no member named ‘srcLen’ src/gl2ps.cc:4601: error: ‘struct GL2PScompress’ has no member named ‘destLen’ src/gl2ps.cc:4602: error: ‘struct GL2PScompress’ has no member named ‘destLen’ src/gl2ps.cc:4602: error: ‘struct GL2PScompress’ has no member named ‘dest’ src/gl2ps.cc:4602: error: ‘struct GL2PScompress’ has no member named ‘destLen’ src/gl2ps.cc: At global scope: src/gl2ps.cc:430: warning: ‘void* Geant4_gl2psReallocCompress(unsigned int)’ defined but not used make[2]: *** [/media/AECCA0B7CCA07B6B/geant4/geant4.9.3/tmp/Linux-g++/G4gl2ps/gl2ps.o] Error 1 Making dependency for file src/G4OpenGLXViewer.cc ... Compiling G4OpenGLXViewer.cc ... Creating shared library /media/AECCA0B7CCA07B6B/geant4/geant4.9.3/lib/Linux-g++/libG4OpenGL.so ... make[1]: Nothing to be done for `liblist'. Libraries installation completed !

############################################################
# It looks like you had errors during Geant4 installation   
# (or interrupted installation)!				  
# Please check log file:				      	  
# /media/AECCA0B7CCA07B6B/geant4/geant4.9.3/.config/bin/Linux-g++/g4make.log	  

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: src/gl2ps.cc error when install   (Wonmo - 30 May, 2010)
(_ None: Re: src/gl2ps.cc error when install   (Ryan Manger - 11 Aug, 2010)
 Add Message Add Message
to: "src/gl2ps.cc error when install"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]