Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Usually Linux Mint, Debian, Ubuntu or CentOS
Posts: 234
Rep:
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
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?
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.
** 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
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.
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.
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 */
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.