Page 1 of 1

Problem Running NXTTOOLS

Posted: 18 May 2011, 20:16
by behanius
Hello,

I am currently trying to run 'nxttools' on an Ubuntu 10.04 LTS (64-bit) and cannot run the program. This is my error message:

>nxttools: 1: Syntax error: "(" unexpected

and I do have permissions to execute the file (output of ls -ao)

>-rwxrwx--- 1 behanius 6701444 2010-05-25 17:10 nxttools

I resorted to running nxttools from the terminal (Bash) as trying to execute through Gnome leads to no response.

Any help is appreciated, thank you.

- Behanius

Re: Problem Running NXTTOOLS

Posted: 18 May 2011, 21:06
by afanofosc
I can't tell what you are running and what parameters you are passing. Can you post your full command line that you type in the terminal window? nxttools is a command line application without any GUI so it cannot be run by double clicking on the executable. If you prefer GUI tools you can use NeXTTools for Linux or my early release binary of NeXT Command Center (nxtcc) for Linux.

John Hansen

Re: Problem Running NXTTOOLS

Posted: 18 May 2011, 22:39
by behanius
I'm trying to run NeXT Tools via http://bricxcc.sourceforge.net/nexttools_linux.zip

After I extract the zip, I try to run the file 'nxttools' with 'sudo sh nxttools' (yes, I am root).

The error message and system parameters are in my first post and are still relevant. Also, I'm not sure of the parameters you are referring to as I did not find documentation for such features for this program.

Hopefully this yields more info.

Re: Problem Running NXTTOOLS

Posted: 18 May 2011, 22:52
by behanius
Instead of providing a binary file is it possible to post the source for NeXT Tools?

Re: Problem Running NXTTOOLS

Posted: 19 May 2011, 21:53
by bullestock
behanius wrote:I'm trying to run NeXT Tools via http://bricxcc.sourceforge.net/nexttools_linux.zip

After I extract the zip, I try to run the file 'nxttools' with 'sudo sh nxttools' (yes, I am root).

Code: Select all

torsten@czernobog$ file nxttools 
nxttools: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped
That is, nxttools is a compiled program, not a shell script, so simply run it with

Code: Select all

./nxttools

Re: Problem Running NXTTOOLS

Posted: 19 May 2011, 22:45
by afanofosc
The source code for all my tools is available in the BricxCC SVN repository. To build NeXT Tools for Linux you will need FreePascal and Lazarus installed for Linux. Then you can simply use the toolsunix.mak to make nxttools or nxtcc. Here's a URL that shows what this makefile looks like:

http://bricxcc.svn.sourceforge.net/view ... xt%2Fplain

You would modify this file, if needed, to point to where you have Lazarus/FreePascal installed.

make -ftoolsunix.mak nxttools realclean
make -ftoolsunix.mak nxttools

The command line tool called nexttool can be built using nexttool.mak:

http://bricxcc.svn.sourceforge.net/view ... xt%2Fplain

Hope this helps,

John Hansen

Re: Problem Running NXTTOOLS

Posted: 20 May 2011, 13:53
by behanius
Thank you both bullestock and alanofosc. I'm up and running and look forward to tinkering!