|
|
Re: Import autotools project [message #731808 is a reply to message #731402] |
Mon, 03 October 2011 07:22 |
Satpal Chander Messages: 3 Registered: September 2011 |
Junior Member |
|
|
Thanks for you reply, Jeff,
However I'm having some problems. for some reason I'm unable to install linux tools, as per wiki.eclipse.org/Linux_Tools_Project/PluginInstallHelp installation guide.
I get the error:
Cannot complete the install because one or more required items could not be found.
Software being installed: Linux Tracing Toolkit Integration (LTTng) (Incubation) 0.3.1.201109262035 (org.eclipse.linuxtools.lttng.feature.group 0.3.1.201109262035)
Missing requirement: Linux Tracing Toolkit (LTTng) UI (Incubation) 0.3.1.201109262035 (org.eclipse.linuxtools.lttng.ui 0.3.1.201109262035) requires 'bundle org.eclipse.tm.tcf.core 0.3.0' but it could not be found
Cannot satisfy dependency:
From: Linux Tracing Toolkit Integration (LTTng) (Incubation) 0.3.1.201109262035 (org.eclipse.linuxtools.lttng.feature.group 0.3.1.201109262035)
To: org.eclipse.linuxtools.lttng.ui [0.3.1.201109262035]
I'm on Ubuntu 11.10b2 using:
Eclipse 3.7.0, build-id I20110613-1736
Any Ideas?
I have managed to install the autotools part, by unslecting the installation of LTTng.
I have a couple of questions though:
- After creating a shared library project I import it via the import filesystem option under import, is this OK?
- When I do the conversion I get an error saying:
Can't open /myproject/configure
This is after autogen.sh is run. In the root directory of the project the following files exist:
autogen.sh, configure.ac, Makefile.am
Along with a src directory.
- Then try running autoreconf and i get the following error:
An internal error occurred during: "autoreconf". org.eclipse.cdt.ui.CUIPlugin.startGlobalConsole()V
Any ideas on this one?
Regards
Satpal
[Updated on: Mon, 03 October 2011 08:40] Report message to a moderator
|
|
|
|
|
Re: Import autotools project [message #740752 is a reply to message #731808] |
Tue, 18 October 2011 21:23 |
Jeff Johnston Messages: 215 Registered: July 2009 |
Senior Member |
|
|
Hi Satpal,
See responses below:
Quote:
I have a couple of questions though:
After creating a shared library project I import it via the import filesystem option under import, is this OK?
It should work as it is just copying the files over to your empty project that you had to create before-hand. If I have a project already checked out outside of the workspace, I usually go to create a New C (or C++) project, then specify GNU Autotools->Empty Project and for location, I uncheck the default and specify the location of where the project exists in the file system.
Quote:
When I do the conversion I get an error saying:
Can't open /myproject/configure
This is after autogen.sh is run. In the root directory of the project the following files exist:
autogen.sh, configure.ac, Makefile.am
Autotools finding an autogen.sh script expects autogen.sh to have either created configure or to have run configure. In your case, configure does not appear to have been run or created by autogen.sh. When it tries to run it blindly, you get the error above. Please open a bug against this.
For the mean-time, you will need to select your project and under the top-level Project menu, select Invoke Autotools->autoreconf as you appear to have tried.
In the autoreconf dialog, select the option -i and run. This will create your configure script and Makefile.in file. You should be able to then build the project.
Quote:
Along with a src directory.
Then try running autoreconf and i get the following error:
An internal error occurred during: "autoreconf". org.eclipse.cdt.ui.CUIPlugin.startGlobalConsole()V
Can you elaborate on the error? Do you have a stack-trace? Please open a bug concerning this as well so we can work on what the real problem is. As a temporary work-around, run autoreconf from the command-line. If you have not updated CDT in a while, consider doing that.
-- Jeff
|
|
|
|
Powered by
FUDForum. Page generated in 0.03274 seconds