configure finds ant (screensaver)

Started by PostgreSQL Bugs Listalmost 25 years ago5 messagesbugs
Jump to latest
#1PostgreSQL Bugs List
pgsql-bugs@postgresql.org

Francisco Canedo (fcanedo at soneramail nospam nl) reports a bug with a severity of 3
The lower the number the more severe it is.

Short Description
configure finds ant (screensaver)

Long Description
configure finds the path to the 'ant' screensaver when it's trying to find the jdbc build tool. This leads to some weird error message during build!

I would suggest to have configure check the version of ant if at all possible.

Sample Code

No file was uploaded with this report

#2Bruce Momjian
bruce@momjian.us
In reply to: PostgreSQL Bugs List (#1)
Re: configure finds ant (screensaver)

Francisco Canedo (fcanedo at soneramail nospam nl) reports a bug with a severity of 3
The lower the number the more severe it is.

Short Description
configure finds ant (screensaver)

Long Description
configure finds the path to the 'ant' screensaver when it's trying to find the jdbc build tool. This leads to some weird error message during build!

I would suggest to have configure check the version of ant if at all possible.

If you type:

$ ant -version
$ echo $?

What do you get? I want to add a configure test and java ANT likes the
-version flag.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
#3Peter Eisentraut
peter_e@gmx.net
In reply to: Bruce Momjian (#2)
Re: configure finds ant (screensaver)

Bruce Momjian writes:

If you type:

$ ant -version
$ echo $?

What do you get? I want to add a configure test and java ANT likes the
-version flag.

On some systems ant is installed as jakarta-ant because of this conflict,
so maybe we should check for that, too.

--
Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter

#4Peter Eisentraut
peter_e@gmx.net
In reply to: PostgreSQL Bugs List (#1)
Re: configure finds ant (screensaver)

Francisco Canedo (fcanedo at soneramail nospam nl) reports a bug with a severity of 3

configure finds the path to the 'ant' screensaver when it's trying to find the jdbc build tool. This leads to some weird error message during build!

I would suggest to have configure check the version of ant if at all possible.

I've checked in a change that checks for jakarta-ant before ant (that
seems to be the popular alternative name in case of conflict), and also
runs a little test compile with ant to see if it works.

--
Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter

#5Bruce Momjian
bruce@momjian.us
In reply to: Peter Eisentraut (#4)
Re: configure finds ant (screensaver)

Francisco Canedo (fcanedo at soneramail nospam nl) reports a bug with a severity of 3

configure finds the path to the 'ant' screensaver when it's trying to find the jdbc build tool. This leads to some weird error message during build!

I would suggest to have configure check the version of ant if at all possible.

I've checked in a change that checks for jakarta-ant before ant (that
seems to be the popular alternative name in case of conflict), and also
runs a little test compile with ant to see if it works.

Great! Thanks.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026