LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Kdevelop Makefile Error (https://www.linuxquestions.org/questions/programming-9/kdevelop-makefile-error-67326/)

Chryzmo 06-22-2003 05:38 PM

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

megaspaz 06-22-2003 07:16 PM

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.

muhsinzubeir 10-13-2007 08:01 PM

same error here
 
Quote:

Originally Posted by megaspaz (Post 346963)
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 :confused:

muhsinzubeir 04-03-2008 04:18 PM

Quote:

Originally Posted by muhsinzubeir (Post 2923348)
---------------------------------------------------------------
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 :confused:

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....:rolleyes:

Sparxz 08-22-2010 03:19 PM

Quote:

Originally Posted by muhsinzubeir (Post 3109846)
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....:rolleyes:

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 !)


All times are GMT -5. The time now is 01:40 AM.