Difference between revisions of "Talk:Debian"

From GnuCash
Jump to: navigation, search
(questions answered)
(Apt vs Aptitude: fixed format issue)
 
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
A couple of things:
+
I updated and rewrote the page.  I tested these install instructions on ubuntu edgy, and added a few words about ubuntu.  I also tried to explain the section about package version numbers a little better.  If anyone still doesn't understand, I will try and make it more clear. [[User:Wuzzeb|Wuzzeb]] 04:10, 18 December 2006 (EST)
 +
:Thanks for the additional text. I guess this is indeed a lot more understandable now. --[[User:Cstim|Cstim]] 04:41, 18 December 2006 (EST)
  
1.- On the "Build instructions" section, it is mentioned that the --enable-hbci and --enable-mt940 options must be added to the configure script. The --enable-hbci option is self explanatory, but why is the --enable-mt940 necessary? Could someone add a short note explaining what this option does?
+
:I work on Kubuntu 7.04. I followed the instructions (hey, well done!) and everything compiled and installed fine. My self-compiled GnuCash seems to work pretty well and I have a new menu entry for "MT940 import". But when I try to really import an MT940 file I get a dialog box saying "Import module for MT940 import not found." Any idea what I can do now? --[[User:Nops|Nops]] 15:47, 19 August 2007 (EDT)
:--enable-mt940 adds importing of "mt940" files and has the same requirements as --enable-hbci, so it doesn't add additional requirements as long as --enable-hbci is switched on. The switch is a temporary one - it will disappear in the next major gnucash release as it has been removed in SVN-trunk already. --[[User:Cstim|Cstim]] 05:04, 13 November 2006 (EST)
 
  
2.- Under the same section it is advised to edit the Debian changelog as follows:
+
== libaqbanking - Configuring section ==
  
<nowiki>$ debchange --nmu 'Enable HBCI support'</nowiki>
+
I made a very minor change. In the .install file, instead of /usr/lib/libaqofxconnect.*, it should be /usr/lib/libaqofxconnect.so.*, otherwise the -dev package has a conflict with the ofx0 package.
  
with the following note:
+
== error when building the package... any help ? ==
  
<quote>The version of your packages will be higher than the version of the packages in the Debian archive. This will prevent apt from installing Debian's own packages when you next upgrade. </quote>
+
Now we are ready to build the package.
  
Please someone correct me if I'm wrong (my knowledge of Debian packages is still not as good as I'd wish), but will this not prevent the package from being marked as upgradeable? Under some circumstances, someone might want to upgrade the package or to notice that there is a possibility to upgrade it. I found the following link discussing how to version non-maintainer packages very informative and I think it might be useful to mention an alternate way of doing this:
+
<pre>$ dpkg-buildpackage -b -us -uc -rfakeroot</pre>
 +
 +
end of the log :  
 +
<pre>
 +
#define HAVE_LIBQOF
 +
#define QOF_DISABLE_DEPRECATED 1
 +
#define DEBUG_MEMORY 0
 +
#define DEBUG_REFERENCE_COUNTING 0
  
http://people.connexer.com/~roberto/howtos/debcustomize#customizing
+
configure: exit 1
:I don't understand that section as well, but I don't use Debian, so this doesn't count. If you think the sentence there is not completely accurate, feel free to add more explanation there. --[[User:Cstim|Cstim]] 05:04, 13 November 2006 (EST)
+
touch configure-stamp
 +
dh_testdir
 +
# dh_testroot
 +
dh_clean -k
 +
dh_installdirs
 +
make
 +
make[1]: Entering directory `/home/feydreva/gnucash/gnucash-2.2.2'
 +
make[1]: *** No targets specified and no makefile found. Stop.
 +
make[1]: Leaving directory `/home/feydreva/gnucash/gnucash-2.2.2'
 +
make: *** [build-stamp] Error 2
 +
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
 +
</pre>
 +
 
 +
== Debian packages ==
 +
 
 +
I was reordering the "Installing GnuCash on Debian" section (first part of the page) when [[User:Fell|Fell]] suggested another change. I'm not completely happy with my change but I hope it's better. [[User:Twt|Twt]] ([[User talk:Twt|talk]]) 17:39, 15 August 2019 (UTC)
 +
 
 +
== Apt vs Aptitude ==
 +
 
 +
I saw the Package Managers page [[Package_Managers]] and found a [https://unix.stackexchange.com/questions/767/what-is-the-real-difference-between-apt-get-and-aptitude-how-about-wajig Stack Exchange article] and the top answer says Debian folks prefer aptitude. HOWEVER I recently installed Debian 10 "stretch" and aptitude isn't even installed by default. The "new" version of apt is (super cow powers and all). I hope someone can point to a definitive source that tells me for sure.

Latest revision as of 21:32, 15 August 2019

I updated and rewrote the page. I tested these install instructions on ubuntu edgy, and added a few words about ubuntu. I also tried to explain the section about package version numbers a little better. If anyone still doesn't understand, I will try and make it more clear. Wuzzeb 04:10, 18 December 2006 (EST)

Thanks for the additional text. I guess this is indeed a lot more understandable now. --Cstim 04:41, 18 December 2006 (EST)
I work on Kubuntu 7.04. I followed the instructions (hey, well done!) and everything compiled and installed fine. My self-compiled GnuCash seems to work pretty well and I have a new menu entry for "MT940 import". But when I try to really import an MT940 file I get a dialog box saying "Import module for MT940 import not found." Any idea what I can do now? --Nops 15:47, 19 August 2007 (EDT)

libaqbanking - Configuring section

I made a very minor change. In the .install file, instead of /usr/lib/libaqofxconnect.*, it should be /usr/lib/libaqofxconnect.so.*, otherwise the -dev package has a conflict with the ofx0 package.

error when building the package... any help ?

Now we are ready to build the package.

$ dpkg-buildpackage -b -us -uc -rfakeroot

end of the log :

#define HAVE_LIBQOF
#define QOF_DISABLE_DEPRECATED 1
#define DEBUG_MEMORY 0
#define DEBUG_REFERENCE_COUNTING 0

configure: exit 1
touch configure-stamp
dh_testdir
# dh_testroot
dh_clean -k
dh_installdirs
make
make[1]: Entering directory `/home/feydreva/gnucash/gnucash-2.2.2'
make[1]: *** No targets specified and no makefile found.  Stop.
make[1]: Leaving directory `/home/feydreva/gnucash/gnucash-2.2.2'
make: *** [build-stamp] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

Debian packages

I was reordering the "Installing GnuCash on Debian" section (first part of the page) when Fell suggested another change. I'm not completely happy with my change but I hope it's better. Twt (talk) 17:39, 15 August 2019 (UTC)

Apt vs Aptitude

I saw the Package Managers page Package_Managers and found a Stack Exchange article and the top answer says Debian folks prefer aptitude. HOWEVER I recently installed Debian 10 "stretch" and aptitude isn't even installed by default. The "new" version of apt is (super cow powers and all). I hope someone can point to a definitive source that tells me for sure.