First, check your path, make sure all of the "normal" stuff is in there, /bin, /sbin, /usr/bin, /usr/sbin, things like that. If not, put them in and try again.

Also, did you install the compiler collection when you did the system upgrade? If you don't want to, you'll have to do a binary package install to get one. Doing a 'make bin-install DEPENDS_TARGET=bin-install' in /lang/gcc3 should get you the default gcc compiler set without having one installed already.

That line about not being able to process the directory is a problem. I'm not sure what the problem was either, since I went to the FTP site that it uses and the files appear to be there.

You might just try again tomorrow (sometimes networks do odd things) and if that doesn't help what you could try next is just using ftp to connect to ftp://ftp.NetBSD.org/pub/NetBSD/packages/4.0/i386/All and downloading all 4 or 5 files that start with "gcc3-" (ftp can do tab-completion and wildcards, so you don't necessarily need to know each file's whole name)

Then in the directory where you downloaded the files, run pkg_add gcc3-3.3.6.tgz and it should be able to get things moving. Note however that doing it this way may make it stop with more errors if additional dependencies are required, but you can just download them from the ftp site above and start again.

Once the files were downloaded I used the pkg_add command and it indicated that some entries need to be made to the mk.conf file. I searched and don't have one on my system. I looked up some resources on the 'net but am unsure as how to configure it. Also there appears to be example mk.conf files but they are empty on my system.

When I run pkg_chk -a -u -s -L /var/log/pkgchk.log I still get the error about not having a c++ compiler available. I can navigate to the package that is causing problems and run a make which yields the same error:

OK, but I think the way I changed it is a little easier for new users to figure out.

fenriswolf: you most likely do have both on your machine, but it's not picking up the pkgsrc version due to your path. If you type 'which gcc' it will tell you where that 3.3.3 is coming from. You can put /usr/pkg/bin before that in the path, but that probably still won't help pkgsrc. If you go to the work directory of a package that's given you that error, you can check the .work.log file for a list of the actual commands run, just head to the end and see what's being tried.

I may have aimed you at the wrong email list also, pkgsrc-users at netbsd.org would likely be better.

See if '/usr/pkg/bin/gcc -v' will work. If so, you may just need to adjust your path so that /usr/pkg/bin comes before /usr/bin. Also, you'll need to do a 'make clean' for the packages that have failed so they can start over. You can't change the location that a pkg looks for gcc. work/.gcc/bin is put there by part of pkgsrc, gcc is copied in on purpose.

If you've got a lot of work directories in pkgsrc it might be quicker to just do the following:

cd /usr/pkgrsc
rm -rf */*/work

You'll want to be very careful with the spaces.

If none of that helps, you may have to ask the email list. I'd have likely started over from a blank install by now if it were just my home machine, so I probably can't offer much more help.

If none of that helps, you may have to ask the email list. I'd have likely started over from a blank install by now if it were just my home machine, so I probably can't offer much more help.

Anyway, thank you very much for your help Hitscan. I will probably post an email to see if I can get this resolved - other wise I'll do a rebuild. I was avoiding a rebuild as we are starting into summer here so weekends are usually spent outside.

I think this is a common problem when upgrading.
As a rule when a software is compiled from pkgsrc its installs on /usr/pkg/bin. nothing new.
And the old software is still installed in /usr/bin /usr /lib , etc
I just remove the old software and make a soft links. The are some older soft links that can not be deleted because they are needed by older versions of programs.
Reg /T