Difference between revisions of "Talk:Building"

From GnuCash
Jump to: navigation, search
(Building with make -jX)
(Ubuntu 11.10: svn not found: new section)
Line 33: Line 33:
 
--[[User:Bert|Bert]] 17:46, 24 May 2011 (UTC)
 
--[[User:Bert|Bert]] 17:46, 24 May 2011 (UTC)
 
:Ok, but please keep in mind this restriction applies only to the "make install" step, not the "make" step. --[[User:Cstim|Cstim]] 06:56, 27 May 2011 (UTC)
 
:Ok, but please keep in mind this restriction applies only to the "make install" step, not the "make" step. --[[User:Cstim|Cstim]] 06:56, 27 May 2011 (UTC)
 +
 +
== Ubuntu 11.10: svn not found ==
 +
 +
I was following the instructions for Ubuntu 11.10 which uses git, but during the "make" step I get an error almost immediately when it tries to run svn:
 +
<pre>
 +
svn log -v --xml -r HEAD:20021 http://svn.gnucash.org/repo/gnucash | \
 +
  xsltproc --stringparam strip-prefix "gnucash/trunk" \
 +
  --stringparam include-rev "yes" ./macros/svn2cl.xsl - > ChangeLog
 +
 +
/bin/bash: svn: command not found
 +
</pre>
 +
I thought that since we were using git it wouldn't use svn.  Any idea where I went wrong?

Revision as of 07:18, 2 November 2011

fixing slib issues

On Ubuntu 10.04.1 the path for the guile.init file is a bit shorter than mentioned in the article:

         /usr/share/slib/

Thus line 1790 in my slib.scm file reads:

(load-from-path "/usr/share/slib/guile.init")

hope that helps someone

aptitude or apt-get

apt-get build-dep gnucash failed for me. aptitude build-dep gnucash worked Seems like aptitude is more robust and the wiki should be changed.

wondering about old Ubuntu versions

Every time I look at this page I think about ditching the information for the old Ubuntu versions -- as you can see from the wikipedia page link I added awhile back, most of the old ones are not even supported by security updates and any serious person wouldn't be running them EXCEPT maybe to build an old version of GnuCash. So the only reason to keep them around would be "collective memory" -- "that's how we solved (whatever problem), back in the day."

I was wondering if there's a page for old outdated stuff like that. Next time I drop by I will look for it. IF not, maybe I will make one.

I think you can safely remove the old stuff - it is always still available through the history. --Cstim 09:39, 18 February 2011 (UTC)
Ok thanks... I see some "interesting bits" I would like to retain (creating a .deb using checkinstall, for example, and maybe some of the old tricks), but NEXT time I get a few minutes I will clean things up as I suggested. --Twt 16:40, 25 March 2011 (UTC)

Building with make -jX

I had some trouble building gnucash for the past days and I couldn't for the life of me figure out why gnucash wouldn't build. I just added the -j2 options to try and speed up the compiling and when surfing around, this bug popped up: https://bugzilla.gnome.org/show_bug.cgi?id=644896

Would it be a good idea to make a note somewhere in the building section to specifically mention that gnucash doesn't support the -jX (X>1) feature? --Bert 17:46, 24 May 2011 (UTC)

Ok, but please keep in mind this restriction applies only to the "make install" step, not the "make" step. --Cstim 06:56, 27 May 2011 (UTC)

Ubuntu 11.10: svn not found

I was following the instructions for Ubuntu 11.10 which uses git, but during the "make" step I get an error almost immediately when it tries to run svn:

svn log -v --xml -r HEAD:20021 http://svn.gnucash.org/repo/gnucash | \
	  xsltproc --stringparam strip-prefix "gnucash/trunk" \
	  --stringparam include-rev "yes" ./macros/svn2cl.xsl - > ChangeLog

/bin/bash: svn: command not found

I thought that since we were using git it wouldn't use svn. Any idea where I went wrong?