Skip to content
Guest Big Announcement

theos make package problem

Featured Replies

im trying to make a package from a flex patch but 

cd /var/mobile/lumositypremium
 
this is what i try to do, make package
:var/mobile/lumositypremium root#: make package

this happens :(
makefile:1: /absolute/path/to/theos/makefiles/common.
mk: No such files or directory
makefile:6: /tweak.mk: no such file or directory
make: *** No rule to make target '/tweak.mk'. stop.

could it be that i wrote Tweak.xm wrong?

%hook LumosityDebugSettings

-(bool)isDebug {
return TRUE;
}
-(bool)forceSubscribedUser {
return TRUE;
}

%end

aditional information: theos is currently located in /var/root & /var . do i need to keep 2 of the same?

thanks

Solved by Aradmey

29 minutes ago, Ventilador said:

 


cd /var/mobile/lumositypremium
 
this is what i try to do, make package
:var/mobile/lumositypremium root#: make package

this happens :(
makefile:1: /absolute/path/to/theos/makefiles/common.
mk: No such files or directory
makefile:6: /tweak.mk: no such file or directory
make: *** No rule to make target '/tweak.mk'. stop.

 

In MakeFile, set these lines:

/absolute/path/to/theos/makefiles/common
/tweak.mk

To:

$THEOS/makefiles/common
$THEOS/makefiles/tweak.mk

Or if you didn't define $THEOS:

/var/root/theos/makefiles/common
/var/root/theos/makefiles/tweak.mk

  • Author
4 minutes ago, Aradmey said:

In MakeFile, set these lines:

 


/absolute/path/to/theos/makefiles/common
/tweak.mk

 

To:

 


$THEOS/makefiles/common
$THEOS/makefiles/tweak.mk

 

Or if you didn't define $THEOS:

 


/var/root/theos/makefiles/common
/var/root/theos/makefiles/tweak.mk

 

 

 

this is what i have inside makefile

include $(THEOS)/makefiles/common.mk

TWEAK_NAME = LumosityPremium
LumosityPremium_FILES = Tweak.xm

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
        install.exec "killall -9 SpringBoard"

where exactly do i do what you said? sorry

6 minutes ago, Ventilador said:

 

 

this is what i have inside makefile


include $(THEOS)/makefiles/common.mk

TWEAK_NAME = LumosityPremium
LumosityPremium_FILES = Tweak.xm

include $(THEOS_MAKE_PATH)/tweak.mk

after-install::
        install.exec "killall -9 SpringBoard"

where exactly do i do what you said? sorry

Do you have a MakeFile file in LumosityPremium folder that you tried to make package of?

If so, this is where you need to make those changes I said in the previous post.

  • Author
5 minutes ago, Aradmey said:

Do you have a MakeFile file in LumosityPremium folder that you tried to make package of?

If so, this is where you need to make those changes I said in the previous post.

yes i do have MakeFile file in LumosityPremium, but where exactly in the code i need to do the changes?

3 hours ago, Ventilador said:

yes i do have MakeFile file in LumosityPremium, but where exactly in the code i need to do the changes?

Open it as a text file and it's the 1st and 6th lines.

  • Author
18 hours ago, Aradmey said:

Open it as a text file and it's the 1st and 6th lines.

sorry to keep bothering but i tried changing it to

include $(THEOS)/makefiles/common


TWEAK_NAME = LumosityPremium
LumosityPremium_FILES = Tweak.xm


include $(THEOS_MAKE_PATH)/makefiles/tweak.mk

after-install::
        install.exec "killall -9 SpringBoard"

and

include $(THEOS)/var/root/theos/makefiles/common


TWEAK_NAME = LumosityPremium
LumosityPremium_FILES = Tweak.xm


include $(THEOS_MAKE_PATH)/var/root/theos/makefiles/tweak.mk

after-install::
        install.exec "killall -9 SpringBoard"

but everytime i get this and i dont understand the problem very well

Makefile:1: /makefiles/common: No such file or directory
Makefile:8: /makefiles/tweak.mk: No such file or directory
make: *** No rule to make target `/makefiles/tweak.mk'.  Stop.

sorry to keep asking for help but i really appreciate it and its helping me a lot through learning :)

Updated by Ventilador

  • Solution
include /var/root/theos/makefiles/common.mk

include /var/root/theos/makefiles/tweak.mk

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.