Menu

#14 Can't compile without xa65

None
closed
None
5
2017-03-29
2014-12-25
No

Attempting to compile libsidplayfp-1.6.2 results in the following error:

$ make all-am
make[1]: Entering directory /home/psy/src/libsidplayfp-1.6.2' xa -R -G ./sidplayfp/psiddrv.a65 -o sidplayfp/psiddrv.o65 make[1]: xa: Command not found make[1]: *** [sidplayfp/psiddrv.o65] Error 127 make[1]: Leaving directory/home/psy/src/libsidplayfp-1.6.2'
make: *** [all] Error 2

This seems to be because libsidplayfp depends on a software package named xa65, which can be downloaded from http://www.floodgap.com/retrotech/xa/ (though possibly some distributions may provide binary packages). As far as I can tell, this dependency isn't mentioned anywhere in the documentation for libsidplayfp, and isn't checked for in the autoconf rules.

Please update the autoconf rules to check for the presence of xa65, and since this is a fairly obscure package please also mention where to obtain it in the README file.

Related

News: 2015/01/released-libsidplayfp-170

Discussion

  • Leandro Nini

    Leandro Nini - 2014-12-27
    • assigned_to: Leandro Nini
    • Group: -->
     
  • Leandro Nini

    Leandro Nini - 2014-12-27

    Well, this isn't actually a hard dependency as the preassembled file is included in the tarball. I think the real problem here is that this file gets deleted on 'make clean', which shouldn't happen.

     
  • John Lindgren

    John Lindgren - 2015-01-02

    A workaround is to touch psiddrv.o65 (creating an empty file) and then psiddrv.bin.

     
  • Leandro Nini

    Leandro Nini - 2015-01-23
    • status: open --> pending
     
  • Leandro Nini

    Leandro Nini - 2015-01-23

    Fixed in svn r1861

     

    Last edit: Leandro Nini 2015-01-23
  • Leandro Nini

    Leandro Nini - 2015-01-25
    • status: pending --> closed
     
  • Leandro Nini

    Leandro Nini - 2015-01-25

    Available in release 1.7.0

     
  • KotCzarny

    KotCzarny - 2017-03-28

    this bug is still present in svn version. copying files from release tarball (and touching them to make) 'fixes' it.
    files are in src/sidtune
    sidplayer1.bin and sidplayer2.bin

     
  • Leandro Nini

    Leandro Nini - 2017-03-29

    Well... that's the expected behavior. If you are building from svn you need to have the developer prerequisites installed.

     

Log in to post a comment.