Need help for building installer
6gvr7766
15 Posts
March 9, 2017, 1:43 amQuote from 6gvr7766 on March 9, 2017, 1:43 amI build the installer in TinyCoreLinux successfuly, an can run in my develop env , but can't be ran in Petasan install process , when run it mannuly , it raise "-sh: ./psinstaller :not found".
build env : TinyCoreLinux 6.x i686
and my build step:
1. qmake -project
2. qmake psinstaller.pro
3. make
I build the installer in TinyCoreLinux successfuly, an can run in my develop env , but can't be ran in Petasan install process , when run it mannuly , it raise "-sh: ./psinstaller :not found".
build env : TinyCoreLinux 6.x i686
and my build step:
1. qmake -project
2. qmake psinstaller.pro
3. make
admin
2,930 Posts
March 9, 2017, 3:24 pmQuote from admin on March 9, 2017, 3:24 pmHi,
The error looks like it cannot find the installer executable.
When you run it manually via ./psinstaller : are you sure the executable is in the current directory ?
Can you see it when you do ls in current directory ? if yes does it have the executable flag set ( if not do a chmod +x) ?
if you unpack the original installer tcz package and just place the executable you built and repackage, does the CD function correctly ?
Hi,
The error looks like it cannot find the installer executable.
When you run it manually via ./psinstaller : are you sure the executable is in the current directory ?
Can you see it when you do ls in current directory ? if yes does it have the executable flag set ( if not do a chmod +x) ?
if you unpack the original installer tcz package and just place the executable you built and repackage, does the CD function correctly ?
6gvr7766
15 Posts
March 10, 2017, 6:12 amQuote from 6gvr7766 on March 10, 2017, 6:12 amPath is correct,i can see it when i do ls, and has “x” permition,I am sure.
The cd is ok and can boot .
Path is correct,i can see it when i do ls, and has “x” permition,I am sure.
The cd is ok and can boot .
admin
2,930 Posts
March 10, 2017, 9:38 amQuote from admin on March 10, 2017, 9:38 amIt is strange it cannot find file. Can you attach screen shots of the output of
./psinstaller
ldd psinstaller
Also when you build the Qt project, you only need
qmake
make
It is strange it cannot find file. Can you attach screen shots of the output of
./psinstaller
ldd psinstaller
Also when you build the Qt project, you only need
qmake
make
6gvr7766
15 Posts
March 16, 2017, 6:08 amQuote from 6gvr7766 on March 16, 2017, 6:08 amthanks for your reply,it works now.
thanks for your reply,it works now.
admin
2,930 Posts
March 16, 2017, 2:40 pmQuote from admin on March 16, 2017, 2:40 pmYou are welcome. I am happy you resolved the issue.
You are welcome. I am happy you resolved the issue.
Need help for building installer
6gvr7766
15 Posts
Quote from 6gvr7766 on March 9, 2017, 1:43 amI build the installer in TinyCoreLinux successfuly, an can run in my develop env , but can't be ran in Petasan install process , when run it mannuly , it raise "-sh: ./psinstaller :not found".
build env : TinyCoreLinux 6.x i686
and my build step:
1. qmake -project
2. qmake psinstaller.pro
3. make
I build the installer in TinyCoreLinux successfuly, an can run in my develop env , but can't be ran in Petasan install process , when run it mannuly , it raise "-sh: ./psinstaller :not found".
build env : TinyCoreLinux 6.x i686
and my build step:
1. qmake -project
2. qmake psinstaller.pro
3. make
admin
2,930 Posts
Quote from admin on March 9, 2017, 3:24 pmHi,
The error looks like it cannot find the installer executable.
When you run it manually via ./psinstaller : are you sure the executable is in the current directory ?
Can you see it when you do ls in current directory ? if yes does it have the executable flag set ( if not do a chmod +x) ?
if you unpack the original installer tcz package and just place the executable you built and repackage, does the CD function correctly ?
Hi,
The error looks like it cannot find the installer executable.
When you run it manually via ./psinstaller : are you sure the executable is in the current directory ?
Can you see it when you do ls in current directory ? if yes does it have the executable flag set ( if not do a chmod +x) ?
if you unpack the original installer tcz package and just place the executable you built and repackage, does the CD function correctly ?
6gvr7766
15 Posts
Quote from 6gvr7766 on March 10, 2017, 6:12 amPath is correct,i can see it when i do ls, and has “x” permition,I am sure.
The cd is ok and can boot .
Path is correct,i can see it when i do ls, and has “x” permition,I am sure.
The cd is ok and can boot .
admin
2,930 Posts
Quote from admin on March 10, 2017, 9:38 amIt is strange it cannot find file. Can you attach screen shots of the output of
./psinstaller
ldd psinstaller
Also when you build the Qt project, you only need
qmake
make
It is strange it cannot find file. Can you attach screen shots of the output of
./psinstaller
ldd psinstaller
Also when you build the Qt project, you only need
qmake
make
6gvr7766
15 Posts
Quote from 6gvr7766 on March 16, 2017, 6:08 amthanks for your reply,it works now.
thanks for your reply,it works now.
admin
2,930 Posts
Quote from admin on March 16, 2017, 2:40 pmYou are welcome. I am happy you resolved the issue.
You are welcome. I am happy you resolved the issue.