Re: [GNC-dev] GnuCash 3.4: Building on ubuntu 18.04
> On Dec 31, 2018, at 3:15 PM, Antonios Hadjigeorgalis > wrote: > > I'm seeing two issues when building gnucash on ubuntu 18.04 > > issue #1: > > build completes successfully using cmake and make with cmake command > line: > > cmake -DWITH_PYTHON=ON -DCMAKE_INSTALL_PREFIX=/opt/gnucash34 > -DCMAKE_BUILD_TYPE=RelWithDebInfo .. > > But then, the executable fails to find library modules is > /opt/gnucash34/lib after make install. Also, the same error occurs if > trying to start from the build directory. I see lines in the trace > file saying (there are about 20 lines with various module names in > place of ... > * 14:56:29 WARN Could not locate module gnucash/ ... v.0 > * 14:56:29 MESSG Could not locate module gnucash/ ... v.0 > and a final line saying > > * 14:56:29 WARN GnuCash engine failed to initialize. > Exiting. > > If I remove the -DCMAKE_INSTALL_PREFIX=/opt/gnucash34 then the build > starts and works from the build directory. > > issue#2 > > Running tests, one test fails: 28 - test-userdata-dir-invalid-home > (Failed). This happens regardless of successful > Running that test individually shows error messages such as: > (Error: /home/antonios/.config/gnucash is a descendant of a > non-existing home directory. As GnuCash will never create a home > directory this path can't be used: Permission denied: > "/home/antonios/.config/gnucash") Cmake mangles some paths when CMAKE_INSTALL_PREFIX is rooted in either /usr or /opt, and defaults to /usr/local. The simplest work-around is to set it to something in $HOME. A little more complicated approach (one that I sometimes take) is to create a top-level directory and chown it to your userid and use a subdirectory under that for CMAKE_INSTALL_PREFIX. Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
[GNC-dev] GnuCash 3.4: Building on ubuntu 18.04
I'm seeing two issues when building gnucash on ubuntu 18.04 issue #1: build completes successfully using cmake and make with cmake command line: cmake -DWITH_PYTHON=ON -DCMAKE_INSTALL_PREFIX=/opt/gnucash34 -DCMAKE_BUILD_TYPE=RelWithDebInfo .. But then, the executable fails to find library modules is /opt/gnucash34/lib after make install. Also, the same error occurs if trying to start from the build directory. I see lines in the trace file saying (there are about 20 lines with various module names in place of ... * 14:56:29 WARN Could not locate module gnucash/ ... v.0 * 14:56:29 MESSG Could not locate module gnucash/ ... v.0 and a final line saying * 14:56:29 WARN GnuCash engine failed to initialize. Exiting. If I remove the -DCMAKE_INSTALL_PREFIX=/opt/gnucash34 then the build starts and works from the build directory. issue#2 Running tests, one test fails: 28 - test-userdata-dir-invalid-home (Failed). This happens regardless of successful Running that test individually shows error messages such as: (Error: /home/antonios/.config/gnucash is a descendant of a non-existing home directory. As GnuCash will never create a home directory this path can't be used: Permission denied: "/home/antonios/.config/gnucash") Antonios Hadjigeorgalis signature.asc Description: OpenPGP digital signature ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: [GNC-dev] Launchpad
Single board computers such as the various Pi boards will benefit from armhf if not arm64, not sure any machines out there in userland would need the ppc64el port. (a little-endian build for Power based chips) arm64 is the ‘default’ but most of the Pi boards, including the RaspberryPi3 use armhf, which stands for ‘hard float’. Raspian was a hack to work around the lack of floating point support of the early RaspberryPi boards, but now it can run straight debian using the armhf port. I can’t seem to find anything definitive concerning differences between arm64 and armhf and what machines might use arm64 in the wild. Also, some newer Chromebooks are shipping with ARM chips instead of Intel. Regards, Adrien > On Dec 31, 2018, at 2:16 PM, Stephen M. Butler wrote: > > On 12/31/18 11:52 AM, Adrien Monteleone wrote: >> Stephen, >> >> I could be mistaken, but doesn’t Launchpad have automated build facilities >> to target different releases? That might ease providing packages for the LTS >> versions and the current regular version even if you aren’t running them >> yourself. That won’t help derivative distros but as people discover which >> one works best, that info can be passed on for those users. >> >> Regards, >> Adrien > > > If I am reading their documentation correctly, you can pick several > environments to which they will build deb files. > > I believe these architectures were supported: > > X86, AMD64, arm64, armhf, ppc64el > > > In addition, you could pick several release environments including: > > Ubuntu: Cosmic, Bionic, Xenial, Trusty > > Debian: Stretch, Jessie, Wheezy, SID > > > It sounded like all that had to happen is to push a tarball up with the > ./Debian folder already populated and their system would build to all > those environments automatically. > > --Steve > > PS I'm not sure what arm64, armhf, and ppc64el would do for GnC! > >> >>> On Dec 31, 2018, at 11:55 AM, Stephen M. Butler wrote: >>> >>> On 12/31/18 9:47 AM, Colin Law wrote: I don't think the guys/gals that maintain the official Debian and Ubuntu packages are on this list, though I may be wrong. Colin >>> >>> >>> Perhaps the question then becomes: Is the team willing to support an >>> unofficial PPA for the latest version of GnC? >>> >>> If so, I'll do more research. If not, I'll stop. >>> On Mon, 31 Dec 2018 at 17:44, Stephen M. Butler wrote: > Dev Team, > > So far, three folks have either used or inquired about using the debian > package for 3.4. Marketing theory (no, I'm a software engineer by > avocation) says that there are several more that would take advantage if > it were more "supported". > > Here are my thoughts: > > 1. Both Ubuntu (Launchpad) and Debian request certain files in a > ~/debian folder. Most of these appear to be copies of files the > application already has. Perhaps a softlink could be put in the > debian folder that points to the original so that changes in the > original automatically show up in the folder. Does this work via git? > 2. I'm willing to coordinate the effort to build that folder (I presume > on the Master branch) but will need volunteers from more technical > folks from time-to-time to handle some of the techy stuff. I know > the devs are busy squashing bugs so this would have to take a back > seat to that. > 3. Building this folder might even be beneficial to the official > packagers for the various distros. > 4. One team for whom I did light testing, published a daily build (no > longer daily as the software matured) for the adventurous. > > > https://launchpad.net/~subsurface/+archive/ubuntu/subsurface-daily > > I would be willing to push the files up to Launchpad if the team sees > value in perusing this. However, I don't want to step on anybodies toes > if this would get in the way of the official release process for the > various distros. And, if this got to the point of highly automated, > perhaps the dev team would prefer to do the push themselves. > > --Steve > ___ > gnucash-devel mailing list > gnucash-devel@gnucash.org > https://lists.gnucash.org/mailman/listinfo/gnucash-devel ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: [GNC-dev] Launchpad
On 12/31/18 11:52 AM, Adrien Monteleone wrote: > Stephen, > > I could be mistaken, but doesn’t Launchpad have automated build facilities to > target different releases? That might ease providing packages for the LTS > versions and the current regular version even if you aren’t running them > yourself. That won’t help derivative distros but as people discover which one > works best, that info can be passed on for those users. > > Regards, > Adrien If I am reading their documentation correctly, you can pick several environments to which they will build deb files. I believe these architectures were supported: X86, AMD64, arm64, armhf, ppc64el In addition, you could pick several release environments including: Ubuntu: Cosmic, Bionic, Xenial, Trusty Debian: Stretch, Jessie, Wheezy, SID It sounded like all that had to happen is to push a tarball up with the ./Debian folder already populated and their system would build to all those environments automatically. --Steve PS I'm not sure what arm64, armhf, and ppc64el would do for GnC! > >> On Dec 31, 2018, at 11:55 AM, Stephen M. Butler wrote: >> >> On 12/31/18 9:47 AM, Colin Law wrote: >>> I don't think the guys/gals that maintain the official Debian and >>> Ubuntu packages are on this list, though I may be wrong. >>> >>> Colin >> >> >> Perhaps the question then becomes: Is the team willing to support an >> unofficial PPA for the latest version of GnC? >> >> If so, I'll do more research. If not, I'll stop. >> >>> On Mon, 31 Dec 2018 at 17:44, Stephen M. Butler wrote: Dev Team, So far, three folks have either used or inquired about using the debian package for 3.4. Marketing theory (no, I'm a software engineer by avocation) says that there are several more that would take advantage if it were more "supported". Here are my thoughts: 1. Both Ubuntu (Launchpad) and Debian request certain files in a ~/debian folder. Most of these appear to be copies of files the application already has. Perhaps a softlink could be put in the debian folder that points to the original so that changes in the original automatically show up in the folder. Does this work via git? 2. I'm willing to coordinate the effort to build that folder (I presume on the Master branch) but will need volunteers from more technical folks from time-to-time to handle some of the techy stuff. I know the devs are busy squashing bugs so this would have to take a back seat to that. 3. Building this folder might even be beneficial to the official packagers for the various distros. 4. One team for whom I did light testing, published a daily build (no longer daily as the software matured) for the adventurous. https://launchpad.net/~subsurface/+archive/ubuntu/subsurface-daily I would be willing to push the files up to Launchpad if the team sees value in perusing this. However, I don't want to step on anybodies toes if this would get in the way of the official release process for the various distros. And, if this got to the point of highly automated, perhaps the dev team would prefer to do the push themselves. --Steve pEpkey.asc Description: application/pgp-keys ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: [GNC-dev] Launchpad
Stephen, I could be mistaken, but doesn’t Launchpad have automated build facilities to target different releases? That might ease providing packages for the LTS versions and the current regular version even if you aren’t running them yourself. That won’t help derivative distros but as people discover which one works best, that info can be passed on for those users. Regards, Adrien > On Dec 31, 2018, at 11:55 AM, Stephen M. Butler wrote: > > On 12/31/18 9:47 AM, Colin Law wrote: >> I don't think the guys/gals that maintain the official Debian and >> Ubuntu packages are on this list, though I may be wrong. >> >> Colin > > > > Perhaps the question then becomes: Is the team willing to support an > unofficial PPA for the latest version of GnC? > > If so, I'll do more research. If not, I'll stop. > >> On Mon, 31 Dec 2018 at 17:44, Stephen M. Butler wrote: >>> Dev Team, >>> >>> So far, three folks have either used or inquired about using the debian >>> package for 3.4. Marketing theory (no, I'm a software engineer by >>> avocation) says that there are several more that would take advantage if >>> it were more "supported". >>> >>> Here are my thoughts: >>> >>> 1. Both Ubuntu (Launchpad) and Debian request certain files in a >>>~/debian folder. Most of these appear to be copies of files the >>>application already has. Perhaps a softlink could be put in the >>>debian folder that points to the original so that changes in the >>>original automatically show up in the folder. Does this work via git? >>> 2. I'm willing to coordinate the effort to build that folder (I presume >>>on the Master branch) but will need volunteers from more technical >>>folks from time-to-time to handle some of the techy stuff. I know >>>the devs are busy squashing bugs so this would have to take a back >>>seat to that. >>> 3. Building this folder might even be beneficial to the official >>>packagers for the various distros. >>> 4. One team for whom I did light testing, published a daily build (no >>>longer daily as the software matured) for the adventurous. >>> >>> >>> https://launchpad.net/~subsurface/+archive/ubuntu/subsurface-daily >>> >>> I would be willing to push the files up to Launchpad if the team sees >>> value in perusing this. However, I don't want to step on anybodies toes >>> if this would get in the way of the official release process for the >>> various distros. And, if this got to the point of highly automated, >>> perhaps the dev team would prefer to do the push themselves. >>> >>> --Steve >>> >>> -- >>> Stephen M Butler, PMP, PSM >>> stephen.m.butle...@gmail.com >>> kg...@arrl.net >>> 253-350-0166 >>> --- >>> GnuPG Fingerprint: 8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8 >>> >>> ___ >>> gnucash-devel mailing list >>> gnucash-devel@gnucash.org >>> https://lists.gnucash.org/mailman/listinfo/gnucash-devel > > > -- > Stephen M Butler, PMP, PSM > stephen.m.butle...@gmail.com > kg...@arrl.net > 253-350-0166 > --- > GnuPG Fingerprint: 8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8 > > ___ > gnucash-devel mailing list > gnucash-devel@gnucash.org > https://lists.gnucash.org/mailman/listinfo/gnucash-devel ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: [GNC-dev] Launchpad
On 12/31/18 9:47 AM, Colin Law wrote: > I don't think the guys/gals that maintain the official Debian and > Ubuntu packages are on this list, though I may be wrong. > > Colin Perhaps the question then becomes: Is the team willing to support an unofficial PPA for the latest version of GnC? If so, I'll do more research. If not, I'll stop. > On Mon, 31 Dec 2018 at 17:44, Stephen M. Butler wrote: >> Dev Team, >> >> So far, three folks have either used or inquired about using the debian >> package for 3.4. Marketing theory (no, I'm a software engineer by >> avocation) says that there are several more that would take advantage if >> it were more "supported". >> >> Here are my thoughts: >> >> 1. Both Ubuntu (Launchpad) and Debian request certain files in a >> ~/debian folder. Most of these appear to be copies of files the >> application already has. Perhaps a softlink could be put in the >> debian folder that points to the original so that changes in the >> original automatically show up in the folder. Does this work via git? >> 2. I'm willing to coordinate the effort to build that folder (I presume >> on the Master branch) but will need volunteers from more technical >> folks from time-to-time to handle some of the techy stuff. I know >> the devs are busy squashing bugs so this would have to take a back >> seat to that. >> 3. Building this folder might even be beneficial to the official >> packagers for the various distros. >> 4. One team for whom I did light testing, published a daily build (no >> longer daily as the software matured) for the adventurous. >> >> >> https://launchpad.net/~subsurface/+archive/ubuntu/subsurface-daily >> >> I would be willing to push the files up to Launchpad if the team sees >> value in perusing this. However, I don't want to step on anybodies toes >> if this would get in the way of the official release process for the >> various distros. And, if this got to the point of highly automated, >> perhaps the dev team would prefer to do the push themselves. >> >> --Steve >> >> -- >> Stephen M Butler, PMP, PSM >> stephen.m.butle...@gmail.com >> kg...@arrl.net >> 253-350-0166 >> --- >> GnuPG Fingerprint: 8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8 >> >> ___ >> gnucash-devel mailing list >> gnucash-devel@gnucash.org >> https://lists.gnucash.org/mailman/listinfo/gnucash-devel -- Stephen M Butler, PMP, PSM stephen.m.butle...@gmail.com kg...@arrl.net 253-350-0166 --- GnuPG Fingerprint: 8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8 pEpkey.asc Description: application/pgp-keys ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: [GNC-dev] Launchpad
I don't think the guys/gals that maintain the official Debian and Ubuntu packages are on this list, though I may be wrong. Colin On Mon, 31 Dec 2018 at 17:44, Stephen M. Butler wrote: > > Dev Team, > > So far, three folks have either used or inquired about using the debian > package for 3.4. Marketing theory (no, I'm a software engineer by > avocation) says that there are several more that would take advantage if > it were more "supported". > > Here are my thoughts: > > 1. Both Ubuntu (Launchpad) and Debian request certain files in a > ~/debian folder. Most of these appear to be copies of files the > application already has. Perhaps a softlink could be put in the > debian folder that points to the original so that changes in the > original automatically show up in the folder. Does this work via git? > 2. I'm willing to coordinate the effort to build that folder (I presume > on the Master branch) but will need volunteers from more technical > folks from time-to-time to handle some of the techy stuff. I know > the devs are busy squashing bugs so this would have to take a back > seat to that. > 3. Building this folder might even be beneficial to the official > packagers for the various distros. > 4. One team for whom I did light testing, published a daily build (no > longer daily as the software matured) for the adventurous. > > > https://launchpad.net/~subsurface/+archive/ubuntu/subsurface-daily > > I would be willing to push the files up to Launchpad if the team sees > value in perusing this. However, I don't want to step on anybodies toes > if this would get in the way of the official release process for the > various distros. And, if this got to the point of highly automated, > perhaps the dev team would prefer to do the push themselves. > > --Steve > > -- > Stephen M Butler, PMP, PSM > stephen.m.butle...@gmail.com > kg...@arrl.net > 253-350-0166 > --- > GnuPG Fingerprint: 8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8 > > ___ > gnucash-devel mailing list > gnucash-devel@gnucash.org > https://lists.gnucash.org/mailman/listinfo/gnucash-devel ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
[GNC-dev] Launchpad
Dev Team, So far, three folks have either used or inquired about using the debian package for 3.4. Marketing theory (no, I'm a software engineer by avocation) says that there are several more that would take advantage if it were more "supported". Here are my thoughts: 1. Both Ubuntu (Launchpad) and Debian request certain files in a ~/debian folder. Most of these appear to be copies of files the application already has. Perhaps a softlink could be put in the debian folder that points to the original so that changes in the original automatically show up in the folder. Does this work via git? 2. I'm willing to coordinate the effort to build that folder (I presume on the Master branch) but will need volunteers from more technical folks from time-to-time to handle some of the techy stuff. I know the devs are busy squashing bugs so this would have to take a back seat to that. 3. Building this folder might even be beneficial to the official packagers for the various distros. 4. One team for whom I did light testing, published a daily build (no longer daily as the software matured) for the adventurous. https://launchpad.net/~subsurface/+archive/ubuntu/subsurface-daily I would be willing to push the files up to Launchpad if the team sees value in perusing this. However, I don't want to step on anybodies toes if this would get in the way of the official release process for the various distros. And, if this got to the point of highly automated, perhaps the dev team would prefer to do the push themselves. --Steve -- Stephen M Butler, PMP, PSM stephen.m.butle...@gmail.com kg...@arrl.net 253-350-0166 --- GnuPG Fingerprint: 8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8 pEpkey.asc Description: application/pgp-keys ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: [GNC-dev] *.deb package for GnuCash 3.4 Released
On 12/31/18 2:17 AM, Colin Law wrote: > On Mon, 31 Dec 2018 at 10:06, Colin Law wrote: >> On Sun, 30 Dec 2018 at 20:33, Stephen M. Butler wrote: >>> For those interested in a deb file but not willing to compile yourself: >>> https://drive.google.com/open?id=172BMIvLgD7twcGEWkR5GcddoZ_A4QWfY --> >>> gnucash_3.4-0-1_amd64.deb >> I am trying this on Ubuntu 18.10 and when running it I get >> error while loading shared libraries: libboost_regex.so.1.65.1: cannot >> open shared object file: No such file or directory > OK, found solution > sudo apt install libboost-regex1.65.1 > > It seems to be working ok on Ubuntu 18.10 now. Subject to further > testing of course. Will let you know. > > Colin > . > Thanks Colin for that info. I was starting a search for libboost but then thought to read the rest of the emails and you had already found the solution. Along that vein, the checkinstall documentation seems to imply the deb file is good only for same O/S and release #. Launchpad seems to be the only open source platform for ppa but it is oriented toward Ubuntu. It does appear to have options for 32/64 bit and the various Ubuntu and Debian releases. However, their requirements for packaging are quite a ways beyond my skill level. -- Stephen M Butler, PMP, PSM stephen.m.butle...@gmail.com kg...@arrl.net 253-350-0166 --- GnuPG Fingerprint: 8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8 pEpkey.asc Description: application/pgp-keys ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: [GNC-dev] *.deb package for GnuCash 3.4 Released
On Mon, 31 Dec 2018 at 10:06, Colin Law wrote: > > On Sun, 30 Dec 2018 at 20:33, Stephen M. Butler wrote: > > > > For those interested in a deb file but not willing to compile yourself: > > https://drive.google.com/open?id=172BMIvLgD7twcGEWkR5GcddoZ_A4QWfY --> > > gnucash_3.4-0-1_amd64.deb > > I am trying this on Ubuntu 18.10 and when running it I get > error while loading shared libraries: libboost_regex.so.1.65.1: cannot > open shared object file: No such file or directory OK, found solution sudo apt install libboost-regex1.65.1 It seems to be working ok on Ubuntu 18.10 now. Subject to further testing of course. Will let you know. Colin ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: [GNC-dev] *.deb package for GnuCash 3.4 Released
On Sun, 30 Dec 2018 at 20:33, Stephen M. Butler wrote: > > For those interested in a deb file but not willing to compile yourself: > https://drive.google.com/open?id=172BMIvLgD7twcGEWkR5GcddoZ_A4QWfY --> > gnucash_3.4-0-1_amd64.deb I am trying this on Ubuntu 18.10 and when running it I get error while loading shared libraries: libboost_regex.so.1.65.1: cannot open shared object file: No such file or directory Do you know whether there is a reasonably simple fix for this? Colin ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel