SS Express: can't find Makefile-impl.mk

sysinfo:

jdk 1.6.0_01

build 200701170600 (installed from tarball)

netbeans-55_mars

linux fc5 (knowingly unsuppored)

When trying to make ``Welcome'' in the IDE using the existing ``Important/Makefile'' provided, here's the error upon right clicking for the popup menu and then selecting ``Make'':

dmake: Warning: Can't find `nbproject/Makefile-impl.mk': No such file or directory

dmake: Fatal error in reader: Makefile, line 108: Read of include file `nbproject/Makefile-impl.mk' failed

If the environment is unsupported and that's the end of the story, I'll go away. Otherwise, any help is appreciated.

The URL for the IDE tutorial (which I tried before posting this) is:

http://www.dscpreview.sfbay/sunstudio/downloads/ide/ssx3quickstart/quickstart.h tml

Lynx reports:

Looking up www.dscpreview.sfbay

Unable to locate remote host www.dscpreview.sfbay.

Alert!: Unable to connect to remote host.

[998 byte] By [bob_nelsona] at [2007-11-27 4:14:54]
# 1

> sysinfo:

> jdk 1.6.0_01

> build 200701170600 (installed from tarball)

> netbeans-55_mars

> linux fc5 (knowingly unsuppored)

Can you build with a different make? E.g., /usr/ccs/bin/make or gmake (if you have the latter installed).

> The URL for the IDE tutorial (which I tried before

> posting this) is:

>

> http://www.dscpreview.sfbay/sunstudio/downloads/ide/ss

> x3quickstart/quickstart.html

This is an internal Sun server, AFAIK, so you can't access it.

Paul

Paul_Floyda at 2007-7-12 9:21:14 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2

> > sysinfo:

> > jdk 1.6.0_01

> > build 200701170600 (installed from tarball)

> > netbeans-55_mars

> > linux fc5 (knowingly unsuppored)

>

> Can you build with a different make? E.g.,

> /usr/ccs/bin/make or gmake (if you have the latter

> installed).

Not material. The ``Important/Makefile'' includes a non-existent file, the cited

``Makefile-impl.mk'' in the subject line of my post.

> > The URL for the IDE tutorial (which I tried before

> > posting this) is:

> >

> http://www.dscpreview.sfbay/sunstudio/downloads/ide/ss/x3quickstart/quickstart. html

>

> This is an internal Sun server, AFAIK, so you can't

> access it.

If it's an internal-only server, why does the Sun Studio for Linux IDE have it linked as the site for the tutorial?

bob_nelsona at 2007-7-12 9:21:14 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 3

> Not material. The ``Important/Makefile'' includes a

> non-existent file, the cited

> ``Makefile-impl.mk'' in the subject line of my post.

I was wondering if it was an 'include -Makefile-impl.mk' (I don't know if this syntax is supported by standard/Sun make). This doesn't seem to be the case.

When I build 'Welcome', the project is generated in ~/SunStudioProjects/Welcome, and everything is there.

Which version of glibc does FC5 use? SS Express requires 2.3.3 or later.

> If it's an internal-only server, why does the Sun

> Studio for Linux IDE have it linked as the site for

> the tutorial?

Probably because SS Express is a pre-release version.

Paul

Paul_Floyda at 2007-7-12 9:21:14 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 4

I'll bypass quoting the message thread in the interest of cutting to the chase. Review the prior messages on this topic for background. All of this presumes a fresh install of the February 2007 build of ``Sun Studio Express'' (and is, in fact, platform independent).

1). The first problem I encountered (which led to my posting in the first place) is likely due to the ``Express'' nature of the software. The link to the tutorial points to what I understand is a Sun internal server. Not having access to the tutorial is frustrating but forgivable given that ``Express'' is a crucible for finding problems. My only wish is that the tutorial link on the ``Start'' page indicate that the URL is for internal Sun use only.

2). Unlike Sun Studio 11 where the ``Makefile'' is clearly exposed and is the manner in which one builds a project, Sun Studio 12 is very different. My resolution of the problem was to right-click on the top-level ``Welcome'' item and then select ``Build Project''. This step then creates the missing ``nbproject/Makefile-impl.mk'' file.

It has nothing to do with the platform, the compiler suite or the libraries. It's a usage error that arose from not having access to the tutorial which, more than likely, would have explained the proper procedure.

The one critique arising from this is that a more prescriptive error message is called for. We old school developers are accustomed to seeing a ``Makefile'' and treating it as a call to action. Consequently, it was only natural to right-click on the ``Important Files/Makefile'' and select ``Make''. To improve this, here are two suggestions:

1). Change the name from ``Important Files'' to ``Internal Files''.

2). If the ``nbproject/Makefile-impl.mk'' file does not yet exist, popup a dialog explaining that the ``Build Project'' step is required.

Now that I've gotten past this hurdle with SS12, watch for more postings with constructive criticism from me. I'm able to readily run SS12 on three different platforms (Linux, Solaris Sparc amd Solaris x86). Based upon what I observe, I'll pass these along in this forum.

bob_nelsona at 2007-7-12 9:21:14 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 5

> 1). The first problem I encountered...

Correct. This express release went to customers before the tutorial was updated. The

"internal" URL doesn't exist (at least today:-). The FCS version of Sun Studio 12 is

close to release. Once its released, you should be able to find the quickstart guide

somewhere from developers.sun.com.

Until then, you could look at http://www.netbeans.org/kb/55/quickstart-cnd.html which

is similar (but not identical). This URL is for the C/C++ plugin in NetBeans. Its what the

Sun Studio IDE is based on, but won't contain the additional features or Sun Studio

look that the sunstudio IDE has. But it will describe the project system and provide a

reasonable tutorial on using the IDE.

> 2). Unlike Sun Studio 11 where the ``Makefile'' is clearly exposed...

The IDE in Sun Studio 12 is project oriented. All primary user actions are on either

the "main project" or in some cases on a selected project (the "main" project has a

bold highlight to let you know which one it is). In your case, the Build Project action

was the one you would want. Also Run Project and Debug Project (and their 'main'

counterparts from menus and toolbars).

We hadn't envisioned users drilling down to the Makefile and trying to run it before

pressing any of the project actions (any of them would have created the missing

Makefile-impl.mk). Its too late in the release process to change this. What we can do

is see if other users do this and if so, see if we can provide a way to force creation

of the missing Makefiles (its not trivial doing this from the Makefile in Important Files).

> 1). Change the name from ``Important Files'' to ``Internal Files''

As for renaming "Important Files" to "Internal Files", we inherited the name from the

NetBeans IDE. NetBeans would have to change the name before we would.

> 2). If the ``nbproject/Makefile-impl.mk'' file does not yet exist...

We'll track user comments before deciding this. While it slowed you up initially, my

guess is you'll remember next time you use the IDE. If others have this same problem

then we'll find a way to ensure the missing files are pre-created.

I look forward to further feedback from you.

Thanks,

Gordon

gordonp999a at 2007-7-12 9:21:14 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 6
> The URL for the IDE tutorial (which I tried before> posting this) is:>> http://www.dscpreview.sfbay/sunstudio/downloads/ide/ss> x3quickstart/quickstart.htmlJust FYI: this has been fixed in soon-to-be-available latest version.
MaximKartasheva at 2007-7-12 9:21:14 > top of Java-index,Development Tools,Solaris and Linux Development Tools...