Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 09-12-2003, 11:18 PM   #1
Registered: May 2003
Location: Brisbane, Australia
Distribution: Fedora Core 4 with XFCE
Posts: 128

Rep: Reputation: 16
errors compiling c++ in kdevelop


i get the following error compiling a c++ program using kdevelop: (sorry, small screen dump)

gmake[3]: execvp: ./src/libsrc.a: Permission denied
gmake[3]: *** [trajectory] Error 127
gmake[3]: Leaving directory `/home/adriaan/thesis/trajectory/trajectory'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/adriaan/thesis/trajectory/trajectory'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/adriaan/thesis/trajectory'
gmake: *** [all-recursive-am] Error 2
*** failed ***

I cannot understand why its denying me permission that file, the whole project (inc. that file) is located in my home folder where it was created initially under my user account.

whats the deal, and how can it be fixed?
Old 09-13-2003, 12:48 AM   #2
LQ Newbie
Registered: Sep 2003
Location: Mesa, AZ, USA
Distribution: SuSe 8.1, Mandrake 6.2
Posts: 12

Rep: Reputation: 0
Just because a file was created by you in your home area does
not necessarily give you read/write or executable access to it.

Do a ls -la on src to examine the permissions for the various files in that directory.

I'd be happy to assist you further with this.
Old 09-13-2003, 08:26 AM   #3
Registered: May 2003
Location: Brisbane, Australia
Distribution: Fedora Core 4 with XFCE
Posts: 128

Original Poster
Rep: Reputation: 16
ok, well i did that and sure enough it was owned by root, so i changed that.

however, i also noted that it wasnt writable, so i changed that. however, it would seem that when i hit the compile again (hoping that it would work) it changes the libsrc.a file back to read-only, and throws and error.

this is baffling!! and very frustrating.

ideas anyone?

on another note, i am porting this program from microsoft visual c++. perhaps someone can offer an alternative to Kdevelop that might not present these issues?

my project is large so an IDE is desirable!

thank you

Last edited by adriaanbw; 09-13-2003 at 08:31 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling kdevelop merchtemeagle Linux - Software 2 03-16-2005 02:33 PM
Various Compiling Errors (GCC compiling Openal, GUIlib, xmms-wma) gregorya Linux - Software 2 08-27-2004 06:03 AM
Compiling and Installing Kdevelop 3.0.4 inline.skater Linux - Software 0 06-10-2004 05:06 AM
compiling in kdevelop shyam_d_sundar Linux - Software 1 05-06-2004 05:11 AM
Kdevelop Makefile Errors Chryzmo Linux - Software 3 02-11-2004 05:17 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:05 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration