This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 179192 - Mac OS X installer is failing
Summary: Mac OS X installer is failing
Status: VERIFIED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: Mac Native (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P1 normal (vote)
Assignee: Yulia Novozhilova
URL:
Keywords:
: 179196 179295 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-01-04 07:29 UTC by Martin Schovanek
Modified: 2013-03-24 15:44 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schovanek 2010-01-04 07:29:54 UTC
[#201001020201, jdk1.6]

The installer fails with:

an  4 15:13:47 dhcp-eprg06-21-154 installd[75732]: ./postflight: Tomcat is in /Applications/NetBeans/apache-tomcat-6.0.20
Jan  4 15:13:47 dhcp-eprg06-21-154 installd[75732]: ./postflight: + '[' '/Applications/NetBeans/NetBeans Dev 201001020201.app' = '' ']'
Jan  4 15:13:47 dhcp-eprg06-21-154 installd[75732]: ./postflight: + '[' /Applications/NetBeans/apache-tomcat-6.0.20 = '' ']'
Jan  4 15:13:47 dhcp-eprg06-21-154 installd[75732]: ./postflight: /Volumes/NetBeans Dev 201001020201/NetBeans Dev 201001020201.mpkg/Contents/Packages/baseide-201001020201.pkg/Contents/Resources/add_tc.sh: line 26: syntax error near unexpected token `else'
Jan  4 15:13:47 dhcp-eprg06-21-154 installd[75732]: ./postflight: /Volumes/NetBeans Dev 201001020201/NetBeans Dev 201001020201.mpkg/Contents/Packages/baseide-201001020201.pkg/Contents/Resources/add_tc.sh: line 26: `  else'
Jan  4 15:13:47 dhcp-eprg06-21-154 installd[75732]: PackageKit: Install Failed: PKG: post-flight scripts for "org.netbeans.ide.baseide.201001020201"\nError Domain=PKInstallErrorDomain Code=112 UserInfo=0x10046aef0 "An error occurred while running scripts from the package “baseide-201001020201.pkg”." {\n    NSFilePath = "./postflight";\n    NSLocalizedDescription = "An error occurred while running scripts from the package \U201cbaseide-201001020201.pkg\U201d.";\n    NSURL = "./Contents/Packages/baseide-201001020201.pkg -- file://localhost/Volumes/NetBeans%20Dev%20201001020201/NetBeans%20Dev%20201001020201.mpkg/";\n    PKInstallPackageIdentifier = "org.netbeans.ide.baseide.201001020201";\n}
Jan  4 15:13:47 dhcp-eprg06-21-154 Installer[75726]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 UserInfo=0x1001f0cc0 "An error occurred while running scripts from the package “baseide-201001020201.pkg”."
Comment 1 Michael Nazarov 2010-01-11 02:20:14 UTC
Confirmed? I was unable to installe with JDK 1.5 and latest build as well.
Comment 2 Michael Nazarov 2010-01-11 02:21:30 UTC
I meant "confirmed," unfortunately russian layout suddenly got "?" instead of "," :)
Comment 3 dlipin 2010-01-11 04:04:29 UTC
*** Bug 179295 has been marked as a duplicate of this bug. ***
Comment 4 dlipin 2010-01-11 04:04:34 UTC
*** Bug 179196 has been marked as a duplicate of this bug. ***
Comment 5 dlipin 2010-01-11 04:08:27 UTC
main #6bd8b910289f
Comment 6 Quality Engineering 2010-01-11 23:31:09 UTC
Integrated into 'main-golden', will be available in build *201001120200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/6bd8b910289f
User: Dmitry Lipin <dlipin@netbeans.org>
Log: Issue #179192 Mac OS X installer is failing
Comment 7 athompson 2010-01-13 09:26:31 UTC
Yup, works here now.
Comment 8 vbeffa 2011-01-12 10:00:23 UTC
I tried two different nightly builds:

netbeans-trunk-nightly-201012040001-ml-javase-macosx
netbeans-trunk-nightly-201101110000-ml-javase-macosx

and got the same error message for both:

NetBeans Development Version XXXXXX cannot be installed on this computer.

I'm running 10.5 on a PowerPC. Is this platform still supported??
Comment 9 Yulia Novozhilova 2011-01-12 15:40:32 UTC
Unfortunately Power PC is not supported anymore and installer has some check to prevent running on PowerPC hardware. You can install NetBeans form zip distribution.
Comment 10 remspec 2012-11-25 23:27:03 UTC
So can anyone make a step by step installation procedure for netbeans for mac 10.5.8 on native mac?

So far, I have done these and nothing worked:

1) installed the software on root
2) made sure I have made Jave 1.6 prioritized
3) uninstalled and reinstalled

This thread has "failing" as most comment. I hope someone can just give all steps to successful installation of netbeans. Thanks
Comment 11 athompson 2013-03-24 15:44:03 UTC
yup