Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Autotools autoreconf -i problem
Autotools autoreconf -i problem [message #693409] Wed, 06 July 2011 12:20 Go to next message
Edouard  is currently offline Edouard Friend
Messages: 17
Registered: July 2011
Junior Member
Hi,

I have a problem when I create a new autotools project in Indigo:
When a new project is created, I select build project but it fails saying
sh autoreconf -i
sh: Can't open autoreconf

When I call manually from terminal window 'autoreconf -i', it works.
I saw that the autoreconf is a perl script but eclipse calls it with sh.
How can I change in eclipse to call just 'autoreconf -i' or 'perl autoreconf -i'?

Thanks,
Edouard
Re: Autotools autoreconf -i problem [message #695189 is a reply to message #693409] Mon, 11 July 2011 08:38 Go to previous messageGo to next message
Alfredo Pons Menargues is currently offline Alfredo Pons MenarguesFriend
Messages: 1
Registered: July 2011
Junior Member
Hello Edouard.

I have the same problem you describe. To fix this I did the following in a terminal:

cd /home/myhome
mkdir bin
cd bin
ln -s /bin/bash sh


Add the new PATH at end of file bashrc:
vim /home/myhome/.bashrc
export PATH=/home/myhome/bin:$PATH


Reboot your session.

Once done this work already.
Re: Autotools autoreconf -i problem [message #695287 is a reply to message #695189] Mon, 11 July 2011 12:35 Go to previous messageGo to next message
Edouard  is currently offline Edouard Friend
Messages: 17
Registered: July 2011
Junior Member
Hi Alfred,

That works perfectly.

Thanks for the trick.

Edouard
Re: Autotools autoreconf -i problem [message #755476 is a reply to message #693409] Tue, 08 November 2011 15:49 Go to previous message
SBKch noname is currently offline SBKch nonameFriend
Messages: 1
Registered: August 2011
Junior Member
Usually it's problem with dash (or similar one) being default shell (sh) instead of bash.
On Ubuntu you can fix it with sudo dpkg-reconfigure dash, chosing No for question about becoming default shell.
Previous Topic:Trouble Installing CDT
Next Topic:Suggestions for setting up CDT in existing environment + CVS
Goto Forum:
  


Current Time: Thu Apr 25 22:39:40 GMT 2024

Powered by FUDForum. Page generated in 0.02198 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top