Clueless newbie needs help

Find out how to get that @*&^$&@ thing to compile!

Clueless newbie needs help

Postby TimString » Fri Feb 07, 2003 2:57 am

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?
[img]images/icons/confused.gif"%20border="0[/img]

Tim
TimString
 
Posts: 5
Joined: Thu Feb 06, 2003 8:00 pm
Location: Colorado, USA

Re: Clueless newbie needs help

Postby <alamaz> » Fri Feb 07, 2003 10:19 am

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/
<alamaz>
 

Re: Clueless newbie needs help

Postby TimString » Fri Feb 07, 2003 4:24 pm

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 ]</p>
TimString
 
Posts: 5
Joined: Thu Feb 06, 2003 8:00 pm
Location: Colorado, USA

Re: Clueless newbie needs help

Postby alamaz » Fri Feb 07, 2003 11:58 pm

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? [img]images/icons/tongue.gif"%20border="0[/img] g++ is (i think) installed in /usr/bin
But i don't really understand... [img]images/icons/smile.gif"%20border="0[/img]
alamaz
 
Posts: 4
Joined: Fri Feb 07, 2003 8:00 pm
Location: France

Re: Clueless newbie needs help

Postby TimString » Sat Feb 08, 2003 12:41 am

TimString
 
Posts: 5
Joined: Thu Feb 06, 2003 8:00 pm
Location: Colorado, USA

Re: Clueless newbie needs help

Postby TimString » Sat Feb 08, 2003 1:25 am

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
TimString
 
Posts: 5
Joined: Thu Feb 06, 2003 8:00 pm
Location: Colorado, USA


Return to Compile Problems

Who is online

Users browsing this forum: Google [Bot] and 15 guests

cron