[Gambas-user] Issue 206 in gambas: Can't compile Gambas3

John Rose john.aaron.rose at ...626...
Mon Jan 30 15:06:59 CET 2012


I used the Lucid section of the Gambas Ubuntu webpage to install the
needed dev packages for compiling Gambas3. Running that 'apt-get
install' gave a problem:
The following packages have unmet dependencies.
  libsdl-mixer1.2-dev: Depends: libvorbis-dev but it is not going to be
installed
  libsdl-sound1.2-dev: Depends: libvorbis-dev but it is not going to be
installed
E: Broken packages
Does anyone have a solution to this?

I didn't realise that 'apt-get install' stops once it finds a problem: I
assumed that it would do the following (from the Lucid section of the
Gambas webpage) package installs. So I installed all the packages
following libsdl-mixer1.2-dev & libsdl-sound1.2-dev in the Lucid section
of the Gambas Ubuntu page. However, the above problem re (libvorbis-dev)
gives rise to:
|| THESE COMPONENTS ARE DISABLED:
|| - gb.sdl.sound
followed later by a number of:
gbc: error: Component not found: gb.sdl.sound

Is it correct to say that this will only matter if gb.sdl is used by an
app?

The last messages from 'sudo make install' are:
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/john/Gambas/trunk/examples'
make[1]: Leaving directory `/home/john/Gambas/trunk/examples'
Making install in .
make[1]: Entering directory `/home/john/Gambas/trunk'
make[2]: Entering directory `/home/john/Gambas/trunk'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/john/Gambas/trunk'
make[1]: Leaving directory `/home/john/Gambas/trunk'

Does "Nothing to be done for `install-data-am'" matter? 

The reason I ask is that /usr/bin/gambas3.gambas is still showing Date
Modified as 31 December: it is the executable linked
from  /usr/bin/gambas3 which is the menu item created for Gambas3. I've
noticed that in /usr/local/bin, there are a number of executables &
links (e.g. for gambas3 linking to gambas3.gambas) with Date modified of
today. Even when I invoke /usr/local/bin/gambas3, it still shows the
same version (i.e. 3.0.90 r172). Would the version be the same between
the stable 3.0 version & trunk's version (VERSION file contains 3.0.90)?

PS I haven't attached the whole log from the compile of Gambas3 as it's
too large for the mailing list. However, I've attached the script that I
used to run the compile (including a cleanup beforehand):
acknowledgement to Jussi Lahtine for supplying it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CompileGambas.sh
Type: application/x-shellscript
Size: 411 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20120130/d258ea69/attachment.bin>


More information about the User mailing list