🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
10 messages
10 total messages Started by D.M. Procida Sun, 14 Oct 2001 11:36
Installation of INN on Mac OS X
#54673
Author: D.M. Procida
Date: Sun, 14 Oct 2001 11:36
15 lines
1487 bytes
[localhost:~] news% cd inn-2.3.2
[localhost:~/inn-2.3.2] news% ./configure --with-perl
creating cache ./config.cache
checking host system type... powerpc-apple-darwin1.4
checking for gcc... no
checking for cc... cc
checking whether the C compiler (cc  ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.

And that's as far as I get, with my strictly limited Unix knowledge. Has
anyone got any further?

Daniele
Re: Installation of INN on Mac OS X
#54675
Author: Jeroen Scheerder
Date: Sun, 14 Oct 2001 12:35
27 lines
2115 bytes
D.M. Procida <{$usenet$}@apple-juice.co.uk>:

> [localhost:~] news% cd inn-2.3.2
> [localhost:~/inn-2.3.2] news% ./configure --with-perl
> creating cache ./config.cache
> checking host system type... powerpc-apple-darwin1.4
> checking for gcc... no
> checking for cc... cc
> checking whether the C compiler (cc  ) works... no
> configure: error: installation or configuration problem: C compiler
> cannot create executables.
> 
> And that's as far as I get, with my strictly limited Unix knowledge. Has
> anyone got any further?

No, but the messages make it obvious what's going wrong to start with:
you don't have the developer tools installed.  So you don't have a C
compiler, hence nothing compiles.

The Developer Tools are a free download at Apple's ADC site.  Check
<http://developer.apple.com/>, and "Join now".  You'll have to register
as an Online Member (free), and after that you can download the
Developer Tools for either Mac OS X 10.1 or Mac OS X 10.0.


    -- J$
Re: Installation of INN on Mac OS X
#54684
Author: Jeremy
Date: Sun, 14 Oct 2001 20:09
17 lines
1234 bytes
D.M. Procida <{$usenet$}@apple-juice.co.uk> wrote:

> [localhost:~] news% cd inn-2.3.2
> [localhost:~/inn-2.3.2] news% ./configure --with-perl
> creating cache ./config.cache
> checking host system type... powerpc-apple-darwin1.4
> checking for gcc... no
> checking for cc... cc
> checking whether the C compiler (cc  ) works... no
> configure: error: installation or configuration problem: C compiler
> cannot create executables.

Did you upgrade to 10.1 without upgrading the developer tools?

-- 
Jeremy  |  jeremy@exit109.com
Re: Installation of INN on Mac OS X
#54678
Author: D.M. Procida
Date: Sun, 14 Oct 2001 21:14
17 lines
1788 bytes
Jeroen Scheerder <js@phil.uu.nl> wrote:

> No, but the messages make it obvious what's going wrong to start with:
> you don't have the developer tools installed.  So you don't have a C
> compiler, hence nothing compiles.
> 
> The Developer Tools are a free download at Apple's ADC site.  Check
> <http://developer.apple.com/>, and "Join now".  You'll have to register
> as an Online Member (free), and after that you can download the
> Developer Tools for either Mac OS X 10.1 or Mac OS X 10.0.

Yes, thank you - that did the trick. Amazingly painless, once I'd got it
right. I haven't actually tried to start it up yet, but I managed to
install it.

Daniele
Re: Installation of INN on Mac OS X
#54697
Author: D.M. Procida
Date: Tue, 16 Oct 2001 10:43
31 lines
2234 bytes
D.M. Procida <{$usenet$}@apple-juice.co.uk> wrote:

> Yes, thank you - that did the trick. Amazingly painless, once I'd got it
> right. I haven't actually tried to start it up yet, but I managed to
> install it.

OK, mixed results. On one Mac (iMac 233, Mac OS 10.1 + Developer Tools)
it installs fine. On another (iBook 300, Mac OS 10.1 + Developer Tools)
it doesn't. I'm following exactly the same sequence of operations on
each, and it happens every time.

The ./configure works. But then make:

[localhost:~/inn-2.3.2] news% make
cd lib       && make all
mkdir ../include/inn > /dev/null 2>&1
./mkversion '2.3.2' '' ../include/inn/version.h
cc -traditional-cpp -g -O2 -I../include   -c pread.c
pread.c:10: sys/types.h: No such file or directory
make[1]: *** [pread.o] Error 1
make: *** [all-lib] Error 2
[localhost:~/inn-2.3.2] news% 

(The path is /usr/local/news, by the way.)

I have checked and rechecked file and folder ownership and so on.
Unfortunately, I just don't have enough knowledge to understand the
error message above.

Daniele
Re: Installation of INN on Mac OS X
#54704
Author: Russ Allbery
Date: Tue, 16 Oct 2001 22:47
13 lines
1509 bytes
D M Procida <{$usenet$}@apple-juice.co.uk> writes:

> cc -traditional-cpp -g -O2 -I../include   -c pread.c
> pread.c:10: sys/types.h: No such file or directory

You don't have the development header files installed.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Installation of INN on Mac OS X
#54707
Author: D.M. Procida
Date: Tue, 16 Oct 2001 23:19
11 lines
1539 bytes
Russ Allbery <rra@stanford.edu> wrote:

> > cc -traditional-cpp -g -O2 -I../include   -c pread.c
> > pread.c:10: sys/types.h: No such file or directory
> 
> You don't have the development header files installed.

And they are part of? INN? The system?

Daniele 
Re: Installation of INN on Mac OS X
#54708
Author: Jeremy
Date: Tue, 16 Oct 2001 23:53
18 lines
1447 bytes
D.M. Procida <{$usenet$}@apple-juice.co.uk> wrote:

>>> cc -traditional-cpp -g -O2 -I../include   -c pread.c
>>> pread.c:10: sys/types.h: No such file or directory
>> 
>> You don't have the development header files installed.
> 
> And they are part of? INN? The system?

The system.  You should have a types.h file in /usr/include/sys,
and it (along with the directory it's in, and the parent directory)
should be world-readable.  That should have been installed along
with the developer tools (nothing special you have to do, it's part
of the installation).

-- 
Jeremy  |  jeremy@exit109.com
Re: Installation of INN on Mac OS X
#54710
Author: Russ Allbery
Date: Wed, 17 Oct 2001 00:32
18 lines
1711 bytes
D M Procida <{$usenet$}@apple-juice.co.uk> writes:
> Russ Allbery <rra@stanford.edu> wrote:

>>> cc -traditional-cpp -g -O2 -I../include   -c pread.c
>>> pread.c:10: sys/types.h: No such file or directory

>> You don't have the development header files installed.

> And they are part of? INN? The system?

The system.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Installation of INN on Mac OS X
#54714
Author: D.M. Procida
Date: Wed, 17 Oct 2001 00:58
18 lines
2066 bytes
Jeremy <jeremy@exit109.com> wrote:

> >> You don't have the development header files installed.
> > 
> > And they are part of? INN? The system?
> 
> The system.  You should have a types.h file in /usr/include/sys,
> and it (along with the directory it's in, and the parent directory)
> should be world-readable.  That should have been installed along
> with the developer tools (nothing special you have to do, it's part
> of the installation).

I don't know what the problem was - the developer tools *had* been
installed, but perhaps something was missing. A clean reinstall of
everything, and it now works. Or at least, the installation worked.

Daniele
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads