Compiling midish 4.0 on ubuntu hardy

From: laurent schwartz <schwartz.laurent_at_free.fr>
Date: Fri Jun 05 2009 - 11:49:29 CEST
Hello,

i'm trying to compile midish 4.0 on my ubuntu hardy setup.

I could figure out that i needed to install readline library with the
following command:

sudo apt-get install libreadline5-dev

Unfortunately after running "./configure" command which output :

configure: creating Makefile

bindir................... /usr/local/bin
datadir.................. /usr/local/share
mandir................... /usr/local/man
alsa..................... yes
rmidish.................. yes
readline-lib............. default
readline-include......... default

Do "make && make install" to compile and install midish

the "make" process generates some errors:
cc   -DUSE_ALSA          -c mdep_alsa.c
mdep_alsa.c:42:28: erreur: alsa/asoundlib.h : Aucun fichier ou dossier de ce
type
mdep_alsa.c:49: erreur: expected specifier-qualifier-list before «snd_seq_t»
...
make: *** [mdep_alsa.o] Erreur 1

It seems that the "./configure" process doesn't check the availability of
libasound2-dev.
After installing it with:
sudo apt-get install libasound2-dev

The make process goes to the end with succes.

I install "checkinstall" ubuntu package to create a debian package from the
source.
sudo apt-get install checkinstall

the command "sudo checkinstall" in place of "make install" generates and
install a debian package.

Kind regards,
Laurent
Received on Fri, 5 Jun 2009 11:49:29 +0200

This archive was generated by hypermail 2.1.8 : Wed Nov 08 2017 - 16:32:20 CET