Fedora Linux Support Community & Resources Center
  #1  
Old 3rd December 2009, 07:08 PM
Indian's Avatar
Indian Offline
Registered User
 
Join Date: Jun 2009
Location: Pt
Posts: 157
linuxfedorafirefox
Talking Complilation Error in Kdevelop

when i run automake & friends it returns this error
configure: error: working directory cannot be determined

How can i prevent this error for occurring?

help me. thanks for reading.
__________________
Moving on Net Side
Reply With Quote
  #2  
Old 3rd December 2009, 07:24 PM
Hlingler's Avatar
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289
linuxopera
So... what're you trying to compile ? Where are you trying to compile it ?? As whom are you trying to compile (root, normal user) ??? More details please... .

V
Reply With Quote
  #3  
Old 3rd December 2009, 07:41 PM
Indian's Avatar
Indian Offline
Registered User
 
Join Date: Jun 2009
Location: Pt
Posts: 157
linuxfedorafirefox
Question

I'm trying to compile a project created by add new project
I'm working as a normal user
the path to the project is /home/Sergio/Área de Trabalho/WOrk/debug


I don't know what i have done but the compilation use to work. Suddenly it just let out of work

Thanks for help
__________________
Moving on Net Side
Reply With Quote
  #4  
Old 3rd December 2009, 07:44 PM
Hlingler's Avatar
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289
linuxopera
Quote:
the path to the project is /home/Sergio/Área de Trabalho/WOrk/debug
There's a possible problem: space-separated PATH. Quote or use escapes.

V
Reply With Quote
  #5  
Old 3rd December 2009, 10:10 PM
Indian's Avatar
Indian Offline
Registered User
 
Join Date: Jun 2009
Location: Pt
Posts: 157
linuxfedorafirefox
I change to other project:


/home/Sergio/Teste/debug

When i compile for the first time it ask to run automake and friends i execute but the same error occurs here it is the run result of automake:

cd '/home/Sergio/Teste' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" LC_MESSAGES="C" LC_CTYPE="C" gmake -f Makefile.cvs && cd '/home/Sergio/Teste/debug' && CFLAGS="-O0 -g3 " "/home/Sergio/Teste/configure" --enable-debug=full && cd '/home/Sergio/Teste/debug/./src' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" LC_MESSAGES="C" LC_CTYPE="C" gmake -k teste
aclocal
autoheader
automake
autoconf
configure: WARNING: unrecognized options: --enable-debug
configure: error: working directory cannot be determined
*** End with the value: 1 ***
__________________
Moving on Net Side
Reply With Quote
  #6  
Old 4th December 2009, 12:19 AM
alwinl Offline
Registered User
 
Join Date: Sep 2009
Location: Northland, New Zealand
Posts: 26
linuxfedorafirefox
First of all, it's never a good idea to put spaces in a project path.

Now as to your problem: When you created the project KDevelop puts your path all over the place. Three ways to fix it:

1 Right click on each target in your project. Select "Options" and switch to the "Arguments" tab. Fix up the paths here. Also run through the Project Options dialog and check all your paths.
2 Open the <project name>.kdevelop file in the root of your project. Search and replace the wrong paths with the correct ones. You might have to delete the <project>.kdevses and <project>.kdevelop.pcs files.
3 Create a new project (with a proper path), create your sub-projects and targets and import your source/header files.

Another remark. After you create a new project (and have updated/checked the ltmain.sh script, as explained before), go to the Project Options dialog and select the "Configure Options" icon. Remove the --enable-debug string in the Configure Arguments box.

Good luck

Alwin
Reply With Quote
Reply

Tags
complilation, error, kdevelop

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
kdevelop error sajadfedorafrum Using Fedora 0 26th November 2009 06:05 PM
kdevelop error sajadfedorafrum Using Fedora 0 14th November 2009 08:08 PM
Kdevelop error message Indian Programming & Packaging 1 13th September 2009 01:10 AM
KDE & KDevelop 1j9r8w9 Using Fedora 2 15th August 2008 03:24 PM


Current GMT-time: 10:16 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat