LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-23-2005, 08:44 AM   #1
bleedingturnips
Member
 
Registered: Sep 2003
Distribution: Slackware 10.2, Slackware-Current
Posts: 48

Rep: Reputation: 15
TiMidity++ Install Problem--Can't Find Configuration File


Hello everyone.

I'm running Slacware-10.2 (Current).

I just compiled TiMidity++ 2.13.0 from source. Everything seemed to go well.

But when I execute

timidity file.mid

I get the message

/usr/local/share/timidity/timidity.cfg: No such file or directory
timidity: Can't read any configuration file.

There's no directory "timidity" under /usr/local/share.

Thanks.
 
Old 12-23-2005, 08:54 AM   #2
darksmiley
Member
 
Registered: Jan 2004
Location: London, England
Distribution: Usually Linux Mint, Debian, Ubuntu or CentOS
Posts: 234

Rep: Reputation: 30
hmm interesting.

well, if it were me the first thing i would do is do a search for the timidity config file to see where it actually DID put it:

find / -name timidity.cfg


if that brings up nothing, then try and see where the program installed itself to after it was compiled and link it. So let's say it is in /usr/local/timidity as opposed to /usr/local/share/timidity , then you can just make a link from one to the other:

ln -s /usr/local/timidity /usr/local/share/timidity



let me know how you get on
 
Old 12-23-2005, 09:32 AM   #3
bleedingturnips
Member
 
Registered: Sep 2003
Distribution: Slackware 10.2, Slackware-Current
Posts: 48

Original Poster
Rep: Reputation: 15
Linking to the correct directory worked great. Thanks!
 
Old 12-28-2005, 09:02 AM   #4
darksmiley
Member
 
Registered: Jan 2004
Location: London, England
Distribution: Usually Linux Mint, Debian, Ubuntu or CentOS
Posts: 234

Rep: Reputation: 30
coolness - happy to help!
 
Old 04-04-2020, 02:43 PM   #5
gw1500se
Member
 
Registered: Mar 2004
Distribution: Mandriva 2010.0
Posts: 250

Rep: Reputation: 31
I know this is an old thread but I am having the same problem except I cannot find any timidity directories anywhere. All I can find is /usr/local/bin/timidity. Does not the 'make install' create the needed files and libraries somewhere?
 
Old 04-04-2020, 03:12 PM   #6
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
look in share directories for configs and such, you too can look in the Makefile, it might give you a clue.
 
Old 04-04-2020, 03:24 PM   #7
gw1500se
Member
 
Registered: Mar 2004
Distribution: Mandriva 2010.0
Posts: 250

Rep: Reputation: 31
I did. Unless it has some name other than /*timidity/* I find nothing. Not being a makefile expert it tells me nothing either that I can use as a clue.
 
Old 04-04-2020, 04:53 PM   #8
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
https://sourceforge.net/projects/timidity/files/
in the INSTALL file says.
Code:
** CONFIG_FILE

Edit CONFIG_FILE to your convenience.  By default,

#define CONFIG_FILE DEFAULT_PATH "/timidity.cfg"

are recommended.  DEFAULT_PATH is the same as TIMID_DIR in Makefile.

If you want to place it to another path, specify as the following:

#define CONFIG_FILE "/etc/timidity.cfg"

** DECOMPRESSOR_LIST
 
Old 04-04-2020, 05:23 PM   #9
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,219

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
Quote:
Originally Posted by gw1500se View Post
I know this is an old thread but
Stop trying to use TiMidity and use FluidSynth instead.
 
Old 04-05-2020, 08:59 AM   #10
gw1500se
Member
 
Registered: Mar 2004
Distribution: Mandriva 2010.0
Posts: 250

Rep: Reputation: 31
Quote:
Originally Posted by BW-userx View Post
This is exactly the problem. It is not there. When I launch timidity it wants the file in /usr/local/share/timidity. That is not there either.

Last edited by gw1500se; 04-05-2020 at 09:01 AM.
 
Old 04-05-2020, 09:33 AM   #11
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by gw1500se View Post
This is exactly the problem. It is not there. When I launch timidity it wants the file in /usr/local/share/timidity. That is not there either.
I gave you the instructions on how to place it into the where it is - this needs to be done at compile time. So that means you'll have to tell it during the compile time, then reinstall it. then check to see if that work. I did not write this program, I am only showing you what it says to do.

Configs too are at times placed in the /etc dir.

Last edited by BW-userx; 04-05-2020 at 09:34 AM.
 
Old 04-05-2020, 10:30 AM   #12
gw1500se
Member
 
Registered: Mar 2004
Distribution: Mandriva 2010.0
Posts: 250

Rep: Reputation: 31
I guess that is the root of the problem. Neither common.makefile, Makefile nor config.h has CONFIG_FILE defined anywhere. I don't know where it should be or where it should go if I add it. I wonder if I got a bad copy of the tar file (https://sourceforge.net/projects/timidity/). It does exist in INSTALL.ja but I don't see when/where that is ever executed.

Last edited by gw1500se; 04-05-2020 at 10:32 AM.
 
Old 04-05-2020, 12:31 PM   #13
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by gw1500se View Post
I guess that is the root of the problem. Neither common.makefile, Makefile nor config.h has CONFIG_FILE defined anywhere. I don't know where it should be or where it should go if I add it. I wonder if I got a bad copy of the tar file (https://sourceforge.net/projects/timidity/). It does exist in INSTALL.ja but I don't see when/where that is ever executed.
try reading the INSTALL file that is what it is there for.
in ../timidity/timidity.h

this is where you change the place where you want the conf to be put.

Code:
/* You could specify a complete path, e.g. "/etc/timidity.cfg", and
   then specify the library directory in the configuration file. */
/* #define CONFIG_FILE "/etc/timidity.cfg" */
#ifndef CONFIG_FILE
#  ifdef DEFAULT_PATH
#    define CONFIG_FILE DEFAULT_PATH "/timidity.cfg"
#  else
#    define CONFIG_FILE PKGDATADIR "/timidity.cfg"
#  endif /* DEFAULT_PATH */
#endif /* CONFIG_FILE */
 
Old 04-06-2020, 12:56 PM   #14
gw1500se
Member
 
Registered: Mar 2004
Distribution: Mandriva 2010.0
Posts: 250

Rep: Reputation: 31
I don't know how else to say this. That code DOES NOT EXIST in any files, including timidity.h. How do I change what is not there?
 
Old 04-06-2020, 04:31 PM   #15
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by gw1500se View Post
I don't know how else to say this. That code DOES NOT EXIST in any files, including timidity.h. How do I change what is not there?
that's funny, because I am using its code to find it. right off of here
https://sourceforge.net/projects/timidity/

have you any experience in searching for test in a file using a test editor, or grep even?

Code:
grep -rwn path/file -e search word/phrase/pattern

Last edited by BW-userx; 04-06-2020 at 04:40 PM.
 
  


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
timidity and sound card configuration paul62 Linux - Hardware 3 01-14-2006 10:14 AM
Problem on timidity++ satimis Linux - Software 0 07-06-2005 08:45 PM
Where to find the GRUB configuration script file? piggysmile Red Hat 2 10-09-2004 03:15 PM
where can i find the configuration file for display settings in Redhat 9.0 joeyBig Red Hat 2 09-21-2004 11:44 AM
Find File broken, need search utility, where does WineX install, KDE file roller? Ohmn Mandriva 6 07-05-2004 10:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:24 PM.

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