Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to Install Nest on Termux #626

Closed
Richardn2002 opened this issue Mar 17, 2018 · 12 comments
Closed

Failed to Install Nest on Termux #626

Richardn2002 opened this issue Mar 17, 2018 · 12 comments

Comments

@Richardn2002
Copy link

I'm doing some AI project on my tablet.I find that there's a brain simulator called Nest(built from 1994).Now all libraries needed installed , Python ,Python,GCC going well,cmake config ran successfully
(but:
screenshot_20180316-194746
)
screenshot_20180316-123339

make started
screenshot_20180316-123506

then
my heart sank
screenshot_20180316-123749

I tried multiple times and tried older versions of Nest but the error msgs were all the same.(tried disabling all optional functions of Nest)

I once suspected that it was the missing mach-o.h .....but Google results of mach-o.h were all about OSX dev...?

then I suspected that I was Missing some glibc
but ./configure in the glibc-2.9 didn't work for lack of permission(and I guess that termux have already set up c for us because no one was complaining about c right?)

what's wrong?

@Grimler91
Copy link
Member

ˋ/sdcard/Python/The Project/nest-simulator-2.14.0/...ˋ
Move the code to your home directory and try again.

@Richardn2002
Copy link
Author

Richardn2002 commented Mar 17, 2018

@Grimler91 not helping...everything was the same
(i'm thinking of buying a small Linux server...losing hope in termux.no.......)
any other ideas?
does it have something to do with permissions and why there are 2error says expected")"?

@Richardn2002
Copy link
Author

@Grimler91
screenshot_20180317-195257

@Grimler91
Copy link
Member

(i'm thinking of buying a small Linux server...losing hope in termux.no.......)

You have a bit too much faith in termux perhaps, it's a terminal emulator running on android, not a gnu/linux system. Many software requires some patching to work and that seems to be the case in this case.

Did you download the sources from http://www.nest-simulator.org/download/?
I can have a quick look.

@Richardn2002
Copy link
Author

@Grimler91 yes I do

@Grimler91
Copy link
Member

@richard20020815 It compiles without errors for me after I've installed dependencies, both on aarch64 and arm. Maybe you're missing some dependency, hard to tell without a full log.

@Richardn2002
Copy link
Author

@Grimler91 you mean you installed the dependencies listed on the site?
but many packages do not exist in termux's apt search
their name changed or something?

OK,suppose I have none of the packages listed on the site(except Python related)
what should I install?

(sorry for wasting your time...many questions may sound silly because I'm very new to termux)

full error log:
CMakeError.log

@Grimler91
Copy link
Member

Please run cmake . &> cmake.log and post that log.

I installed the dependencies that the cmake configuration said were necessary.
Python related packages, like cython, can be installed through pip: pip install cython.

@Richardn2002
Copy link
Author

maybe it's just because I don't know the names of the dependencies I need in termux xD

cmake.log

@Grimler91
Copy link
Member

That looks alright.
Don't know why you get errors when making then.

Which device is this on?
What's the output of uname -a?

@Richardn2002
Copy link
Author

Lenovo TB-8703F

Linux localhost 3.18.24-perf-g29ace07 #1 SMP PREEMPT Wed Jun 28 14:54:18 CST 2017 aarch64 Android

(if you are still confused...that's OK.i am used to this tablet.Everything of this tablet is perfect except that it has an special os made for PRC with Google removed , bootloader locked and additional permission restrictions.For example,normal Google service installer fails on this device for lack of permission.Maybe it refused termux to access preinstalled c library or something like that.If so,i'm going to rent a cloud service instead to do my project.)

@twaik
Copy link
Member

twaik commented Dec 23, 2023

Closing this because it is not related to terminal-emulator and most probably dependency related.

@twaik twaik closed this as completed Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants