[NTLUG:Discuss] c compiler cannot create executables

Gregory A. Edwards greg at nas-inet.com
Sat Feb 19 18:53:33 CST 2000


cyberclay wrote:
> 
> Hey,
>   When running ./configure as root, I get an error saying that the "C
> compiler
> cannot create executables."  However, if I run this same ./configure as
> a normal
> user, it functions properly.  I assume this has to do with a discrepency
> in my
> library paths, or something to that effect.  If anyone knows how to
> correct
> this problem, please let me know.
>   Your prompt response is appreciated.
> 
> Regards,
>   cyberclay
> 

When logging in as root you don't get the same login process as normal
users.  If your getting the /bin/bash shell as your login as root you
don't run the same startup process as normal users.  Do a man on login
as I don't remember which /etc/xxxxx scripts don't run on root login. 
Then add a call to the missing script to your root login (.bash_profile
if /bin/bash is your login shell) to call the /etc/xxxxx script.

-- 
Greg Edwards
New Age Software, Inc.
http://www.nas-inet.com




More information about the Discuss mailing list