Forums

Home / Forums

You need to log in to create posts and topics. Login · Register

Need help for building installer

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

 

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 ?

 

 

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 .

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

thanks for your reply,it works now.

You are welcome. I am happy you resolved the issue.