[darcs-users] Building on Solaris

Anders Höckersten chucky at dtek.chalmers.se
Mon Nov 1 19:36:52 UTC 2004


mån 2004-11-01 klockan 05:20 -0500 skrev David Roundy:
> On Sun, Oct 31, 2004 at 06:30:11PM +0100, Anders Hckersten wrote:
> > Sorry if this has been reported before - I'm new here. I built Darcs
> > 1.0.0rc3 on Solaris 9 yesterday, but it seems there's a bug in the
> > install target of the Makefile. It tries to use the program "install",
> > which is available on Solaris but is by default GNU install, so the
> > installation fails with some obscure error that I didn't bother to write
> > down.
> 
> No, this is the first I've heard of this problem.  Would you mind trying
> install again and reporting the precide error?
> 
> > Other than that, I'm happy to report that Darcs builds and runs on
> > Solaris.
> 
> Great!

Ok. So here is the command-line I used to build darcs. I include it
mostly to (hopefully) show that I'm not doing anything wrong:
mkdir dist
cd dist
setenv CC v_gcc
setenv CXX v_g++
setenv LD v_gld
setenv LDFLAGS "`lib__readline -L` `lib__curses -L` `lib__gmp -L`
`lib__curl -L`"
setenv CFLAGS "`lib__readline -I` `lib__curses -I` `lib__gmp -I`
`lib__curl -I`"
setenv CPPFLAGS "`lib__readline -I` `lib__curses -I` `lib__gmp -I`
`lib__curl -I`"
wget http://abridgegame.org/darcs/darcs-1.0.0rc3.tar.gz
gtar xvzf darcs-1.0.0rc3.tar.gz
cd darcs-1.0.0rc3/
./configure --prefix=/users/dtek/d01/chucky/test/darcs-1.0.0rc3/
gmake
gmake install

And here is the error I get when gmake install is run:

install -d //users/dtek/d01/chucky/test/darcs-1.0.0rc3//bin
directory //users/dtek/d01/chucky/test/darcs-1.0.0rc3//bin created
install darcs //users/dtek/d01/chucky/test/darcs-1.0.0rc3//bin
find: cannot read dir /etc/inet/ike/: Permission denied
find: cannot read dir /etc/inet/secret/: Permission denied
find: cannot read dir /etc/security: Permission denied
find: cannot read dir /lib/oldlocale/LC_MESSAGES/it/: Permission denied
find: cannot read dir /lib/oldlocale/LC_MESSAGES/de/: Permission denied
find: cannot read dir /lib/oldlocale/LC_MESSAGES/fr/: Permission denied
find: cannot read dir /lib/oldlocale/LC_MESSAGES/sv/: Permission denied
find: cannot read dir /usr/lib/oldlocale/LC_MESSAGES/it/: Permission
denied
find: cannot read dir /usr/lib/oldlocale/LC_MESSAGES/de/: Permission
denied
find: cannot read dir /usr/lib/oldlocale/LC_MESSAGES/fr/: Permission
denied
find: cannot read dir /usr/lib/oldlocale/LC_MESSAGES/sv/: Permission
denied
install: darcs was not found anywhere!
gmake: *** [installbin] Error 2

Of course, if I modify the makefile to use ginstall instead, darcs
installs correctly.

Regards,
Anders





More information about the darcs-users mailing list