giellalt / bugzilla-dummy

0 stars 0 forks source link

autoconf too old (?) (Bugzilla Bug 864) #1324

Closed albbas closed 13 years ago

albbas commented 14 years ago

This issue was created automatically with bugzilla2github

Bugzilla Bug 864

Date: 2010-08-25T07:10:15+02:00 From: Trond Trosterud <> To: Børre Gaup <> CC: borre.gaup, ftyers

Last updated: 2011-06-01T16:04:02+02:00

albbas commented 14 years ago

Comment 3406

Date: 2010-08-25 07:10:15 +0200 From: Trond Trosterud <>

When compiling apertium-sme-nob on xserve, I get the error msg: configure.ac:8: error: Autoconf version 2.62 or higher is required

And true enough: apertium-sme-nob$autoconf --version autoconf (GNU Autoconf) 2.61

But looking at configure.ac, I read:

Process this file with autoconf to produce a configure script.

AC_PREREQ(2.52)

which might lead me to believe that configure.ac actually is satisfied with 2.52. In any case, my compilation stops there.

albbas commented 14 years ago

Comment 3411

Date: 2010-08-25 10:14:13 +0200 From: Børre Gaup <>

MacPorts is installed on the xserve, and it sports autoconf version 2.67

autoconf --version autoconf (GNU Autoconf) 2.67

which autoconf /opt/local/bin/autoconf

Setup your paths so that /opt/local/bin (MacPorts' path is before anything else)

albbas commented 14 years ago

Comment 3419

Date: 2010-08-26 08:00:47 +0200 From: Trond Trosterud <>

we take it again:

Here is the PATH line in my .bashrc: PATH=$PATH:/opt/local/bin/$HOME/bin:$HOME/gtsvn/gt/script:$FORREST_HOME/bin:$HOME/gtsvn/gt/script/samiXMLParser:/opt/sami/xerox/c-fsm/ix86-linux2.6-gcc3.4/bin/

and here is the (unchanged) result of my compilation:

apertium-sme-nob$./autogen.sh --prefix=/usr/local

albbas commented 14 years ago

Comment 3421

Date: 2010-08-26 08:54:31 +0200 From: Børre Gaup <>

Try this: PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./autogen.sh works for me, and things get installed to /usr/local

albbas commented 14 years ago

Comment 3423

Date: 2010-08-26 10:14:05 +0200 From: Trond Trosterud <>

~$cd apertium/incubator/apertium-sme-nob/ apertium-sme-nob$PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./autogen.sh

albbas commented 14 years ago

Comment 3424

Date: 2010-08-26 10:59:39 +0200 From: Børre Gaup <>

Let's compare setups, then.

$ echo $PATH /opt/local/bin:/opt/local/sbin:/Network/Servers/divvun.no/Users/boerre/Dokumenter/private/trunk/polderland/bin:/Network/Servers/divvun.no/Users/boerre/forrest/bin:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/Network/Servers/divvun.no/Users/boerre/gtsvn/gt/script:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin

$ which autoconf /opt/local/bin/autoconf

This setup results in: $ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./autogen.sh

checking for a BSD-compatible install... /opt/local/bin/ginstall -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether ln -s works... yes checking for gawk... (cached) gawk checking for pkg-config... /opt/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LTTOOLBOX... no checking for LTTOOLBOX... yes checking for APERTIUM... no checking for APERTIUM... yes checking for cg-comp... /usr/local/bin/cg-comp checking for cg-proc... /usr/local/bin/cg-proc checking for hfst-proc... /usr/local/bin/hfst-proc checking for hfst-lexc... /usr/local/bin/hfst-lexc checking for hfst-twolc... /usr/local/bin/hfst-twolc checking for hfst-substitute... /usr/local/bin/hfst-substitute checking for xsltproc... /opt/local/bin/xsltproc configure: creating ./config.status config.status: creating Makefile

If you do echo $PATH, what does it say?

albbas commented 14 years ago

Comment 3428

Date: 2010-08-28 18:04:41 +0200 From: Trond Trosterud <>

~$echo $PATH /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin//Network/Servers/divvun.no/Users/trond/bin:/Network/Servers/divvun.no/Users/trond/gtsvn/gt/script:/Network/Servers/divvun.no/Users/boerre/forrest/bin:/Network/Servers/divvun.no/Users/trond/gtsvn/gt/script/samiXMLParser:/opt/sami/xerox/c-fsm/ix86-linux2.6-gcc3.4/bin/:/usr/local/cwb/bin

~$which autoconf /usr/bin/autoconf

~$cd apertium/incubator/apertium-sme-nob/ apertium-sme-nob$PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./autogen.sh

albbas commented 14 years ago

Comment 3431

Date: 2010-08-28 19:22:27 +0200 From: Børre Gaup <>

Somewhere in your setup /opt/local/bin is placed behind /usr/bin. You'll have to change the setup there. Have a look at .profile, .bash_profile and .bashrc.

albbas commented 13 years ago

Comment 4210

Date: 2011-05-22 13:09:58 +0200 From: Trond Trosterud <>

Here is my path on xserve:

/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin//Network/Servers/divvun.no/Users/trond/bin:/Network/Servers/divvun.no/Users/trond/gtsvn/gt/script:/Network/Servers/divvun.no/Users/boerre/forrest/bin:/Network/Servers/divvun.no/Users/trond/gtsvn/gt/script/samiXMLParser:/opt/sami/xerox/c-fsm/ix86-linux2.6-gcc3.4/bin/:/usr/local/cwb/bin:/opt/local/bin//Network/Servers/divvun.no/Users/trond/bin:/Network/Servers/divvun.no/Users/trond/gtsvn/gt/script:/Network/Servers/divvun.no/Users/boerre/forrest/bin:/Network/Servers/divvun.no/Users/trond/gtsvn/gt/script/samiXMLParser:/opt/sami/xerox/c-fsm/ix86-linux2.6-gcc3.4/bin/:/usr/local/cwb/bin

the error msg is the same.

albbas commented 13 years ago

Comment 4343

Date: 2011-06-01 14:39:28 +0200 From: Børre Gaup <>

I did the following without any problems (clean install in my home dir):

svn co http://apertium.svn.sourceforge.net/svnroot/apertium/trunk/lttoolbox cd lttoolbox PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./autogen.sh make sudo make install cd ..

svn co http://apertium.svn.sourceforge.net/svnroot/apertium/trunk/apertium cd apertium PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./autogen.sh make sudo make install cd ..

svn co http://apertium.svn.sourceforge.net/svnroot/apertium/staging/apertium-sme-nob cd apertium-sme-nob PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./autogen.sh make sudo make install

albbas commented 13 years ago

Comment 4351

Date: 2011-06-01 16:04:02 +0200 From: Børre Gaup <>

Bug #861 has been marked as a duplicate of this bug.