eantcal / nubasic

nuBASIC is an implementation of a BASIC interpreter and IDE for Windows and Linux
https://www.eantcal.eu
MIT License
41 stars 3 forks source link

Problems compiling nuBASIC 1.51 on Debian 10.1 #2

Closed programandala-net closed 4 years ago

programandala-net commented 4 years ago

Hello.

nuBASIC seems great, and I want to try it, especially because the nuBASIC programs could run on Android as well, with Termux. It could be a good option for a text console project of mine.

But I'm having problems with the compilation:

When I executed <./configure> in order to prepare the compilation of nuBASIC 1.51 I got:

configure: error: cannot find install-sh, install.sh, or shtool in "./" "./.." "./../.."

After a bit DuckDuckGoing, I found a solution: execute autoreconf -i first, which produced the following output:

configure.ac:17: installing './compile' configure.ac:20: installing './config.guess' configure.ac:20: installing './config.sub' configure.ac:6: installing './install-sh' configure.ac:6: installing './missing' configure.ac:212: error: required file 'ide/gtk/mipjson/miptknzr/lib/Makefile.in' not found configure.ac:212: error: required file 'ide/gtk/mipjson/lib/Makefile.in' not found configure.ac:212: error: required file 'ide/gtk/Makefile.in' not found Makefile.am: installing './depcomp' autoreconf: automake failed with exit status: 1

Despite the exit status, then "configure" worked at last, though it failed at the end:

checking for strerror... yes checking whether compiling gtkide... no checking whether compiling tinyver... no checking for xterm... no configure: WARNING: Please install xterm for graphical programs. checking for gnome-terminal... no configure: error: Please install xterm or gnome-terminal before install

I guessed that was about 256-color support. I use GNU Screen on lxterminal. I restarted with rxvt instead and I got this at the end:

checking for xterm... yes configure: WARNING: Please install xterm for graphical programs. checking for xmessage... yes checking for X... libraries , headers checking for XDrawLine in -lX11... yes checking whether compiling sdl2... no checking for aplay... (cached) yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating config.h config.status: executing depfiles commands

There was still a warning about xterm, but It seemed fine (I tried also with (u)xterm, tilda and other terminal emulators, but no difference).

But "make" only displayed this and halted:

Makefile:511: .deps/main.Po: No existe el fichero o el directorio make: *** No hay ninguna regla para construir el objetivo '.deps/main.Po'. Alto.

Effectively, there's no ".deps" directory.

It seems I'm missing something. Any clue?

Thank you

eantcal commented 4 years ago

Hi Marcos. Sorry for the late reply. I am abroad now. Just a tip on the fly. I have added support for cmake and I was to remove the autotool support. You can try with cmake. It should work. I will provide you further details once back in Dublin. Thank you very much. Antonino

On Fri 8 Nov 2019 at 17:59, Marcos Cruz notifications@github.com wrote:

Hello.

nuBASIC seems great, and I want to try it, especially because the nuBASIC programs could run on Android as well, with Termux. It could be a good option for a text console project of mine.

But I'm having problems with the compilation:

When I executed <./configure> in order to prepare the compilation of nuBASIC 1.51 I got:

configure: error: cannot find install-sh, install.sh, or shtool in "./" "./.." "./../.."

After a bit DuckDuckGoing, I found a solution: execute autoreconf -i first, which produced the following output:

configure.ac:17: installing './compile' configure.ac:20: installing './config.guess' configure.ac:20: installing './config.sub' configure.ac:6: installing './install-sh' configure.ac:6: installing './missing' configure.ac:212: error: required file 'ide/gtk/mipjson/miptknzr/lib/Makefile.in' not found configure.ac:212: error: required file 'ide/gtk/mipjson/lib/Makefile.in' not found configure.ac:212: error: required file 'ide/gtk/Makefile.in' not found Makefile.am: installing './depcomp' autoreconf: automake failed with exit status: 1

Despite the exit status, then "configure" worked at last, though it failed at the end:

checking for strerror... yes checking whether compiling gtkide... no checking whether compiling tinyver... no checking for xterm... no configure: WARNING: Please install xterm for graphical programs. checking for gnome-terminal... no configure: error: Please install xterm or gnome-terminal before install

I guessed that was about 256-color support. I use GNU Screen on lxterminal. I restarted with rxvt instead and I got this at the end:

checking for xterm... yes configure: WARNING: Please install xterm for graphical programs. checking for xmessage... yes checking for X... libraries , headers checking for XDrawLine in -lX11... yes checking whether compiling sdl2... no checking for aplay... (cached) yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating config.h config.status: executing depfiles commands

There was still a warning about xterm, but It seemed fine (I tried also with (u)xterm, tilda and other terminal emulators, but no difference).

But "make" only displayed this and halted:

Makefile:511: .deps/main.Po: No existe el fichero o el directorio make: *** No hay ninguna regla para construir el objetivo '.deps/main.Po'. Alto.

Effectively, there's no ".deps" directory.

It seems I'm missing something. Any clue?

Thank you

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/eantcal/nubasic/issues/2?email_source=notifications&email_token=ADDNYVQRMAOKBKD7THFNL5DQSWSHTA5CNFSM4JK3ZWCKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HYA5DCA, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADDNYVQABDJYCGVROA7NOLDQSWSHTANCNFSM4JK3ZWCA .

programandala-net commented 4 years ago

Thanks, cmake works fine. I have compiled 1.51. Meanwhile, I had installed 1.50 with the DEB archive.

eantcal commented 4 years ago

Cool!

Best, Antonino

On Sun, 10 Nov 2019 at 12:59, Marcos Cruz notifications@github.com wrote:

Thanks, cmake works fine. I have compiled 1.51. Meanwhile, I had installed 1.50 with the DEB archive.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/eantcal/nubasic/issues/2?email_source=notifications&email_token=ADDNYVQ6ZJCBLRQECJFQM6LQTAARJA5CNFSM4JK3ZWCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDU4TXI#issuecomment-552192477, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADDNYVVZVVHIGTCW56MCW5LQTAARJANCNFSM4JK3ZWCA .