[gtkada] [GtkAda-2.2] Configure --exec-prefix option doesn't work

Benoît SIBAUD benoit.sibaud at rd.francetelecom.com
Wed Oct 8 17:56:43 CEST 2003


Hi,

I compiled GtkAda-2.0 and GtkAda-2.2 in a GNU stow environment for 
i686-pc-linux-gnu, sparc-sun-solaris2.7 and sparc-sun-solaris2.8
(with autoconf 2.56, automake 1.7.1, libtool 1.4.3).

The configure line was:
     ./configure \
     --prefix=${SHOP_STOW}/${SHOP_PACKAGE} \
     --exec-prefix=${SHOP_STOW}/${SHOP_PACKAGE}/${SHOP_CONFIG}

with ${SHOP_STOW} the stow directory, ${SHOP_PACKAGE} is GtkAda-2.X and 
${SHOP_CONFIG} a config.guess triplet.

So prefix=..../stow/GtkAda-2.2 and 
exec-prefix=..../stow/GtkAda-2.2/i686-pc-linux-gnu for example.

The generated src/Makefile.common contained
exec_prefix = $(prefix)
bindir = $(prefix)/bin
libdir = $(prefix)/lib
which is obviously incorrect.

It was the same with --bindir and --libdir configure options.

so I used a sed command on src/Makefile.common.in to modify exec_prefix, 
bindir and libdir definitions, before using configure.

Hope this helps, regards,

-- 
Benoît Sibaud




More information about the gtkada mailing list