Re: [Oscar-devel] rhel4 and opkgc xml problem

2007-12-06 Thread Geoffroy Vallee
On Thu, 2007-12-06 at 16:59 -0800, Bernard Li wrote: > Hi Geoffroy: > > On 12/6/07, Geoffroy Vallee <[EMAIL PROTECTED]> wrote: > > > Ok i understand the problem now. For what i understand basic stuff for > > the creation of RPMs and Debs for OPKGC are there but some glue is still > > missing: th

Re: [Oscar-devel] rhel4 and opkgc xml problem

2007-12-06 Thread Bernard Li
Hi Geoffroy: On 12/6/07, Geoffroy Vallee <[EMAIL PROTECTED]> wrote: > Ok i understand the problem now. For what i understand basic stuff for > the creation of RPMs and Debs for OPKGC are there but some glue is still > missing: the spec file and the Debian stuff are installed > in /usr/local/share

Re: [Oscar-devel] rhel4 and opkgc xml problem

2007-12-06 Thread Bernard Li
On 12/6/07, Bernard Li <[EMAIL PROTECTED]> wrote: > I don't think this works: > > xmlto xhtml-nochunks $fragments opkgc-manual.xml > I/O error : Attempt to load network entity > http://oasis-open.org/docbook/xml/4.2/docbookx.dtd > /usr/src/redhat/BUILD/opkgc-0.4.svn6639.bli/doc/opkgc-manual.xml:2:

Re: [Oscar-devel] rhel4 and opkgc xml problem

2007-12-06 Thread Geoffroy Vallee
Ok i understand the problem now. For what i understand basic stuff for the creation of RPMs and Debs for OPKGC are there but some glue is still missing: the spec file and the Debian stuff are installed in /usr/local/share/opkgc/tmpl and then i do not really know what to do. Jean, can you give more

Re: [Oscar-devel] rhel4 and opkgc xml problem

2007-12-06 Thread Bernard Li
Hi Geoffroy: I have been trying to build RPMs all along. Currently this is not possible unless you extend the Makefile to allow disabling of building docs. DongInn was able to compile opkgc on RHEL4 using 'make install'. Regards, Bernard On 12/6/07, Geoffroy Vallee <[EMAIL PROTECTED]> wrote:

Re: [Oscar-devel] rhel4 and opkgc xml problem

2007-12-06 Thread Geoffroy Vallee
On Thu, 2007-12-06 at 15:50 -0800, Bernard Li wrote: > Hi Geoffroy: > > I don't think this works: > > xmlto xhtml-nochunks $fragments opkgc-manual.xml > I/O error : Attempt to load network entity > http://oasis-open.org/docbook/xml/4.2/docbookx.dtd > /usr/src/redhat/BUILD/opkgc-0.4.svn6639.bli/d

Re: [Oscar-devel] rhel4 and opkgc xml problem

2007-12-06 Thread Bernard Li
Hi Geoffroy: I don't think this works: xmlto xhtml-nochunks $fragments opkgc-manual.xml I/O error : Attempt to load network entity http://oasis-open.org/docbook/xml/4.2/docbookx.dtd /usr/src/redhat/BUILD/opkgc-0.4.svn6639.bli/doc/opkgc-manual.xml:2: warning: failed to load external entity "http:/

Re: [Oscar-devel] rhel4 and opkgc xml problem

2007-12-06 Thread Geoffroy Vallee
Patch in attachment but i am not sure xmlto is smart enough to deal with URLs. I am not used to use xmlto. On Thu, 2007-12-06 at 13:48 -0800, Bernard Li wrote: > Hi Geoffroy: > > On 12/6/07, Geoffroy Vallee <[EMAIL PROTECTED]> wrote: > > > I can actually replace the line that generates the erro

Re: [Oscar-devel] rhel4 and opkgc xml problem

2007-12-06 Thread Bernard Li
Hi Geoffroy: On 12/6/07, Geoffroy Vallee <[EMAIL PROTECTED]> wrote: > I can actually replace the line that generates the error by the > following one: > "http://oasis-open.org/docbook/xml/4.2/docbookx.dtd";> > It should work (modulo SGML and docbook are correctly installed, which > sometime is n

Re: [Oscar-devel] rhel4 and opkgc xml problem

2007-12-06 Thread Geoffroy Vallee
Hi, On Thu, 2007-12-06 at 13:34 -0800, Bernard Li wrote: > According to the error, it looks like the docbook.dtd's location is > hardcoded. Perhaps it could be changed so that it is more compatible > across different distributions having different versions of the dtd > available (unless a specif

Re: [Oscar-devel] rhel4 and opkgc xml problem

2007-12-06 Thread Bernard Li
Hi Mike: On 12/6/07, Michael Edwards <[EMAIL PROTECTED]> wrote: > I hacked the ./configure script and removed the python check (I wasn't > sure how to remove the dependency nicely and didn't feel like > researching) and it completed without issue. I am trying to do a > "make" now and it is faili

Re: [Oscar-devel] rhel4 and opkgc xml problem

2007-12-06 Thread Geoffroy Vallee
Hi, Currently we build everything when we execute 'make'. I had a look at the make file and we just go in all subdirs (src, doc and so on) and execute 'make' in there. Maybe we could have few more options like "compile eveything but the doc". Do we open a ticket for that? My 2 cents, On Thu, 2

Re: [Oscar-devel] CentOS 5 on Crispy

2007-12-06 Thread Geoffroy Vallee
No, CentOS is _not_ RHEL, CentOS is compatible with RHEL5 which is quite different! They are definitively _not_ the same distribution (for instance they use different repositories). After that the mechanisms to deal with packages and so on are the same for rhel and centos (they can share the same p

[Oscar-devel] rhel4 and opkgc xml problem

2007-12-06 Thread Michael Edwards
I hacked the ./configure script and removed the python check (I wasn't sure how to remove the dependency nicely and didn't feel like researching) and it completed without issue. I am trying to do a "make" now and it is failing to make the documentation properly. I am not sure if this is a major p

Re: [Oscar-devel] CentOS 5 on Crispy

2007-12-06 Thread Bernard Li
Hi Joe: On 12/6/07, Greenseid, Joseph M. <[EMAIL PROTECTED]> wrote: > I am in testing mode anyway, as I found out yesterday I won't be able to > rebuild the systems I want to use for this cluster until January, so I'll > hack on it a bit to see what happens. > > I realize Crispy isn't productio

Re: [Oscar-devel] CentOS 5 on Crispy

2007-12-06 Thread Greenseid, Joseph M.
HI Bernard, I am in testing mode anyway, as I found out yesterday I won't be able to rebuild the systems I want to use for this cluster until January, so I'll hack on it a bit to see what happens. I realize Crispy isn't production ready, I just saw some traffic on both -devel and -users a

Re: [Oscar-devel] CentOS 5 on Crispy

2007-12-06 Thread Bernard Li
Hi Joe: The crispy branch is currently not ready for production use yet. rhel5-i386 should work up till the point of completing the cluster setup but there are still some issues with server API scripts not executing, so the installation part is not complete. Nobody has touched support for rhel5-x

Re: [Oscar-devel] CentOS 5 on Crispy

2007-12-06 Thread Greenseid, Joseph M.
I was looking through the crispy buildlog from last night, and I see that perl-Tk-804-026-1.oscar was built for rhel-5-i386 and ydl-5-ppc64, but not anything else. Is this on purpose? Can I just yank the i686 rpm out of the rhel-5-i386 tarball (perl-Tk-804.026-1.oscar.i686.rpm), install it

Re: [Oscar-devel] opkgc and python on rhel4

2007-12-06 Thread Jean Parpaillon
Hi, Le 06.12.2007 18:24, Bernard Li a écrit : > Hi Mike: > > On 12/6/07, Michael Edwards <[EMAIL PROTECTED]> wrote: > > >> Has anyone gotten opkgc to compile on CentOS 4 (or RHEL4)? >> >> It seems to want python >= 2.4 which is bad because RHEL4 comes with 2.3.4. >> >> I am using CentOS 4 and I

Re: [Oscar-devel] opkgc and python on rhel4

2007-12-06 Thread DongInn Kim
Hi Mike, I have setup python-2.4 on my RHEL4 machine several times. Notice that I did not overwrite the existing python-2.3 by default on RHEL4 but put python-2.4 on a different path (e.g., /opt/python-2.4) instead. I believe that it won't make a trouble though. I know that it is a little anno

Re: [Oscar-devel] CentOS 5 on Crispy

2007-12-06 Thread Bernard Li
Guys: I'm a bit confused here -- I thought as far as OSCAR is concerned, CentOS = RHEL, so why do we need to explicitly list that CentOS is supported? Cheers, Bernard On 12/6/07, Geoffroy Vallee <[EMAIL PROTECTED]> wrote: > Hi, > > I just checked-in a much more cleaner solution in trunk. The li

Re: [Oscar-devel] opkgc and python on rhel4

2007-12-06 Thread Bernard Li
Hi Mike: On 12/6/07, Michael Edwards <[EMAIL PROTECTED]> wrote: > Has anyone gotten opkgc to compile on CentOS 4 (or RHEL4)? > > It seems to want python >= 2.4 which is bad because RHEL4 comes with 2.3.4. > > I am using CentOS 4 and I tried to use the centosplus repo to update > it but it couldn'

[Oscar-devel] opkgc and python on rhel4

2007-12-06 Thread Michael Edwards
Has anyone gotten opkgc to compile on CentOS 4 (or RHEL4)? It seems to want python >= 2.4 which is bad because RHEL4 comes with 2.3.4. I am using CentOS 4 and I tried to use the centosplus repo to update it but it couldn't find any updates. I could update it by hand I guess, but then I expect mo

Re: [Oscar-devel] CentOS 5 on Crispy

2007-12-06 Thread Geoffroy Vallee
Hi, I just checked-in a much more cleaner solution in trunk. The list of supported distros is now automatically generated, no need for code patch anymore (a unique file defines what are the supported Linux distros for a given version of OSCAR). Regards, On Thu, 2007-12-06 at 11:07 -0500, Geoffr

Re: [Oscar-devel] CentOS 5 on Crispy

2007-12-06 Thread Greenseid, Joseph M.
This is similar to what Geoffroy suggested, and it got me past that problem. Thanks for that. I guess I misunderstood the previous email thread, when someone suggested this patch and was told it was unnecessary. However, my install bailed a short while later, saying perl-Tk wasn't installed.

Re: [Oscar-devel] CentOS 5 on Crispy

2007-12-06 Thread DongInn Kim
Hi Joe, Can you please try the following patch? --- PackageSmart.pm (revision 6606) +++ PackageSmart.pm (working copy) @@ -71,7 +71,7 @@ my $archs = "i386|x86_64|ia64|ppc|ppc64"; # List of all supported distros. May be nice if we can get this list # from OS_Detect. -my

Re: [Oscar-devel] CentOS 5 on Crispy

2007-12-06 Thread Geoffroy Vallee
Hi, I think i am responsible for this bug, i started to do modifications in the way supported distros are defined just before Erich created the branch and such unfinished stuff still therefore exist. That should be finished in trunk soon. The attached patch should fix the problem. Note that i do

[Oscar-devel] CentOS 5 on Crispy

2007-12-06 Thread Greenseid, Joseph M.
Hi all, I am trying to get CentOS 5 running using Crispy. I downloaded common-rpms and rhel-5-x86_64, followed the instructions on http://oscar.openclustergroup.org/public/nightly/crispy/README, but when I got to the "start installation" step, I ran into some issues, and hit the following er