Re: "make depend" fails, cc1: no such file

2003-07-25 Thread Stephen G Smith
On Tue, 2003-07-22 at 14:40, Jez Hancock wrote:
> On Tue, Jul 22, 2003 at 02:15:48PM -0400, Stephen G Smith wrote:
> > On Tue, 2003-07-22 at 13:53, Jez Hancock wrote:
> > > Have you installed the kernel developer package (iirc, don't have cd to
> > > hand :)?
> > 
> > Which kernel developer package would this be? I have searched around on
> > the ftp sites and haven't been able to find anything like that Could
> > you point me in the right direction?
> I may be using the wrong 'terminology'!  Let me grab my install CD was
> rushing for food earlier... :)
> 
> Ok:
> 1. insert FreeBSD 5.0 CD1 (I presume this will be the same for 5.1)
> 
> 2. with effective uid 0 run:
> /stand/sysinstall
> 
> 3. select 'configure' from the sysinstall Main Menu
> 
> 4. select 'Distributions' (not packages!) from the FreeBSD Configuration Menu
> 
> 5. select 'src'... then 'all'
> 
> 6. go for the install.
> 
> Did you do this already?
> 
> Good luck

ok, I managed to fix the problem. Before, I had only installed the 'sys'
source package. The missing 'cc1' file is installed with the 'libexec'
source pack.

incidentally, the delay in posting this was that my HD went FUBAR, and I
had scrounge around for a new one and then reinstall before I could do
anything else.

thanks for all the help!

Stephen

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: "make depend" fails, cc1: no such file

2003-07-23 Thread anubis
On Tue, 22 Jul 2003 08:12 am, Stephen G Smith wrote:
> I am running FreeBSD 5.1-RELEASE, and I want to add firewall support to
> my kernel. So, I carefully read and followed the instructions in section
> 9.3 of the FreeBSD Handbook. But when I run "make depend" i get this
> error:
>
> cc: installation problem, cannot exec 'cc1': no such file or directory
> *** Error code 1
>
> I know I have a file /usr/bin/cc, but obviously no 'cc1' anywhere.
> Any hints?
>
> Thanks,
>
> Stephen
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

I had a similar problem it resolved when I read the next bit in the manual

Procedure 2. Building a kernel the ``new'' way


Change to the /usr/src directory.


# cd /usr/src


Compile the kernel.


# make buildkernel KERNCONF=MYKERNEL


Install the new kernel.


# make installkernel KERNCONF=MYKERNEL


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: "make depend" fails, cc1: no such file

2003-07-22 Thread Jez Hancock
On Tue, Jul 22, 2003 at 02:15:48PM -0400, Stephen G Smith wrote:
> On Tue, 2003-07-22 at 13:53, Jez Hancock wrote:
> > Have you installed the kernel developer package (iirc, don't have cd to
> > hand :)?
> 
> Which kernel developer package would this be? I have searched around on
> the ftp sites and haven't been able to find anything like that Could
> you point me in the right direction?
I may be using the wrong 'terminology'!  Let me grab my install CD was
rushing for food earlier... :)

Ok:
1. insert FreeBSD 5.0 CD1 (I presume this will be the same for 5.1)

2. with effective uid 0 run:
/stand/sysinstall

3. select 'configure' from the sysinstall Main Menu

4. select 'Distributions' (not packages!) from the FreeBSD Configuration Menu

5. select 'src'... then 'all'

6. go for the install.

Did you do this already?

Good luck
-- 
Jez

http://www.munk.nu/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: "make depend" fails, cc1: no such file

2003-07-22 Thread Stephen G Smith
On Tue, 2003-07-22 at 13:53, Jez Hancock wrote:
> On Tue, Jul 22, 2003 at 09:07:14AM -0400, Stephen G Smith wrote:
> > On Mon, 2003-07-21 at 23:01, Jez Hancock wrote:
> > > On Mon, Jul 21, 2003 at 06:12:57PM -0400, Stephen G Smith wrote:
> > > > I am running FreeBSD 5.1-RELEASE, and I want to add firewall support to
> > > > my kernel. So, I carefully read and followed the instructions in section
> > > > 9.3 of the FreeBSD Handbook. But when I run "make depend" i get this
> > > > error:
> > > > 
> > > > cc: installation problem, cannot exec 'cc1': no such file or directory
> > > > *** Error code 1
> > > In which directory are you running 'make depend'?
> > 
> > I am running it in the ../compile/ directory created 
> > by running /usr/sbin/config, which in this case is
> > /usr/src/sys/i386/compile/IPFW-KERNEL.
> Have you installed the kernel developer package (iirc, don't have cd to
> hand :)?

Which kernel developer package would this be? I have searched around on
the ftp sites and haven't been able to find anything like that Could
you point me in the right direction?

Merci beaucoup,

Stephen

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: "make depend" fails, cc1: no such file

2003-07-22 Thread Jez Hancock
On Tue, Jul 22, 2003 at 09:07:14AM -0400, Stephen G Smith wrote:
> On Mon, 2003-07-21 at 23:01, Jez Hancock wrote:
> > On Mon, Jul 21, 2003 at 06:12:57PM -0400, Stephen G Smith wrote:
> > > I am running FreeBSD 5.1-RELEASE, and I want to add firewall support to
> > > my kernel. So, I carefully read and followed the instructions in section
> > > 9.3 of the FreeBSD Handbook. But when I run "make depend" i get this
> > > error:
> > > 
> > > cc: installation problem, cannot exec 'cc1': no such file or directory
> > > *** Error code 1
> > In which directory are you running 'make depend'?
> 
> I am running it in the ../compile/ directory created 
> by running /usr/sbin/config, which in this case is
> /usr/src/sys/i386/compile/IPFW-KERNEL.
Have you installed the kernel developer package (iirc, don't have cd to
hand :)?
-- 
Jez

http://www.munk.nu/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: "make depend" fails, cc1: no such file

2003-07-22 Thread LLeweLLyn Reese
Stephen G Smith <[EMAIL PROTECTED]> writes:

> I am running FreeBSD 5.1-RELEASE, and I want to add firewall support to
> my kernel. So, I carefully read and followed the instructions in section
> 9.3 of the FreeBSD Handbook. But when I run "make depend" i get this
> error:
> 
> cc: installation problem, cannot exec 'cc1': no such file or directory
> *** Error code 1
[snip]

Maybe you didn't install any of the -developer distributions ?

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: "make depend" fails, cc1: no such file

2003-07-22 Thread Stephen G Smith
On Mon, 2003-07-21 at 23:01, Jez Hancock wrote:
> On Mon, Jul 21, 2003 at 06:12:57PM -0400, Stephen G Smith wrote:
> > I am running FreeBSD 5.1-RELEASE, and I want to add firewall support to
> > my kernel. So, I carefully read and followed the instructions in section
> > 9.3 of the FreeBSD Handbook. But when I run "make depend" i get this
> > error:
> > 
> > cc: installation problem, cannot exec 'cc1': no such file or directory
> > *** Error code 1
> In which directory are you running 'make depend'?

I am running it in the ../compile/ directory created 
by running /usr/sbin/config, which in this case is
/usr/src/sys/i386/compile/IPFW-KERNEL.

Stephen

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: "make depend" fails, cc1: no such file

2003-07-22 Thread Kris Kennaway
On Mon, Jul 21, 2003 at 10:47:10PM -0400, Stephen G Smith wrote:

> Well, I looked in /usr/libexec, and there was no 'cc1'.

Then you're not running 5.1.  Check your cvsupfile, etc, and post it
as a reply if you still can't figure out the problem.

Kris


pgp0.pgp
Description: PGP signature


Re: "make depend" fails, cc1: no such file

2003-07-21 Thread Jez Hancock
On Mon, Jul 21, 2003 at 06:12:57PM -0400, Stephen G Smith wrote:
> I am running FreeBSD 5.1-RELEASE, and I want to add firewall support to
> my kernel. So, I carefully read and followed the instructions in section
> 9.3 of the FreeBSD Handbook. But when I run "make depend" i get this
> error:
> 
> cc: installation problem, cannot exec 'cc1': no such file or directory
> *** Error code 1
In which directory are you running 'make depend'?
-- 
Jez

http://www.munk.nu/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: "make depend" fails, cc1: no such file

2003-07-21 Thread Stephen G Smith
On Mon, 2003-07-21 at 20:36, Kris Kennaway wrote:
> On Mon, Jul 21, 2003 at 06:12:57PM -0400, Stephen G Smith wrote:
> > I am running FreeBSD 5.1-RELEASE, and I want to add firewall support to
> > my kernel. So, I carefully read and followed the instructions in section
> > 9.3 of the FreeBSD Handbook. But when I run "make depend" i get this
> > error:
> > 
> > cc: installation problem, cannot exec 'cc1': no such file or directory
> > *** Error code 1
> > 
> > I know I have a file /usr/bin/cc, but obviously no 'cc1' anywhere.
> > Any hints?
> 
> It's in /usr/libexec/, or it should be if you have a functional
> system.
> 
> Kris
> 

Well, I looked in /usr/libexec, and there was no 'cc1'. After a bit of
hunting around on the ftp site I found the directory
ftp://ftp9.freebsd.org/pub/os/FreeBSD/FreeBSD-current/src/gnu/usr.bin/cc/cc1 in which 
there was a Makefile. Unfortunately, I don't quite know what one does with said 
Makefile. Am I even on the right track?

Thanks for your help

Stephen
-- 
Stephen G Smith <[EMAIL PROTECTED]>

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: "make depend" fails, cc1: no such file

2003-07-21 Thread Kris Kennaway
On Mon, Jul 21, 2003 at 06:12:57PM -0400, Stephen G Smith wrote:
> I am running FreeBSD 5.1-RELEASE, and I want to add firewall support to
> my kernel. So, I carefully read and followed the instructions in section
> 9.3 of the FreeBSD Handbook. But when I run "make depend" i get this
> error:
> 
> cc: installation problem, cannot exec 'cc1': no such file or directory
> *** Error code 1
> 
> I know I have a file /usr/bin/cc, but obviously no 'cc1' anywhere.
> Any hints?

It's in /usr/libexec/, or it should be if you have a functional
system.

Kris



pgp0.pgp
Description: PGP signature


"make depend" fails, cc1: no such file

2003-07-21 Thread Stephen G Smith
I am running FreeBSD 5.1-RELEASE, and I want to add firewall support to
my kernel. So, I carefully read and followed the instructions in section
9.3 of the FreeBSD Handbook. But when I run "make depend" i get this
error:

cc: installation problem, cannot exec 'cc1': no such file or directory
*** Error code 1

I know I have a file /usr/bin/cc, but obviously no 'cc1' anywhere.
Any hints?

Thanks,

Stephen

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"