I have just done an emerge of gnat and adabindx and am having a bit
of trouble building the bindx demo programs to verify that it all
installed correctly...

The emege didn't leave a lot of clues as to what it had done, but
had there been a 'ReadMe' describing the adaptation to gentoo
portage, I surmise it should have said something like:
        gcc 2.8.1 is installed as the version needed by gnat, and...
        the executive is renamed 'gnatgcc' to avoid conflict with newer 
compilers..
Once you know the command to execute, it seems to work fine.

However I was less sucessful with the emerge of the adabindx X bindings, which
seemed to create the directories:
        /usr/lib/ada/adalib/adabindx
and
        /usr/lib/ada/adainclude/adabindx
where the lib directory contained a lot of .ali files but no actual
libraries except for a broken symlink to from libadabindx.a
to a non-existant libadabindx-0.7.2.a. The sources to the library files
seemed to exist in the include directory.

In addition, a directory called:
        /usr/share/doc/adabindx-0.7.2
was created and contained some original documentation files and a
directory of sample programs. However the makefiles for these all
assumed the existance of a 'Local.conf' file which was supposed to
have been left over from the install - however it did not seem to
exist. The symbols it is supposed to define, and the values for the
ones I have worked out, are as follows:
        ADA_MAKE=gnatmake
        ADA_MAKE_FLAGS=
        ADA_LINK_FLAGS=
        XLIB_DIR=
        XM_LIBS=-lXm
        XMU_LIBS=-lXmu
        ADABINDX_LIBS=

However clearly something else is still missing, as I have not yet managed
to get the sample programs to link as there seems to be some sort of
C glue that is not being found, with unresolved names such as
        interfaces__c__wstrings__strlen
        interfaces__c__wstrings__value__3
        interfaces__c__wstrings(float, long double,...)(...)

So I am guessing that I am missing some magic from the 'Local.conf'
definitions, but couldn't find any libraries defining the missing
symbols.

I am pretty sure this all worked when I installed it from a tarball
on a different system a few years ago. But before I go back to trying
it that way, does anyone have any ideas on what happened to the
missing file, or what need to add to resolve the link errors?

Thanks
DigbyT

P.S. I also found that my build directory filled up with object files
which seem to be the result of compiling the xbind sources - any know
if this is supposed to happen, or is it just because the link to the
library object was broken..?
-- 
Digby R. S. Tarvin                                             [EMAIL PROTECTED]
http://www.digbyt.com
-- 
gentoo-user@gentoo.org mailing list

Reply via email to