There's lots of help here, but you need to be a tad more specific.

Are you compiling from within MPLAB or MicroCode Studio?

Do you have MPASM or PM selected as the assembler?

Which version of PBP do you have?

i looked on the web for 16F877A.BAS file
Have you looked in your PBP install directory?