Error installing with Mac OS X

Trouble during PacsOne Server installations
Post Reply
crousebr
Posts:3
Joined:Thu Jul 12, 2007 6:33 pm
Error installing with Mac OS X

Post by crousebr » Thu Jul 12, 2007 6:42 pm

I've ran the install.sh script and it does indeed install most of PacsOne.

The issue comes when it tries to run Setup.exe - it doesn't

Configuring PacsOne Server...
./install.sh: line 164: /Applications/PacsOne/Setup.exe: cannot execute binary file
PacsOne Server Installation Complete.

The PacsOne Installation Guide states that Setup.exe can run on the Mac OS X Platform. I understand .exe files are for Windows and DOS, and am confused as to how this installation would ever work on Mac OS X unless there was a requirement needed for installation that I'm missing.

Could someone please point me in the right direction.

Thank you very much,

Brandon

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Fri Jul 13, 2007 1:18 am

This looks like a file corruption problem, as the filename does not really matter (whether it's Setup.exe or even Setup.doc).

Can you run the following command to check if the Setup.exe is corrupted?

Code: Select all

# ls -l /Applications/PacsOne/Setup.exe
# otool -L /Applications/PacsOne/Setup.exe
If the Setup.exe is valid, then the output of the above "otool -L" command should report no shared library which is "Not Found".

crousebr
Posts:3
Joined:Thu Jul 12, 2007 6:33 pm

Post by crousebr » Fri Jul 13, 2007 1:37 pm

When I run those commands

# ls -l /Applications/PacsOne/Setup.exe
-rwxr-xr-x 1 crouseb admin 3991892 Apr 10 23:32 /Applications/PacsOne/Setup.exe


# otool -L /Applications/PacsOne/Setup.exe
/Applications/PacsOne/Setup.exe:
/usr/local/lib/libmysqlpp.1.dylib (compatibility version 2.0.0, current version 2.0.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 368.28.0)
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.6)

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Fri Jul 13, 2007 3:27 pm

Looks like all the required shared libraries are present, so this seems like a security permission issue.

Try copying any binary executable program into /Applications/PacsOne/, and try to run it from there:

Code: Select all

/Applications/PacsOne/dummy
where dummy is any binary executable program.

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Sat Jul 14, 2007 1:47 am

More updates on this topic:

The errors turned out to be the results of the wrong processor type (PowerPC instead of x86), as the current MacOS X version of PacsOne Server only supports Intel/AMD x86-based processors and MacOS X version 10.4 or later.

Post Reply