![]() ![]() |
Sep 16 2005, 07:23 PM
Post
#1
|
|
|
Group: Members Posts: 15 Joined: 16-September 05 Member No.: 8,128 |
I've installed zgcc to have "make" available (in an attempt to get my bloody CF wifi working). I've followed the instructions, but I ended up having to make my own symlinks to "make" and "gcc", which made me suspect the zgcc.sh script hadn't run properly. When I made the links, I ran "make", which called gcc, which gave the following error:
gcc: installation problem, cannot exec `cpp': No such file or directory Again, I'm quite suspicious about the zgcc.sh script. I searched here and found the following post: QUOTE You are not running zgcc.sh correctly. You must execute it via: whateverprompt> . zgcc.sh Note the dot -- this changes the environment of the shell you are using. The way you are executing zgcc.sh, via "./zgcc.sh" or "bash zgcc.sh" or #! /bin/bash or whatever only changes a spawned environment that is then discarded. I put ". /mnt/card/bin/zgcc.sh" in my ~/.bashrc file which is in turn executed from my ~/.profile I tried this, and got "./mnt/card/bin/zgcc.sh: not found". But the file is there, and I can run it without the . in front. Does anyone have any ideas? Thanks! |
|
|
|
Sep 17 2005, 06:17 AM
Post
#2
|
|
|
Group: Members Posts: 97 Joined: 15-December 04 Member No.: 5,933 |
QUOTE(teleute @ Sep 17 2005, 03:23 AM) I tried this, and got "./mnt/card/bin/zgcc.sh: not found". But the file is there, and I can run it without the . in front. Does anyone have any ideas? Thanks! Do you have a space between the dot and the /mnt/card/bin/zgcc.sh? You need a space between them. John |
|
|
|
Sep 17 2005, 08:21 PM
Post
#3
|
|
|
Group: Members Posts: 15 Joined: 16-September 05 Member No.: 8,128 |
QUOTE(inode0 @ Sep 17 2005, 07:17 AM) QUOTE(teleute @ Sep 17 2005, 03:23 AM) I tried this, and got "./mnt/card/bin/zgcc.sh: not found". But the file is there, and I can run it without the . in front. Does anyone have any ideas? Thanks! Do you have a space between the dot and the /mnt/card/bin/zgcc.sh? You need a space between them. John OMG...I'm so sorry. Can you tell it was late and I was really tired? *sigh* Thanks. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 18th May 2013 - 12:39 PM |