LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 09-28-2005, 10:40 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Problem re installing package


Hi folks,

BLFS 6.1

I encountered problem on installing a small package, TimiDity, a midi player. The installing steps is straight forward;

$ ./configrue
$ make
# make install

The same steps can install this package on FC3 successfully.

Steps performed as follows;

bash-3.00$ cd /sources
bash-3.00$ tar jxf TiMidity++-2.13.2.tar.bz2
bash-3.00 cd TiMidity++-2.13.2
bash-3.00$ ./configure
> make
Code:
then mv -f ".deps/oss_a.Tpo" ".deps/oss_a.Po"; \
else rm -f ".deps/oss_a.Tpo"; exit 1; \
fi
gcc  -O2  -L/usr/X11R6/lib -o timidity  aiff_a.o aq.o au_a.o audio_cnv.o
common.
o controls.o effect.o filter.o freq.o instrum.o list_a.o loadtab.o m2m.o
mfi.o m
iditrace.o mix.o mod.o mod2midi.o modmid_a.o mt19937ar.o optcode.o
output.o play
midi.o quantity.o raw_a.o rcp.o readmidi.o recache.o resample.o reverb.o
sbkconv
.o sffile.o sfitem.o smfconv.o smplfile.o sndfont.o tables.o timidity.o
version.
o wave_a.o wrd_read.o wrdt.o oss_a.o ../interface/libinterface.a
../libarc/libar
c.a ../libunimod/libunimod.a ../utils/libutils.a  -lX11 -lm -ldl
make[2]: Leaving directory `/sources/TiMidity++-2.13.2/timidity'
Making all in doc
make[2]: Entering directory `/sources/TiMidity++-2.13.2/doc'
Making all in C
make[3]: Entering directory `/sources/TiMidity++-2.13.2/doc/C'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/sources/TiMidity++-2.13.2/doc/C'
Making all in ja_JP.eucJP
make[3]: Entering directory `/sources/TiMidity++-2.13.2/doc/ja_JP.eucJP'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/sources/TiMidity++-2.13.2/doc/ja_JP.eucJP'
make[3]: Entering directory `/sources/TiMidity++-2.13.2/doc'
rm -f timidity.1; ln -s ./C/timidity.1 .
rm -f timidity.cfg.5; ln -s ./C/timidity.cfg.5 .
make[3]: Leaving directory `/sources/TiMidity++-2.13.2/doc'
make[2]: Leaving directory `/sources/TiMidity++-2.13.2/doc'
Making all in script
make[2]: Entering directory `/sources/TiMidity++-2.13.2/script'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/sources/TiMidity++-2.13.2/script'
Making all in configs
make[2]: Entering directory `/sources/TiMidity++-2.13.2/configs'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/sources/TiMidity++-2.13.2/configs'
make[2]: Entering directory `/sources/TiMidity++-2.13.2'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/sources/TiMidity++-2.13.2'
make[1]: Leaving directory `/sources/TiMidity++-2.13.2'
bash-3.00$ su -
Password:
root@localhost:~# cd /sources/TiMidity++-2.13.2
root@localhost:/sources/TiMidity++-2.13.2# make install
Code:
Making install in a$
make[1]: Entering directory `/sources/TiMidity++-2.13.2/autoconf'
make[2]: Entering directory `/sources/TiMidity++-2.13.2/autoconf'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/sources/TiMidity++-2.13.2/autoconf'
make[1]: Leaving directory `/sources/TiMidity++-2.13.2/autoconf'
Making install in utils
make[1]: Entering directory `/sources/TiMidity++-2.13.2/utils'
make[2]: Entering directory `/sources/TiMidity++-2.13.2/utils'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/sources/TiMidity++-2.13.2/utils'
make[1]: Leaving directory `/sources/TiMidity++-2.13.2/utils'
Making install in libarc
make[1]: Entering directory `/sources/TiMidity++-2.13.2/libarc'
make[2]: Entering directory `/sources/TiMidity++-2.13.2/libarc'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/sources/TiMidity++-2.13.2/libarc'
make[1]: Leaving directory `/sources/TiMidity++-2.13.2/libarc'
Making install in libunimod
make[1]: Entering directory `/sources/TiMidity++-2.13.2/libunimod'
make[2]: Entering directory `/sources/TiMidity++-2.13.2/libunimod'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/sources/TiMidity++-2.13.2/libunimod'
make[1]: Leaving directory `/sources/TiMidity++-2.13.2/libunimod'
make[2]: Leaving directory
`/sources/TiMidity++-2.13.2/interface/motif_bitmaps'
Making install in bitmaps
make[2]: Entering directory
`/sources/TiMidity++-2.13.2/interface/bitmaps'
make[3]: Entering directory
`/sources/TiMidity++-2.13.2/interface/bitmaps'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory
`/sources/TiMidity++-2.13.2/interface/bitmaps'
make[2]: Leaving directory
`/sources/TiMidity++-2.13.2/interface/bitmaps'
Making install in pixmaps
make[2]: Entering directory
`/sources/TiMidity++-2.13.2/interface/pixmaps'
make[3]: Entering directory
`/sources/TiMidity++-2.13.2/interface/pixmaps'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory
`/sources/TiMidity++-2.13.2/interface/pixmaps'
make[2]: Leaving directory
`/sources/TiMidity++-2.13.2/interface/pixmaps'
make[2]: Entering directory `/sources/TiMidity++-2.13.2/interface'
make[3]: Entering directory `/sources/TiMidity++-2.13.2/interface'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/sources/TiMidity++-2.13.2/interface'
make[2]: Leaving directory `/sources/TiMidity++-2.13.2/interface'
make[1]: Leaving directory `/sources/TiMidity++-2.13.2/interface'
Making install in timidity
make[1]: Entering directory `/sources/TiMidity++-2.13.2/timidity'
make[2]: Entering directory `/sources/TiMidity++-2.13.2/timidity'
/bin/sh ../autoconf/mkinstalldirs /usr/bin
  /bin/install -c timidity /usr/bin/timidity
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/sources/TiMidity++-2.13.2/timidity'
make[1]: Leaving directory `/sources/TiMidity++-2.13.2/timidity'
Making install in doc
make[1]: Entering directory `/sources/TiMidity++-2.13.2/doc'
Making install in C
make[2]: Entering directory `/sources/TiMidity++-2.13.2/doc/C'
make[3]: Entering directory `/sources/TiMidity++-2.13.2/doc/C'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/sources/TiMidity++-2.13.2/doc/C'
make[2]: Leaving directory `/sources/TiMidity++-2.13.2/doc/C'
Making install in ja_JP.eucJP
make[2]: Entering directory `/sources/TiMidity++-2.13.2/doc/ja_JP.eucJP'
make[3]: Entering directory `/sources/TiMidity++-2.13.2/doc/ja_JP.eucJP'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/sources/TiMidity++-2.13.2/doc/ja_JP.eucJP'
make[2]: Leaving directory `/sources/TiMidity++-2.13.2/doc/ja_JP.eucJP'
make[2]: Entering directory `/sources/TiMidity++-2.13.2/doc'
make[3]: Entering directory `/sources/TiMidity++-2.13.2/doc'
make[3]: Nothing to be done for `install-exec-am'.
/bin/sh ../autoconf/mkinstalldirs /usr/man/man1
 /bin/install -c -m 644 ./timidity.1 /usr/man/man1/timidity.1
/bin/sh ../autoconf/mkinstalldirs /usr/man/man5
 /bin/install -c -m 644 ./timidity.cfg.5 /usr/man/man5/timidity.cfg.5
make[3]: Leaving directory `/sources/TiMidity++-2.13.2/doc'
make[2]: Leaving directory `/sources/TiMidity++-2.13.2/doc'
make[1]: Leaving directory `/sources/TiMidity++-2.13.2/doc'
Making install in script
make[1]: Entering directory `/sources/TiMidity++-2.13.2/script'
make[2]: Entering directory `/sources/TiMidity++-2.13.2/script'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/sources/TiMidity++-2.13.2/script'
make[1]: Leaving directory `/sources/TiMidity++-2.13.2/script'
Making install in configs
make[1]: Entering directory `/sources/TiMidity++-2.13.2/configs'
make[2]: Entering directory `/sources/TiMidity++-2.13.2/configs'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/sources/TiMidity++-2.13.2/configs'
make[1]: Leaving directory `/sources/TiMidity++-2.13.2/configs'
make[1]: Entering directory `/sources/TiMidity++-2.13.2'
make[2]: Entering directory `/sources/TiMidity++-2.13.2'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/sources/TiMidity++-2.13.2'
make[1]: Leaving directory `/sources/TiMidity++-2.13.2'
root@localhost:/sources/TiMidity++-2.13.2# exit
logout
bash-3.00$ cd ~/
bash-3.00$ timidity Midi_Guitar/
Code:
/usr/local/share/timidity/timidity.cfg: No$
timidity: Can't read any configuration file.
Please check /usr/local/share/timidity/timidity.cfg
bash-3.00$ su
Password:
root@localhost:/home/satimis# timidity Midi_Guitar/
Code:
/usr/local/share/timidi$
timidity: Can't read any configuration file.
Please check /usr/local/share/timidity/timidity.cfg
root@localhost:/home/satimis# find / -name timidity
Code:
/sources/TiMidity++-2.13.2/timidity
/sources/TiMidity++-2.13.2/timidity/timidity
find: WARNING: Hard link count is wrong for /proc: this may be a bug in your filesystem driver.  Automatically turning on find's -noleaf option.  Earlier results may have failed to include directories that should have
been searched.
/usr/local/bin/timidity
root@localhost:/home/satimis# find / -name timidity.cfg
Code:
find: WARNING: Hard link count is wrong for /proc: this may be a bug in your filesystem driver.  Automatically turning on find's -noleaf option.
Earlier results may have failed to include directories that should have been searched.
I could not discover where this package has been installed.

bash-3.00$ ./configure --prefix=/usr &&
with the same result.

Only
# which timidity
Code:
/usr/bin/timidity
differed

Please advise. TIA

BR
satimis
 
Old 09-29-2005, 12:17 AM   #2
shotokan
Member
 
Registered: Mar 2005
Distribution: slackware, LFS
Posts: 204

Rep: Reputation: 30
Can you do
Code:
make uninstall
? (this would uninstall the files)

If not then look inside the Makefile find make install. This shows where it will install the files.
 
Old 09-29-2005, 12:44 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi shotokan,

Tks for your advice.

Quote:
look inside the Makefile find make install. This shows where it will install the files.
Searched /sources/TiMidity++-2.13.2/Makefile with "make install";
Code:
make install not found
Quote:
Can you do
Code:
make uninstall
? (this would uninstall the files)
# cd /sources/TiMidity++-2.13.2
# make uninstall
Code:
Making uninstall in autoconf
make[1]: Entering directory `/sources/TiMidity++-2.13.2/autoconf'
make[1]: Nothing to be done for `uninstall'.
make[1]: Leaving directory `/sources/TiMidity++-2.13.2/autoconf'
Making uninstall in utils
make[1]: Entering directory `/sources/TiMidity++-2.13.2/utils'
make[1]: Nothing to be done for `uninstall'.
make[1]: Leaving directory `/sources/TiMidity++-2.13.2/utils'
Making uninstall in libarc
make[1]: Entering directory `/sources/TiMidity++-2.13.2/libarc'
make[1]: Nothing to be done for `uninstall'.
make[1]: Leaving directory `/sources/TiMidity++-2.13.2/libarc'
Making uninstall in libunimod
make[1]: Entering directory `/sources/TiMidity++-2.13.2/libunimod'
make[1]: Nothing to be done for `uninstall'.
make[1]: Leaving directory `/sources/TiMidity++-2.13.2/libunimod'
Making uninstall in interface
make[1]: Entering directory `/sources/TiMidity++-2.13.2/interface'
Making uninstall in motif_bitmaps
make[2]: Entering directory `/sources/TiMidity++-2.13.2/interface/motif_bitmaps'
make[2]: Nothing to be done for `uninstall'.
make[2]: Leaving directory `/sources/TiMidity++-2.13.2/interface/motif_bitmaps'
Making uninstall in bitmaps
make[2]: Entering directory `/sources/TiMidity++-2.13.2/interface/bitmaps'
make[2]: Nothing to be done for `uninstall'.
make[2]: Leaving directory `/sources/TiMidity++-2.13.2/interface/bitmaps'
Making uninstall in pixmaps
make[2]: Entering directory `/sources/TiMidity++-2.13.2/interface/pixmaps'
make[2]: Nothing to be done for `uninstall'.
make[2]: Leaving directory `/sources/TiMidity++-2.13.2/interface/pixmaps'
make[2]: Entering directory `/sources/TiMidity++-2.13.2/interface'
make[2]: Nothing to be done for `uninstall-am'.
make[2]: Leaving directory `/sources/TiMidity++-2.13.2/interface'
make[1]: Leaving directory `/sources/TiMidity++-2.13.2/interface'
Making uninstall in timidity
make[1]: Entering directory `/sources/TiMidity++-2.13.2/timidity'
 rm -f /usr/bin/timidity
make[1]: Leaving directory `/sources/TiMidity++-2.13.2/timidity'
Making uninstall in doc
make[1]: Entering directory `/sources/TiMidity++-2.13.2/doc'
Making uninstall in C
make[2]: Entering directory `/sources/TiMidity++-2.13.2/doc/C'
make[2]: Nothing to be done for `uninstall'.
make[2]: Leaving directory `/sources/TiMidity++-2.13.2/doc/C'
Making uninstall in ja_JP.eucJP
make[2]: Entering directory `/sources/TiMidity++-2.13.2/doc/ja_JP.eucJP'
make[2]: Nothing to be done for `uninstall'.
make[2]: Leaving directory `/sources/TiMidity++-2.13.2/doc/ja_JP.eucJP'
make[2]: Entering directory `/sources/TiMidity++-2.13.2/doc'
 rm -f /usr/man/man1/timidity.1
 rm -f /usr/man/man5/timidity.cfg.5
make[2]: Leaving directory `/sources/TiMidity++-2.13.2/doc'
make[1]: Leaving directory `/sources/TiMidity++-2.13.2/doc'
Making uninstall in script
make[1]: Entering directory `/sources/TiMidity++-2.13.2/script'
make[1]: Nothing to be done for `uninstall'.
make[1]: Leaving directory `/sources/TiMidity++-2.13.2/script'
Making uninstall in configs
make[1]: Entering directory `/sources/TiMidity++-2.13.2/configs'
make[1]: Nothing to be done for `uninstall'.
make[1]: Leaving directory `/sources/TiMidity++-2.13.2/configs'
make[1]: Entering directory `/sources/TiMidity++-2.13.2'
make[1]: Nothing to be done for `uninstall-am'.
make[1]: Leaving directory `/sources/TiMidity++-2.13.2'
satimis
 
Old 09-29-2005, 12:51 AM   #4
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
Did you create a configuration file??

Quote:
timidity: Can't read any configuration file.
Please check /usr/local/share/timidity/timidity.cfg
Check the install documentation. You may have to create a configuration file from scratch, they may provide a default one for you to copy & customize, or there may be a utility to generate one for you. It should tell you in the documentation somewhere.

Not all packages are compile-install-run

There are a number of programs that need some config created by the admin before they can work: samba and wine are two of the biggest. So it's not unusual for the admin to do some config-writing; in fact, it's arguably just as important to verify the config before running a command that relies on it.

EDIT: The reason it may have worked on FC3 was that the package was already installed and a configuration file provided for you.
 
Old 09-29-2005, 01:24 AM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi Dark_Helmet,

Quote:
Did you create a configuration file??
No. It is not required on the INSTALL instruction. The installating steps is straightforward as listed on my first posting.

Quote:
EDIT: The reason it may have worked on FC3 was that the package was already installed and a configuration file provided for you.
I installed it about 2/3 months ago, not default installation. I have notes taken down unfortunately I could not find it. IIRC it was not so simple and straightforward. I thought the new package has improvement.

BR
satimis
 
Old 09-29-2005, 01:42 AM   #6
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
I just headed over to freshmeat.net to download a copy of the latest source of TiMidity++ (version 2.13.2). This may not be the same version you have, but I figure it's pretty close. The INSTALL file gives the basic "./configure; make; make install" instructions at the beginning, but immediately after it, there is a "[m]ore complecated way" install section. The end of that section says "set up voice data". At the end of the file, they have this section:
Quote:
======================================================================
Search for voice data
======================================================================

TiMidity++ uses Either GUS/patch, or SoundFont(, or both) as the voice
data to play. You must get a SoundFont or GUS/patch files, and make
the configuration file. You must make the configuration file (*.cfg).
By default, timidity.cfg is /usr/local/share/timidity/timidity.cfg
(or
C:\WINDOWS\TIMIDITY.CFG on Windows). And please check the following
sites for many voice(patch) data:

* http://www.onicos.com/staff/iz/timidity/link.html#gus
* http://www.onicos.com/staff/iz/timidity/dist/cfg/ (Some sample *.cfg's)
* http://www.i.h.kyoto-u.ac.jp/~shom/timidity/ (10M and 4M patches)
* ftp://ftp.cdrom.com/pub/gus/sound/patches/files/ (GUS site)

If you got funny voice archive, extract it to appropriate directory
and configure *.cfg files with the name and path of these voice datas.
It was buried at the end, but I imagine the config file has been a requirement for a while. You might be able to use the FC3 config file as a guide, but it also sounds like you need to install other stuff, and the other stuff may influence how the config is written.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem installing x development package thearchitect Linux - Newbie 1 10-12-2005 03:32 AM
Problem installing this package James_dean Linux - Software 1 10-07-2005 03:08 PM
Package problem while installing RHEL 3 slashrsm Red Hat 2 04-21-2005 12:56 PM
Problem with installing package Pazabo Linux - Software 6 12-23-2004 07:17 AM
Problem installing PCMCIA package 3.1.25 RKris Linux - Hardware 1 06-16-2002 12:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 06:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration