LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 06-22-2003, 06:38 PM   #1
Chryzmo
Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 10.1
Posts: 180

Rep: Reputation: 30
Exclamation Kdevelop Makefile Error


Hello,

I recently installed Mandrake Linux 9.1. I was looking at the C++ IDE that came with it, KDevelope.

I have my HDs set up so my 10Gig is partitioned into 2 partitoins. One for the WIndows OS, and one for the Linux OS. That left me wiht my other HD, which is 112Gigs and used tha FAT32 file system. I wanted to use this as storage for both OS's.

However, when I try to create a project that is on the D: drive (the big one) I get the following error in the warning window:

ln: creating symbolic link `admin/libtool.m4.in' to `old-libtool.m4.in': Operation not permitted
ln: creating symbolic link `admin/ltcf-c.sh' to `old-ltcf-c.sh': Operation not permitted
ln: creating symbolic link `admin/ltcf-cxx.sh' to `old-ltcf-cxx.sh': Operation not permitted
ln: creating symbolic link `admin/ltcf-gcj.sh' to `old-ltcf-gcj.sh': Operation not permitted
ln: creating symbolic link `admin/ltconfig' to `old-ltconfig': Operation not permitted
ln: creating symbolic link `admin/ltmain.sh' to `old-ltmain.sh': Operation not permitted
make[1]: *** [cvs] Error 1
make: *** [all] Error 2
sh: line 1: ./configure: No such file or directory

It creates the project based on the template, a standard "Hello, World" program. When I try to run it, I get another error.

"You want to build your project by running 'make'but there is no Mkefile in this directory."

It says I can Build->Configure which give me the following error in the warning window:

"/bin/sh: line 1: ./configure: No such file or directory
*** failed ***"

OR I can use Project->Options->MakeOptions which opens a Konsole and says:

"bash: line 1: ./testproject: No such file or directory"

I have no idea what to try anymore. Maybe there is a setting somewhere that I need changed? I tried creating and compiling the project while logged on as Root and as a User, but niether seemed to have any effect. When I try to compile and run a project that is located on the Linux HD, it works perfectly. Is there someone that could help me?

Thanks,
Chris
 
Old 06-22-2003, 08:16 PM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
my guess is that you need to mount that big hdd. although i think mandrake does that automatically for you. not sure though. if it is mounted, most likely you'll have to run kdevelop as root to be able to write to that hdd partition. unless you edit your /etc/fstab to include the "user" or "users" option on that partitions fstab entrie. then when you login in to your user account, you should be able to unmount that drive and mount it using a hard drive icon. that will cause that partition to be owned by your user and not root.

Last edited by megaspaz; 06-22-2003 at 08:18 PM.
 
Old 10-13-2007, 09:01 PM   #3
muhsinzubeir
LQ Newbie
 
Registered: Oct 2007
Posts: 3

Rep: Reputation: 0
same error here

Quote:
Originally Posted by megaspaz View Post
my guess is that you need to mount that big hdd. although i think mandrake does that automatically for you. not sure though. if it is mounted, most likely you'll have to run kdevelop as root to be able to write to that hdd partition. unless you edit your /etc/fstab to include the "user" or "users" option on that partitions fstab entrie. then when you login in to your user account, you should be able to unmount that drive and mount it using a hard drive icon. that will cause that partition to be owned by your user and not root.
---------------------------------------------------------------
for almost 1 wk now im making no progress as my skills in linux are limited (just moved from xp).Im running gentoo en im trying to get kdevelop run hello world.Project target is home directory (separate partition).Same problem...
/etc/fstab:
/dev/hda6 /home/muhsin ext3 noatime,users 0 2

kdevelop error:

/bin/sh: /home/muhsin/kdevelop projects/trying/configure: /bin/sh: bad interpreter: Permission denied
*** Exited with status: 126 ***

Note:
That goes on for almost anjuta,netbeans,codeblocks etc.Can somebody pls help me ...im burning my brains out here on these admin stuffs
 
Old 04-03-2008, 05:18 PM   #4
muhsinzubeir
LQ Newbie
 
Registered: Oct 2007
Posts: 3

Rep: Reputation: 0
Quote:
Originally Posted by muhsinzubeir View Post
---------------------------------------------------------------
for almost 1 wk now im making no progress as my skills in linux are limited (just moved from xp).Im running gentoo en im trying to get kdevelop run hello world.Project target is home directory (separate partition).Same problem...
/etc/fstab:
/dev/hda6 /home/muhsin ext3 noatime,users 0 2

kdevelop error:

/bin/sh: /home/muhsin/kdevelop projects/trying/configure: /bin/sh: bad interpreter: Permission denied
*** Exited with status: 126 ***

Note:
That goes on for almost anjuta,netbeans,codeblocks etc.Can somebody pls help me ...im burning my brains out here on these admin stuffs
The above issue was due to the fact that user didnt have permission to access home directory.Which was on a separate partition.A year later i just google en see my post te teh teh...hey but atleast i solved it....
 
Old 08-22-2010, 04:19 PM   #5
Sparxz
LQ Newbie
 
Registered: May 2009
Distribution: Suse
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by muhsinzubeir View Post
The above issue was due to the fact that user didnt have permission to access home directory.Which was on a separate partition.A year later i just google en see my post te teh teh...hey but atleast i solved it....
I have exactly the same problem. But the file is local, and not on another partition. Will keep searching. (This thread is probably to old,
for replies !)
 
  


Reply


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
makefile error pantera Programming 3 05-21-2005 09:05 AM
kdevelop: not jumping to error location when clicking on error. sudheernair Linux - Software 0 05-13-2004 08:41 AM
Makefile not found - KDevelop 2 digitalbrutus Linux - Software 1 03-21-2004 03:46 PM
Kdevelop Makefile Errors Chryzmo Linux - Software 3 02-11-2004 05:17 PM
How to Make a Makefile for KDevelop 2.0 ??? shassouneh Programming 7 03-15-2002 02:34 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:37 PM.

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