testing the package for stabalisation. It emerges fine. On invoking the package, runtime settings are lacking Reproducible: Always Steps to Reproduce: 1. emerge package 2. 3. Actual Results: testuser@archtester ~ $ which ccp4i which: no ccp4i in (/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.5:/usr/games/bin) testuser@archtester ~ $ qlist ccp4i | grep /bin reveals /usr/lib64/ccp4/ccp4i/bin/ccp4i testuser@archtester ~ $ /usr/lib64/ccp4/ccp4i/bin/ccp4i /usr/lib64/ccp4/ccp4i/bin/ccp4i: line 4: /bltwish: No such file or directory /usr/lib64/ccp4/ccp4i/bin/ccp4i: line 4: exec: /bltwish: cannot execute: No such file or directory indicates it is seeking the file bltwish in the root directory. Making a symlink to / allows it to be found. testuser@archtester ~ $ sudo ln -s /usr/bin/bltwish / testuser@archtester ~ $ ccp4i bash: /usr/bin/ccp4i: No such file or directory testuser@archtester ~ $ sudo ln -s /usr/lib64/ccp4/ccp4i/bin/ccp4i /usr/bin/ testuser@archtester ~ $ ccp4i Error in startup script: no such variable (read trace on "env(CCP4I_TOP)") invoked from within "file join $env(CCP4I_TOP) bin ccp4i.tcl" invoked from within "source [file join $env(CCP4I_TOP) bin ccp4i.tcl]" (file "/usr/bin/ccp4i" line 5) Needs a review of the install phase; locations, symlinks. Needs env variables to be prepared.
you need to source /etc/profile to make it work. please test whther this helps.
roger that jlec. just a couple or permission issue to tie up. The app does come up. On invoking as user; You do not have write permissions to this directory. file && dir = /usr/lib64/ccp4i/etc/unix/configure.def testuser@archtester ~ $ sudo ccp4i Password: No protocol specified Application initialization failed: couldn't connect to display ":0" Error in startup script: no such variable (read trace on "env(CCP4I_TOP)") invoked from within "file join $env(CCP4I_TOP) bin ccp4i.tcl" invoked from within "source [file join $env(CCP4I_TOP) bin ccp4i.tcl]" (file "/usr/bin/ccp4i" line 5) So it appears it ought to be run as user, but config need be written to root owned dir. I would guess the source /etc/profile also need be written into the ebuild. Your department.
okay I found a simple hack around. And added a postinst msg. Please sync later and test again.
roger jlec
Nad please reopen if it works.
(In reply to comment #5) > Nad please reopen if it works. eeeh jlec, do you have your wires crossed? You marked it resolved anticipating it will work. To me anyway it follows that if it works, to leave it marked resolved, which is closed. That aside, your little hack worked like a charm. All is good now
(In reply to comment #6) > (In reply to comment #5) > > Nad please reopen if it works. > > eeeh jlec, do you have your wires crossed? I am mixing the bugz. sorry
no prob. all is good