Operating System - Linux
1754958 Members
2649 Online
108827 Solutions
New Discussion юеВ

Re: source importation and make error

 
yazgoo
Frequent Advisor

source importation and make error

I imported sources from another dualbooted UNIX.
When I make as normal user (who is owner of every files), I have

make: *** child_access: setregid: Not owner. Stop.

When I do the same as root, make works just fine.

I use gmake 3.69.
What is happenning?
Yazgoo
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: source importation and make error

Shalom,

Check the environment of the user with the problem, it may need a different PATH or other variable, such as SHLIB_PATH

The source code may be attempting to access a target location that is not owned by the user. root of course can write anywhere it wants which is why it should not be used regularly.

I'd say look at where the source is trying to write and make sure you can write there.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
James R. Ferguson
Acclaimed Contributor

Re: source importation and make error

Hi:

This would appear to be simply that your process doesn't have the rights to 'chown' a file.

Regards!

...JRF...
yazgoo
Frequent Advisor

Re: source importation and make error

Thanks,
I've done a simple cc hello world project (c, h, main.c) and it's Makefile.
I got the same error with standard output before :
cc -o hello.o -c hello.c -pedantic
make: *** child_access: setregid: Not owner. Stop.

the first line done by itself just compile.
Yazgoo
yazgoo
Frequent Advisor

Re: source importation and make error

'twas a rights problem :
don't know why gmake was at
-rwxrwsr-x
when it should have been at
-rwxr-xr-x

Thanks
Yazgoo