Hi John, hi Shahrokh,

when I try to build from source on MacOS I have similar behavior. I do not 
think it is a bug.

In order to run psppire from my home directory I configure with the following 
command

../pspp/configure --prefix=/Users/fritz/pspp/install 

from the direcory /Users/fritz/pspp/build

with /Users/fritz/pspp/pspp as the source directory. Then I can run

make
make install

which will install psppire in /Users/fritz/pspp/install/ directory. I can then 
start psppire with 
/Users/fritz/pspp/install/bin/psppire and the gui opens.

Only when the prefix is set to this install directory, psppire will find the ui 
files there. If I move
the whole directory, then the ui files are not found. So if you just unpack a 
pspp installation to some
directory, then this will not work as the ui file search path is hardcoded in 
the build. Maybe you check
README.Git also.

Friedrich

> Am 21.07.2016 um 06:23 schrieb shahrokh nasseri <shahrokh.nass...@gmail.com>:
> 
> Hi Dear John
> I can solve my problem as following:
> [sn@localhost bin]$ ./psppire
> 
> ** (psppire:2840): CRITICAL **: Couldn't open user interface  file 
> /usr/share/pspp/data-editor.ui: Failed to open file 
> '/usr/share/pspp/data-editor.ui': No such file or directory
> 
> ** (psppire:2840): CRITICAL **: Object `uimanager1' could not be found
> 
> 
> (psppire:2840): Gtk-CRITICAL **: IA__gtk_ui_manager_get_widget: assertion 
> 'GTK_IS_UI_MANAGER (self)' failed
> Segmentation fault (core dumped)
> [sn@localhost bin]$
> 
> with the following link:
> [root@localhost bin]# ln -s /home/sn/pspp/usr/share/pspp /usr/share/
> [root@localhost bin]# exit
> exit
> [sn@localhost bin]$ ./psppire
> :)
> 
> At now, the window of PSPPIRE Data Editor is oppened. 
> Thanks a lot for your help.
> Shahrokh
> 
> On 19 July 2016 at 19:44, John Darrington <j...@darrington.wattle.id.au 
> <mailto:j...@darrington.wattle.id.au>> wrote:
> It looks like there is something bizarre with Fedora.
> 
> Does anyone else on this list use it, who could help Shahrokh?
> 
> J'
> 
> On Tue, Jul 19, 2016 at 03:26:25PM +0430, shahrokh nasseri wrote:
>      Hi Dear John
> 
>      Thanks a lot for your helps. Unfortunately, I do not ability to make pspp
>      from source files. At now, I want to try it with executable files.
>      Then, I try to run pspp using pspp-0.8.5-1.fc22.x86_64.rpm. After extract
>      it, and set PATH and LD_LIBRARY_PATH variables and install
>      libpqxx-devel.x86_64 and libpqxx-devel.x86_64, I can not to run graphical
>      user interface of pspp, psppire. I get the following error:
>      [sn@localhost ~]$ cd /home/sn/pspp/usr/bin
>      [sn@localhost bin]$ su
>      Password:
>      [root@localhost bin]# /usr/bin/dnf install libpqxx.x86_64
>      ...
>      Installed:
>        libpqxx.x86_64
>      1:4.0.1-2.fc22
>      postgresql-libs.x86_64
>      9.4.7-1.fc22
> 
>      Complete!
>      [root@localhost bin]# /usr/bin/dnf install libpqxx-devel.x86_64
>      ...
>      Installed:
>        libpqxx-devel.x86_64 1:4.0.1-2.fc22                  postgresql.x86_64
>      9.4.7-1.fc22                  postgresql-devel.x86_64
>      9.4.7-1.fc22
> 
>      Complete!
>      [root@localhost bin]# exit
>      [sn@localhost bin]$ export
>      LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/sn/pspp/usr/lib64/pspp
>      [sn@localhost bin]$ export
>      PATH=$PATH:/home/sn/pspp/usr/share:/home/sn/pspp/usr/share/pspp
>      [sn@localhost bin]$ ./psppire
> 
>      ** (psppire:31615): CRITICAL **: Couldn't open user interface  file
>      /usr/share/pspp/data-editor.ui: Failed to open file
>      '/usr/share/pspp/data-editor.ui': No such file or directory
> 
>      ** (psppire:31615): CRITICAL **: Object `uimanager1' could not be found
> 
> 
>      (psppire:31615): Gtk-CRITICAL **: IA__gtk_ui_manager_get_widget: 
> assertion
>      'GTK_IS_UI_MANAGER (self)' failed
>      Segmentation fault (core dumped)
>      [sn@localhost bin]$
> 
>      I noticed that the file of data-editor.ui is located in the path of
>      /home/sn/pspp/usr/share/pspp.
>      What can I do to solve this problem?
>      Thanks a lot for your helps.
>      Your sincerely.
>      Shahrokh
> 
> --
> Avoid eavesdropping.  Send strong encryted email.
> PGP Public key ID: 1024D/2DE827B3
> fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
> See http://sks-keyservers.net <http://sks-keyservers.net/> or any PGP 
> keyserver for public key.
> 
> 
> _______________________________________________
> Pspp-users mailing list
> Pspp-users@gnu.org
> https://lists.gnu.org/mailman/listinfo/pspp-users

_______________________________________________
Pspp-users mailing list
Pspp-users@gnu.org
https://lists.gnu.org/mailman/listinfo/pspp-users

Reply via email to