It's been rumoured that Alan Orndorff said:
> # 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
> [ -e gnucash.motif.static ] && \
>     make FLAVOR=motif.static GNC_BINDIR=/usr/local/bin install-bin
> make: [install] Error 1 (ignored)

I don't know what this error is but my guess is that solaris 
make is not compatible with gnu make.  Try specifying gmake instead.

> [ -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

ln -s on other unixes means 'symbolic link'
ln -f on other unixes means 'force the link even if file exists'.

I guess that's not how solaris works.

> <     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",

I can't accept this since the proposed fix does not do the right thing.
That's not how putenv works.

--linas

PUTENV(3)           Linux Programmer's Manual           PUTENV(3)

NAME
       putenv - change or add an environment variable

SYNOPSIS
       #include <stdlib.h>

       int putenv(const char *string);

DESCRIPTION
       The  putenv()  function  adds or changes the value of environment
variables.  The
       argument string is of the form name=value.  If name does not
already exist in the
       environment,  then  string is added to the environment.  If name
does exist, then
       the value of name in the environment is changed to value.

RETURN VALUE
       The putenv() function returns zero on success, or -1 if an error
occurs.

ERRORS
       ENOMEM Insufficient space to allocate new environment.

CONFORMING TO
       SVID 3, POSIX, BSD 4.3

SEE ALSO
       getenv(3), setenv(3), unsetenv(3), environ(5)

GNU                       April 8, 1993                         1



SETENV(3)           Linux Programmer's Manual           SETENV(3)

NAME
       setenv - change or add an environment variable

SYNOPSIS
       #include <stdlib.h>

       int setenv(const char *name, const char *value, int overwrite);

       void unsetenv(const char *name);

DESCRIPTION
       The  setenv()  function  adds the variable name to the environment
with the value
       value, if name does not already exist.  If name does exist  in
the  environment,
       then  its  value  is  changed  to value if overwrite is non-zero;
if overwrite is
       zero, then the value of name is not changed.

       The unsetenv() function deletes the variable name from the
environment.

RETURN VALUE
       The setenv() function returns zero on success, or -1 if  there
was  insufficient
       space in the environment.

CONFORMING TO
       BSD 4.3

SEE ALSO
       getenv(3), putenv(3), environ(5)

BSD                       April 4, 1993                         1






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

Reply via email to