Summary: running a /var/yp make from a script

From: Christopher L. Barnard (cbar44_at_tsg.cbot.com)
Date: 08/27/04

  • Next message: Dell, Mary: "Apparent flow control problem between Gigaswift cards and Cisco C atalyst 6500 switch"
    Date: Fri, 27 Aug 2004 13:11:07 -0500 (CDT)
    To: sunmanagers@sunmanagers.org
    
    

    I asked:

    > If I cd into the /var/yp directory and type "make", it uses the Makefile
    > in that directory. I am writing a script that will do an NIS make when
    > the script is run. However, I am unable to get it to work properly. I
    > have tried to put the appropriate cd command on the line above, and I
    > have tried putting an "-f /var/yp/Makefile" after the /usr/ccs/bin/make,
    > but I still get the error
    >
    > make: Warning: Don't know how to make target `all'
    > Current working directory /opt/local/bin
    > make: Warning: Target `all' not remade because of errors
    > Current working directory /opt/local/bin
    > *** Error code 1
    > make: Fatal error: Command failed for target `k'
    >
    > Any suggestions what else to try?
    >
    > TIA and I will summarize.

    The answer:

    I was being too anal. I replaced "/usr/bin/cp" with just "cp" and
    "/usr/ccs/bin/make" with just "make" and it works fine.

    Thanks to the dozens and dozens of people who responded almost instantly.

    +-----------------------------------------------------------------------+
    | Christopher L. Barnard O When I was a boy I was told that |
    | cbarnard@tsg.cbot.com / \ anybody could become president. |
    | (312) 347-4901 O---O Now I'm beginning to believe it. |
    | http://www.cs.uchicago.edu/~cbarnard --Clarence Darrow |
    +----------PGP public key available via finger or PGP keyserver---------+
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers


  • Next message: Dell, Mary: "Apparent flow control problem between Gigaswift cards and Cisco C atalyst 6500 switch"

    Relevant Pages

    • Re: [WR] round tuits
      ... Jackson Pillock wrote: ... I do, too many projects going, not enough time, priorities lean toward ... I started writing a precinct drama set in a locked psychiatric ward. ... Sent off my script. ...
      (misc.writing)
    • Re: crisis Perl
      ... As to writing good code to begin with, ... the top of the script. ... the "use warnings;" line won't actually change ... recommended declaring variables IN AS SMALL AS SCOPE AS POSSIBLE. ...
      (comp.lang.perl.misc)
    • Marginally archaeaology: Eight scripts that still cant be read
      ... WRITING is one of the greatest inventions in human history. ... literate civilisation at the time of the ... So how do you decipher an unknown script? ... there must be some link to a known language. ...
      (sci.archaeology)
    • Re: Vinca script, cross bar angle - Ki Ri Ke
      ... of the Goddess, since the English title of the second book ... sacred script in The Goddesses and Gods of Old Europe, ... not exactly a scholarly publisher. ... writing scholars call "ideograms," and hence not as writing. ...
      (sci.lang)
    • Re: Vinca script, cross bar angle - Ki Ri Ke
      ... writing to anyone who studies writing carefully. ... Numbers are part of every language, ... you read chapter 8, The Sacred Script, of The Civilization ... The Language of the Goddess is about symbols "only." ...
      (sci.lang)