pspp-users
[Top][All Lists]
Advanced

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

Re: Please help to install PSPP in fedora 22


From: Friedrich Beckmann
Subject: Re: Please help to install PSPP in fedora 22
Date: Thu, 21 Jul 2016 07:57:02 +0200

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 <address@hidden>:

Hi Dear John
I can solve my problem as following:
address@hidden 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)
address@hidden bin]$

with the following link:
address@hidden bin]# ln -s /home/sn/pspp/usr/share/pspp /usr/share/
address@hidden bin]# exit
exit
address@hidden 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 <address@hidden> 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:
     address@hidden ~]$ cd /home/sn/pspp/usr/bin
     address@hidden bin]$ su
     Password:
     address@hidden 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!
     address@hidden 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!
     address@hidden bin]# exit
     address@hidden bin]$ export
     LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/sn/pspp/usr/lib64/pspp
     address@hidden bin]$ export
     PATH=$PATH:/home/sn/pspp/usr/share:/home/sn/pspp/usr/share/pspp
     address@hidden 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)
     address@hidden 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 or any PGP keyserver for public key.


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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]