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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-22-2003, 06:38 PM
|
#1
|
Member
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 10.1
Posts: 180
Rep:
|
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
|
|
|
06-22-2003, 08:16 PM
|
#2
|
Senior Member
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054
Rep:
|
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.
|
|
|
10-13-2007, 09:01 PM
|
#3
|
LQ Newbie
Registered: Oct 2007
Posts: 3
Rep:
|
same error here
Quote:
Originally Posted by megaspaz
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
|
|
|
04-03-2008, 05:18 PM
|
#4
|
LQ Newbie
Registered: Oct 2007
Posts: 3
Rep:
|
Quote:
Originally Posted by muhsinzubeir
---------------------------------------------------------------
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....
|
|
|
08-22-2010, 04:19 PM
|
#5
|
LQ Newbie
Registered: May 2009
Distribution: Suse
Posts: 4
Rep:
|
Quote:
Originally Posted by muhsinzubeir
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 !)
|
|
|
All times are GMT -5. The time now is 10:37 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|