[GRASS-user] make command (install add on)

Hi,

I want to test the interesting net.analyze addons (mostly because of
v.net.distance). I've downloaded it but now not able to install it... :frowning:

Following the instruction first I changed the directory to the path where
the downloaded addons are saved:

cd Documents/temp/net.analyze

Then I tried the make command:

make MODULE_TOPDIR=/Applications/GRASS-6.4.app/Contents/MacOS/

As a result I get the an error:

make: *** Makefile: Is a directory. Stop.

Does someone know what this could mean and what I'm doing wrong?

Tusend tack,

schorschli
--
View this message in context: http://n2.nabble.com/make-command-install-add-on-tp4764072p4764072.html
Sent from the Grass - Users mailing list archive at Nabble.com.

On Fri, Mar 19, 2010 at 5:29 PM, schorschli <matthiasoswald@hotmail.com> wrote:

Hi,

I want to test the interesting net.analyze addons (mostly because of
v.net.distance). I've downloaded it but now not able to install it... :frowning:

Following the instruction first I changed the directory to the path where
the downloaded addons are saved:

cd Documents/temp/net.analyze

Then I tried the make command:

make MODULE_TOPDIR=/Applications/GRASS-6.4.app/Contents/MacOS/

Are you sure about this directory?

MODULE_TOPDIR should point to the GRASS installation directory which
contains bin/, lib/ and other GRASS stuff.

On Linux it compiles ok but I have no experience (nor access) to MacOSX.

Markus

As a result I get the an error:

make: *** Makefile: Is a directory. Stop.

Does someone know what this could mean and what I'm doing wrong?

Tusend tack,

schorschli
--

Thanks for answering.

Are you sure about this directory?

MODULE_TOPDIR should point to the GRASS installation directory which
contains bin/, lib/ and other GRASS stuff.

Yes, the directory is the one containing the grass-folders (bin/, lib/ and
others).

I could solve this problem. It was not a wrong MODULE_TOPDIR path, but wrong
extensions for the makefiles.

Now I can run the make command. But this is resulting in hunderts of errors
and warning. Here is a printscreen of the first couple of lignes in the
console...

http://n2.nabble.com/file/n4776893/errors.png
http://n2.nabble.com/file/n4776893/errors.png errors.png

So maybe its better to just give it up with the addons...

--
View this message in context: http://n2.nabble.com/make-command-install-add-on-tp4764072p4776893.html
Sent from the Grass - Users mailing list archive at Nabble.com.

On Mon, Mar 22, 2010 at 10:44 AM, schorschli <matthiasoswald@hotmail.com> wrote:

Thanks for answering.

Are you sure about this directory?

MODULE_TOPDIR should point to the GRASS installation directory which
contains bin/, lib/ and other GRASS stuff.

Yes, the directory is the one containing the grass-folders (bin/, lib/ and
others).

I could solve this problem. It was not a wrong MODULE_TOPDIR path, but wrong
extensions for the makefiles.

Now I can run the make command. But this is resulting in hunderts of errors
and warning. Here is a printscreen of the first couple of lignes in the
console...

http://n2.nabble.com/file/n4776893/errors.png

It appears that it does not find the GRASS include files in your MacOSX
installation. As Linux user, I have no clue - maybe someone else in the list?

Markus