This bites.

Last time I did a successful make I also did
a successful make install, not this time.
This is using 1.25 from the gnucash ftp server

# make install SHELL=/usr/local/bin/bash
./install-sh -c -d /usr/local/bin /usr/local/lib/gnucash
/usr/local/doc/gnucash /usr/local/share/gnucash
# Put these in the opposite order of precedence.  Final bin/gnucash link
will
# point to the last one that exists...
[ -e gnucash.motif.static ] && \
    make FLAVOR=motif.static GNC_BINDIR=/usr/local/bin install-bin
make: [install] Error 1 (ignored)
[ -e gnucash.motif ] && make FLAVOR=motif GNC_BINDIR=/usr/local/bin
install-bin
make[1]: Entering directory `/tmp/gnucash-1.2.5'
./install-sh -c gnucash.motif /usr/local/bin/gnucash.motif
(cd /usr/local/bin && ln -sf gnucash.motif gnucash)
ln: cannot create gnucash: File exists
make[1]: *** [install-bin] Error 2
make[1]: Leaving directory `/tmp/gnucash-1.2.5'
make: [install] Error 2 (ignored)
[ \
  -e /usr/local/bin/gnucash.motif -o \
  -e /usr/local/bin/gnucash.motif.static \
]
./install-sh -c src/quotes/gnc-prices /usr/local/bin
./install-sh -c -m 644 src/swig/perl5/gnucash.pm /usr/local/lib/gnucash
install:  src/swig/perl5/gnucash.pm does not exist
make: *** [install] Error 1

If I touch gnucash.pm it then says gnucash.so does not exist, its right
on both counts.  Anyone have any ideas on this one?

Linas, I've attached the diff files that you wanted.

any help would be appreciated,
thanks in advance,
alan
80,81c80,81
<     if(putenv("GNC_BOOTSTRAP_SCM") != 0) {
<       fprintf(stderr, "gnucash: putenv(%s) failed.  Aborting.\n",
---
>     if(setenv("GNC_BOOTSTRAP_SCM", GNC_BOOTSTRAP_SCM, 1) != 0) {
>       fprintf(stderr, "gnucash: setenv(%s, %s, 1) failed.  Aborting.\n",
48c48
<            $(GUILELIBS) -lpng -lz  -lm -lnana -liberty \
---
>            $(GUILELIBS) -lpng -lz  -lm -lnana \
57,63c57,63
< OTHER_OBJS := $(shell find ../../lib/Xbae-4.6.2-linas/src/obj/motif/*.o)
< OTHER_OBJS += $(shell find ../../lib/ComboBox-1.33/obj/motif/*.o)
< OTHER_OBJS += $(shell find ../../src/obj/motif/*.o)
< OTHER_OBJS += $(shell find ../../src/engine/obj/*.o)
< OTHER_OBJS += $(shell find ../../src/register/obj/motif/*.o)
< OTHER_OBJS += $(shell find ../../src/reports/obj/*.o) 
< OTHER_OBJS += $(shell find ../../src/guile/obj/*.o)
---
> OTHER_OBJS := $(wildcard ../../lib/Xbae-4.6.2-linas/src/obj/motif/*.o)
> OTHER_OBJS += $(wildcard ../../lib/ComboBox-1.33/obj/motif/*.o)
> OTHER_OBJS += $(wildcard ../../src/obj/motif/*.o)
> OTHER_OBJS += $(wildcard ../../src/engine/obj/*.o)
> OTHER_OBJS += $(wildcard ../../src/register/obj/motif/*.o)
> OTHER_OBJS += $(wildcard ../../src/reports/obj/*.o) 
> OTHER_OBJS += $(wildcard ../../src/guile/obj/*.o)
65,67c65,67
< OTHER_OBJS += $(shell find ../../src/swig/obj/*.o)
< OTHER_OBJS += $(shell find ../../src/g-wrap/obj/*.o)
< OTHER_OBJS += $(shell find ../../src/g-wrap/obj/motif/*.o)
---
> OTHER_OBJS += $(wildcard ../../src/swig/obj/*.o)
> OTHER_OBJS += $(wildcard ../../src/g-wrap/obj/*.o)
> OTHER_OBJS += $(wildcard ../../src/g-wrap/obj/motif/*.o)

--
Gnucash Developer's List 
To unsubscribe send empty email to: [EMAIL PROTECTED]

Reply via email to