![]() |
|
|
|||||||
| Home | Forums | Register | Rules & FAQ | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
Other UNIX.COM Threads You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| $PWD shows absolute path vs path w/symbolic links | kornshellmaven | Shell Programming and Scripting | 3 | 06-13-2007 09:15 AM |
| getting full path from relative path | polypus | Shell Programming and Scripting | 4 | 03-25-2007 09:08 AM |
| how to check the actual path instead of link path | reldb | UNIX for Advanced & Expert Users | 4 | 10-04-2006 06:55 AM |
| vi - replacing a relative path with absolute path in a file | Yinzer955i | UNIX for Dummies Questions & Answers | 2 | 09-07-2006 08:47 AM |
| cc path problem - no acceptable path found | kendokendokendo | UNIX for Dummies Questions & Answers | 2 | 09-12-2005 06:52 AM |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Help with $path
I just installed solaris last night after never using any linux based system in my life. My problem is that i'm trying to install GNU nano, and when I try to do a "# ./configure", I get: "configure: error: no acceptable C compiler found in $PATH"
So after i soon find out that I have no gcc compiler and make is not installed. So i followed someones online instructions and figured out how to install gcc and make. Tried to install nano again and got the same error. So i found out about this "echo $root command and tried that and I get a blank line. I then did a "# find / -name gcc" and got. /usr/sfw/lib/gcc /usr/sfw/bin/gcc /usr/sfw/libexec/gcc /usr/local/doc/gcc /usr/local/bin/gcc /usr/local/lib/gcc /usr/local/libexec/gcc I don't know what to do now. I understand that I need to have these directories as my $root, but I can't seem to figure out how. If anyone can help it would be greatly appreciated. Thanks. |
| Forum Sponsor | ||
|
|
|
||||||
|
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
just do: Code:
PATH=$PATH:/usr/sfw/bin:/usr/gnu/bin:/usr/ccs/bin export PATH ./configure Freeware List for Intel and Solaris 10 |
|
|||
|
Thanks a bunch. I got it installed except everytime I open my terminal, I have to do the
PATH=$PATH:/usr/sfw/bin:/usr/gnu/bin:/usr/ccs/bin:/usr/local/bin export PATH before I can open nano. Is there anway I can set PATH so I don't have to use the above commands or is this just the way it is? Also, once I get nano open, when I try to resize the window (I like to make it longer than the default), I get a segmentation fault. Now I understand that means I'm trying to access memory that's not there or that doesn't belong to me, but I don't understand why I get a seg fault here? I wrote a test program, compiled and ran it, so nano is working right except for the resize thing. |
|
|||
|
You can set the PATH permanently by adding that to your .profile or similar. ("Or similar" because it depends on which shell you are using. .profile should work for Bourne-compatible shells.) You might still want to investigate why and how your PATH got zapped in the first place.
A segmentation fault in nano is not "your" fault, it's the guy who wrote nano who apparently didn't take window size changes into account, or didn't know how to handle them properly. Now you have the source code so maybe you can fix that (-: but seriously, you might just live with not resizing your terminal, or use another editor which can cope. |