denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Denemo-devel] The lilypond build system adopted to build Denemo for


From: Richard Shann
Subject: Re: [Denemo-devel] The lilypond build system adopted to build Denemo for various OS
Date: Mon, 13 Jul 2009 22:23:31 +0100

On Mon, 2009-07-13 at 20:54 +0200, Jan Nieuwenhuizen wrote:
> On ma, 2009-07-13 at 14:16 +0100, Richard Shann wrote:
> > On Mon, 2009-07-13 at 14:01 +0200, Jan Nieuwenhuizen wrote:
> > > On ma, 2009-07-13 at 11:34 +0100, Richard Shann wrote:
> > > > On Sun, 2009-07-12 at 19:47 +0200, Jan Nieuwenhuizen wrote:
> > > > > On zo, 2009-07-12 at 17:00 +0100, Richard Shann wrote:
> > > > > > On Sun, 2009-07-12 at 13:19 +0200, Jan Nieuwenhuizen wrote:
> > > > > > > On zo, 2009-07-12 at 10:08 +0100, Richard Shann wrote:
> 
> > But of course I do have gcc, I try to have the most bog-standard stable
> > installation, the lowest common denominator - an out-of -the-box Debian
> > Lenny on a rather ordinary (256MB memory etc) machine, in the hope that
> > if Denemo builds, installs and runs ok here it will anywhere.
> > But I didn't have g++ installed when I started - I guess I have never
> > built a package needing c++ since installing the O/S. But I have all the
> > the things mentioned on the http://lilypond.org/gub/ page installed now,
> > so it seems that what I need is some sort of make clean to get it to
> > think again about what is available. Something that does not involve
> > downloading everything again :-)
> 
> Sure, do
> 
>     rm -rf target/
So I have done this, and then ran make denemo, it stops somewhere
different. There are warnings about some libraries (flac, ogg....)
missing... but the final message is about libtool missing.
Below is the output.

address@hidden:~/gub/target$ rm -rf *
cd address@hidden:~/gub/target$ cd ..
address@hidden:~/gub$ make denemo
make -f denemo.make
make[1]: Entering directory `/home/rshann/gub'
python bin/gub --platform=mingw     denemo
calculating dependencies
must rebuild[mingw]: tools::librestrict tools::make tools::tar tools::m4
tools::autoconf tools::automake tools::libtool tools::pkg-config
tools::ncurses tools::texinfo w32api mingw-runtime tools::bzip2
tools::patch cross/binutils cross/gcc libsndfile libtool libjpeg zlib
libpng tools::curl tools::expat tools::zlib tools::git ghostscript
tools::gettext tools::intltool gettext tools::bison tools::flex gmp
tools::gmp tools::guile regex guile libiconv glib atk expat freetype
tools::freetype fontconfig pixman pthreads-w32 cairo libtiff pangocairo
gtk+ libfftw libsamplerate tools::python python libaubio libxml2 librsvg
urw-fonts tools::libpng tools::libjpeg tools::libxml2 tools::fontforge
tools::t1utils tools::texi2html tools::icoutils lilypondcairo portaudio
lilypad denemo
building package: tools::librestrict
 *** Stage: untar (librestrict, tools)
 *** Stage: patch (librestrict, tools)
 *** Stage: shadow (librestrict, tools)
 *** Stage: compile (librestrict, tools)
 *** Stage: install (librestrict, tools)
 *** Stage: package (librestrict, tools)
 *** Stage: clean (librestrict, tools)
 *** Stage: pkg_install (librestrict, tools)

building package: tools::make
 *** Stage: untar (make, tools)
 *** Stage: patch (make, tools)
 *** Stage: autoupdate (make, tools)
 *** Stage: configure (make, tools)
 *** Stage: compile (make, tools)
 *** Stage: install (make, tools)
 *** Stage: package (make, tools)
 *** Stage: clean (make, tools)
 *** Stage: pkg_install (make, tools)

building package: tools::tar
 *** Stage: untar (tar, tools)
 *** Stage: patch (tar, tools)
 *** Stage: autoupdate (tar, tools)
 *** Stage: configure (tar, tools)
 *** Stage: compile (tar, tools)
 *** Stage: install (tar, tools)
 *** Stage: package (tar, tools)
 *** Stage: clean (tar, tools)
 *** Stage: pkg_install (tar, tools)

building package: tools::m4
 *** Stage: untar (m4, tools)
 *** Stage: patch (m4, tools)
 *** Stage: autoupdate (m4, tools)
 *** Stage: configure (m4, tools)
 *** Stage: compile (m4, tools)
 *** Stage: install (m4, tools)
 *** Stage: package (m4, tools)
 *** Stage: clean (m4, tools)
 *** Stage: pkg_install (m4, tools)

building package: tools::autoconf
 *** Stage: untar (autoconf, tools)
 *** Stage: patch (autoconf, tools)
 *** Stage: autoupdate (autoconf, tools)
 *** Stage: configure (autoconf, tools)
 *** Stage: compile (autoconf, tools)
 *** Stage: install (autoconf, tools)
 *** Stage: package (autoconf, tools)
 *** Stage: clean (autoconf, tools)
 *** Stage: pkg_install (autoconf, tools)

building package: tools::automake
 *** Stage: untar (automake, tools)
 *** Stage: patch (automake, tools)
 *** Stage: autoupdate (automake, tools)
 *** Stage: configure (automake, tools)
 *** Stage: compile (automake, tools)
 *** Stage: install (automake, tools)
 *** Stage: package (automake, tools)
 *** Stage: clean (automake, tools)
 *** Stage: pkg_install (automake, tools)

building package: tools::libtool
 *** Stage: untar (libtool, tools)
 *** Stage: patch (libtool, tools)
 *** Stage: autoupdate (libtool, tools)
 *** Stage: configure (libtool, tools)
 *** Stage: compile (libtool, tools)
 *** Stage: install (libtool, tools)
 *** Stage: package (libtool, tools)
 *** Stage: clean (libtool, tools)
 *** Stage: pkg_install (libtool, tools)

building package: tools::pkg-config
 *** Stage: untar (pkg-config, tools)
 *** Stage: patch (pkg-config, tools)
 *** Stage: autoupdate (pkg-config, tools)
 *** Stage: configure (pkg-config, tools)
 *** Stage: compile (pkg-config, tools)
 *** Stage: install (pkg-config, tools)
 *** Stage: package (pkg-config, tools)
 *** Stage: clean (pkg-config, tools)
 *** Stage: pkg_install (pkg-config, tools)

building package: tools::ncurses
 *** Stage: untar (ncurses, tools)
 *** Stage: patch (ncurses, tools)
 *** Stage: autoupdate (ncurses, tools)
 *** Stage: configure (ncurses, tools)
 *** Stage: compile (ncurses, tools)
 *** Stage: install (ncurses, tools)
 *** Stage: package (ncurses, tools)
 *** Stage: clean (ncurses, tools)
 *** Stage: pkg_install (ncurses, tools)

building package: tools::texinfo
 *** Stage: untar (texinfo, tools)
 *** Stage: patch (texinfo, tools)
 *** Stage: autoupdate (texinfo, tools)
 *** Stage: configure (texinfo, tools)
 *** Stage: compile (texinfo, tools)
 *** Stage: install (texinfo, tools)
 *** Stage: package (texinfo, tools)
 *** Stage: clean (texinfo, tools)
 *** Stage: pkg_install (texinfo, tools)

building package: mingw::w32api
 *** Stage: untar (w32api, mingw)
 *** Stage: install (w32api, mingw)
 *** Stage: package (w32api, mingw)
 *** Stage: clean (w32api, mingw)
 *** Stage: pkg_install (w32api, mingw)

building package: mingw::mingw-runtime
 *** Stage: untar (mingw-runtime, mingw)
 *** Stage: install (mingw-runtime, mingw)
 *** Stage: package (mingw-runtime, mingw)
 *** Stage: clean (mingw-runtime, mingw)
 *** Stage: pkg_install (mingw-runtime, mingw)

building package: tools::bzip2
 *** Stage: untar (bzip2, tools)
 *** Stage: patch (bzip2, tools)
 *** Stage: shadow (bzip2, tools)
 *** Stage: compile (bzip2, tools)
 *** Stage: install (bzip2, tools)
 *** Stage: package (bzip2, tools)
 *** Stage: clean (bzip2, tools)
 *** Stage: pkg_install (bzip2, tools)

building package: tools::patch
 *** Stage: untar (patch, tools)
 *** Stage: patch (patch, tools)
 *** Stage: autoupdate (patch, tools)
 *** Stage: configure (patch, tools)
 *** Stage: compile (patch, tools)
 *** Stage: install (patch, tools)
 *** Stage: package (patch, tools)
 *** Stage: clean (patch, tools)
 *** Stage: pkg_install (patch, tools)

building package: mingw::cross/binutils
 *** Stage: untar (cross/binutils, mingw)
 *** Stage: patch (cross/binutils, mingw)
 *** Stage: autoupdate (cross/binutils, mingw)
 *** Stage: configure (cross/binutils, mingw)
 *** Stage: compile (cross/binutils, mingw)
 *** Stage: install (cross/binutils, mingw)
Command barfed:
rm 
/home/rshann/gub/target/mingw/install/cross/binutils-2.18-root/usr/cross/lib64/libiberty.a
 *** Stage: package (cross/binutils, mingw)
 *** Stage: clean (cross/binutils, mingw)
 *** Stage: pkg_install (cross/binutils, mingw)

building package: mingw::cross/gcc
 *** Stage: untar (cross/gcc, mingw)
 *** Stage: patch (cross/gcc, mingw)
 *** Stage: autoupdate (cross/gcc, mingw)
 *** Stage: configure (cross/gcc, mingw)
 *** Stage: compile (cross/gcc, mingw)
 *** Stage: install (cross/gcc, mingw)
 *** Stage: package (cross/gcc, mingw)
 *** Stage: clean (cross/gcc, mingw)
 *** Stage: pkg_install (cross/gcc, mingw)

building package: mingw::libsndfile
 *** Stage: untar (libsndfile, mingw)
 *** Stage: patch (libsndfile, mingw)
 *** Stage: autoupdate (libsndfile, mingw)
 *** Stage: configure (libsndfile, mingw)
Cannot update libtool: no such
file: /home/rshann/gub/target/mingw/root/usr/bin/libtool
Tail of target/mingw/log/build.log >>>>>>>>
checking for getpagesize... yes
checking for setlocale... yes
checking for floor in -lm... yes
checking for floor... yes
checking for ceil... yes
checking for fmod... yes
checking for lrint... yes
checking for lrintf... yes
checking pkg-config is at least version 0.9.0... yes
checking for flac >= 1.2.1 ... no
checking for ogg >= 1.1.3 ... no
checking for vorbis >= 1.2.0 ... no
checking for vorbisenc >= 1.2.0 ... no
configure: WARNING:

*** It looks like you enabled the use of external libraries
*** (ie Flac, Ogg, Vorbis, etc), but one or more of those libs
*** is either missing (possibly only the development headers)
*** or is of an unsupported version.
***
*** Unfortunately, for ease of maintenance, the external libs
*** are an all or nothing affair.

checking for sqlite3 >= 3.2 ... no
checking for jack >= 0.100 ... no
checking processor clipping capabilities... none
checking alsa/asoundlib.h usability... no
checking alsa/asoundlib.h presence... no
checking for alsa/asoundlib.h... no
configure: WARNING:
******************************************************************
configure: WARNING: *** We are cross-compiling, so have to assume sizeof
(short) == 2 
configure: WARNING: *** and sizeof (int) == 4. If this is not the case
there is no    
configure: WARNING: *** chance of this working. Please contact the
mantainer.         
configure: WARNING:
******************************************************************
configure: WARNING: Touching files in directory tests/.
touch: cannot touch `tests/*.c': No such file or directory
touch: cannot touch `tests/*.h': No such file or directory
checking if i686-mingw32-gcc -mwindows -mms-bitfields accepts
-std=gnu99... yes
checking for version of i686-mingw32-gcc -mwindows -mms-bitfields...
4.1.1
checking if i686-mingw32-gcc -mwindows -mms-bitfields accepts -Wextra...
yes
checking if i686-mingw32-g++ -mwindows -mms-bitfields accepts -Wextra...
yes
checking if i686-mingw32-gcc -mwindows -mms-bitfields accepts
-Wdeclaration-after-statement... yes
checking if i686-mingw32-gcc -mwindows -mms-bitfields accepts
-Wpointer-arith... yes
checking if i686-mingw32-gcc -mwindows -mms-bitfields accepts
-funsigned-char... yes
checking for sed... sed
configure: updating cache config.cache
configure: creating ./config.status
config.status: creating shave
config.status: creating shave-libtool
config.status: creating src/sndfile.h
config.status: creating src/Makefile
config.status: creating src/GSM610/Makefile
config.status: creating src/G72x/Makefile
config.status: creating man/Makefile
config.status: creating examples/Makefile
config.status: creating tests/Makefile
config.status: creating regtest/Makefile
config.status: creating M4/Makefile
config.status: creating doc/Makefile
config.status: creating Win32/Makefile
config.status: creating Octave/Makefile
config.status: creating programs/Makefile
config.status: creating doc/libsndfile.css
config.status: creating Makefile
config.status: creating libsndfile.spec
config.status: creating sndfile.pc
config.status: creating tests/test_wrapper.sh
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing libtool commands

-=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-

  Configuration summary :

    Version : ............................. 1.0.20
    Experimental code : ................... no
    Using ALSA in example programs : ...... no
    External FLAC/Ogg/Vorbis : ............ no

  Tools :

    Compiler is GCC : ..................... yes
    GCC version : ......................... 4.1.1

  Installation directories :

    Library directory : ................... /usr/lib
    Program directory : ................... /usr/bin
    Pkgconfig directory : ................. /usr/lib/pkgconfig
    HTML docs
directory : ................. /usr/share/doc/libsndfile1-dev/html

MapLocate[/home/rshann/gub/target/mingw/build/libsndfile-1.0.20] no
files matching pattern: libtool
Applying libtool_disable_install_not_into_dot_libs_test ()
to /home/rshann/gub/target/mingw/build/libsndfile-1.0.20/libtool
Running file_sub
  ([('if test "\\$inst_prefix_dir" = "\\$destdir"; then', 'if false &&
test "$inst_prefix_dir" = "$destdir"; then'), ('  test "\\
$inst_prefix_dir" = "\\$destdir" &&', '  false && test
"$inst_prefix_dir" = "$destdir" &&')],
'/home/rshann/gub/target/mingw/build/libsndfile-1.0.20/libtool')
  {}
MapLocate[/home/rshann/gub/target/mingw/build/libsndfile-1.0.20] no
files matching pattern: libtool
Applying <lambda> ()
to /home/rshann/gub/target/mingw/build/libsndfile-1.0.20/libtool
Cannot update libtool: no such
file: /home/rshann/gub/target/mingw/root/usr/bin/libtool
<<<<<<<< Tail of target/mingw/log/build.log


*** Failed target: mingw::libsndfile

Traceback (most recent call last):
  File "bin/gub", line 323, in <module>
    main ()
  File "bin/gub", line 319, in main
    logged_build (settings, options, files)
  File "bin/gub", line 288, in logged_build
    sys.exit (exceptional_build (settings, options, files, logger))
  File "bin/gub", line 267, in exceptional_build
    build (settings, options, files)
  File "bin/gub", line 263, in build
    b.build_source_packages (names)
  File "bin/../gub/buildrunner.py", line 286, in build_source_packages
    self.spec_build (spec_name)
  File "bin/../gub/buildrunner.py", line 233, in spec_build
    deferred_runner.execute_deferred_commands ()
  File "bin/../gub/runner.py", line 161, in execute_deferred_commands
    cmd.execute (self.logger)
  File "bin/../gub/commands.py", line 197, in execute
    self.func (logger, file_name)
  File "bin/../gub/target.py", line 44, in <lambda>
    self.map_locate (lambda logger, file: libtool_update (logger,
self.expand ('%(system_prefix)s/bin/libtool'), self.expand
('%(rpath)s'), file), '%(builddir)s', 'libtool')
  File "bin/../gub/target.py", line 324, in libtool_update
    build.libtool_update (logger, libtool, file)
  File "bin/../gub/build.py", line 698, in libtool_update
    raise Exception (message)
Exception: Cannot update libtool: no such
file: /home/rshann/gub/target/mingw/root/usr/bin/libtool
make[1]: *** [denemo] Error 1
make[1]: Leaving directory `/home/rshann/gub'
make: *** [denemo] Error 2
address@hidden:~/gub$ 



> 
> I'm working on the g++ dependency :-)
> 
> Jan.
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]