Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Mar 2002 10:01:06 +0700
From:      pirat <pirat@access.inet.co.th>
To:        questions@FreeBSD.ORG
Subject:   ports: grass makefile hacking or die
Message-ID:  <20020302100106.A4888@radwaste.oaep.go.th>

next in thread | raw e-mail | index | archive | help
hi sirs,

apologize me for disturbing the list but i need asking very much about ports/databases/grass.

as usual do a `make' in order to build but fail.

a scroll the screen back a few pages find the `scapegoat' :- they are tcl.h and his company

look at the Makefile , it's alright. they are there as specify by CONFIGURE_ARGS. so i did a make once again and failed once more time.

i simply cp them to /usr/local/include and `make'. now surprise it passes that step but stick at postgresql header files.

well i need to edit Makefile and change the line --with-tcltk-include to

--with-tcltk-includes="${LOCALBASE}/include/tcl8.3/generic \
                      ${LOCALBASE}/include/tk8.3/generic"

and the line --with-postgres-includes to

--with-postgres-includes="${LOCALBASE}/include/postgresql/internal"

and now `make' with a result of the last few lines that say

GRASS GIS ... compiled successfully
..
*Install GRASS with (posibly as root)
 make install

my machine is 4.5-stable and i have just cvsup ports tree a few minutes before hacking the Makefile, to be sure that i have the lastest one.

the make install is okay with one ignored error but once i start /usr/loca/grass/bin/grass5 , as a plain user, i got an error that say

/usr/local/grass5/etc/Init.sh: cannot create .92907: permission denied

so what is the problem for this last one or may be that i did the wrong way with Makefile.

please cc to me since i do not subscribe to the list

with best regards,
psr


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020302100106.A4888>