Summary: | sci-chemistry/vmd not linking libfltk.so correctly on Gentoo Prefix - missing rpath | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Reinis Danne <rei4dan> |
Component: | Prefix Support | Assignee: | Justin Lecher (RETIRED) <jlec> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | prefix |
Priority: | High | Keywords: | Inclusion |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 327519 | ||
Bug Blocks: | |||
Attachments: | Patch for the latest ebuild in the tree |
Description
Reinis Danne
2010-07-08 17:33:08 UTC
Created attachment 238045 [details, diff]
Patch for the latest ebuild in the tree
With this patch VMD compiles, given that fltk:1.1 is installed (I'll make a separate bug for that one). The issue is that:
- it tries to find headers and libraries in system's Python installation not in the prefix and
- the plugins should be installed appropriately
The next issue is that 'defaultvmddir' variable at the beginning of usr/bin/vmd has to be set to "${EPREFIX}/usr/lib/vmd". Then the next issue is that it can't find fltk library, so the LD_LIBRARY_PATH has to be set to include "${EPREFIX}/usr/lib/fltk-1.1": ~ $ LD_LIBRARY_PATH="${EPREFIX}/usr/lib/fltk-1.1" vmd Info) VMD for LINUX, version 1.8.7 (July 8, 2010) Info) http://www.ks.uiuc.edu/Research/vmd/ Info) Email questions and bug reports to vmd@ks.uiuc.edu Info) Please include this reference in published work using VMD: Info) Humphrey, W., Dalke, A. and Schulten, K., `VMD - Visual Info) Molecular Dynamics', J. Molec. Graphics 1996, 14.1, 33-38. Info) ------------------------------------------------------------- Info) Multithreading available, 2 CPUs detected. Info) Free system memory: 950MB (47%) Warning) Detected X11 'Composite' extension: if incorrect display occurs Warning) try disabling this optional X server feature. ERROR) A TrueColor visual is required, but not available. ERROR) The X server is not capable of displaying double-buffered, ERROR) RGB images with a Z buffer. Exiting ... Info) VMD for LINUX, version 1.8.7 (July 8, 2010) Info) Unable to create OpenGL window. xdpyinfo says that 24 and 32bit TrueColor is there. At this point I have no idea what is going on. Is it another problem with finding some libraries? Any ideas? Justin, can you please pursue this? :) @Jeremy Yes I will do that. I am interested in that myself. Should I also do fltk? @rei4dan python_get_*() are prefix aware, so you don't need to add EPREFIX in front @jlec, no they are not. I installed it in my prefix and it gives locations for system python, not the python in prefix and consequently doesn't find numpy which is only in the prefix. And Arfrever also said that they return paths relative to the prefix. (In reply to comment #5) > @jlec, no they are not. I installed it in my prefix and it gives locations for > system python, not the python in prefix and consequently doesn't find numpy > which is only in the prefix. And Arfrever also said that they return paths > relative to the prefix. > Ah you are are tight, my mistake. (In reply to comment #4) > @Jeremy > Yes I will do that. I am interested in that myself. Should I also do fltk? Yea, probably run it by Samuli real quick, should be no issue. I just whitelisted fltk so it will be in when you make your changes. + 24 Jul 2010; Justin Lecher <jlec@gentoo.org> vmd-1.8.7-r1.ebuild: + Added prefix changes, thanks rei4dan #327517; keyworded for ~-linux prefix + Missing -R or rpath when linking against libfltk. fixed now |