Skip to content
Guest Big Announcement

[New 2024] Install Theos on Windows 10/11 (Subsystem for Linux)

Featured Replies

  • Replies 75
  • Views 46.5k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

I'm getting this error when I run make package:

Hal0405@Nicholas-Laptop:/projects/test$ make package
bash: /opt/theos/toolchain/linux/swift/bin/swift: No such file or directory
mkdir: cannot create directory ‘/projects/test/.theos’: Permission denied
/opt/theos/makefiles/master/rules.mk:93: recipe for target '/projects/test/.theos/build_session' failed
make: *** [/projects/test/.theos/build_session] Error 1

Help would be very appreciated!

getting this error now when running make package:

Laptop:~/test3$ make package
bash: /opt/theos/toolchain/linux/swift/bin/swift: No such file or directory
> Making all for tweak test3…
bash: /opt/theos/toolchain/linux/swift/bin/swift: No such file or directory
bash: /opt/theos/toolchain/linux/swift/bin/swift: No such file or directory
bash: /opt/theos/toolchain/linux/swift/bin/swift: No such file or directory
bash: /opt/theos/toolchain/linux/swift/bin/swift: No such file or directory
==> Preprocessing Tweak.xm…
==> Compiling Tweak.xm (arm64)…
bash: /opt/theos/toolchain/linux/iphone/bin/armv7-apple-darwin11-clang++: No such file or directory
/opt/theos/makefiles/instance/rules.mk:295: recipe for target '/home/Hal0405/test3/.theos/obj/debug/arm64/Tweak.xm.a6c63878.o' failed
make[3]: *** [/home/Hal0405/test3/.theos/obj/debug/arm64/Tweak.xm.a6c63878.o] Error 127
==> Preprocessing Tweak.xm…
==> Compiling Tweak.xm (armv7)…
bash: /opt/theos/toolchain/linux/iphone/bin/armv7-apple-darwin11-clang++: No such file or directory
/opt/theos/makefiles/instance/rules.mk:295: recipe for target '/home/Hal0405/test3/.theos/obj/debug/armv7/Tweak.xm.618bd16f.o' failed
make[3]: *** [/home/Hal0405/test3/.theos/obj/debug/armv7/Tweak.xm.618bd16f.o] Error 127
/opt/theos/makefiles/instance/library.mk:32: recipe for target '/home/Hal0405/test3/.theos/obj/debug/arm64/test3.dylib' failed
make[2]: *** [/home/Hal0405/test3/.theos/obj/debug/arm64/test3.dylib] Error 2
make[2]: *** Waiting for unfinished jobs....
/opt/theos/makefiles/instance/library.mk:32: recipe for target '/home/Hal0405/test3/.theos/obj/debug/armv7/test3.dylib' failed
make[2]: *** [/home/Hal0405/test3/.theos/obj/debug/armv7/test3.dylib] Error 2
/opt/theos/makefiles/instance/library.mk:24: recipe for target 'internal-library-all_' failed
make[1]: *** [internal-library-all_] Error 2
/opt/theos/makefiles/master/rules.mk:106: recipe for target 'test3.all.tweak.variables' failed
make: *** [test3.all.tweak.variables] Error 2

==> Preprocessing Tweak.xm…
==> Compiling Tweak.xm (arm64)…
==> Linking tweak KaninsSBTweaks (arm64)…
ld: file not found: /usr/lib/system/liblaunch.dylib for architecture arm64
arm64-apple-darwin14-clang-3.9: error: linker command failed with exit code 1 (use -v to see invocation)
/opt/theos/makefiles/instance/library.mk:32: recipe for target '/home/Kanin/kaninssbtweaks/.theos/obj/debug/arm64/KaninsSBTweaks.dylib' failed
make[3]: *** [/home/Kanin/kaninssbtweaks/.theos/obj/debug/arm64/KaninsSBTweaks.dylib] Error 1
/opt/theos/makefiles/instance/library.mk:32: recipe for target '/home/Kanin/kaninssbtweaks/.theos/obj/debug/arm64/KaninsSBTweaks.dylib' failed
make[2]: *** [/home/Kanin/kaninssbtweaks/.theos/obj/debug/arm64/KaninsSBTweaks.dylib] Error 2
/opt/theos/makefiles/instance/library.mk:24: recipe for target 'internal-library-all_' failed
make[1]: *** [internal-library-all_] Error 2
/opt/theos/makefiles/master/rules.mk:106: recipe for target 'KaninsSBTweaks.all.tweak.variables' failed
make: *** [KaninsSBTweaks.all.tweak.variables] Error 2

pls halp @DiDA

 

EDIT: Got it working with this: https://app.box.com/s/1abpis0ztjd3kwoohoft0rpvtjncw9d3 SDK

Thank you so much @heinekenpsx!

Updated by Affe2626

the third command is not working

 

echo "umask 0022" >> ~/.bashrc

Capture.png

 

 

EDIT : THIS HAS BEEN SOLVED 

 

but i am facing another problem now..

 

LAPTOP-I0N13D38:/tmp$ wget http://mirrors.kernel.org/ubuntu/pool/main/g/gcc-5/libstdc++6_5.4.0-6ubuntu1~16.04.9_amd64.deb -O libstdc++.deb
--2018-06-29 05:57:07--  http://mirrors.kernel.org/ubuntu/pool/main/g/gcc-5/libstdc++6_5.4.0-6ubuntu1~16.04.9_amd64.deb
Resolving mirrors.kernel.org (mirrors.kernel.org)... 198.145.21.9, 2001:19d0:306:6:0:1994:3:14
Connecting to mirrors.kernel.org (mirrors.kernel.org)|198.145.21.9|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://mirrors.edge.kernel.org/ubuntu/pool/main/g/gcc-5/libstdc++6_5.4.0-6ubuntu1~16.04.9_amd64.deb [following]
--2018-06-29 05:57:08--  http://mirrors.edge.kernel.org/ubuntu/pool/main/g/gcc-5/libstdc++6_5.4.0-6ubuntu1~16.04.9_amd64.deb
Resolving mirrors.edge.kernel.org (mirrors.edge.kernel.org)... 147.75.101.1, 2604:1380:2001:3900::1
Connecting to mirrors.edge.kernel.org (mirrors.edge.kernel.org)|147.75.101.1|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-06-29 05:57:08 ERROR 404: Not Found.

 

 

Updated by Vegito

6 minutes ago, Laxus said:
Vegito@LAPTOP-I0N13D38:/tmp$ dpkg-deb -x libstdc++.deb libstdc++
Vegito@LAPTOP-I0N13D38:/tmp$ c
Vegito@LAPTOP-I0N13D38:/tmp$ cp libstdc++/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 /usr/lib/x86_64-linux-gnu/
cp: cannot stat 'libstdc++/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21': No such file or directory
Vegito@LAPTOP-I0N13D38:/tmp$ cd ..
Vegito@LAPTOP-I0N13D38:/$ cp libstdc++/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 /usr/lib/x86_64-linux-gnu/
cp: cannot stat 'libstdc++/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21': No such file or directory
Vegito@LAPTOP-I0N13D38:/$ cd tmp
Vegito@LAPTOP-I0N13D38:/tmp$ cp libstdc++/usr/lib/x86_64-linux-gnu/libstdc++ /usr/lib/x86_64-linux-gnu/
cp: cannot stat 'libstdc++/usr/lib/x86_64-linux-gnu/libstdc++': No such file or directory

 

Just now, Vegito said:

Vegito@LAPTOP-I0N13D38:/tmp$ dpkg-deb -x libstdc++.deb libstdc++
Vegito@LAPTOP-I0N13D38:/tmp$ c
Vegito@LAPTOP-I0N13D38:/tmp$ cp libstdc++/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 /usr/lib/x86_64-linux-gnu/
cp: cannot stat 'libstdc++/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21': No such file or directory
Vegito@LAPTOP-I0N13D38:/tmp$ cd ..
Vegito@LAPTOP-I0N13D38:/$ cp libstdc++/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21 /usr/lib/x86_64-linux-gnu/
cp: cannot stat 'libstdc++/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21': No such file or directory
Vegito@LAPTOP-I0N13D38:/$ cd tmp
Vegito@LAPTOP-I0N13D38:/tmp$ cp libstdc++/usr/lib/x86_64-linux-gnu/libstdc++ /usr/lib/x86_64-linux-gnu/
cp: cannot stat 'libstdc++/usr/lib/x86_64-linux-gnu/libstdc++': No such file or directory

 

another problem, it can't find the directory

@DiDA @Laxus i am constantly getting this error when trying to compile (make package) one simple tweak:

Quote

make: Makefile: Permission denied
make: *** No rule to make target 'package'.  Stop.

1) Im already inside my project folder.

2) i had no problems while installing theos on my windows 10 pc, so i guess i have everything necessary.

Could you guys please give some help what could be the problem???

  • Author
3 minutes ago, SpLiNt3r said:

@DiDA @Laxus i am constantly getting this error when trying to compile (make package) one simple tweak:

1) Im already inside my project folder.

2) i had no problems while installing theos on my windows 10 pc, so i guess i have everything necessary.

Could you guys please give some help what could be the problem???

Sounds like permission issues. Restarting your Ubuntu Window should fix this.

Using Windows Explorer to replace or change the files breaks the permissions in Ubuntu sadly.

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.