Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40258 - xfractint does not start
Summary: xfractint does not start
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-03 03:40 UTC by Ole Tange
Modified: 2004-02-06 14:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ole Tange 2004-02-03 03:40:25 UTC
When I start fractint it exits with an error that quickly disappears. The error is:

Couldn't find fractint.hlp; set FRACTDIR to proper directory with setenv



Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. emerge xfractint
3. xfractint


Expected Results:  
The program should use /usr/share/xfractint/ as default for FRACTDIR. 
 
If I cd to /usr/share/xfractint/ starting fractint works.
Comment 1 Michal Januszewski (RETIRED) gentoo-dev 2004-02-03 09:27:11 UTC
xfractint installs a file with FRACTDIR setting in /etc/env.d/60xfractint. Do you have this file?
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2004-02-04 14:26:34 UTC
OK, I'm closing this as I've checked everything and I really don't see a way one could end up with no 60xfractint in /etc/env.d/. If somehow the ebuild still doesn't work for you as it's supposed to, please feel free to reopen this bug.
Comment 3 Ole Tange 2004-02-06 01:07:56 UTC
The problem is that the env is not activated immediately:

as root:

# emerge xfractint

And immediately after this do as user:

$ xfractint

After reboot (maybe even just after logout) the env is activated and xfractint starts. I am not sure how to solve this correctly (as I find the /etc/env.d idea good).
Comment 4 Michal Januszewski (RETIRED) gentoo-dev 2004-02-06 14:58:47 UTC
Well, that's the way our env-system works. Things get added to /etc/env.d/ and based on them /etc/profile.env is (re-)constructed. And profile.env is loaded upon login. I've added a warning about this to the xfractint ebuilds. I think it's all we can do here. I know, it's not my idea of a perfect solution either, but it's better than nothing :)