Makefile.am issue in dir include/mhgui/

Tech support and suggestions forum. If you only have a basic question on how to get started, please use the "newbies" forum in the community section.

Moderator: joepal

Makefile.am issue in dir include/mhgui/

Postby cmassaloux » Fri May 23, 2008 9:36 am

Hi,

I'm using Linux Ubuntu Feisty.
My automake is version 1.4-p6

I just did a checkout of the subversion rep for animorph, mhgui and makehuman, and got the following pb when trying to build mhgui. The svn revision is 493, and the revision for the last modification on mhgui is 408.

svn co https://makehuman.svn.sourceforge.net/s ... uman/mhgui mhgui
cd mhgui
./bootstrap ;
./configure --prefix=/usr;
make

.. lot of correct stuff ...

make[2]: quittant le répertoire « /usr/local/src/mhgui/include »
make[2]: entrant dans le répertoire « /usr/local/src/mhgui/include »
Making all in mhgui
make[3]: entrant dans le répertoire « /usr/local/src/mhgui/include/mhgui »
Makefile:114: *** La variable récursive « libmhgui_include_DATA » se référence elle-même (finalement). Arrêt.
make[3]: quittant le répertoire « /usr/local/src/mhgui/include/mhgui »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /usr/local/src/mhgui/include »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /usr/local/src/mhgui »
make: *** [all-recursive-am] Erreur 2

Which means (in english), that the « libmhgui_include_DATA » recursive variable is refering to itself.

The generated Makefile shows the following content which confirm the error message
Makefile @ lines 114 & 115:
libmhgui_include_DATA = \
EXTRA_DIST = $(libmhgui_include_DATA)

I don't know why it comes out like this in the Makefile(maybe my automake version's fault), but I modify the Makefile.am as follows (writing the libmhgui_include_DATA setting on one single line) and now it works:

New Makefile.am:
==================
libmhgui_includedir= $(pkgincludedir)

libmhgui_include_DATA= AbstractListener.h GLUTWrapper.h CGUtilities.h Console.h Image.h ImageSlider.h Panel.h MultiPanel.h Component.h Widget.h Window.h ImageData.h Tooltip.h Size.h Point.h Camera.h Rect.h ImageSysListener.h ImageSliderSysListener.h TextEntry.h TextEntrySysListener.h Label.h Texture.h Selector.h SelectorSysListener.h

EXTRA_DIST= $(libmhgui_include_DATA)
==================

Best regards

Christophe Massaloux.
cmassaloux@free.fr
cmassaloux
 
Posts: 2
Joined: Fri May 23, 2008 9:08 am

Return to Bugs, problems and feature requests

Who is online

Users browsing this forum: No registered users and 1 guest