Dear All, Firstly, many thanks for the hard work put in by the development team :) Now I have a couple of problems, any help welcome: 1) Some of our software needs linuxthreads (i.e. InsightII) but it's closed source and the writers (Accelrys) are unlikely to respin the code as they want us to move to a different program. Is there any way of installing another set of glibc libs on centos 5, to allow an old, broken, but uselful program to run? 2) As part of my setup script for centos 4, I add a large list of printers to each workstation by using system-config-printer-tui --Ximport < settings.xml (on my master machine I create the list with system-config-printer-tui --Xexport > settings.xml ) Is there any easy way of automatically adding 15 printers to Centos 5 ? My thanks for your time, Jake -- Dr J. Grimmett Computer Systems Manager Division of Molecular Structure National Institute for Medical Research The Ridgeway Mill Hill London, NW7 1AA
Am Mittwoch, den 18.04.2007, 15:40 +0100 schrieb Jake Grimmett:> 2) As part of my setup script for centos 4, I add a large list of printers to > each workstation by using > system-config-printer-tui --Ximport < settings.xml > (on my master machine I create the list with system-config-printer-tui > --Xexport > settings.xml )You might want to read something about cups broadcasting. man cupsd.conf /Browsing> Is there any easy way of automatically adding 15 printers to Centos 5 ?Yes> My thanks for your time,But now, lets get to the Fact why this is not working. Before Centos 5 there was Cups 1.2 and a Gnome Frontend designed to work with 1.1. The RH Devs decided it would be easier to fix it with xml transition files than leave the users with the web frontend alone. Now in Rhel5/Centos5 is a frontend which works directly with Cups 1.2 so there is no need for the xml magic anymore.> Jake >-- Stefan Held VI has only 2 Modes: obi unixkiste org The first one is for beeping all the time, FreeNode: foo_bar the second destroys the text. --------------------------------------------------------------------------- Fedora Ambassador: http://fedoraproject.org/wiki/StefanHeld --------------------------------------------------------------------------- perl -e'map{print pack c,($|++?1:13)+ord,select$,,$,,$,,$|}split//,ESEL.$/' --------------------------------------------------------------------------- GPG-Keyprint = 75C0 F029 CA71 F061 6C07 0640 38F7 E5F9 4EA5 A385 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Dies ist ein digital signierter Nachrichtenteil URL: <http://lists.centos.org/pipermail/centos/attachments/20070418/4ebe5309/attachment-0004.sig>
Jake Grimmett wrote:> 1) Some of our software needs linuxthreads (i.e. InsightII) but it's closed > source and the writers (Accelrys) are unlikely to respin the code as they > want us to move to a different program. > > Is there any way of installing another set of glibc libs on centos 5, to allow > an old, broken, but uselful program to run?Depends which older version you need; the compat-glibc package provides binary compatibility with the n-1 distro: $ yum info compat-glibc [....] Summary: Compatibility C library Description: This package contains stub shared libraries and static libraries from Red Hat Enterprise Linux 4. To compile and link against these compatibility libraries, use gcc34 -I /usr/lib/i386-redhat-linux4E/include \ -B /usr/lib/i386-redhat-linux4E/lib/ Pierre Bourgin
Pierre, many thanks for your help. I think I might need a compat-glibc for the "n-2 distro" as linuxthreads support was removed from Centos5; from the RHEL-4 release-notes: "support for LinuxThreads still exists for RHEL 4, ...advance notice that Red Hat Enterprise Linux 5 will no longer include support for LinuxThreads. Thus applications that require LinuxThreads support must be updated before they will be able to work properly on a Red Hat Enterprise Linux 5 system." In RHEL4 the solution was to one of the following: 1) Use LD_ASSUME_KERNEL environment variable or 2) Use an explicit rpath to /lib/i686/ or /lib/ to select LinuxThreads instead of NPTL at runtime I used solution #1 to get InsightII to run under Centos4. Is there any (reasonable) chance of providing older (=Centos3) libraries under Centos5 for one errant program? Thanks again for your time Jake Pierre Bourgin wrote:>Depends which older version you need; the compat-glibc package provides >binary compatibility with the n-1 distro:>Jake Grimmett wrote:>> 1) Some of our software needs linuxthreads (i.e. InsightII) but it's closed >> source and the writers (Accelrys) are unlikely to respin the code as they >> want us to move to a different program.-- Dr J. Grimmett Computer Systems Manager Division of Molecular Structure National Institute for Medical Research The Ridgeway Mill Hill London, NW7 1AA
Jake Grimmett wrote:> Dear All, > > Firstly, many thanks for the hard work put in by the development team :) > > Now I have a couple of problems, any help welcome: > > 1) Some of our software needs linuxthreads (i.e. InsightII) but it's closed > source and the writers (Accelrys) are unlikely to respin the code as they > want us to move to a different program. > > Is there any way of installing another set of glibc libs on centos 5, to allow > an old, broken, but uselful program to run?Depending on the newness of your CPU, you should be able to run CentOS 2.1 in a guest VM. Would that achieve your ends? -- Cheers John -- spambait 1aaaaaaa at coco.merseine.nu Z1aaaaaaa at coco.merseine.nu Please do not reply off-list