ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DDuqua...@stl-inc.com
Subject to build or not to build ANT
Date Wed, 11 Jul 2001 12:51:55 GMT

  I am using "ANT" to build the Turbine  tdk-2.1.tar.gz 
    but I am having difficulties.  


    OK this is what I have done to build "ANT".......

   * as SU  (super user)

   * downloaded jakarta-ant-1.3-bin.tar.gz (1022189 bytes)   and move to
         directory /usr/local

    * cd /usr/local (if not already there)

    * gunzip  < jakarta-ant-1.3-bin.tar.gz |tar xvf -  *** explodes
               directories only *****
         (this makes a directory tree from root  /usr/local/jakarta-ant-1.3)

    * chown -R admindude /usr/local/jakarta-ant-1.3

    * export ANT_HOME=/usr/local/jakarta-ant-1.3 
    * export PATH=${PATH}:${ANT_HOME}/bin

    * env ---- shows that the PATH and ANT_HOME variable are set as
          indicated.

    * cd /usr/local/jakarta-ant-1.3

---------------- this is where the problem starts
-------------------------------------

    * If you wish to install the build into the current ANT_HOME directory,
          you can use: 

              build.sh install    (Unix) **** THIS PRODUCES ERROR ******

              I get this error  "bash: build.sh: command not found"
              (am I using the wrong shell????  )


-------   so I tried------------------------------------------

*   Linuxsvr1:/usr/local/jakarta-ant-1.3# sh build.sh install
        build.sh: build.sh: No such file or directory


*  Linuxsvr1:/usr/local/jakarta-ant-1.3# sh build
       The build program has been renamed debuild;
       please use the new name instead.


*  Linuxsvr1:/usr/local/jakarta-ant-1.3# debuild install
      debuild: fatal error at line 188:
      Cannot find debian/rules anywhere!  Are you in the source code tree?

*  Linuxsvr1:/usr/local/jakarta-ant-1.3/bin# debuild install
      debuild: fatal error at line 188:
      Cannot find debian/rules anywhere!  Are you in the source code tree?


******** MY QUESTIONS ARE ************************************
I am running a debian verion of Linux and so the "debuild" is 
probably an adapted "build". 

    *  Linuxsvr1:/usr/local# apt-get install debuild 
            Reading Package Lists... Done
            Building Dependency Tree... Done
            E: Couldn't find package debuild

     * Linuxsvr1:/usr/local# apt-get install build
            Reading Package Lists... Done
            Building Dependency Tree... Done
            E: Couldn't find package build


? is the build command part of my Operating System (Linux) or part
           of "ANT"  can I use MAKE instead....????

? Can you give me any more advice about geting ANT to build correctly....
    .... where are the debian rules specified  (see above).


     Donald Duquaine
     STL Tampa West
     Analyst / Network Adminstrator
     mailto:dduquaine@stl-inc.com


Mime
View raw message