From owner-freebsd-questions Fri Mar 1 18:39:57 2002 Delivered-To: freebsd-questions@freebsd.org Received: from radwaste.oaep.go.th (ppp47.modem56.actconnect.net [203.155.127.47]) by hub.freebsd.org (Postfix) with ESMTP id 6610937B402 for ; Fri, 1 Mar 2002 18:39:49 -0800 (PST) Received: (from pirat@localhost) by radwaste.oaep.go.th (8.11.6/8.11.3) id g22317b04927 for questions@FreeBSD.ORG; Sat, 2 Mar 2002 10:01:07 +0700 (ICT) (envelope-from pirat@access.inet.co.th) X-Authentication-Warning: radwaste.oaep.go.th: pirat set sender to pirat@access.inet.co.th using -f Date: Sat, 2 Mar 2002 10:01:06 +0700 From: pirat To: questions@FreeBSD.ORG Subject: ports: grass makefile hacking or die Message-ID: <20020302100106.A4888@radwaste.oaep.go.th> Mail-Followup-To: pirat , questions@FreeBSD.ORG Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD-4.4 STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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