Hard-coded paths in 2.3.7?
Derek Atkins
warlord at MIT.EDU
Fri Oct 23 13:21:45 EDT 2009
Hi,
z33b0b at gmail.com writes:
> Hello GnuCash devs --
>
> I just recently downloaded 2.3.7 form SVN and compiled, and am getting
> things set up. After compiling, I got clever and thought hey, I actually
> want this directory over in ~/bin instead of here in ~/dev, but then I
> promptly found things breaking after I moved the directory.
>
> First off, creating a symlink to the "gnucash" script in {GnuCash
> directory}/bin raises fun errors with gnucash-setup-env not being found.
>
[snip]
> This makes me wonder if a) moving the directory is the issue, or b) having
> renamed the directory from "gnucash" to "GnuCash" (to allow me to set a
> symlink in the same parent directory with the lower-case name) is the
> problem. I just tried moving / renaming things back to the way they were
> when I compiled, and lo, it's working again. Either way, it starts to sound
> a bit like paths are being hardcoded somewhere during compilation.
>
> Is this guess right? If so, could / should paths be made relative instead
> of absolute?
They are both the issue. You should set --prefix to where you want
the build to live. If you want to change it you either need a symlink
for the whole tree, or you need to reconfigure and rebuild everything.
> Cheers,
>
> -- Eiríkr Útlendi
-derek
--
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-devel
mailing list