Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» MacOSX - forked.net   » Compile Problems   » Clueless newbie needs help

UBBFriend: Email this page to someone!    
Author Topic: Clueless newbie needs help
Timothy Stringer
Junior Member
Member # 599

posted February 06, 2003 06:57 PM      Profile for Timothy Stringer     Send New Private Message      Edit/Delete Post  Reply With Quote 
Running ./configure produces the following results:
<snip>
checking whether the C++ compiler (g++ -s) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.

So, ls /usr/local/bin yields "No such file or directory"

Then, mkdir /usr/local/bin yields "mkdir: /usr/local/bin: Permission denied"

Why is permission denied?

Tim


Posts: 5 | From: Colorado, USA | Registered: Feb 2003  |  IP: Logged
<alamaz>
unregistered

posted February 07, 2003 02:19 AM           Edit/Delete Post  Reply With Quote 
Have you installed the Apple's Developer Tools ? If you don't, install it from your original MacOSX CDs or download it from the adc site: http://connect.apple.com/
IP: Logged
Timothy Stringer
Junior Member
Member # 599

posted February 07, 2003 08:24 AM      Profile for Timothy Stringer     Send New Private Message      Edit/Delete Post  Reply With Quote 
Neglected to mention that. I'm using the July 2002 developer tools. I just upgraded to X.2 from X.1.5. I had the April 2002 installed previously.

Tim

[ February 07, 2003: Message edited by: Timothy Stringer ]


Posts: 5 | From: Colorado, USA | Registered: Feb 2003  |  IP: Logged
alamaz
Junior Member
Member # 600

posted February 07, 2003 03:58 PM      Profile for alamaz     Send New Private Message      Edit/Delete Post  Reply With Quote 
I am sorry ^^
The access is denied since you can't access the /usr/local directory (it requires root privileges). To have these privileges, type:
"sudo mkdir /usr/local/bin"
instead of
"mkdir /usr/local/bin"
It will ask you for your root password. To set one password you can type:
"sudo passwd root"

But, i wanted just to ask you a thing: why do you want to create this folder? g++ is (i think) installed in /usr/bin
But i don't really understand...


Posts: 4 | From: France | Registered: Feb 2003  |  IP: Logged
Timothy Stringer
Junior Member
Member # 599

posted February 07, 2003 04:41 PM      Profile for Timothy Stringer     Send New Private Message      Edit/Delete Post  Reply With Quote 
Just following a suggested cure:

http://macosx.forked.net/ubb/ultimatebb.php?ubb=get_topic&f=1&t=000023


Posts: 5 | From: Colorado, USA | Registered: Feb 2003  |  IP: Logged
Timothy Stringer
Junior Member
Member # 599

posted February 07, 2003 05:25 PM      Profile for Timothy Stringer     Send New Private Message      Edit/Delete Post  Reply With Quote 
Anyhow, I did log on as root, create the directories and the symbolic links as suggested, and still get the same results. Here's the transcript:

[G3:/OS X Downloads/kfibs-1.0.5] tim% ./configure
loading cache ./config.cache
checking host system type... powerpc-apple-darwin6.0
checking target system type... powerpc-apple-darwin6.0
checking build system type... powerpc-apple-darwin6.0
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for a C-Compiler...
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking how to run the C preprocessor... gcc -E -traditional-cpp
checking for a C++-Compiler...
checking for g++... g++
checking whether the C++ compiler (g++ -s) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.

Any ideas?

Tim


Posts: 5 | From: Colorado, USA | Registered: Feb 2003  |  IP: Logged

All times are Pacific Time  

Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Hop To:

Contact Us | macosx.forked.net

Powered by Infopop Corporation
Ultimate Bulletin BoardTM 6.1.0.2