comp.lang.ada
 help / color / mirror / Atom feed
* help building QtAda
@ 2013-01-09 14:17 Patrick
  2013-01-09 17:03 ` Vadim Godunko
  2013-01-09 20:12 ` Ludovic Brenta
  0 siblings, 2 replies; 4+ messages in thread
From: Patrick @ 2013-01-09 14:17 UTC (permalink / raw)


I want to try out QtAda but I can't seem to build it on Mint Linux(I will switch again soon)

I downloaded the current version today.

There were instructions on how to build it on Fedora, I just used those.

When I run
./configure --without-gela
checking for gcc... g++
checking whether we are using the GNU C compiler... yes
checking whether g++ accepts -g... yes

Everything is fine and g++ works.

Incidentally if I run plain configure I get this:
./configure
checking whether GNAT project asis.gpr is available... no
configure: error: Project file for ASIS not found
not sure why......


Anyhow, when I run make it bombs and says it can't find g++:

source_core.gpr:32:17: warning: no compiler specified for language "C++", ignoring all its sources
source_core.gpr:43:29: language unknown for "qsignalmapperdirector.cpp"
gprbuild: "source_core.gpr" processing failed
make[3]: *** [.libs/libQtAdaCore.so] Error 4
make[3]: Leaving directory `/home/patrick/modAfterDec29_2012/programming_small/ada_small/qt/QT_Tests/qtada-gpl-3.1.0/source/core'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/patrick/modAfterDec29_2012/programming_small/ada_small/qt/QT_Tests/qtada-gpl-3.1.0/source/core'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/patrick/modAfterDec29_2012/programming_small/ada_small/qt/QT_Tests/qtada-gpl-3.1.0/source'
make: *** [all-recursive] Error 1


If anyone has some tips for me that would be great-Patrick



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: help building QtAda
  2013-01-09 14:17 help building QtAda Patrick
@ 2013-01-09 17:03 ` Vadim Godunko
  2013-01-09 20:12 ` Ludovic Brenta
  1 sibling, 0 replies; 4+ messages in thread
From: Vadim Godunko @ 2013-01-09 17:03 UTC (permalink / raw)


On Wednesday, January 9, 2013 6:17:02 PM UTC+4, Patrick wrote:
> I want to try out QtAda but I can't seem to build it on Mint Linux(I will switch again soon)
> 
I can suggest to install GNAT GPL 2012 compiler and its ASIS library. This configuration known to work more or less fine except if your system compiler is based on GCC 4.7.

PS. It can be reasonable to use QtAda specific resources:

1. Forum http://forum.qtada.com/
2. Mailing list http://box347.bluehost.com/mailman/listinfo/qtada-users_lists.qtada.com



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: help building QtAda
  2013-01-09 14:17 help building QtAda Patrick
  2013-01-09 17:03 ` Vadim Godunko
@ 2013-01-09 20:12 ` Ludovic Brenta
  2013-01-09 22:31   ` Patrick
  1 sibling, 1 reply; 4+ messages in thread
From: Ludovic Brenta @ 2013-01-09 20:12 UTC (permalink / raw)


Patrick writes on comp.lang.ada:
> I want to try out QtAda but I can't seem to build it on Mint Linux(I will switch again soon)

A derivative of Debian.

> source_core.gpr:32:17: warning: no compiler specified for language "C++", ignoring all its sources
> source_core.gpr:43:29: language unknown for "qsignalmapperdirector.cpp"
> gprbuild: "source_core.gpr" processing failed

This sounds like a bug I fixed in gprbuild (=2011-2):

o   ----------------------------------------------------------------------
|   Revision: 4c0a2515f450d797a8fc89882c34bdae0180d0ed
|   Parent:   f34611e1bc299d7bd98a109624535b9d91740a9e
|   Author:   Ludovic Brenta
|   Date:     2012-06-26T08:15:07
|   Branch:   org.debian.gprbuild
|   Tag:      gprbuild-2011-2
|   
|   Changelog: 
|   
|   * Provisionally adopt the package without closing #673751 yet; only
|     because some packages build-depend on gprbuild.
|   * debian/patches/gprconfig.patch (compilers.xml): make the <executable>
|     match the <external> command for G++.
|   
|   Changes against parent f34611e1bc299d7bd98a109624535b9d91740a9e
|   
|     patched  debian/changelog
|     patched  debian/control
|     patched  debian/patches/gprconfig.patch

If you use gprbuild from the Mint repositories and the version of
gprbuild is earlier than 2011-2, this might be the problem.  Upgrading
to 2011-2 or the latest, 2011-3, will solve that problem.

-- 
Ludovic Brenta.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: help building QtAda
  2013-01-09 20:12 ` Ludovic Brenta
@ 2013-01-09 22:31   ` Patrick
  0 siblings, 0 replies; 4+ messages in thread
From: Patrick @ 2013-01-09 22:31 UTC (permalink / raw)


Thanks Ludovic

I am having several problems on Mint. Things were better when I was using your well supported Debian stable but there were other non-programming related issues and I switched. I might try to run debian stable under chroot as you have suggested in the past.

Thanks again



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-01-09 22:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-09 14:17 help building QtAda Patrick
2013-01-09 17:03 ` Vadim Godunko
2013-01-09 20:12 ` Ludovic Brenta
2013-01-09 22:31   ` Patrick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox