Results 1 to 8 of 8

Thread: Sources/Sound/Makefile.in not generated

  1. #1

    Default Sources/Sound/Makefile.in not generated

    This is for ClanLib 3.0. autogen.sh works but configure fails on the audio lib stuff. Makefile.am exists but Makefile.in is not generated.
    checking asoundlib.h usability... no
    checking asoundlib.h presence... no
    checking for asoundlib.h... no
    checking alsa/asoundlib.h usability... yes
    checking alsa/asoundlib.h presence... yes
    checking for alsa/asoundlib.h... yes
    [...]
    config.status: error: cannot find input file: `Sources/Sound/Makefile.in'
    Perhaps movement of code to the alsa/ subdirectory has bugged the logic here? I haven't looked at the build code, just guessing.

  2. #2
    ClanLib Developer
    Join Date
    Sep 2006
    Location
    Denmark
    Posts
    554

    Default

    This is also happening here. I have no idea why.

    Maybe rombust has some ideas?

  3. #3
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default

    It's simply because 3.0 is not working on Linux

    Either attempt to fix it yourself and send a patch, or wait a month or two

    It will take a while to fix all the problems

    I recently haven't had the time.

  4. #4

    Default

    Quote Originally Posted by rombust View Post
    It's simply because 3.0 is not working on Linux
    It smells like a trivial build error in the Automake scripts, so does this imply that Linux is not a testing target for 3.0?

    I compared configure.ac in ClanLib 2.3 SVN, which does build, to ClanLib 3.0 SVN which does not. The AM_CONDITIONAL for ALSA has been moved outside of a conditional block. In 2.3 it's
    if test "$enable_clanSound" = "auto"; then enable_clanSound=yes; fi
    AM_CONDITIONAL(ALSA, test x$have_alsa = xyes)

    fi
    and in 3.0 it's
    if test "$enable_clanSound" = "auto"; then enable_clanSound=yes; fi
    fi
    AM_CONDITIONAL(ALSA, test x$have_alsa = xyes)
    I tried changing it back to what it was in 2.3. Now autogen.sh complains about a missing Vorbis directory. It exists in 2.3 but not in 3.0. I commented out the Vorbis stuff in configure.ac and deleted the Vorbis reference in sources/Makefile.am. Now autogen.sh and configure WORK. Don't have time to actually do the build right now, will report results later.

    Incidentally I used the Meld tool to do a visual diff on Linux. It's very pretty, I've never used it before, and it made short work of the compare job. Obtainable from your favorite repo.
    Last edited by bvanevery; 03-14-2013 at 09:38 PM.

  5. #5
    ClanLib Developer
    Join Date
    Sep 2006
    Location
    Denmark
    Posts
    554

    Default

    clanVorbis was merged into clanSound in the 3.0 branch. Removing the references like you did was probably the correct solution.

  6. #6

    Default

    I've attached a patch. BTW have you guys considered moving on to Mercurial or Git instead of this SVN "give you a patch" stuff?
    Attached Files Attached Files

  7. #7
    ClanLib Developer
    Join Date
    Sep 2006
    Location
    Denmark
    Posts
    554

    Default

    Thanks, applied this patch.

  8. #8

    Default

    Received via SVN and verified as building. Your rapid application has saved me having to learn how to import and export SVN to Mercurial or Git for the time being.

Similar Threads

  1. missing Sources/Sound/Makefile.in
    By bvanevery in forum Official ClanLib SDK Forums
    Replies: 0
    Last Post: 03-13-2013, 02:47 PM
  2. Problems with makefile using MingW32-make!
    By Todi in forum Official ClanLib SDK Forums
    Replies: 6
    Last Post: 07-20-2010, 07:33 AM
  3. Please post a basic makefile
    By NVanGogh in forum Official ClanLib SDK Forums
    Replies: 0
    Last Post: 08-14-2008, 06:30 PM
  4. Complie problems - ClanLib-0.9.0\Sources\MikMod
    By sf.tk in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 02-25-2008, 08:02 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •