[torqueusers] Re: torque_2_deb.tar.gz
Bas van der Vlies
basv at sara.nl
Mon Nov 1 01:08:35 MST 2004
Yaroslav Halchenko wrote:
> Sorry it is me again
>
> The biggest confusion was that build process doesn't even compile qstat
> so it doesn't get included in get debian package, thus not installed.
> didn't yoh have the same effect?
>
> *ravana[0] /raid/home/yoh/deb/PBS/torque-1.1.0p4/src/cmds>ls -l qstat*
> 48 -rw-rw-r-- 1 yoh yoh 47997 Oct 28 18:50 qstat.c
> .....................................:Sun Oct 31 18:08:02 EST 2004:.
> ravana[0] /raid/home/yoh/deb/PBS/torque-1.1.0p4/src/cmds>make
> make[1]: Entering directory `/raid/home/yoh/deb/PBS/torque-1.1.0p4/src/cmds'
> make[1]: Nothing to be done for `build'.
> make[1]: Leaving directory `/raid/home/yoh/deb/PBS/torque-1.1.0p4/src/cmds'
>
> The problem was that Makefile.in used USER variable to describe the
> names of cmds, which as for me sounds like a silly name because it can
> collide with environmental USER variable, so I've made some changes:
>
>
> --- Makefile.in.orig 2004-10-31 19:06:58.000000000 -0500
> +++ Makefile.in 2004-10-31 19:11:14.000000000 -0500
> @@ -107,12 +107,12 @@
> READLINE_LIBS=@READLINE_LIBS@
> CMDLIBS = $(PBS_LIBS) $(LIBS) $(READLINE_LIBS)
>
> -USER = qalter qdel qhold qmove qorder qmsg qrerun qrls qselect qsig qstat \
> +SUSER = qalter qdel qhold qmove qorder qmsg qrerun qrls qselect qsig qstat \
> qsub pbsdsh @PBSPOE@
> -OPER = qdisable qenable qrun qstart qstop qterm pbsnodes
> -ADMN = qmgr
> +SOPER = qdisable qenable qrun qstart qstop qterm pbsnodes
> +SADMN = qmgr
>
> -EXES = $(USER) $(OPER) $(ADMN) $(SUPP)
> +EXES = $(SUSER) $(SOPER) $(SADMN) $(SUPP)
> SCRIPTS = nqs2pbs
> SCRIPT_STAMPS = nqs2pbs-stamp
> SUPP = pbs_demux momctl
> @@ -136,7 +136,7 @@
> $(PBS_MKDIRS) aux
> $(PBS_MKDIRS) default
> $(INSTALL) -d -m 755 $(bindir) && \
> - for f in $(USER) $(OPER) $(ADMN) $(SCRIPTS) ; do \
> + for f in $(SUSER) $(SOPER) $(SADMN) $(SCRIPTS) ; do \
> $(INSTALL) -m 755 $$f $(bindir)/$$f ; \
> done
> for f in $(SUPP) ; do \
>
>
Yaroslav,
I am just back. I was a few days sick. So i catching up my mail. I
will try it with vesion p4 today and look which problems i have. The
patch is voor udev and kernel 2.6. The handling of the terminal stuff is
different for this combo. That is why i installed this patch.
Regards
>
> On Sun, Oct 31, 2004 at 06:46:36PM -0500, Yaroslav Halchenko wrote:
>
>>Dear Bas,
>
>
>>I've ran across your debianization of torque. Great job and thank you a
>>lot. I've been using openpbs debianized from rpms from oscar
>>distribution but it doesn't get evolved etc so I'm looking to switch to
>>torque.
>
>
>>I've tried to compile the torque debian package
>>I've got torque_2_deb-0.9 from your website and had to go with
>>torque-1.1.0p2.tar.gz
>
>
>>because the recent p4 fails:
>>test -f debian/rules
>># apply some patches
>>debian/patches/apply
>>patching file src/resmom/linux/mom_start.c
>>Hunk #2 FAILED at 357.
>>1 out of 2 hunks FAILED -- saving rejects to file
>>src/resmom/linux/mom_start.c.rej
>>make: *** [patched] Error 1
>>make: Target `build' not remade because of errors.
>
>
>
>>which is due to the recent
>>/* SNL patch to use openpty() system call rather than search /dev */
>
>
>>and the code inside the #ifdef __PNEWTTY condition reminds yours
>>although I have no idea about all this TTY business so it might be quite
>>different :-)
>
>
>>for now I will just try to enable that NEWTTY condition and disable your
>>patch and will see how it goes.
>
>
>>Can you please have a look at it and adjust your debianizer accordingly?
>
>
>>Thanks in advance
--
--
********************************************************************
* *
* Bas van der Vlies e-mail: basv at sara.nl *
* SARA - Academic Computing Services phone: +31 20 592 8012 *
* Kruislaan 415 fax: +31 20 6683167 *
* 1098 SJ Amsterdam *
* *
********************************************************************
More information about the torqueusers
mailing list