Gnucash-Installation never without problems

Derek Atkins warlord at MIT.EDU
Tue Nov 28 07:47:13 EST 2006


Both "configure" AND "make" should be done as you, not as root.
So:

  rm -rf gnucash-2.0.2
  tar -xzf gnucash-2.0.2.tar.gz
  cd gnucash-2.0.2
  ./configure ...
   make
   sudo make install

NOTE:  If you ./configure --prefix=/opt/gnucash  then you DO NOT need
to "sudo make install".  Instead you could "sudo mkdir /opt/gnucash"
and then "sudo chown $USER /opt/gnucash" and then you can run "make install"
as yourself.

-derek

Quoting hdbender <hdbender at arcor.de>:

>
> Hi,
> after I quit to use SQL-Ledger I installed Gnucash already several times -
> always encountering problems and never without external help. Again I must
> ask for help. It's amazing, because the problems are changing, there's
> always another one.
> After downloading GC 2.0.2 on my PC, and during "sudo ./configure
> --enable-hbci", I had to reinstall already some missing packages that I
> didn't find all in adept (even I checked before all dependencies).
> ./configure was running now up to the end, or was there already a failure
> message, because something is missing (Wmissing-declarations) ?
>
> Options detected/selected
> -------------------------
> gnucash version ...... : 2.0.2
> Build for host ....... : i686-pc-linux-gnu
> Optional components....: ofx hbci
> Extra Warnings ....... : -Wdeclaration-after-statement -Wno-pointer-sign
> -D_FORTIFY_SOURCE=2
> CPPFLAGS ............. :
> CFLAGS ............... : -g -O2 -Wall -Wunused -Wmissing-prototypes
> -Wmissing-declarations -Wdeclaration-after-statement -Wno-pointer-sign
> -D_FORTIFY_SOURCE=2
> LDFLAGS .............. :
> prefix.................: /usr/local
> Native libgsf..........: yes
> Native goffice.........: no
> QOF support ...........: internal
> QOF location ..........: internal
> QOF library dir .......: /usr/local/lib
> QOF backend config ....: /usr/local/gnucash/xml/qsf
>
> The next failure message came at make check, why "permission denied" ?
>
> Making all in lib
> make[2]: Betrete Verzeichnis '/tmp/gnucash-2.0.2/lib'
> Making all in libc
> make[3]: Betrete Verzeichnis '/tmp/gnucash-2.0.2/lib/libc'
> if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
> -I../.. -I../.. -I../.. -I../.. -g -O2 -Wall -Wunused -Wmissing-prototypes
> -Wmissing-declarations -Wdeclaration-after-statement -Wno-pointer-sign
> -D_FORTIFY_SOURCE=2 -MT libc-missing-noop.lo -MD -MP -MF
> ".deps/libc-missing-noop.Tpo" -c -o libc-missing-noop.lo
> libc-missing-noop.c; \
> then mv -f ".deps/libc-missing-noop.Tpo" ".deps/libc-missing-noop.Plo"; else
> rm -f ".deps/libc-missing-noop.Tpo"; exit 1; fi
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../.. -g -O2 -Wall
> -Wunused -Wmissing-prototypes -Wmissing-declarations
> -Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -MT
> libc-missing-noop.lo -MD -MP -MF .deps/libc-missing-noop.Tpo -c
> libc-missing-noop.c -fPIC -DPIC -o .libs/libc-missing-noop.o
> libc-missing-noop.c:6: fatal error: opening dependency file
> .deps/libc-missing-noop.Tpo: Permission denied
> compilation terminated.
> make[3]: *** [libc-missing-noop.lo] Fehler 1
> make[3]: Verlasse Verzeichnis '/tmp/gnucash-2.0.2/lib/libc'
> make[2]: *** [all-recursive] Fehler 1
> make[2]: Verlasse Verzeichnis '/tmp/gnucash-2.0.2/lib'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Verlasse Verzeichnis '/tmp/gnucash-2.0.2'
> make: *** [all] Fehler 2
>
> "Make" should be used without "sudo", correct ?, or not in this case ?
> Before I will do it, I think I better wait for a response.
>
> Anybody can help?
>
> Danke - hdbender
> --
> View this message in context: 
> http://www.nabble.com/Gnucash-Installation-never-without-problems-tf2717379.html#a7576382
> Sent from the GnuCash - User mailing list archive at Nabble.com.
>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>



-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-user mailing list