Issues surrounding building GRAMPS 4.25 on CENTOS 7.3

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Issues surrounding building GRAMPS 4.25 on CENTOS 7.3

Peter Morgan
Dear All.

I run a small linux network. It was important in the past to be at the
bleeding edge of redhat to service a wider community. This became too
hard with too many cutting edge changes and so we went to the more
conservative CENTOS system. Basically I am an old fortran hack still
writing and maintaining the large libraries that we have generated.

One of my systems was left at Fedora 19 with a MATE desktop. It also ran
GRAMPS 4.05

This system started to show it age. It is now off line and I built a new
server with CENTOS 7.3. using the scientific flavour. The old system can
go back at at time but it may quickly go unreliable. Putting gramps on
this new machine is not simple.

There are many routines that I cannot find . I am capable of compiling
from source but that too is difficult as the name that we use and the
computer source and version are sometimes difficult to follow.

I would be grateful if some one could help with the attached list by
telling me where the source is and how to compile it. the database unit
is particularly clouded.

Thanks and Regards
Peter

--
***********************************************
*                                               *
* Peter and Carol Morgan                        *
* 20 Goodparla St                               *
* Hawker, ACT, 2614, Australia                  *
* Voice: (Landline) +61 (0)2 6254 0137          *
* Mobile: (Peter) +61 (0)4 1854 0137            *
* Email:[hidden email]            *
*                                               *
* Regards                                       *
*************************************************


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org

README.NOTES (7K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Issues surrounding building GRAMPS 4.25 on CENTOS 7.3

enno
Hello Peter,

> I run a small linux network. It was important in the past to be at the
> bleeding edge of redhat to service a wider community. This became too
> hard with too many cutting edge changes and so we went to the more
> conservative CENTOS system. Basically I am an old fortran hack still
> writing and maintaining the large libraries that we have generated.
>
> One of my systems was left at Fedora 19 with a MATE desktop. It also
> ran GRAMPS 4.05
>
> This system started to show it age. It is now off line and I built a
> new server with CENTOS 7.3. using the scientific flavour. The old
> system can go back at at time but it may quickly go unreliable.
> Putting gramps on this new machine is not simple.
I have no experience with centos, but in my life, I have always used an
operating system that fits with the applications that I like to run, and
not the other way around. That means that I use Linux Mint for Gramps,
Windows 10 for Flight Simulator, and some older Windows version at work.

I understand your wish to run a stable system, and I deliberately stick
to an older version of Mint here. Can't you do the same, and run a
server version of a more compatible Linux like debian or ubuntu?

regards,

Enno


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Issues surrounding building GRAMPS 4.25 on CENTOS 7.3

jerome
In reply to this post by Peter Morgan
Hello Peter.

Maybe the best could be to call Eric[1]?


[1] https://rpms.doutreleau.fr/

--------------------------------------------
En date de : Mer 1.2.17, Enno Borgsteede <[hidden email]> a écrit :

 Objet: Re: [Gramps-users] Issues surrounding building GRAMPS 4.25 on CENTOS 7.3
 À: [hidden email]
 Date: Mercredi 1 février 2017, 22h13
 
 Hello Peter,
 
 > I run a small linux
 network. It was important in the past to be at the
 > bleeding edge of redhat to service a wider
 community. This became too
 > hard with
 too many cutting edge changes and so we went to the more
 > conservative CENTOS system. Basically I am
 an old fortran hack still
 > writing and
 maintaining the large libraries that we have generated.
 >
 > One of my systems was
 left at Fedora 19 with a MATE desktop. It also
 > ran GRAMPS 4.05
 >
 > This system started to show it age. It is
 now off line and I built a
 > new server
 with CENTOS 7.3. using the scientific flavour. The old
 > system can go back at at time but it may
 quickly go unreliable.
 > Putting gramps
 on this new machine is not simple.
 I have no
 experience with centos, but in my life, I have always used
 an
 operating system that fits with the
 applications that I like to run, and
 not
 the other way around. That means that I use Linux Mint for
 Gramps,
 Windows 10 for Flight Simulator,
 and some older Windows version at work.
 
 I understand your wish to run a stable system,
 and I deliberately stick
 to an older
 version of Mint here. Can't you do the same, and run a
 
 server version of a more compatible Linux
 like debian or ubuntu?
 
 regards,
 
 Enno
 
 
 ------------------------------------------------------------------------------
 Check out the vibrant tech community on one of
 the world's most
 engaging tech sites,
 SlashDot.org! http://sdm.link/slashdot
 _______________________________________________
 Gramps-users mailing list
 [hidden email]
 https://lists.sourceforge.net/lists/listinfo/gramps-users
 https://gramps-project.org
 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Issues surrounding building GRAMPS 4.25 on CENTOS 7.3

Peter Morgan
Dear Enno and others

Thanks for being interested in my GRAMPS problem.

I had to park the problem due to other pressures.

I have installed python3 and my CENTOS system knows about it.

I used the EPEL repository

yum install python34

I broke the link in /usr/local bin that pointed to the 2.7 version and
made the link point to python 3.4

I have done all the berkley data base stuff. but it too seems that I
have the pointing wrong. I also need to fix

the pyicu thing.


If anything jumps at you I would value your comments.

ths Peter

======================================================================

[peterm@rozella gramps-4.2.5]$ ls
AUTHORS    FAQ         LICENSE      README         RELEASE_NOTES
build/   docs/     help/    po/       test/
COPYING    Gramps.py*  MANIFEST.in  README.NOTES   TODO data/    
example/  images/  scripts/  windows/
ChangeLog  INSTALL     NEWS         README.NOTES~  TestPlan.txt debian/  
gramps/   mac/     setup.py
[peterm@rozella gramps-4.2.5]$
[peterm@rozella gramps-4.2.5]$
[peterm@rozella gramps-4.2.5]$ python setup.py install
running install
error: [Errno 13] Permission denied: 'gramps/gen/utils/resource-path'
[peterm@rozella gramps-4.2.5]$ su -m
Password:
-e [peterm@rozella gramps-4.2.5]# python setup.py install
running install
running build
running build_py
copying gramps/gen/utils/resource-path -> build/lib/gramps/gen/utils
running build_scripts
running install_lib
copying build/lib/gramps/gen/utils/resource-path ->
/usr/lib/python3.4/site-packages/gramps/gen/utils
running install_scripts
changing mode of /usr/bin/gramps to 775
running install_data
copying data/tips.xml -> /usr/share/gramps
running install_egg_info
Removing /usr/lib/python3.4/site-packages/gramps-4.2.5-py3.4.egg-info
Writing /usr/lib/python3.4/site-packages/gramps-4.2.5-py3.4.egg-info
[peterm@rozella gramps-4.2.5]# which gramps
/usr/bin/gramps
[peterm@rozella gramps-4.2.5]# gramps
.gramps.gen.utils.grampslocale.WARNING: ICU not loaded because No module
named 'PyICU'. Localization will be impaired. Use your package manager
to install PyICU
2017-02-11 22:13:18.858: WARNING: grampsapp.py: line 172:
You don't have the python3 bsddb3 package installed. This package is
needed to start Gramps.

Gramps will terminate now.
[peterm@rozella gramps-4.2.5]#



--
***********************************************
*                                               *
* Peter and Carol Morgan                        *
* 20 Goodparla St                               *
* Hawker, ACT, 2614, Australia                  *
* Voice: (Landline) +61 (0)2 6254 0137          *
* Mobile: (Peter) +61 (0)4 1854 0137            *
* Email:[hidden email]            *
*                                               *
* Regards                                       *
*************************************************


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Issues surrounding building GRAMPS 4.25 on CENTOS 7.3

enno
Hi Peter,

> I have installed python3 and my CENTOS system knows about it.
>
> I used the EPEL repository
>
> yum install python34
>
> I broke the link in /usr/local bin that pointed to the 2.7 version and
> made the link point to python 3.4
H'm, that shouldn't be necessary, and it may have nasty consequences for
packages that rely on python and python2 being 2.7. All you have to do
is use python3 setup.py build, and python3 Gramps.py to build and run
Gramps 4.2. I do that too, on my Mint.

> I have done all the berkley data base stuff. but it too seems that I
> have the pointing wrong. I also need to fix the pyicu thing.
The latter yes, but you don't need to touch the pointing for BSDDB. I
get back to that further down.
>
> [peterm@rozella gramps-4.2.5]# python setup.py install
This should work with python3, so that you can leave the python link alone.

> [peterm@rozella gramps-4.2.5]# gramps
> .gramps.gen.utils.grampslocale.WARNING: ICU not loaded because No
> module named 'PyICU'. Localization will be impaired. Use your package
> manager to install PyICU
I don't really know the consequences if you don't, but I assume that you
can find it anyway.

> 2017-02-11 22:13:18.858: WARNING: grampsapp.py: line 172:
> You don't have the python3 bsddb3 package installed. This package is
> needed to start Gramps.
On my systems, the Synaptic package manager shows python-bsddb3 and
python3-bsddb3, and the latter is the one you need.

IMO, it is safer to test with "python3 Gramps.py" before you install.
With that you prevent problems elsewhere when something goes wrong.

Regards,

Enno


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Loading...