[GRASS-user] grass' build problem with libtoolize

Hi,

I'm trying to build grass 6.4 rc1 from sources (using the tarball available) but I get this blocking error :

"libtoolize: cannot handle variables in AC_CONFIG_AUX_DIR"

Here is the complete log ->
http://pastebin.mandriva.com/5505

I've searched but the only part I've been able to understand so far is that it is somewhat linked to the configure file so there is the options I used :
--with-dbm-includes=%{_includedir}/gdbm/
--with-postgres-includes='%{_includedir}/postgresql %{_includedir}/postgresql/internal' --with-freetype --with-freetype-includes=%{_includedir}/freetype2 --with-motif --with-opengl-libs=%{_prefix}/X11R6/%{_lib} --with-motif-includes=%{_prefix}/X11R6/include --with-gdal --with-odbc --enable-largefile --with-ffmpeg
--with-curses --with-python --with-sqlite \
--with-cxx --with-proj-share=%{_datadir}/proj \
--with-nls --with-wxwidgets=%{_libdir}/wxPython/bin/wx-config

I'm using mandriva cooker/libtool 1.5.26/gcc 4.3.2

Regards,
MORREALE JR

On Mon, Jan 5, 2009 at 11:00 PM, MORREALE Jean Roc
<jr.morreale@enoreth.net> wrote:

Hi,

I'm trying to build grass 6.4 rc1 from sources (using the tarball available)
but I get this blocking error :

"libtoolize: cannot handle variables in AC_CONFIG_AUX_DIR"

Please post the configure parameters/flags for inspection.

Here is the complete log ->
http://pastebin.mandriva.com/5505

I've searched but the only part I've been able to understand so far is that
it is somewhat linked to the configure file so there is the options I used :
--with-dbm-includes=%{_includedir}/gdbm/
--with-postgres-includes='%{_includedir}/postgresql
%{_includedir}/postgresql/internal' --with-freetype
--with-freetype-includes=%{_includedir}/freetype2 --with-motif
--with-opengl-libs=%{_prefix}/X11R6/%{_lib}
--with-motif-includes=%{_prefix}/X11R6/include --with-gdal --with-odbc
--enable-largefile --with-ffmpeg
--with-curses --with-python --with-sqlite \
--with-cxx --with-proj-share=%{_datadir}/proj \
--with-nls --with-wxwidgets=%{_libdir}/wxPython/bin/wx-config

Apparently you are trying to create a RPM file? Please point
us to the SPEC file (note that the tarball contains

rpm/mandriva/grass*.spec

See also
http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/grass/current/

I'm using mandriva cooker/libtool 1.5.26/gcc 4.3.2

I am using Mandriva 2009.0 and have no problems.
But libtool isn't used/usable for GRASS, probably that's the
source of the problem. We need to know more specifically
what you plan to do.

Best
Markus

> I am using Mandriva 2009.0 and have no problems.
> But libtool isn't used/usable for GRASS, probably that's the
> source of the problem. We need to know more specifically
> what you plan to do.

Here is my spec file ->
http://pastebin.mandriva.com/5551

It is based on the latest available on mandriva's contrib, I've not done much modifications except cleaning the rust and add the correct dependencies for the new gui. The spec file in the tarball you mentioned is an older version.

I want to submit a newer grass' package since I need it to submit qgis 1.0 and also because the actual one on cooker's svn is nearly one year old, conflicts over libavcodec due to wrong include's path, etc. The libtool thingy is set to be used by default in mandriva's rpmbuild.

On Tue, Jan 6, 2009 at 7:05 PM, MORREALE Jean Roc
<jr.morreale@enoreth.net> wrote:

I am using Mandriva 2009.0 and have no problems.
But libtool isn't used/usable for GRASS, probably that's the
source of the problem. We need to know more specifically
what you plan to do.

Here is my spec file ->
http://pastebin.mandriva.com/5551

I have updated it a bit but can now reproduce the problem.
It is a specialty when building RPMs.

It is based on the latest available on mandriva's contrib, I've not done
much modifications except cleaning the rust and add the correct dependencies
for the new gui. The spec file in the tarball you mentioned is an older
version.

Older version yes, but with updates to 2009.x. I have updated that
again (new URLs) and also updated yours (will send offlist).

I want to submit a newer grass' package since I need it to submit qgis 1.0
and also because the actual one on cooker's svn is nearly one year old,
conflicts over libavcodec due to wrong include's path, etc.

Excellent.

The libtool thingy is set to be used by default in mandriva's rpmbuild.

Right and an addition in GRASS 6.4.x causes the trouble. I have opened
a ticket for that:
http://trac.osgeo.org/grass/ticket/424
Feel free to add yourself in copy to watch it.

Markus

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

--
Open Source Geospatial Foundation
http://www.osgeo.org/
http://www.grassbook.org/

On Tue, Jan 6, 2009 at 8:55 PM, Markus Neteler <neteler@osgeo.org> wrote:

On Tue, Jan 6, 2009 at 7:05 PM, MORREALE Jean Roc
<jr.morreale@enoreth.net> wrote:

I am using Mandriva 2009.0 and have no problems.
But libtool isn't used/usable for GRASS, probably that's the
source of the problem. We need to know more specifically
what you plan to do.

Here is my spec file ->
http://pastebin.mandriva.com/5551

I have updated it a bit but can now reproduce the problem.
It is a specialty when building RPMs.

Found a workaround: replace
%configure
with
./configure

and libtoolize is no longer used.

Two fixes are necessary, then it compiles (running here now).
I'll send you the SPEC file.

Markus

Markus Neteler wrote:

Found a workaround: replace
%configure
with
./configure

and libtoolize is no longer used.

Two fixes are necessary, then it compiles (running here now).
I'll send you the SPEC file.

Markus

Thank you for the tips !

>Older version yes, but with updates to 2009.x

yes but actually in cooker you can't even install it because of a dependency's conflict so a new grass rpm is really needed here.

Thanks again