Re: silly problems with program directory



Yiannis wrote:
Hi,

I am having a slight problem with the program directory. What I mean is that
when I run a program from the directory that all the files are lying it is
fine.... but if I create a symbolic link and I run it from another directory
then the program directory is the current one of the symbolic link which
means that none of my configuration and glade xml files are found.... Is
there any easy solution to that?

Do you use the GNU autotools? If so, you should include the config.h and use the paths that are defined in it.

http://sources.redhat.com/autobook/autobook/autobook.html

--
Sander Marechal
http://www.gnome-hearts.org/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]