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 74078 - Build of C/C++ Application failed on Linux
Summary: Build of C/C++ Application failed on Linux
Status: CLOSED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Thomas Preisler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-28 12:27 UTC by jsiebert
Modified: 2007-12-14 14:48 UTC (History)
0 users

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 jsiebert 2006-03-28 12:27:36 UTC
Hi,

I'm running Netbeans 5.0 with cnd on Fedora Core 5 Linux with JDK version
1.5.0_06. When I create a new C/C++ Application project inside Netbeans I notice
two things:

1. When I add a new file to the project (e.g. New Mail C++ File) it doesn't show
up in the virtual "Source Files" folder but below the Project root node.

2. When I try to build the project (contains only an empty C++ Main File created
by the wizard) I get the following error message:

--
Running "make -f Makefile CONF=Debug" in /home/local/tmp/TestApplication

Build failed. Exit value -1.
--

That's all for the moment

Greetings

Jens Siebert
Comment 1 _ gordonp 2006-03-30 18:16:29 UTC
We don't have Fedora Core systems to test on, so it might take a while before
we can verify and fix this problem. But it should certainly work on Fedora!
Comment 2 Thomas Preisler 2006-03-30 19:34:24 UTC
It is most likely caused by the installer bug 73899
(http://www.netbeans.org/issues/show_bug.cgi?id=73899).
To work around this, manually set execution permission on the file
cnd1/bin/stdouterr.sh in the installation tree.
Comment 3 julieg 2006-03-30 20:07:18 UTC
I have the NB 5.0 IDE + CND installed on sqao35 (Fedora core 3).
The installer bug is fixed if the latest CND is used.
I am able to reproduce items 1 & 2 listed below on sqao35.
Comment 4 jsiebert 2006-03-30 21:05:45 UTC
Hi,

it works now using the workaround proposed by thp.

Thanks for the help!
Comment 5 Thomas Preisler 2006-03-30 23:55:45 UTC
Great.

Regarding 1.: It is not a bug. You can add files to project root or to any of
your logical folders. If you want to add the file to a logical folder, select
the folder , or right-click it, and use the New -> File action from context
menu. What is  not yet working is file Cut&Paste or Drag&Drop so if you add a
file to the wrong folder you have to Remove it and then use Add Existing Item on
the folder you want to move it to. Cut&Paste or Drag&Drop is coming in future
milestones.
Comment 6 jsiebert 2006-03-31 06:40:34 UTC
My fault. I accidentally clicked on the project root node when I wanted to add a
new file. Sorry for reporting this as a bug. Should not do testing at night ;-)