qtoctave is compiled by ebuild with /opt/qtoctave-0.8.2/ path because qtoctave-0.9.1/work/qtoctave-0.9.1/qtoctave/src/configure.h is generated with this path. The qtoctave-0.9.1/work/qtoctave-0.9.1_build/qtoctave/src/configure.h is correct but apparently is not used for building. If qtocatve compiled manually (stopping the emerge process before configuration) in source directory rather than in build, then the path is correct. I suppose the sources of qtoctave should be fixed. But I was not able to figure how to fix it. Reproducible: Always Steps to Reproduce: 1. Compile and start Actual Results: qtoctave complains about non-existing path when started. No icons are visible. The initialization of failed with: >>>warning: mark_as_command is obsolete and will be removed from a future versi on of Octave warning: addpath: /opt/qtoctave-0.8.2/share/qtoctave/scripts_octave/: No such f ile or directory >>>error: `_ide_reload_variables_list' undefined near line 4 column 1 Here is the console log: $ qtoctave /opt/qtoctave-0.8.2/share/qtoctave/config.rc no encontrado [main()] Error loading the QT Translation file for locale 'C'. [main()] Error loading the translation file for locale 'C'. Not found in /opt/qtoctave-0.8.2/share/qtoctave/lang [Main::Main] Building commands list. warning: mark_as_command is obsolete and will be removed from a future version of Octave [Main::Main] Commands list builded. [OctaveConnection::startOctave] Octave path: octave [OctaveConnection::startOctave] Octave version: 3.2.4 (3.2.4) [OctaveConnection::startOctave] Starting octave: "octave" --eval "PS1('octave:\#>');PS2('octave:\#+>');addpath('/opt/qtoctave-0.8.2/share/qtoctave/scripts_octave/')" --persist --no-history -i [OctaveConnection::startOctave] Octave running [Navigator::createLayout] Building listview /opt/qtoctave-0.8.2/share/qtoctave/config.rc no encontrado [GenerateMenu::load_menu] Error: /opt/qtoctave-0.8.2/share/qtoctave/menus not found [GenerateMenu::load_menu] Error: /home/ag/.qtoctave/menus not found [PkgBind::loadCommandList] '/opt/qtoctave-0.8.2/share/qtoctave/pkg-commands.list' can not be loaded
Created attachment 236675 [details] fixed qtoctave ebuild All you need to do is uncomment CMAKE_IN_SOURCE_BUILD=1 and it should work fine. I attached an ebuild in case that will help. Tested it on x86. Hope this helps.
+*qtoctave-0.9.1-r1 (28 Jun 2010) + + 28 Jun 2010; Justin Lecher <jlec@gentoo.org> -qtoctave-0.9.1.ebuild, + +qtoctave-0.9.1-r1.ebuild: + Wrong default path during compilation, thanks Alexander Goomenyuk for + reporting + I trust you, please report if it does't work.