Entware Tools Build Fails Dependancy python 2.7

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
garycnew
DD-WRT Novice


Joined: 15 Nov 2020
Posts: 7

PostPosted: Sat Jun 19, 2021 7:13    Post subject: Entware Tools Build Fails Dependancy python 2.7 Reply with quote
All:

I am running into issues trying to build Entware tools. I have all the build dependancies satisfied except for python 2.7, which is no longer available in the current repository.

# opkg update
Downloading http://bin.entware.net/armv7sf-k2.6/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware

I attempted to install the archived version of python 2.7, but opkg complains with the following:

# curl --output python_2.7.17-2_armv7-2.6.ipk http://bin.entware.net/armv7sf-k2.6/archive/python_2.7.17-2_armv7-2.6.ipk

# opkg install ./python_2.7.17-2_armv7-2.6.ipk
Unknown package 'python'.
Collected errors:
* pkg_hash_fetch_best_installation_candidate: Packages for python found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package python.

I find it ironic that Entware no longer provides the required python 2.7 package(s) that are required to build Entware tools.

Your guidance is greatly appreciated.

Respectfully,


Gary
Sponsor
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6437
Location: UK, London, just across the river..

PostPosted: Sat Jun 19, 2021 7:27    Post subject: Reply with quote
what router /firmware ??

it seams your are doing it wrong or this package is not available and not compatible...use python3

follow this guide
https://wiki.dd-wrt.com/wiki/index.php/Installing_Entware

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
garycnew
DD-WRT Novice


Joined: 15 Nov 2020
Posts: 7

PostPosted: Sat Jun 19, 2021 7:49    Post subject: Reply with quote
Hi Alozaros!

Router: Asus RT-AC66U_B1

I have Entware installed and working. That's not the issue. The issue is I'm trying to build my own package, which requires Entware tools. Entware tools has a long list of dependancies, which I have satisfied except for python 2.7. Python3 is also a dependency, which is available in the current repository and I was able to successfully install to satisfy that dependency of Entware tools. However, Entware tools still requires python 2.7 to be installed. If you look at the archive directory of the same repository, you'll see that is where I procured the python 2.7 package. I don't get why it would be incompatible or why Entware tools would require it after removing it from the current repository.

Your assistance is greatly appreciated.

Respectfully,


Gary
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12888
Location: Netherlands

PostPosted: Sat Jun 19, 2021 8:10    Post subject: Reply with quote
Are you trying to compile Entware on the router ?

Cross compiling is the way to go:
https://github.com/Entware/Entware-ng/wiki/Compile-packages-from-sources

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
garycnew
DD-WRT Novice


Joined: 15 Nov 2020
Posts: 7

PostPosted: Sat Jun 19, 2021 8:23    Post subject: Reply with quote
Hi egc!

Yes... That's exactly what I'm trying to do. Although, I'm using the more current Entware reference apposed to the archived Entware-ng one you provided.

https://github.com/Entware/Entware/wiki/Compile-packages-from-sources

I need to find an Entware guru whom I'm sure could quickly set me on the right path to install python 2.7. However, Entware doesn't have a centralized forum and instead references the many replacement router firmware forums out there.

I appreciate your reply.

Respectfully,


Gary
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6437
Location: UK, London, just across the river..

PostPosted: Sat Jun 19, 2021 8:34    Post subject: Reply with quote
yep it ironic and it happens even on linux distros too..

* pkg_hash_fetch_best_installation_candidate: Packages for python found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package python.

it seams the last entware is

http://bin.entware.net/armv7sf-k3.2

and you are on
http://bin.entware.net/armv7sf-k2.6

also
https://github.com/Entware/Entware/wiki/Compile-packages-from-sources

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
garycnew
DD-WRT Novice


Joined: 15 Nov 2020
Posts: 7

PostPosted: Sat Jun 19, 2021 9:00    Post subject: Reply with quote
Alozaros,

The armv7sf-k3.2 is the kernel 3.2 repository.

The armv7sf-k2.6 is the kernel 2.6 repository.

Nether offer python 2.7 in their respective current repositories (both archived).

I can't seem to force install the python 2.7 package, either.

Respectfully,


Gary
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum