[torquedev] Running distcheck

Garrick Staples garrick at usc.edu
Thu Aug 5 10:59:41 MDT 2010


On Thu, Aug 05, 2010 at 08:14:37AM +0200, "Mgr. Šimon Tóth" alleged:
> I'm trying distcheck on my patched version of Torque, but I'm getting this:
> 
> base=`basename pbs_attrib.gperf .gperf`; \
>         if  --language=ANSI-C --struct-type --readonly-tables --includes
> --pic --hash-function-name=${base}_hash \
>                 --lookup-function-name=${base}_lookup pbs_attrib.gperf
> >pbs_attrib.c; \
>         then exit 0; \
>         else rm pbs_attrib.c; exit 1; \
>         fi
> /bin/sh: line 1: --language=ANSI-C: command not found
> 
> Any idea what it my be? Full log attached.

You are missing a command name after that 'if':
   'if  --language=ANSI-C'

src/drmaa/src/Makefile.am
.gperf.c:
        base=`basename $< .gperf`; \
        if $(GPERF) $(GPERFFLAGS) --hash-function-name=$${base}_hash \
                --lookup-function-name=$${base}_lookup $< >$@; \


configure.ac
AC_ARG_ENABLE(drmaa,
    [  --disable-drmaa         do not build the DRMAA 1.0 library (default is off)],
    build_drmaa=$enableval, build_drmaa=no)


You have --enable-drmaa but you don't have gperf.

-- 
Garrick Staples, GNU/Linux HPCC SysAdmin
University of Southern California

Life is Good!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torquedev/attachments/20100805/5a5142b2/attachment.bin 


More information about the torquedev mailing list