Hi MH,

On 06/03/2020 10.38, 'MH' via Django users wrote:
Before I do something very difficult like this cross compiling I wanted to try to get gcc to run on the synology diskstation.

That definitely sounds like a very good idea. As I mentioned I have zero experience with the Synology Diskstation, but if you can somehow install a compiler directly on the target, that would be much, much easier.

./pip3 search gcc
clang-fake-gcc (0.2.1)-A GCC-like compiler interface,but runs Clanginstead.Isn't that neat?
gcc7 (0.0.9)                    - GCC v7 binaries

So it seems like both GCC and Clang is available on the target. That's definitely promising.

./pip3 install gcc7
Defaultingto user installation because normal site-packages isnotwriteable
ERROR:Couldnotfind a version that satisfies the requirement gcc7 (fromversions:none)
ERROR:Nomatching distribution found forgcc7
|


The error message is clear enough. Your global site-packages directory is not writeable for the current user. I cannot see why that wouldn't be a problem for any other packages you install with pip?

Have you somehow installed some packages as root and some as another user?

> I thougth that everything found by pip3 search should automatically be
> available, shouldn't it?
>

That definitely depends on the package. It's easy enough to create a pip package that won't install anywhere :-)

Anyway, I don't have that much more to contribute with, sorry. I mostly replied because I do have some experience with cross compilation and wanted to give my input.

Best of luck with your experiment.

Kind regards,

Kasper Laudrup

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/bde1343c-e326-5abe-7b47-bf538cc276fb%40stacktrace.dk.

Reply via email to