So, i took the solution to install CentOS 6.2 on one machine.

Together with the EPEL repository, I could install all the necessary libraries.
And then compile on CentOS.

It now works fine for all our RHEL 6.2 computers in the group.

Thanks!


2012/5/18 Jason Vertrees <jason.vertrees@schrodinger.com>
Hi Troels,

Sorry for these delayed responses. For the last two weeks, I've been
in training our PyMOL users across the "pond" in Europe.

This seems like an RHEL problem. Have you checked their lists for
answers? libpng-devel is important enough to be used by lots of
people.

Cheers,

-- Jason

On Wed, May 16, 2012 at 12:00 PM, Troels Emtekær Linnet
<tlinnet@gmail.com> wrote:
> Hi.
>
> I tried to compile the latest svn -rev 3998.
>
> I think I have problem with the MyPNG.c file?
> ($HOME/pymolsvn2/svnpymol/layer0/MyPNG.c)
> It is referring to png.h which I believe is in the package: libpng-devel
>
> I have a RHEL 6.2 system.
>
> I cant find it in the RHEL repositories, epel and rpmforge.
>
> Does anyone with a RHEL system know how to get access to this package?
> When I activate the centos repo, I can find the libpng-devel, but it the
> starts to complain about dependencies and version.
>
> So, how to get centos packages, without to many dependencies problems.
>
> [tlinnet@tomat ~]$ sudo yum repolist all
> Loaded plugins: product-id, refresh-packagekit, rhnplugin, security,
> subscription-manager
> Updating certificate-based repositories.
> repo id                                                       repo name
>
>                 status
> adobe-linux-i386                                              Adobe Systems
> Incorporated
>                enabled:   17
> adobe-linux-x86_64                                            Adobe Systems
> Incorporated
>                enabled:    2
> centos                                                        Centos for
> RHEL/ CentOS 6Client - x86_64
>                    disabled
> epel                                                          Extra Packages
> for Enterprise Linux 6 - x86_64
>                enabled: 7301
> epel-debuginfo                                                Extra Packages
> for Enterprise Linux 6 - x86_64 - Debug
>                disabled
> epel-source                                                   Extra Packages
> for Enterprise Linux 6 - x86_64 - Source
>               disabled
> epel-testing                                                  Extra Packages
> for Enterprise Linux 6 - Testing - x86_64
>                disabled
> epel-testing-debuginfo                                        Extra Packages
> for Enterprise Linux 6 - Testing - x86_64 - Debug
>                disabled
> epel-testing-source                                           Extra Packages
> for Enterprise Linux 6 - Testing - x86_64 - Source
>               disabled
> google-chrome                                                 google-chrome
>
>                 enabled:    3
> rhel-source                                                   Red Hat
> Enterprise Linux 6Client - x86_64 - Source
>                      disabled
> rhel-source-beta                                              Red Hat
> Enterprise Linux 6Client Beta - x86_64 - Source
>                       disabled
> rhel-x86_64-client-6                                          Red Hat
> Enterprise Linux Client (v. 6 for 64-bit x86_64)
>                      enabled: 5710
> rpmforge                                                      RHEL 6Client -
> RPMforge.net - dag
>               enabled: 4327
> rpmforge-extras                                               RHEL 6Client -
> RPMforge.net - extras
>                disabled
> rpmforge-testing                                              RHEL 6Client -
> RPMforge.net - testing
>               disabled
> repolist: 17360
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net



--
Jason Vertrees, PhD
PyMOL Product Manager
Schrödinger, LLC

(e) Jason.Vertrees@schrodinger.com
(o) +1 (603) 374-7120