Opened 11 years ago

Closed 10 years ago

#38098 closed defect (fixed)

molden problem with opengl

Reported by: valerie.vallet@… Owned by: jochen@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: molden

Description (last modified by mf2k (Frank Schima))

I wish to install the opengl version of molden with

port install molden +opengl

The installation fails with the following error in the log file

:info:build silly.c:1654:9: warning: incompatible implicit declaration of built-in function 'strcpy'
:info:build /opt/local/bin/gcc-mp-4.5 -o moldenogl oglmol.o silly.o -L/opt/local/lib -lglut -lGLU -lGL -lXmu -lX11 -lm
:info:build ld: library not found for -lglut
:info:build collect2: ld returned 1 exit status
:info:build gmake: *** [moldenogl] Error 1
:info:build gmake: *** Waiting for unfinished jobs....

Can you please fix the Portfile? In addition, the checksum values in the Portfile have to be corrected.

Thanks a lot for your help. Valérie

Attachments (1)

main.log (70.1 KB) - added by valerie.vallet@… 11 years ago.
log file for install molden +opengl

Download all attachments as: .zip

Change History (5)

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Description: modified (diff)
Priority: HighNormal

In the future, please use WikiFormatting. The Priority field is reserved for Macports team members.

Please attach the complete main.log file. You have not posted any information about a checksum error. If there really was one, you would not have been able to reach a compile error.

comment:2 Changed 11 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to jochen@…

Also, in the future, Cc the port maintainer(s).

comment:3 Changed 11 years ago by valerie.vallet@…

Here is the information about the checksum message:
Error: Checksum (rmd160) mismatch for molden5.0.5.tar.gz
Error: Checksum (sha256) mismatch for molden5.0.5.tar.gz
Error: org.macports.checksum for port molden returned: Unable to verify file checksums
I thus changed the checksum in the Portfile to
checksums rmd160 7a042598ab4b23cc45c8573e5b5ea4be2f89db47 \

sha256 7ed9aa88922b400b8ce2b20a0b9d9f19b239c82e6b990b2be60f78b6c4a4479d

Once this is done I tried to molden +opengl. I attach the complete log file main.log so that you can see the compilation errors.

Thanks for fixing that bug.

Version 0, edited 11 years ago by valerie.vallet@… (next)

Changed 11 years ago by valerie.vallet@…

Attachment: main.log added

log file for install molden +opengl

comment:4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed

Added freeglut dependency to opengl variant in r119430.

The checksum mismatch was fixed previously by updating the port to a newer version.

Note: See TracTickets for help on using tickets.