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.
I am trying to install CdCat from the source (the repository version is too old). The instructions include the line:
Quote:
- add libtar_listhash.h to include path
I understand this is a requirement to include a header in some file (or I might be wrong) but I have no idea which file I should edit. I know it is required as the make instruction throws up an error because it does not know where to look.
Can some kind soul point me in the right direction please?
Thanks pan64
I am afraid this is too hard for me alone. I found the makefile and the place to insert the include path however I cannot find the path the makefile requires. Libtar is installed but when I enter 'whereis libtar' I get no hits. If I open a directory of the root and search I find libtar files at /usr/lib/x86_64-linux-gnu/gnome-vfs-2.0/modules but when I put this path into the makefile the make fails at this include.
If there is no simple solution I will write to the author (but don't expect a response). Perhaps I should just cut my losses.
Thanks for your thoughts, Peter
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150
Rep:
a number of cistros like debian split off the development files from the run time files so you may have to install those as well probably so thing on the lines of libtar-dev, debian uses a -dev suffix for the dev files yum i think uses -devel, check your package manager
I am trying to install CdCat from the source (the repository version is too old). The instructions include the line:
I understand this is a requirement to include a header in some file (or I might be wrong) but I have no idea which file I should edit. I know it is required as the make instruction throws up an error because it does not know where to look.
Can some kind soul point me in the right direction please?
Thanks, Peter
like @pan64 said, if it is a fully qualified header file, put it in your base dir or sub dir, then in your main file or which ever c file you use just type this in the declarations area.
Code:
#include "libtar_listhash.h"
the quotes tell the compiler to look in the local dir your compiling out of for that header.
but you'd still need the object files or c file with the code to actually run the functions you are calling.
someone correct me if i am wrong on that last part.
note 2:
if it is not C then C++ and most others are pretty much the same?
Thanks to all who have made suggestions. Unfortunately the compile is too difficult for me.
I have solved my problem by using the windows version and running it under wine. It appears to be OK but I feel that is an inferior solution.
Thanks again, Peter
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.