LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Update request: guile 2.0 in -current (https://www.linuxquestions.org/questions/slackware-14/update-request-guile-2-0-in-current-4175465882/)

Lenard Spencer 10-21-2013 04:50 PM

Quote:

Originally Posted by ponce (Post 5049676)

Finally got the patch to work, and even found your patch for gnome-vfs.

With all this work, I think the sanest route for Gnucash 2.4.x at present would be to stick with Slack 14.0. And judging by the Gnucash 2.5.6 changelog, it could be a while before we see a 2.6 stable version.

aikempshall 10-22-2013 12:22 PM

Lenard

Well done!

Gnucash has always been a lot of effort to compile on Slackware. So, for 14.1, there are a few more problems which you seemed to have solved.

Can you give me any details of what needs to be done.

From this thread I gather in it's simplest form for gnucash there are two options -

For OPTION 1 follow these steps not necessarily in the order quoted

Step A.
Compile the usual dependencies in the appropriate order.

Step B.
For libbonobo apply the mentioned patch - wherever that is?

Step C.
For gnome-vfs apply the mentioned patch - wherever that is?

Step D.
Install slib 3b2 to sit alongside slib 3b4 or instead off.

Step E.
Install a patched guille 1.8 so it can sit alongside guille 2.0

Step F.
Maybe instead of points 4 and 5 regress to slib 3b2 and guille 1.8 and see what breaks!!!!!

Step G.
Compile gunucash


For OPTION 2

Stick with Slackware 14.0 until the gnucash 2.6 release is available.


Alex

aikempshall 10-23-2013 05:18 AM

Well this is what I've done

Uninstalled guile 2.0.9 - hopefully this won't cause too much damage - just at the testing stage.

compiled and installed -

1. guile 1.8
2. gnutls - recompiled. Just in case, as it appears to use guile 2.0.9 and was compiled in slackware after guile 2.0.9 was installed as per current changelog
3. goffice
4. slib 3b2
5. libofx
6. libgnome-canvas
7. libgnomecups
8. ORBit2
9. gnome-mime-data
10. libgnomeprint
11. libgnomeprintui
12. libbonobo - patched to remove the -DG_DISABLE_DEPRECATED flag
13. gnome-vfs - patched to remove the -DG_DISABLE_DEPRECATED flag
14. libgnome - patched to remove the -DG_DISABLE_DEPRECATED flag
15. libbonoboui
16. libgnomeui
17. gtkhtml

All successful so now compiling gnucash 2.4.13

So it's just wait and see!

Alex

aikempshall 10-23-2013 10:31 AM

gnucash 2.4.13 and gnucash 2.4.11 fails to compile due to pcre being bounced from 8.12 in 14.0 to 8.33 in 14.1. pcre changelog states for version 8.30 -

3. Removed the function pcre_info(), which has been obsolete and deprecated
since it was replaced by pcre_fullinfo() in February 2000.

The error when compiling gnucash is -

/usr/lib/libgoffice-0.8.so.8: undefined reference to `pcre_info'
collect2: error: ld returned 1 exit status
make[4]: *** [gnucash] Error 1


Alex

aikempshall 10-24-2013 08:48 AM

Had to recompile goffice-0.8.14 with this patch -

Code:

--- goffice/utils/regutf8.c.orig        2009-09-05 18:52:09.000000000 -0500
+++ goffice/utils/regutf8.c        2012-06-09 18:04:29.000000000 -0500
@@ -155,7 +155,7 @@
                default: return GO_REG_BADPAT;
                }
        } else {
-                gor->re_nsub = pcre_info (r, NULL, NULL);
+                gor->re_nsub = pcre_fullinfo (r, NULL, 0, NULL);
                gor->nosub = (cflags & GO_REG_NOSUB) != 0;
                return 0;
        }


after which gnucash compiled and started successfully. Now at testing stage.

Alex

aikempshall 11-04-2013 07:46 AM

Well that all tested successfully. I've move on to have guile 2.0.9 sitting next to guile 1.8.8. See http://www.linuxquestions.org/questi...hlight=gnucash

Alex


All times are GMT -5. The time now is 04:14 PM.