Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doinstall script fails #15

Open
evanescente-ondine opened this issue Dec 3, 2017 · 7 comments
Open

doinstall script fails #15

evanescente-ondine opened this issue Dec 3, 2017 · 7 comments

Comments

@evanescente-ondine
Copy link

I can't execute the doinstall script properly. It runs under root, and there's the last GNAT in PATH. So it should not happen.

checking that your gnat compiler works with a simple example... gnatbind: Cannot find: s-stalib.ali
gprbind: invocation of gnatbind failed
gprbuild: unable to bind conftest.adb
no 
configure: error: /usr/bin/gprbuild test failed at compile time! Check your configuration.
@setton
Copy link
Member

setton commented Dec 3, 2017

I think this is a compiler installation problem... Can you build a simple "hello world" program with that compiler?

@evanescente-ondine
Copy link
Author

evanescente-ondine commented Dec 3, 2017 via email

@evanescente-ondine
Copy link
Author

here's the content of install.log
gnatprep -DGETTEXT_INTL=False -DHAVE_GETTEXT=True src/gtkada-intl.gpb src/gtkada-intl.adb
====== Building static-pic libraries =====
/usr/bin/gprbuild -j0 -m -p -XLIBRARY_TYPE=static-pic -Psrc/gtkada.gpr
object directory "/home/mehdi/Téléchargements/gtkada-gpl-2017-x86_64-linux-bin/src/obj/gtkada/static-pic/" created
library directory "/home/mehdi/Téléchargements/gtkada-gpl-2017-x86_64-linux-bin/src/lib/gtkada/static-pic" created for project gtkada
gtkada.gpr:38:25: illegal value for Library_Kind
gprbuild: "src/gtkada.gpr" processing failed
Makefile:84 : la recette pour la cible « build_library_type/static-pic » a échouée
make: *** [build_library_type/static-pic] Erreur 4

@evanescente-ondine
Copy link
Author

Still the same thing. ./doinstall gives
checking that your gnat compiler works with a simple example... entity configurations_vx653:5:6: Undefined entity 'config_wind_base'
gprbuild: could not parse the XML files in /usr/local/share/gprconfig
no configure: error: /usr/local/bin/gprbuild test failed at compile time! Check your configuration.
An error occurred. Please see install.log.

But there's no install.log in the compilation directory this time.

@setton
Copy link
Member

setton commented Jan 15, 2018

do you have a "LIBRARY_KIND" defined in the environment?

@evanescente-ondine
Copy link
Author

evanescente-ondine commented Jan 15, 2018 via email

@hectoruhalte
Copy link

I am having the exact same problem (gtkada-community-2018-20180523-x86_64-linux-bin.tar.gz version)
I have set the Library_Kind variable to static-pic or relocatable, but it does not seem to work.
I have got the same error when building static-pic libraries.

====== Building static-pic libraries =====
/usr/bin/gprbuild -j0 -m -p -XLIBRARY_TYPE=static-pic -Psrc/gtkada.gpr
gtkada.gpr:38:25: illegal value for Library_Kind
gprbuild: "src/gtkada.gpr" processing failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants